mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
german translation
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
{% extends "collapse.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% if roles.stock_location.view or roles.stock.view %}
|
||||
{% block collapse_title %}
|
||||
Sub-Locations<span class='badge'>{{ children|length }}</span>
|
||||
{% trans 'Sub-Locations' %}<span class='badge'>{{ children|length }}</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block collapse_content %}
|
||||
@ -11,6 +12,12 @@ Sub-Locations<span class='badge'>{{ children|length }}</span>
|
||||
<li class="list-group-item"><a href="{% url 'stock-location-detail' child.id %}">{{ child.name }}</a> - <i>{{ child.description }}</i>
|
||||
{% if child.item_count > 0 %}
|
||||
<span class='badge'>{{ child.item_count }} Item{% if child.item_count > 1 %}s{% endif %}</span>
|
||||
{% comment %}Translators: pluralize with counter{% endcomment %}
|
||||
{% blocktranslate count counter=child.item_count %}
|
||||
Item
|
||||
{% plural %}
|
||||
Items
|
||||
{% endblocktranslate %}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user