update translation

This commit is contained in:
Your Name 2024-07-28 16:15:02 -04:00 committed by Henri Dickson
parent 3a26132431
commit 14f04ea483
4 changed files with 106 additions and 45 deletions

View file

@ -167,7 +167,7 @@ class GoodreadsTestCase(TestCase):
self.assertEqual(resource.id_value, "77566") self.assertEqual(resource.id_value, "77566")
self.assertNotEqual(resource.cover, "/media/item/default.svg") self.assertNotEqual(resource.cover, "/media/item/default.svg")
self.assertEqual(edition.isbn, "9780553283686") self.assertEqual(edition.isbn, "9780553283686")
self.assertEqual(edition.format, "papberback") self.assertEqual(edition.format, "paperback")
self.assertEqual(edition.display_title, "Hyperion") self.assertEqual(edition.display_title, "Hyperion")
edition.delete() edition.delete()

View file

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -41,57 +41,91 @@ msgstr "区域语言"
msgid "text content" msgid "text content"
msgstr "文本内容" 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" msgid "subtitle"
msgstr "副标题" 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/performance/models.py:257 catalog/tv/models.py:138
#: catalog/tv/models.py:296 #: catalog/tv/models.py:296
msgid "original title" msgid "original title"
msgstr "原名" msgstr "原名"
#: catalog/book/models.py:161 catalog/book/models.py:323 #: catalog/book/models.py:172 catalog/book/models.py:340
msgid "author" msgid "author"
msgstr "作者" msgstr "作者"
#: catalog/book/models.py:168 #: catalog/book/models.py:179
msgid "translator" msgid "translator"
msgstr "译者" 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" msgid "publishing house"
msgstr "出版社" msgstr "出版社"
#: catalog/book/models.py:179 #: catalog/book/models.py:196
msgid "publication year" msgid "publication year"
msgstr "发行年份" msgstr "发行年份"
#: catalog/book/models.py:185 #: catalog/book/models.py:202
msgid "publication month" msgid "publication month"
msgstr "发行月份" msgstr "发行月份"
#: catalog/book/models.py:190 catalog/templates/edition.html:48 #: catalog/book/models.py:207 catalog/templates/edition.html:55
msgid "binding" msgid "binding"
msgstr "装订" msgstr "装订"
#: catalog/book/models.py:191 #: catalog/book/models.py:208
msgid "pages" msgid "pages"
msgstr "页数" msgstr "页数"
#: catalog/book/models.py:192 catalog/templates/edition.html:42 #: catalog/book/models.py:209 catalog/templates/edition.html:49
msgid "series" msgid "series"
msgstr "丛书" msgstr "丛书"
#: catalog/book/models.py:193 #: catalog/book/models.py:210
msgid "contents" msgid "contents"
msgstr "目录" msgstr "目录"
#: catalog/book/models.py:194 catalog/templates/edition.html:53 #: catalog/book/models.py:211 catalog/templates/edition.html:60
msgid "price" msgid "price"
msgstr "价格" msgstr "价格"
#: catalog/book/models.py:195 catalog/templates/edition.html:31 #: catalog/book/models.py:212 catalog/templates/edition.html:38
msgid "imprint" msgid "imprint"
msgstr "出品方" msgstr "出品方"
@ -464,10 +498,6 @@ msgstr "重制"
msgid "Special Edition" msgid "Special Edition"
msgstr "特别版" msgstr "特别版"
#: catalog/game/models.py:31
msgid "Other"
msgstr "其它"
#: catalog/game/models.py:76 catalog/movie/models.py:71 #: catalog/game/models.py:76 catalog/movie/models.py:71
#: catalog/music/models.py:90 catalog/performance/models.py:115 #: catalog/music/models.py:90 catalog/performance/models.py:115
#: catalog/performance/models.py:260 catalog/tv/models.py:142 #: catalog/performance/models.py:260 catalog/tv/models.py:142
@ -1171,19 +1201,19 @@ msgstr "暂无内容。"
msgid "Recent Posts" msgid "Recent Posts"
msgstr "近期帖文" msgstr "近期帖文"
#: catalog/templates/edition.html:36 #: catalog/templates/edition.html:43
msgid "publication date" msgid "publication date"
msgstr "发行时间" msgstr "发行时间"
#: catalog/templates/edition.html:58 #: catalog/templates/edition.html:65
msgid "number of pages" msgid "number of pages"
msgstr "页数" msgstr "页数"
#: catalog/templates/edition.html:90 #: catalog/templates/edition.html:97
msgid "other editions" msgid "other editions"
msgstr "其它版本" msgstr "其它版本"
#: catalog/templates/edition.html:110 #: catalog/templates/edition.html:117
msgid "Borrow or Buy" msgid "Borrow or Buy"
msgstr "借阅或购买" msgstr "借阅或购买"

