diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 09c685e918..dc2ff0e400 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -89,7 +89,7 @@ class KOBO(USBMS): 'Enable if you wish to see/delete them.'), _('Attempt to support newer firmware') + ':::'+_('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!! ' 'Enable only if you are comfortable with restoring your kobo ' 'to factory defaults and testing software'), diff --git a/src/calibre/ebooks/oeb/polish/toc.py b/src/calibre/ebooks/oeb/polish/toc.py index 8208c81a34..26faabeedb 100644 --- a/src/calibre/ebooks/oeb/polish/toc.py +++ b/src/calibre/ebooks/oeb/polish/toc.py @@ -104,8 +104,9 @@ def verify_toc_destinations(container, toc): anchor_map[name] = frozenset(anchor_xpath(root)) item.dest_exists = item.frag in anchor_map[name] if not item.dest_exists: - item.dest_error = _('The anchor %s does not exist in file %s')%( - item.frag, name) + item.dest_error = _( + 'The anchor %(a)s does not exist in file %(f)s')%dict( + a=item.frag, f=name) def get_toc(container, verify_destinations=True): toc = container.opf_xpath('//opf:spine/@toc') diff --git a/src/calibre/translations/calibre.pot b/src/calibre/translations/calibre.pot index 9a1346e3c2..1ee625425b 100644 --- a/src/calibre/translations/calibre.pot +++ b/src/calibre/translations/calibre.pot @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: calibre 0.9.22\n" -"POT-Creation-Date: 2013-03-08 09:34+IST\n" -"PO-Revision-Date: 2013-03-08 09:34+IST\n" +"POT-Creation-Date: 2013-03-10 19:35+IST\n" +"PO-Revision-Date: 2013-03-10 19:35+IST\n" "Last-Translator: Automatically generated\n" "Language-Team: LANGUAGE\n" "MIME-Version: 1.0\n" @@ -211,27 +211,27 @@ msgstr "" msgid "Cannot configure" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:322 +#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:331 msgid "File type" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:368 +#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:377 msgid "Metadata reader" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:398 +#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:407 msgid "Metadata writer" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:428 +#: /home/kovid/work/calibre/src/calibre/customize/__init__.py:437 msgid "Catalog generator" 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" 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:28 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/main.py:197 @@ -241,12 +241,12 @@ msgstr "" msgid "Preferences" 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 msgid "Store" 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." 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." 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" 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 msgid "Communicate with Android phones." 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: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 msgid "Kovid Goyal" msgstr "" @@ -1299,31 +1311,31 @@ msgstr "" msgid "Communicate with the Tolino Shine reader." 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" 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." 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." 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." 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." 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" 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." msgstr "" @@ -1571,7 +1583,7 @@ msgid "Attempt to support newer firmware" msgstr "" #: /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 "" #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:619 @@ -4083,9 +4095,9 @@ msgstr "" msgid "No HTML file named %s exists" 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 -msgid "The anchor %s does not exist in file %s" +msgid "The anchor %(a)s does not exist in file %(f)s" msgstr "" #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/cover.py:98 @@ -9497,7 +9509,7 @@ msgid "&Search for:" msgstr "" #: /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" msgstr "" @@ -14660,12 +14672,12 @@ msgid "Grouped search terms are search names that permit a query to autom msgstr "" #: /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" msgstr "" #: /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" msgstr "" @@ -15800,11 +15812,11 @@ msgstr "" msgid "%s will be deleted from all books. Are you sure?" 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" 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 "" "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" @@ -15814,60 +15826,60 @@ msgid "" "containing the text \"foo\"" 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" 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" 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" 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.

Click Find again to go to first match" 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" 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 msgid "Sort by" 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" 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" 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" 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" 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" 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" 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" 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" msgstr ""