Revised the text messages in the detail templates.

This commit is contained in:
依瑪貓 2020-08-09 20:49:18 +08:00
parent c500f15945
commit a26eeb5ea6
4 changed files with 8 additions and 8 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-09 19:13+0800\n" "POT-Creation-Date: 2020-08-09 20:48+0800\n"
"PO-Revision-Date: 2020-08-09 19:13+0800\n" "PO-Revision-Date: 2020-08-09 20:48+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"
@ -181,7 +181,7 @@ msgid "Back"
msgstr "回上頁" msgstr "回上頁"
#: accounting/templates/accounting/account_detail.html:75 #: accounting/templates/accounting/account_detail.html:75
msgid "Setting" msgid "Settings"
msgstr "設定" msgstr "設定"
#: accounting/templates/accounting/account_detail.html:78 #: accounting/templates/accounting/account_detail.html:78

View File

@ -72,7 +72,7 @@ First written: 2020/8/8
</a> </a>
<a class="btn btn-primary" role="button" href="{% url "accounting:accounts.edit" account %}"> <a class="btn btn-primary" role="button" href="{% url "accounting:accounts.edit" account %}">
<i class="fas fa-user-cog"></i> <i class="fas fa-user-cog"></i>
{{ _("Setting")|force_escape }} {{ _("Settings")|force_escape }}
</a> </a>
{% if not account.is_in_use %} {% if not account.is_in_use %}
<button type="button" class="btn btn-secondary d-none d-sm-inline" disabled="disabled" title="{{ _("This account is not used in the accounting records.")|force_escape }}"> <button type="button" class="btn btn-secondary d-none d-sm-inline" disabled="disabled" title="{{ _("This account is not used in the accounting records.")|force_escape }}">

View File

@ -7,8 +7,8 @@ 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-09 20:41+0800\n" "POT-Creation-Date: 2020-08-09 20:48+0800\n"
"PO-Revision-Date: 2020-08-09 20:45+0800\n" "PO-Revision-Date: 2020-08-09 20:48+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"
@ -137,7 +137,7 @@ msgid "Back"
msgstr "回上頁" msgstr "回上頁"
#: mia_core/templates/mia_core/user_detail.html:73 #: mia_core/templates/mia_core/user_detail.html:73
msgid "Setting" msgid "Settings"
msgstr "設定" msgstr "設定"
#: mia_core/templates/mia_core/user_detail.html:76 #: mia_core/templates/mia_core/user_detail.html:76

View File

@ -70,7 +70,7 @@ First written: 2020/8/9
</a> </a>
<a class="btn btn-primary" role="button" href="{% url "mia_core:users.edit" user %}"> <a class="btn btn-primary" role="button" href="{% url "mia_core:users.edit" user %}">
<i class="fas fa-user-cog"></i> <i class="fas fa-user-cog"></i>
{{ _("Setting")|force_escape }} {{ _("Settings")|force_escape }}
</a> </a>
{% if user.login_id == request.user.login_id %} {% if user.login_id == request.user.login_id %}
<button class="btn btn-secondary" type="button" disabled="disabled" title="{{ _("You cannot delete your own account.")|force_escape }}"> <button class="btn btn-secondary" type="button" disabled="disabled" title="{{ _("You cannot delete your own account.")|force_escape }}">