View file

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -41,57 +41,91 @@ msgstr "區域語言"
msgid "text content" msgid "text content"
msgstr "文本內容" 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" msgid "subtitle"
msgstr "副標題" 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/performance/models.py:257 catalog/tv/models.py:138
#: catalog/tv/models.py:296 #: catalog/tv/models.py:296
msgid "original title" msgid "original title"
msgstr "原名" msgstr "原名"
#: catalog/book/models.py:161 catalog/book/models.py:323 #: catalog/book/models.py:172 catalog/book/models.py:340
msgid "author" msgid "author"
msgstr "作者" msgstr "作者"
#: catalog/book/models.py:168 #: catalog/book/models.py:179
msgid "translator" msgid "translator"
msgstr "譯者" 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" msgid "publishing house"
msgstr "出版社" msgstr "出版社"
#: catalog/book/models.py:179 #: catalog/book/models.py:196
msgid "publication year" msgid "publication year"
msgstr "發行年份" msgstr "發行年份"
#: catalog/book/models.py:185 #: catalog/book/models.py:202
msgid "publication month" msgid "publication month"
msgstr "發行月份" msgstr "發行月份"
#: catalog/book/models.py:190 catalog/templates/edition.html:48 #: catalog/book/models.py:207 catalog/templates/edition.html:55
msgid "binding" msgid "binding"
msgstr "裝訂" msgstr "裝訂"
#: catalog/book/models.py:191 #: catalog/book/models.py:208
msgid "pages" msgid "pages"
msgstr "頁數" msgstr "頁數"
#: catalog/book/models.py:192 catalog/templates/edition.html:42 #: catalog/book/models.py:209 catalog/templates/edition.html:49
msgid "series" msgid "series"
msgstr "叢書" msgstr "叢書"
#: catalog/book/models.py:193 #: catalog/book/models.py:210
msgid "contents" msgid "contents"
msgstr "目錄" msgstr "目錄"
#: catalog/book/models.py:194 catalog/templates/edition.html:53 #: catalog/book/models.py:211 catalog/templates/edition.html:60
msgid "price" msgid "price"
msgstr "價格" msgstr "價格"
#: catalog/book/models.py:195 catalog/templates/edition.html:31 #: catalog/book/models.py:212 catalog/templates/edition.html:38
msgid "imprint" msgid "imprint"
msgstr "出品方" msgstr "出品方"
@ -464,10 +498,6 @@ msgstr "重製"
msgid "Special Edition" msgid "Special Edition"
msgstr "特別版" msgstr "特別版"
#: catalog/game/models.py:31
msgid "Other"
msgstr "其它"
#: catalog/game/models.py:76 catalog/movie/models.py:71 #: catalog/game/models.py:76 catalog/movie/models.py:71
#: catalog/music/models.py:90 catalog/performance/models.py:115 #: catalog/music/models.py:90 catalog/performance/models.py:115
#: catalog/performance/models.py:260 catalog/tv/models.py:142 #: catalog/performance/models.py:260 catalog/tv/models.py:142
@ -1171,19 +1201,19 @@ msgstr "暫無內容。"
msgid "Recent Posts" msgid "Recent Posts"
msgstr "近期帖文" msgstr "近期帖文"
#: catalog/templates/edition.html:36 #: catalog/templates/edition.html:43
msgid "publication date" msgid "publication date"
msgstr "發行時間" msgstr "發行時間"
#: catalog/templates/edition.html:58 #: catalog/templates/edition.html:65
msgid "number of pages" msgid "number of pages"
msgstr "頁數" msgstr "頁數"
#: catalog/templates/edition.html:90 #: catalog/templates/edition.html:97
msgid "other editions" msgid "other editions"
msgstr "其它版本" msgstr "其它版本"
#: catalog/templates/edition.html:110 #: catalog/templates/edition.html:117
msgid "Borrow or Buy" msgid "Borrow or Buy"
msgstr "借閱或購買" msgstr "借閱或購買"

View file

@ -564,6 +564,7 @@ class Migration(migrations.Migration):
("en", "English"), ("en", "English"),
("zh-hans", "Simplified Chinese"), ("zh-hans", "Simplified Chinese"),
("zh-hant", "Traditional Chinese"), ("zh-hant", "Traditional Chinese"),
("da", "Danish"),
], ],
default="en", default="en",
max_length=10, max_length=10,