Skip to content

Commit

Permalink
Update translation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Jul 30, 2023
1 parent fe84421 commit 1bf3d32
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 50 deletions.
6 changes: 5 additions & 1 deletion calibre-plugin/dialog/magazines.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,11 @@ def found_media(self, media, card):
return error_dialog(
self,
_("Add Magazine"),
_("Library does not own this title"),
_("{library} does not own this title").format(
library=self.magazines_model.get_library(
self.magazines_model.get_website_id(card)
)["name"]
),
det_msg=json.dumps(media, indent=2),
show=True,
)
Expand Down
13 changes: 7 additions & 6 deletions calibre-plugin/translations/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libby-calibre-plugin 0.1.6\n"
"Report-Msgid-Bugs-To: https://github.com/ping/libby-calibre-plugin/\n"
"POT-Creation-Date: 2023-07-29 18:52+0800\n"
"POT-Creation-Date: 2023-07-30 15:44+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -474,8 +474,8 @@ msgstr ""
#: calibre-plugin/dialog/magazines.py:350
#: calibre-plugin/dialog/magazines.py:372
#: calibre-plugin/dialog/magazines.py:384
#: calibre-plugin/dialog/magazines.py:399
#: calibre-plugin/dialog/magazines.py:414
#: calibre-plugin/dialog/magazines.py:403
#: calibre-plugin/dialog/magazines.py:418
msgid "Add Magazine"
msgstr ""

Expand All @@ -490,15 +490,16 @@ msgid "{media} is not a downloadable magazine"
msgstr ""

#: calibre-plugin/dialog/magazines.py:385
msgid "Library does not own this title"
#, python-brace-format
msgid "{library} does not own this title"
msgstr ""

#: calibre-plugin/dialog/magazines.py:400
#: calibre-plugin/dialog/magazines.py:404
#, python-brace-format
msgid "Already added {magazine}"
msgstr ""

#: calibre-plugin/dialog/magazines.py:416
#: calibre-plugin/dialog/magazines.py:420
#, python-brace-format
msgid ""
"Added {magazine} for monitoring.\n"
Expand Down
21 changes: 11 additions & 10 deletions calibre-plugin/translations/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libby-calibre-plugin 0.1.6\n"
"Report-Msgid-Bugs-To: https://github.com/ping/libby-calibre-plugin/\n"
"POT-Creation-Date: 2023-07-29 18:45+0800\n"
"POT-Creation-Date: 2023-07-29 22:21+0800\n"
"PO-Revision-Date: 2023-07-04 07:26+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -32,7 +32,7 @@ msgstr ""

#: calibre-plugin/borrow_book.py:35
msgid "Borrowing"
msgstr ""
msgstr "貸し出し中"

#: calibre-plugin/config.py:57 calibre-plugin/config.py:356
msgid "Libby Setup Code"
Expand Down Expand Up @@ -215,12 +215,12 @@ msgstr ""
#: calibre-plugin/models.py:415
#, python-brace-format
msgid "Placed on {dt}"
msgstr ""
msgstr "予約した日:{dt}"

#: calibre-plugin/models.py:431
#, python-brace-format
msgid "Deliver after {dt}"
msgstr ""
msgstr "{dt}以降に借りられます"

#: calibre-plugin/models.py:437
#, python-brace-format
Expand Down Expand Up @@ -468,8 +468,8 @@ msgstr ""
#: calibre-plugin/dialog/magazines.py:350
#: calibre-plugin/dialog/magazines.py:372
#: calibre-plugin/dialog/magazines.py:384
#: calibre-plugin/dialog/magazines.py:399
#: calibre-plugin/dialog/magazines.py:414
#: calibre-plugin/dialog/magazines.py:403
#: calibre-plugin/dialog/magazines.py:418
msgid "Add Magazine"
msgstr ""

Expand All @@ -484,15 +484,16 @@ msgid "{media} is not a downloadable magazine"
msgstr ""

#: calibre-plugin/dialog/magazines.py:385
msgid "Library does not own this title"
msgstr ""
#, python-brace-format
msgid "{library} does not own this title"
msgstr "{library}はこの作品を所有していません。"

