Skip to content

Commit

Permalink
update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and alphatownsman committed Jul 28, 2024
1 parent 3a26132 commit 14f04ea
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 45 deletions.
2 changes: 1 addition & 1 deletion catalog/book/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_scrape(self):
self.assertEqual(resource.id_value, "77566")
self.assertNotEqual(resource.cover, "/media/item/default.svg")
self.assertEqual(edition.isbn, "9780553283686")
self.assertEqual(edition.format, "papberback")
self.assertEqual(edition.format, "paperback")
self.assertEqual(edition.display_title, "Hyperion")

edition.delete()
Expand Down
74 changes: 52 additions & 22 deletions locale/zh_Hans/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-27 00:37-0400\n"
"POT-Creation-Date: 2024-07-28 16:10-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -41,57 +41,91 @@ msgstr "区域语言"
msgid "text content"
msgstr "文本内容"

#: catalog/book/models.py:148
#: catalog/book/models.py:117
msgid "Paperback"
msgstr "平装"

#: catalog/book/models.py:118
msgid "Hardcover"
msgstr "精装"

#: catalog/book/models.py:119
msgid "eBook"
msgstr "电子说"

#: catalog/book/models.py:120
msgid "Audiobook"
msgstr "有声书"

#: catalog/book/models.py:121
msgid "GraphicNovel"
msgstr "图像小说"

#: catalog/book/models.py:122
msgid "Web Fiction"
msgstr "网络小说"

#: catalog/book/models.py:123 catalog/game/models.py:31
msgid "Other"
msgstr "其它"

#: catalog/book/models.py:159
msgid "subtitle"
msgstr "副标题"

#: catalog/book/models.py:158 catalog/movie/models.py:68
#: catalog/book/models.py:169 catalog/movie/models.py:68
#: catalog/performance/models.py:257 catalog/tv/models.py:138
#: catalog/tv/models.py:296
msgid "original title"
msgstr "原名"

#: catalog/book/models.py:161 catalog/book/models.py:323
#: catalog/book/models.py:172 catalog/book/models.py:340
msgid "author"
msgstr "作者"

#: catalog/book/models.py:168
#: catalog/book/models.py:179
msgid "translator"
msgstr "译者"

#: catalog/book/models.py:176 catalog/templates/edition.html:26
#: catalog/book/models.py:186 catalog/templates/edition.html:27
#, fuzzy
#| msgid "books to read"
msgid "book format"
msgstr "想读的书"

#: catalog/book/models.py:193 catalog/templates/edition.html:33
msgid "publishing house"
msgstr "出版社"

#: catalog/book/models.py:179
#: catalog/book/models.py:196
msgid "publication year"
msgstr "发行年份"

#: catalog/book/models.py:185
#: catalog/book/models.py:202
msgid "publication month"
msgstr "发行月份"

#: catalog/book/models.py:190 catalog/templates/edition.html:48
#: catalog/book/models.py:207 catalog/templates/edition.html:55
msgid "binding"
msgstr "装订"

#: catalog/book/models.py:191
#: catalog/book/models.py:208
msgid "pages"
msgstr "页数"

#: catalog/book/models.py:192 catalog/templates/edition.html:42
#: catalog/book/models.py:209 catalog/templates/edition.html:49
msgid "series"
msgstr "丛书"

#: catalog/book/models.py:193
#: catalog/book/models.py:210
msgid "contents"
msgstr "目录"

#: catalog/book/models.py:194 catalog/templates/edition.html:53
#: catalog/book/models.py:211 catalog/templates/edition.html:60
msgid "price"
msgstr "价格"

#: catalog/book/models.py:195 catalog/templates/edition.html:31
#: catalog/book/models.py:212 catalog/templates/edition.html:38
msgid "imprint"
msgstr "出品方"

Expand Down Expand Up @@ -464,10 +498,6 @@ msgstr "重制"
msgid "Special Edition"
msgstr "特别版"

#: catalog/game/models.py:31
msgid "Other"
msgstr "其它"

#: catalog/game/models.py:76 catalog/movie/models.py:71
#: catalog/music/models.py:90 catalog/performance/models.py:115
#: catalog/performance/models.py:260 catalog/tv/models.py:142
Expand Down Expand Up @@ -1171,19 +1201,19 @@ msgstr "暂无内容。"
msgid "Recent Posts"
msgstr "近期帖文"

#: catalog/templates/edition.html:36
#: catalog/templates/edition.html:43
msgid "publication date"
msgstr "发行时间"

#: catalog/templates/edition.html:58
#: catalog/templates/edition.html:65
msgid "number of pages"
msgstr "页数"

#: catalog/templates/edition.html:90
#: catalog/templates/edition.html:97
msgid "other editions"
msgstr "其它版本"

