Added support to sort the accounts under the same base account.

This commit is contained in:
2023-02-03 09:21:07 +08:00
parent eeb05b8616
commit 5238168b2d
7 changed files with 341 additions and 21 deletions

View File

@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Mia! Accounting Flask 0.0.0\n"
"Report-Msgid-Bugs-To: imacat@mail.imacat.idv.tw\n"
"POT-Creation-Date: 2023-02-01 19:51+0800\n"
"PO-Revision-Date: 2023-02-01 19:52+0800\n"
"POT-Creation-Date: 2023-02-03 07:40+0800\n"
"PO-Revision-Date: 2023-02-03 07:42+0800\n"
"Last-Translator: imacat <imacat@mail.imacat.idv.tw>\n"
"Language: zh_Hant\n"
"Language-Team: zh_Hant <imacat@mail.imacat.idv.tw>\n"
@ -19,19 +19,25 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: src/accounting/account/forms.py:39
#: src/accounting/account/forms.py:41
msgid "The base account does not exist."
msgstr "沒有這個基本科目。"
#: src/accounting/account/forms.py:48
#: src/accounting/account/forms.py:50
#: src/accounting/static/js/account-form.js:110
msgid "Please select the base account."
msgstr "請選擇基本科目。"
#: src/accounting/account/forms.py:53
#: src/accounting/account/forms.py:55
msgid "Please fill in the title"
msgstr "請填上標題。"
#: src/accounting/account/query.py:50
#: src/accounting/templates/accounting/account/detail.html:88
#: src/accounting/templates/accounting/account/list.html:62
msgid "Offset needed"
msgstr "逐筆核銷"
#: src/accounting/account/views.py:88
msgid "The account is added successfully"
msgstr "科目加好了。"
@ -48,6 +54,14 @@ msgstr "科目存好了。"
msgid "The account is deleted successfully."
msgstr "科目刪掉了"
#: src/accounting/account/views.py:190
msgid "The order was not modified."
msgstr "順序未異動。"
#: src/accounting/account/views.py:193
msgid "The order is updated successfully."
msgstr "順序存好了。"
#: src/accounting/static/js/account-form.js:130
msgid "Please fill in the title."
msgstr "請填上標題。"
@ -58,6 +72,7 @@ msgstr "新增科目"
#: src/accounting/templates/accounting/account/detail.html:31
#: src/accounting/templates/accounting/account/include/form.html:33
#: src/accounting/templates/accounting/account/sort.html:35
#: src/accounting/templates/accounting/base-account/detail.html:31
msgid "Back"
msgstr "回上頁"
@ -67,36 +82,35 @@ msgid "Settings"
msgstr "設定"
#: src/accounting/templates/accounting/account/detail.html:40
msgid "Sort"
msgstr "排序"
#: src/accounting/templates/accounting/account/detail.html:44
msgid "Delete"
msgstr "刪除"
#: src/accounting/templates/accounting/account/detail.html:63
#: src/accounting/templates/accounting/account/detail.html:67
msgid "Delete Account Confirmation"
msgstr "科目刪除確認"
#: src/accounting/templates/accounting/account/detail.html:67
#: src/accounting/templates/accounting/account/detail.html:71
msgid "Do you really want to delete this account?"
msgstr "你確定要刪掉這個科目嗎?"
#: src/accounting/templates/accounting/account/detail.html:70
#: src/accounting/templates/accounting/account/detail.html:74
#: src/accounting/templates/accounting/account/include/form.html:111
msgid "Cancel"
msgstr "取消"
#: src/accounting/templates/accounting/account/detail.html:71
#: src/accounting/templates/accounting/account/detail.html:75
msgid "Confirm"
msgstr "確定"
#: src/accounting/templates/accounting/account/detail.html:84
#: src/accounting/templates/accounting/account/list.html:62
msgid "Offset needed"
msgstr "逐筆核銷"
#: src/accounting/templates/accounting/account/detail.html:88
#: src/accounting/templates/accounting/account/detail.html:92
msgid "Created"
msgstr "建檔"
#: src/accounting/templates/accounting/account/detail.html:89
#: src/accounting/templates/accounting/account/detail.html:93
msgid "Updated"
msgstr "更新"
@ -124,6 +138,16 @@ msgstr "搜尋"
msgid "There is no data."
msgstr "沒有資料。"
#: src/accounting/templates/accounting/account/sort.html:28
#, python-format
msgid "Sort the Accounts of %(base)s"
msgstr "%(base)s下的科目排序"
#: src/accounting/templates/accounting/account/include/form.html:75
#: src/accounting/templates/accounting/account/sort.html:67
msgid "Save"
msgstr "儲存"
#: src/accounting/templates/accounting/account/include/form.html:45
msgid "Base account"
msgstr "基本科目"
@ -140,10 +164,6 @@ msgstr "標題"
msgid "The entries in the account need offsets."
msgstr "帳目要逐筆核銷。"
#: src/accounting/templates/accounting/account/include/form.html:75
msgid "Save"
msgstr "儲存"
#: src/accounting/templates/accounting/account/include/form.html:90
msgid "Select Base Account"
msgstr "選擇基本科目"