#: calibre-plugin/dialog/magazines.py:400
#: calibre-plugin/dialog/magazines.py:404
#, python-brace-format
msgid "Already added {magazine}"
msgstr ""

#: calibre-plugin/dialog/magazines.py:416
#: calibre-plugin/dialog/magazines.py:420
#, python-brace-format
msgid ""
"Added {magazine} for monitoring.\n"
Expand Down
23 changes: 12 additions & 11 deletions calibre-plugin/translations/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libby-calibre-plugin 0.1.6\n"
"Report-Msgid-Bugs-To: https://github.com/ping/libby-calibre-plugin/\n"
"POT-Creation-Date: 2023-07-29 18:45+0800\n"
"POT-Creation-Date: 2023-07-29 22:21+0800\n"
"PO-Revision-Date: 2023-07-04 07:26+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -32,7 +32,7 @@ msgstr ""

#: calibre-plugin/borrow_book.py:35
msgid "Borrowing"
msgstr ""
msgstr "대출하기"

#: calibre-plugin/config.py:57 calibre-plugin/config.py:356
msgid "Libby Setup Code"
Expand Down Expand Up @@ -205,7 +205,7 @@ msgstr ""

#: calibre-plugin/models.py:321
msgid "Available"
msgstr "대출 가능"
msgstr "이용 가능"

#: calibre-plugin/models.py:410
#, python-brace-format
Expand All @@ -215,12 +215,12 @@ msgstr ""
#: calibre-plugin/models.py:415
#, python-brace-format
msgid "Placed on {dt}"
msgstr ""
msgstr "예약일: {dt}"

#: calibre-plugin/models.py:431
#, python-brace-format
msgid "Deliver after {dt}"
msgstr ""
msgstr "{dt} 이후 전송"

#: calibre-plugin/models.py:437
#, python-brace-format
Expand Down Expand Up @@ -468,8 +468,8 @@ msgstr ""
#: calibre-plugin/dialog/magazines.py:350
#: calibre-plugin/dialog/magazines.py:372
#: calibre-plugin/dialog/magazines.py:384
#: calibre-plugin/dialog/magazines.py:399
#: calibre-plugin/dialog/magazines.py:414
#: calibre-plugin/dialog/magazines.py:403
#: calibre-plugin/dialog/magazines.py:418
msgid "Add Magazine"
msgstr ""

Expand All @@ -484,15 +484,16 @@ msgid "{media} is not a downloadable magazine"
msgstr ""

#: calibre-plugin/dialog/magazines.py:385
msgid "Library does not own this title"
msgstr ""
#, python-brace-format
msgid "{library} does not own this title"
msgstr "{library}은 이 타이틀의 사본을 소유하지 않습니다."

#: calibre-plugin/dialog/magazines.py:400
#: calibre-plugin/dialog/magazines.py:404
#, python-brace-format
msgid "Already added {magazine}"
msgstr ""

#: calibre-plugin/dialog/magazines.py:416
#: calibre-plugin/dialog/magazines.py:420
#, python-brace-format
msgid ""
"Added {magazine} for monitoring.\n"
Expand Down
23 changes: 12 additions & 11 deletions calibre-plugin/translations/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libby-calibre-plugin 0.1.6\n"
"Report-Msgid-Bugs-To: https://github.com/ping/libby-calibre-plugin/\n"
"POT-Creation-Date: 2023-07-29 18:45+0800\n"
"POT-Creation-Date: 2023-07-29 22:21+0800\n"
"PO-Revision-Date: 2023-07-04 07:26+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -32,7 +32,7 @@ msgstr ""

#: calibre-plugin/borrow_book.py:35
msgid "Borrowing"
msgstr ""
msgstr "正在借阅"

#: calibre-plugin/config.py:57 calibre-plugin/config.py:356
msgid "Libby Setup Code"
Expand Down Expand Up @@ -205,7 +205,7 @@ msgstr ""

#: calibre-plugin/models.py:321
msgid "Available"
msgstr "可借阅"
msgstr "可供借阅"

#: calibre-plugin/models.py:410
#, python-brace-format
Expand All @@ -215,12 +215,12 @@ msgstr ""
#: calibre-plugin/models.py:415
#, python-brace-format
msgid "Placed on {dt}"
msgstr ""
msgstr "于{dt}预约"

