Revised the translation.

This commit is contained in:
依瑪貓 2020-08-07 10:40:57 +08:00
parent 8cc40e1f68
commit 4342f1e34e
4 changed files with 23 additions and 22 deletions

View File

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: mia-js 1.0\n" "Project-Id-Version: mia-js 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-07 10:34+0800\n" "POT-Creation-Date: 2020-08-07 10:40+0800\n"
"PO-Revision-Date: 2020-08-07 00:38+0800\n" "PO-Revision-Date: 2020-08-07 10:40+0800\n"
"Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n" "Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n"
"Language-Team: Traditional Chinese <imacat@mail.imacat.idv.tw>\n" "Language-Team: Traditional Chinese <imacat@mail.imacat.idv.tw>\n"
"Language: Traditional Chinese\n" "Language: Traditional Chinese\n"
@ -82,12 +82,13 @@ msgid "The total amount of debit and credit records are inconsistent."
msgstr "借方和貸方合計不符。" msgstr "借方和貸方合計不符。"
#: accounting/templates/accounting/accounts/index.html:29 #: accounting/templates/accounting/accounts/index.html:29
#: accounting/templates/accounting/accounts/index.html:40 #: accounting/templates/accounting/accounts/index.html:41
#: accounting/templates/accounting/include/report-chooser.html:105 #: accounting/templates/accounting/include/report-chooser.html:105
msgctxt "Accounting"
msgid "Accounts" msgid "Accounts"
msgstr "會計科目" msgstr "會計科目"
#: accounting/templates/accounting/accounts/index.html:38 #: accounting/templates/accounting/accounts/index.html:39
#: accounting/templates/accounting/balance-sheet.html:42 #: accounting/templates/accounting/balance-sheet.html:42
#: accounting/templates/accounting/cash-summary.html:41 #: accounting/templates/accounting/cash-summary.html:41
#: accounting/templates/accounting/cash.html:42 #: accounting/templates/accounting/cash.html:42
@ -100,16 +101,16 @@ msgstr "會計科目"
msgid "New" msgid "New"
msgstr "記帳" msgstr "記帳"
#: accounting/templates/accounting/accounts/index.html:49
msgid "Code"
msgstr ""
#: accounting/templates/accounting/accounts/index.html:50
msgid "Title"
msgstr ""
#: accounting/templates/accounting/accounts/index.html:51 #: accounting/templates/accounting/accounts/index.html:51
#: accounting/templates/accounting/accounts/index.html:69 msgid "Code"
msgstr "代碼"
#: accounting/templates/accounting/accounts/index.html:52
msgid "Title"
msgstr "標題"
#: accounting/templates/accounting/accounts/index.html:53
#: accounting/templates/accounting/accounts/index.html:71
#: accounting/templates/accounting/balance-sheet.html:96 #: accounting/templates/accounting/balance-sheet.html:96
#: accounting/templates/accounting/balance-sheet.html:127 #: accounting/templates/accounting/balance-sheet.html:127
#: accounting/templates/accounting/balance-sheet.html:164 #: accounting/templates/accounting/balance-sheet.html:164
@ -131,13 +132,11 @@ msgstr ""
msgid "View" msgid "View"
msgstr "查閱" msgstr "查閱"
#: accounting/templates/accounting/accounts/index.html:62 #: accounting/templates/accounting/accounts/index.html:64
#, fuzzy
#| msgid "---Accounts In Use---"
msgid "Parent Account In Use" msgid "Parent Account In Use"
msgstr "-----使用中科目-----" msgstr "使用中的上層科目"
#: accounting/templates/accounting/accounts/index.html:77 #: accounting/templates/accounting/accounts/index.html:79
#: accounting/templates/accounting/cash-summary.html:161 #: accounting/templates/accounting/cash-summary.html:161
#: accounting/templates/accounting/cash.html:201 #: accounting/templates/accounting/cash.html:201
#: accounting/templates/accounting/journal.html:188 #: accounting/templates/accounting/journal.html:188

View File

@ -26,7 +26,8 @@ First written: 2020/7/1
{% load accounting %} {% load accounting %}
{% block settings %} {% block settings %}
{% setvar "title" _("Accounts") %} {% trans "Accounts" context "Accounting" as text %}
{% setvar "title" text %}
{% setvar "use_datatables" True %} {% setvar "use_datatables" True %}
{% endblock %} {% endblock %}
@ -37,7 +38,8 @@ First written: 2020/7/1
<i class="fas fa-plus"></i> <i class="fas fa-plus"></i>
{{ _("New")|force_escape }} {{ _("New")|force_escape }}
</a> </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" %} {% include "accounting/include/report-chooser.html" %}
{% endwith %} {% endwith %}
</div> </div>

View File

@ -102,7 +102,7 @@ First written: 2020/7/9
</span> </span>
<a class="dropdown-item {% if request.resolver_match.url_name == "accounts" %} active {% endif %}" href="{% url "accounting:accounts" %}"> <a class="dropdown-item {% if request.resolver_match.url_name == "accounts" %} active {% endif %}" href="{% url "accounting:accounts" %}">
<i class="fas fa-list-ol"></i> <i class="fas fa-list-ol"></i>
{{ _("Accounts")|force_escape }} {% trans "Accounts" context "Accounting" as text %}{{ text|force_escape }}
</a> </a>
</div> </div>
</div> </div>

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: mia 1.0\n" "Project-Id-Version: mia 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-07 10:34+0800\n" "POT-Creation-Date: 2020-08-07 10:40+0800\n"
"PO-Revision-Date: 2020-08-07 00:01+0800\n" "PO-Revision-Date: 2020-08-07 00:01+0800\n"
"Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n" "Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n"
"Language-Team: Traditional Chinese <imacat@mail.imacat.idv.tw>\n" "Language-Team: Traditional Chinese <imacat@mail.imacat.idv.tw>\n"