Fix #852481 (Untranslatable strings)

This commit is contained in:
Kovid Goyal 2011-09-17 08:27:02 -06:00
parent d651e1911a
commit ac747892cc
2 changed files with 38 additions and 18 deletions

View File

@ -229,14 +229,14 @@ class CheckLibraryDialog(QDialog):
self.copy_button = QPushButton(_('Copy &to clipboard')) self.copy_button = QPushButton(_('Copy &to clipboard'))
self.copy_button.setDefault(False) self.copy_button.setDefault(False)
self.copy_button.clicked.connect(self.copy_to_clipboard) self.copy_button.clicked.connect(self.copy_to_clipboard)
self.ok_button = QPushButton('&Done') self.ok_button = QPushButton(_('&Done'))
self.ok_button.setDefault(True) self.ok_button.setDefault(True)
self.ok_button.clicked.connect(self.accept) self.ok_button.clicked.connect(self.accept)
self.delete_button = QPushButton('Delete &marked') self.delete_button = QPushButton(_('Delete &marked'))
self.delete_button.setToolTip(_('Delete marked files (checked subitems)')) self.delete_button.setToolTip(_('Delete marked files (checked subitems)'))
self.delete_button.setDefault(False) self.delete_button.setDefault(False)
self.delete_button.clicked.connect(self.delete_marked) self.delete_button.clicked.connect(self.delete_marked)
self.fix_button = QPushButton('&Fix marked') self.fix_button = QPushButton(_('&Fix marked'))
self.fix_button.setDefault(False) self.fix_button.setDefault(False)
self.fix_button.setEnabled(False) self.fix_button.setEnabled(False)
self.fix_button.setToolTip(_('Fix marked sections (checked fixable items)')) self.fix_button.setToolTip(_('Fix marked sections (checked fixable items)'))

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: calibre 0.8.19\n" "Project-Id-Version: calibre 0.8.19\n"
"POT-Creation-Date: 2011-09-17 08:14+MDT\n" "POT-Creation-Date: 2011-09-17 08:26+MDT\n"
"PO-Revision-Date: 2011-09-17 08:14+MDT\n" "PO-Revision-Date: 2011-09-17 08:26+MDT\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: LANGUAGE\n" "Language-Team: LANGUAGE\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -150,7 +150,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/add_empty_book.py:68 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/add_empty_book.py:68
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/book_info.py:128 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/book_info.py:128
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/comicconf.py:47 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/comicconf.py:47
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:775 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:777
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:372 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:372
#: /home/kovid/work/calibre/src/calibre/gui2/email.py:185 #: /home/kovid/work/calibre/src/calibre/gui2/email.py:185
#: /home/kovid/work/calibre/src/calibre/gui2/email.py:200 #: /home/kovid/work/calibre/src/calibre/gui2/email.py:200
@ -4017,7 +4017,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/actions/choose_library.py:383 #: /home/kovid/work/calibre/src/calibre/gui2/actions/choose_library.py:383
#: /home/kovid/work/calibre/src/calibre/gui2/actions/copy_to_library.py:194 #: /home/kovid/work/calibre/src/calibre/gui2/actions/copy_to_library.py:194
#: /home/kovid/work/calibre/src/calibre/gui2/device.py:745 #: /home/kovid/work/calibre/src/calibre/gui2/device.py:745
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:968 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:970
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/restore_library.py:101 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/restore_library.py:101
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/tweaks.py:337 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/tweaks.py:337
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/tweaks.py:377 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/tweaks.py:377
@ -7233,10 +7233,22 @@ msgstr ""
msgid "Copy &to clipboard" msgid "Copy &to clipboard"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:232
msgid "&Done"
msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:235
msgid "Delete &marked"
msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:236 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:236
msgid "Delete marked files (checked subitems)" msgid "Delete marked files (checked subitems)"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:239
msgid "&Fix marked"
msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:242 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/check_library.py:242
msgid "Fix marked sections (checked fixable items)" msgid "Fix marked sections (checked fixable items)"
msgstr "" msgstr ""
@ -7806,49 +7818,49 @@ msgstr ""
msgid "S/R TEMPLATE ERROR" msgid "S/R TEMPLATE ERROR"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:658 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:660
msgid "You must specify a destination when source is a composite field" msgid "You must specify a destination when source is a composite field"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:664 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:666
msgid "You must specify a destination identifier type" msgid "You must specify a destination identifier type"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:899 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:901
msgid "Search/replace invalid" msgid "Search/replace invalid"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:900 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:902
#, python-format #, python-format
msgid "Search pattern is invalid: %s" msgid "Search pattern is invalid: %s"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:954 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:956
#, python-format #, python-format
msgid "" msgid ""
"Applying changes to %d books.\n" "Applying changes to %d books.\n"
"Phase {0} {1}%%." "Phase {0} {1}%%."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:984 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:986
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk_ui.py:600 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk_ui.py:600
msgid "Delete saved search/replace" msgid "Delete saved search/replace"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:985 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:987
msgid "The selected saved search/replace will be deleted. Are you sure?" msgid "The selected saved search/replace will be deleted. Are you sure?"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1002 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1004
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1010 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1012
msgid "Save search/replace" msgid "Save search/replace"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1003 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1005
msgid "Search/replace name:" msgid "Search/replace name:"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1011 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:1013
msgid "That saved search/replace already exists and will be overwritten. Are you sure?" msgid "That saved search/replace already exists and will be overwritten. Are you sure?"
msgstr "" msgstr ""
@ -16011,6 +16023,14 @@ msgstr ""
msgid "days_between(date1, date2) -- return the number of days between date1 and date2. The number is positive if date1 is greater than date2, otherwise negative. If either date1 or date2 are not dates, the function returns the empty string." msgid "days_between(date1, date2) -- return the number of days between date1 and date2. The number is positive if date1 is greater than date2, otherwise negative. If either date1 or date2 are not dates, the function returns the empty string."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1005
msgid "language_strings(lang_codes, localize) -- return the strings for the language codes passed in lang_codes. If localize is zero, return the strings in English. If localize is not zero, return the strings in the language of the current locale. Lang_codes is a comma-separated list."
msgstr ""
#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1025
msgid "language_codes(lang_strings) -- return the language codes for the strings passed in lang_strings. The strings must be in the language of the current locale. Lang_strings is a comma-separated list."
msgstr ""
#: /home/kovid/work/calibre/src/calibre/utils/ipc/job.py:43 #: /home/kovid/work/calibre/src/calibre/utils/ipc/job.py:43
msgid "Waiting..." msgid "Waiting..."
msgstr "" msgstr ""