#: calibre-plugin/models.py:431
#, python-brace-format
msgid "Deliver after {dt}"
msgstr ""
msgstr "{dt}后交付"

#: calibre-plugin/models.py:437
#, python-brace-format
Expand Down Expand Up @@ -468,8 +468,8 @@ msgstr ""
#: calibre-plugin/dialog/magazines.py:350
#: calibre-plugin/dialog/magazines.py:372
#: calibre-plugin/dialog/magazines.py:384
#: calibre-plugin/dialog/magazines.py:399
#: calibre-plugin/dialog/magazines.py:414
#: calibre-plugin/dialog/magazines.py:403
#: calibre-plugin/dialog/magazines.py:418
msgid "Add Magazine"
msgstr ""

Expand All @@ -484,15 +484,16 @@ msgid "{media} is not a downloadable magazine"
msgstr ""

#: calibre-plugin/dialog/magazines.py:385
msgid "Library does not own this title"
msgstr ""
#, python-brace-format
msgid "{library} does not own this title"
msgstr "{library}没有该作品的副本。"

#: calibre-plugin/dialog/magazines.py:400
#: calibre-plugin/dialog/magazines.py:404
#, python-brace-format
msgid "Already added {magazine}"
msgstr ""

#: calibre-plugin/dialog/magazines.py:416
#: calibre-plugin/dialog/magazines.py:420
#, python-brace-format
msgid ""
"Added {magazine} for monitoring.\n"
Expand Down
23 changes: 12 additions & 11 deletions calibre-plugin/translations/zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libby-calibre-plugin 0.1.6\n"
"Report-Msgid-Bugs-To: https://github.com/ping/libby-calibre-plugin/\n"
"POT-Creation-Date: 2023-07-29 18:45+0800\n"
"POT-Creation-Date: 2023-07-29 22:21+0800\n"
"PO-Revision-Date: 2023-07-04 07:25+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -32,7 +32,7 @@ msgstr ""

#: calibre-plugin/borrow_book.py:35
msgid "Borrowing"
msgstr ""
msgstr "正在借阅"

#: calibre-plugin/config.py:57 calibre-plugin/config.py:356
msgid "Libby Setup Code"
Expand Down Expand Up @@ -205,7 +205,7 @@ msgstr ""

#: calibre-plugin/models.py:321
msgid "Available"
msgstr "可藉閱"
msgstr "可看"

#: calibre-plugin/models.py:410
#, python-brace-format
Expand All @@ -215,12 +215,12 @@ msgstr ""
#: calibre-plugin/models.py:415
#, python-brace-format
msgid "Placed on {dt}"
msgstr ""
msgstr "已在 {dt} 預約"

#: calibre-plugin/models.py:431
#, python-brace-format
msgid "Deliver after {dt}"
msgstr ""
msgstr "在 {dt} 之後傳遞"

#: calibre-plugin/models.py:437
#, python-brace-format
Expand Down Expand Up @@ -468,8 +468,8 @@ msgstr ""
#: calibre-plugin/dialog/magazines.py:350
#: calibre-plugin/dialog/magazines.py:372
#: calibre-plugin/dialog/magazines.py:384
#: calibre-plugin/dialog/magazines.py:399
#: calibre-plugin/dialog/magazines.py:414
#: calibre-plugin/dialog/magazines.py:403
#: calibre-plugin/dialog/magazines.py:418
msgid "Add Magazine"
msgstr ""

Expand All @@ -484,15 +484,16 @@ msgid "{media} is not a downloadable magazine"
msgstr ""

#: calibre-plugin/dialog/magazines.py:385
msgid "Library does not own this title"
msgstr ""
#, python-brace-format
msgid "{library} does not own this title"
msgstr "{library}不擁有此出版物的任何副本。"

#: calibre-plugin/dialog/magazines.py:400
#: calibre-plugin/dialog/magazines.py:404
#, python-brace-format
msgid "Already added {magazine}"
msgstr ""

#: calibre-plugin/dialog/magazines.py:416
#: calibre-plugin/dialog/magazines.py:420
#, python-brace-format
msgid ""
"Added {magazine} for monitoring.\n"
Expand Down

0 comments on commit 1bf3d32

Please sign in to comment.