diff --git a/accounting/locale/zh_Hant/LC_MESSAGES/django.po b/accounting/locale/zh_Hant/LC_MESSAGES/django.po index 0778ae6..ba259b3 100644 --- a/accounting/locale/zh_Hant/LC_MESSAGES/django.po +++ b/accounting/locale/zh_Hant/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: mia-js 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-07 10:34+0800\n" -"PO-Revision-Date: 2020-08-07 00:38+0800\n" +"POT-Creation-Date: 2020-08-07 10:40+0800\n" +"PO-Revision-Date: 2020-08-07 10:40+0800\n" "Last-Translator: imacat \n" "Language-Team: Traditional Chinese \n" "Language: Traditional Chinese\n" @@ -82,12 +82,13 @@ msgid "The total amount of debit and credit records are inconsistent." msgstr "借方和貸方合計不符。" #: 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 +msgctxt "Accounting" msgid "Accounts" 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/cash-summary.html:41 #: accounting/templates/accounting/cash.html:42 @@ -100,16 +101,16 @@ msgstr "會計科目" msgid "New" 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: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:127 #: accounting/templates/accounting/balance-sheet.html:164 @@ -131,13 +132,11 @@ msgstr "" msgid "View" msgstr "查閱" -#: accounting/templates/accounting/accounts/index.html:62 -#, fuzzy -#| msgid "---Accounts In Use---" +#: accounting/templates/accounting/accounts/index.html:64 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.html:201 #: accounting/templates/accounting/journal.html:188 diff --git a/accounting/templates/accounting/accounts/index.html b/accounting/templates/accounting/accounts/index.html index 8fda04b..a666590 100644 --- a/accounting/templates/accounting/accounts/index.html +++ b/accounting/templates/accounting/accounts/index.html @@ -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 {{ _("New")|force_escape }} - {% 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 %} diff --git a/accounting/templates/accounting/include/report-chooser.html b/accounting/templates/accounting/include/report-chooser.html index 5c7961a..d3c7d99 100644 --- a/accounting/templates/accounting/include/report-chooser.html +++ b/accounting/templates/accounting/include/report-chooser.html @@ -102,7 +102,7 @@ First written: 2020/7/9 - {{ _("Accounts")|force_escape }} + {% trans "Accounts" context "Accounting" as text %}{{ text|force_escape }} diff --git a/mia_core/locale/zh_Hant/LC_MESSAGES/django.po b/mia_core/locale/zh_Hant/LC_MESSAGES/django.po index 45c20d0..86426c9 100644 --- a/mia_core/locale/zh_Hant/LC_MESSAGES/django.po +++ b/mia_core/locale/zh_Hant/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: mia 1.0\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" "Last-Translator: imacat \n" "Language-Team: Traditional Chinese \n"