Revised the translation.
This commit is contained in:
@ -26,7 +26,8 @@ First written: 2020/7/1
|
||||
{% load accounting %}
|
||||
|
||||
{% block settings %}
|
||||
{% setvar "title" _("Accounts") %}
|
||||
{% trans "Accounts" context "Accounting" as text %}
|
||||
{% setvar "title" text %}
|
||||
{% setvar "use_datatables" True %}
|
||||
{% endblock %}
|
||||
|
||||
@ -37,7 +38,8 @@ First written: 2020/7/1
|
||||
<i class="fas fa-plus"></i>
|
||||
{{ _("New")|force_escape }}
|
||||
</a>
|
||||
{% with current_report_icon="fas fa-list-ol" current_report_title=_("Accounts") %}
|
||||
{% trans "Accounts" context "Accounting" as text %}
|
||||
{% with current_report_icon="fas fa-list-ol" current_report_title=text %}
|
||||
{% include "accounting/include/report-chooser.html" %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
@ -102,7 +102,7 @@ First written: 2020/7/9
|
||||
</span>
|
||||
<a class="dropdown-item {% if request.resolver_match.url_name == "accounts" %} active {% endif %}" href="{% url "accounting:accounts" %}">
|
||||
<i class="fas fa-list-ol"></i>
|
||||
{{ _("Accounts")|force_escape }}
|
||||
{% trans "Accounts" context "Accounting" as text %}{{ text|force_escape }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user