#: catalog/templates/edition.html:110
#: catalog/templates/edition.html:117
msgid "Borrow or Buy"
msgstr "借阅或购买"

Expand Down
74 changes: 52 additions & 22 deletions locale/zh_Hant/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-27 00:37-0400\n"
"POT-Creation-Date: 2024-07-28 16:10-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -41,57 +41,91 @@ msgstr "區域語言"
msgid "text content"
msgstr "文本內容"

#: catalog/book/models.py:148
#: catalog/book/models.py:117
msgid "Paperback"
msgstr "平裝"

#: catalog/book/models.py:118
msgid "Hardcover"
msgstr "精裝"

#: catalog/book/models.py:119
msgid "eBook"
msgstr "電子說"

#: catalog/book/models.py:120
msgid "Audiobook"
msgstr "有聲書"

#: catalog/book/models.py:121
msgid "GraphicNovel"
msgstr "圖像小說"

#: catalog/book/models.py:122
msgid "Web Fiction"
msgstr "網絡小說"

#: catalog/book/models.py:123 catalog/game/models.py:31
msgid "Other"
msgstr "其它"

#: catalog/book/models.py:159
msgid "subtitle"
msgstr "副標題"

#: catalog/book/models.py:158 catalog/movie/models.py:68
#: catalog/book/models.py:169 catalog/movie/models.py:68
#: catalog/performance/models.py:257 catalog/tv/models.py:138
#: catalog/tv/models.py:296
msgid "original title"
msgstr "原名"

#: catalog/book/models.py:161 catalog/book/models.py:323
#: catalog/book/models.py:172 catalog/book/models.py:340
msgid "author"
msgstr "作者"

#: catalog/book/models.py:168
#: catalog/book/models.py:179
msgid "translator"
msgstr "譯者"

#: catalog/book/models.py:176 catalog/templates/edition.html:26
#: catalog/book/models.py:186 catalog/templates/edition.html:27
#, fuzzy
#| msgid "books to read"
msgid "book format"
msgstr "想讀的書"

#: catalog/book/models.py:193 catalog/templates/edition.html:33
msgid "publishing house"
msgstr "出版社"

#: catalog/book/models.py:179
#: catalog/book/models.py:196
msgid "publication year"
msgstr "發行年份"

#: catalog/book/models.py:185
#: catalog/book/models.py:202
msgid "publication month"
msgstr "發行月份"

#: catalog/book/models.py:190 catalog/templates/edition.html:48
#: catalog/book/models.py:207 catalog/templates/edition.html:55
msgid "binding"
msgstr "裝訂"

#: catalog/book/models.py:191
#: catalog/book/models.py:208
msgid "pages"
msgstr "頁數"

#: catalog/book/models.py:192 catalog/templates/edition.html:42
#: catalog/book/models.py:209 catalog/templates/edition.html:49
msgid "series"
msgstr "叢書"

#: catalog/book/models.py:193
#: catalog/book/models.py:210
msgid "contents"
msgstr "目錄"

#: catalog/book/models.py:194 catalog/templates/edition.html:53
#: catalog/book/models.py:211 catalog/templates/edition.html:60
msgid "price"
msgstr "價格"

#: catalog/book/models.py:195 catalog/templates/edition.html:31
#: catalog/book/models.py:212 catalog/templates/edition.html:38
msgid "imprint"
msgstr "出品方"

Expand Down Expand Up @@ -464,10 +498,6 @@ msgstr "重製"
msgid "Special Edition"
msgstr "特別版"

#: catalog/game/models.py:31
msgid "Other"
msgstr "其它"

#: catalog/game/models.py:76 catalog/movie/models.py:71
#: catalog/music/models.py:90 catalog/performance/models.py:115
#: catalog/performance/models.py:260 catalog/tv/models.py:142
Expand Down Expand Up @@ -1171,19 +1201,19 @@ msgstr "暫無內容。"
msgid "Recent Posts"
msgstr "近期帖文"

#: catalog/templates/edition.html:36
#: catalog/templates/edition.html:43
msgid "publication date"
msgstr "發行時間"

#: catalog/templates/edition.html:58
#: catalog/templates/edition.html:65
msgid "number of pages"
msgstr "頁數"

#: catalog/templates/edition.html:90
#: catalog/templates/edition.html:97
msgid "other editions"
msgstr "其它版本"

#: catalog/templates/edition.html:110
#: catalog/templates/edition.html:117
msgid "Borrow or Buy"
msgstr "借閱或購買"

Expand Down
1 change: 1 addition & 0 deletions users/migrations/0001_initial_0_10.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ class Migration(migrations.Migration):
("en", "English"),
("zh-hans", "Simplified Chinese"),
("zh-hant", "Traditional Chinese"),
("da", "Danish"),
],
default="en",
max_length=10,
Expand Down

0 comments on commit 14f04ea

Please sign in to comment.