Fix #1152919 (Minor textual errors)

This commit is contained in:
Kovid Goyal 2013-03-10 19:36:20 +05:30
parent 4b2d4616a3
commit 7f300dfe1e
3 changed files with 57 additions and 44 deletions

View File

@ -89,7 +89,7 @@ class KOBO(USBMS):
'Enable if you wish to see/delete them.'), 'Enable if you wish to see/delete them.'),
_('Attempt to support newer firmware') + _('Attempt to support newer firmware') +
':::'+_('Kobo routinely updates the firmware and the ' ':::'+_('Kobo routinely updates the firmware and the '
'database version. With this option Calibre will attempt ' 'database version. With this option calibre will attempt '
'to perform full read-write functionality - Here be Dragons!! ' 'to perform full read-write functionality - Here be Dragons!! '
'Enable only if you are comfortable with restoring your kobo ' 'Enable only if you are comfortable with restoring your kobo '
'to factory defaults and testing software'), 'to factory defaults and testing software'),

View File

@ -104,8 +104,9 @@ def verify_toc_destinations(container, toc):
anchor_map[name] = frozenset(anchor_xpath(root)) anchor_map[name] = frozenset(anchor_xpath(root))
item.dest_exists = item.frag in anchor_map[name] item.dest_exists = item.frag in anchor_map[name]
if not item.dest_exists: if not item.dest_exists:
item.dest_error = _('The anchor %s does not exist in file %s')%( item.dest_error = _(
item.frag, name) 'The anchor %(a)s does not exist in file %(f)s')%dict(
a=item.frag, f=name)
def get_toc(container, verify_destinations=True): def get_toc(container, verify_destinations=True):
toc = container.opf_xpath('//opf:spine/@toc') toc = container.opf_xpath('//opf:spine/@toc')

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: calibre 0.9.22\n" "Project-Id-Version: calibre 0.9.22\n"
"POT-Creation-Date: 2013-03-08 09:34+IST\n" "POT-Creation-Date: 2013-03-10 19:35+IST\n"
"PO-Revision-Date: 2013-03-08 09:34+IST\n" "PO-Revision-Date: 2013-03-10 19:35+IST\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"
@ -211,27 +211,27 @@ msgstr ""
msgid "Cannot configure" msgid "Cannot configure"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:322 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:331
msgid "File type" msgid "File type"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:368 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:377
msgid "Metadata reader" msgid "Metadata reader"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:398 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:407
msgid "Metadata writer" msgid "Metadata writer"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:428 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:437
msgid "Catalog generator" msgid "Catalog generator"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:551 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:560
msgid "User Interface Action" msgid "User Interface Action"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:585 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:594
#: /home/kovid/work/calibre/src/calibre/gui2/actions/preferences.py:20 #: /home/kovid/work/calibre/src/calibre/gui2/actions/preferences.py:20
#: /home/kovid/work/calibre/src/calibre/gui2/actions/preferences.py:28 #: /home/kovid/work/calibre/src/calibre/gui2/actions/preferences.py:28
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/main.py:197 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/main.py:197
@ -241,12 +241,12 @@ msgstr ""
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:637 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:646
#: /home/kovid/work/calibre/src/calibre/gui2/store/search/models.py:39 #: /home/kovid/work/calibre/src/calibre/gui2/store/search/models.py:39
msgid "Store" msgid "Store"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:641 #: /home/kovid/work/calibre/src/calibre/customize/__init__.py:650
msgid "An ebook store." msgid "An ebook store."
msgstr "" msgstr ""
@ -1021,10 +1021,22 @@ msgstr ""
msgid "Cause a running calibre instance, if any, to be shutdown. Note that if there are running jobs, they will be silently aborted, so use with care." msgid "Cause a running calibre instance, if any, to be shutdown. Note that if there are running jobs, they will be silently aborted, so use with care."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/debug.py:177 #: /home/kovid/work/calibre/src/calibre/debug.py:81
msgid ""
"Run a plugin that provides a command line interface. For example:\n"
"calibre-debug -r \"Add Books\" -- file1 --option1\n"
"Everything after the -- will be passed to the plugin as arguments."
msgstr ""
#: /home/kovid/work/calibre/src/calibre/debug.py:180
msgid "Debug log" msgid "Debug log"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/debug.py:272
#, python-format
msgid "No plugin named %s found"
msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:19 #: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:19
msgid "Communicate with Android phones." msgid "Communicate with Android phones."
msgstr "" msgstr ""
@ -1266,7 +1278,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/blackberry/driver.py:14 #: /home/kovid/work/calibre/src/calibre/devices/blackberry/driver.py:14
#: /home/kovid/work/calibre/src/calibre/devices/blackberry/driver.py:37 #: /home/kovid/work/calibre/src/calibre/devices/blackberry/driver.py:37
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:288 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:296
#: /home/kovid/work/calibre/src/calibre/devices/nuut2/driver.py:18 #: /home/kovid/work/calibre/src/calibre/devices/nuut2/driver.py:18
msgid "Kovid Goyal" msgid "Kovid Goyal"
msgstr "" msgstr ""
@ -1299,31 +1311,31 @@ msgstr ""
msgid "Communicate with the Tolino Shine reader." msgid "Communicate with the Tolino Shine reader."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:204 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:212
msgid "Communicate with the Astak Mentor EB600" msgid "Communicate with the Astak Mentor EB600"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:227 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:235
msgid "Communicate with the PocketBook 301 reader." msgid "Communicate with the PocketBook 301 reader."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:244 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:252
msgid "Communicate with the PocketBook 602/603/902/903/Pro 912 reader." msgid "Communicate with the PocketBook 602/603/902/903/Pro 912 reader."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:264 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:272
msgid "Communicate with the PocketBook 622 reader." msgid "Communicate with the PocketBook 622 reader."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:277 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:285
msgid "Communicate with the PocketBook 360+ reader." msgid "Communicate with the PocketBook 360+ reader."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:287 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:295
msgid "Communicate with the PocketBook 701" msgid "Communicate with the PocketBook 701"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:318 #: /home/kovid/work/calibre/src/calibre/devices/eb600/driver.py:326
msgid "Communicate with the Infibeam Pi2 reader." msgid "Communicate with the Infibeam Pi2 reader."
msgstr "" msgstr ""
@ -1571,7 +1583,7 @@ msgid "Attempt to support newer firmware"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:91 #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:91
msgid "Kobo routinely updates the firmware and the database version. With this option Calibre will attempt to perform full read-write functionality - Here be Dragons!! Enable only if you are comfortable with restoring your kobo to factory defaults and testing software" msgid "Kobo routinely updates the firmware and the database version. With this option calibre will attempt to perform full read-write functionality - Here be Dragons!! Enable only if you are comfortable with restoring your kobo to factory defaults and testing software"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:619 #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:619
@ -4083,9 +4095,9 @@ msgstr ""
msgid "No HTML file named %s exists" msgid "No HTML file named %s exists"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.py:107 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.py:108
#, python-format #, python-format
msgid "The anchor %s does not exist in file %s" msgid "The anchor %(a)s does not exist in file %(f)s"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/cover.py:98 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/cover.py:98
@ -9497,7 +9509,7 @@ msgid "&Search for:"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/edit_authors_dialog_ui.py:89 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/edit_authors_dialog_ui.py:89
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:349 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:351
msgid "F&ind" msgid "F&ind"
msgstr "" msgstr ""
@ -14660,12 +14672,12 @@ msgid "<b>Grouped search terms</b> are search names that permit a query to autom
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/search.py:77 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/search.py:77
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:419 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:421
msgid "Match all" msgid "Match all"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/search.py:77 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/search.py:77
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:419 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:421
msgid "Match any" msgid "Match any"
msgstr "" msgstr ""
@ -15800,11 +15812,11 @@ msgstr ""
msgid "%s will be deleted from all books. Are you sure?" msgid "%s will be deleted from all books. Are you sure?"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:333 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:335
msgid "Find item in tag browser" msgid "Find item in tag browser"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:337 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:339
msgid "" msgid ""
"Search for items. This is a \"contains\" search; items containing the\n" "Search for items. This is a \"contains\" search; items containing the\n"
"text anywhere in the name will be found. You can limit the search\n" "text anywhere in the name will be found. You can limit the search\n"
@ -15814,60 +15826,60 @@ msgid ""
"containing the text \"foo\"" "containing the text \"foo\""
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:345 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:347
msgid "ALT+f" msgid "ALT+f"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:350 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:352
msgid "Find the first/next matching item" msgid "Find the first/next matching item"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:355 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:357
msgid "Collapse all categories" msgid "Collapse all categories"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:379 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:381
msgid "No More Matches.</b><p> Click Find again to go to first match" msgid "No More Matches.</b><p> Click Find again to go to first match"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:391 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:393
msgid "Alter Tag Browser" msgid "Alter Tag Browser"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:397 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:399
#: /home/kovid/work/calibre/src/calibre/library/server/browse.py:281 #: /home/kovid/work/calibre/src/calibre/library/server/browse.py:281
msgid "Sort by" msgid "Sort by"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:403 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:405
msgid "Sort by name" msgid "Sort by name"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:403 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:405
msgid "Sort by popularity" msgid "Sort by popularity"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:404 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:406
msgid "Sort by average rating" msgid "Sort by average rating"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:410 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:412
msgid "Set the sort order for entries in the Tag Browser" msgid "Set the sort order for entries in the Tag Browser"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:413 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:415
msgid "Match type" msgid "Match type"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:425 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:427
msgid "When selecting multiple entries in the Tag Browser match any or all of them" msgid "When selecting multiple entries in the Tag Browser match any or all of them"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:429 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:431
msgid "Manage authors, tags, etc" msgid "Manage authors, tags, etc"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:430 #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/ui.py:432
msgid "All of these category_managers are available by right-clicking on items in the tag browser above" msgid "All of these category_managers are available by right-clicking on items in the tag browser above"
msgstr "" msgstr ""