diff --git a/src/calibre/translations/calibre.pot b/src/calibre/translations/calibre.pot index cf7edf2f5b..fe006dfe82 100644 --- a/src/calibre/translations/calibre.pot +++ b/src/calibre/translations/calibre.pot @@ -4,9 +4,9 @@ # msgid "" msgstr "" -"Project-Id-Version: calibre 0.8.42\n" -"POT-Creation-Date: 2012-03-12 11:06+IST\n" -"PO-Revision-Date: 2012-03-12 11:06+IST\n" +"Project-Id-Version: calibre 0.8.43\n" +"POT-Creation-Date: 2012-03-16 07:46+IST\n" +"PO-Revision-Date: 2012-03-16 07:46+IST\n" "Last-Translator: Automatically generated\n" "Language-Team: LANGUAGE\n" "MIME-Version: 1.0\n" @@ -24,8 +24,8 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/db/cache.py:106 #: /home/kovid/work/calibre/src/calibre/db/cache.py:109 #: /home/kovid/work/calibre/src/calibre/db/cache.py:120 -#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:314 #: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:315 +#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:316 #: /home/kovid/work/calibre/src/calibre/devices/hanvon/driver.py:100 #: /home/kovid/work/calibre/src/calibre/devices/hanvon/driver.py:101 #: /home/kovid/work/calibre/src/calibre/devices/jetbook/driver.py:74 @@ -55,14 +55,14 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_from.py:1897 #: /home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_from.py:1899 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/__init__.py:311 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:34 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:35 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:36 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:98 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:479 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:484 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:719 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:758 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:37 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:38 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:39 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:101 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:494 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:499 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:735 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:774 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/ereader.py:36 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/ereader.py:61 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/extz.py:23 @@ -73,11 +73,11 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py:66 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py:120 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/meta.py:122 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/mobi.py:464 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/mobi.py:466 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/mobi.py:468 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/mobi.py:470 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/mobi.py:472 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py:1132 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py:1242 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py:1243 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/pdb.py:41 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/pdf.py:29 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/plucker.py:25 @@ -100,17 +100,17 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/ozon.py:125 #: /home/kovid/work/calibre/src/calibre/ebooks/metadata/txt.py:18 #: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:26 -#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:69 -#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:114 -#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:156 +#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:117 +#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/headers.py:159 #: /home/kovid/work/calibre/src/calibre/ebooks/mobi/reader/mobi6.py:606 -#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/utils.py:299 +#: /home/kovid/work/calibre/src/calibre/ebooks/mobi/utils.py:305 #: /home/kovid/work/calibre/src/calibre/ebooks/mobi/writer2/indexer.py:497 #: /home/kovid/work/calibre/src/calibre/ebooks/odt/input.py:168 #: /home/kovid/work/calibre/src/calibre/ebooks/odt/input.py:170 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/base.py:829 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/parse_utils.py:353 -#: /home/kovid/work/calibre/src/calibre/ebooks/oeb/parse_utils.py:357 +#: /home/kovid/work/calibre/src/calibre/ebooks/oeb/parse_utils.py:356 +#: /home/kovid/work/calibre/src/calibre/ebooks/oeb/parse_utils.py:360 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/reader.py:142 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/reader.py:149 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py:66 @@ -180,11 +180,11 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/library/database2.py:559 #: /home/kovid/work/calibre/src/calibre/library/database2.py:567 #: /home/kovid/work/calibre/src/calibre/library/database2.py:578 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:2079 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:2233 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3293 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3295 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3432 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:2085 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:2239 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3299 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3301 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3438 #: /home/kovid/work/calibre/src/calibre/library/server/content.py:249 #: /home/kovid/work/calibre/src/calibre/library/server/content.py:250 #: /home/kovid/work/calibre/src/calibre/library/server/mobile.py:245 @@ -654,7 +654,7 @@ msgid "This profile tries to provide sane defaults and is useful if you know not msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:59 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:453 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:463 msgid "This profile is intended for the SONY PRS line. The 500/505/600/700 etc." msgstr "" @@ -663,62 +663,62 @@ msgid "This profile is intended for the SONY PRS 300." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:80 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:493 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:503 msgid "This profile is intended for the SONY PRS-900." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:88 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:538 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:548 msgid "This profile is intended for the Microsoft Reader." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:99 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:549 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:559 msgid "This profile is intended for the Mobipocket books." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:112 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:562 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:572 msgid "This profile is intended for the Hanlin V3 and its clones." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:124 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:574 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:584 msgid "This profile is intended for the Hanlin V5 and its clones." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:134 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:582 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:592 msgid "This profile is intended for the Cybook G3." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:147 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:596 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:606 msgid "This profile is intended for the Cybook Opus." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:159 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:609 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:619 msgid "This profile is intended for the Amazon Kindle." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:171 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:669 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:679 msgid "This profile is intended for the Irex Illiad." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:183 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:682 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:692 msgid "This profile is intended for the IRex Digital Reader 1000." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:196 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:696 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:706 msgid "This profile is intended for the IRex Digital Reader 800." msgstr "" #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:208 -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:710 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:720 msgid "This profile is intended for the B&N Nook." msgstr "" @@ -734,55 +734,59 @@ msgstr "" msgid "Intended for the iPad and similar devices with a resolution of 768x1024" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:437 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:441 +msgid "Intended for the iPad 3 and similar devices with a resolution of 1536x2048" +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:447 msgid "Intended for generic tablet devices, does no resizing of images" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:445 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:455 msgid "Intended for the Samsung Galaxy and similar tablet devices with a resolution of 600x1280" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:471 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:481 msgid "This profile is intended for the Kobo Reader." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:484 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:494 msgid "This profile is intended for the SONY PRS-300." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:502 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:512 msgid "Suitable for use with any e-ink device" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:509 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:519 msgid "Suitable for use with any large screen e-ink device" msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:518 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:528 msgid "This profile is intended for the 5-inch JetBook." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:527 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:537 msgid "This profile is intended for the SONY PRS line. The 500/505/700 etc, in landscape mode. Mainly useful for comics." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:635 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:645 msgid "This profile is intended for the Amazon Kindle DX." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:659 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:669 msgid "This profile is intended for the Amazon Kindle Fire." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:722 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:732 msgid "This profile is intended for the B&N Nook Color." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:733 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:743 msgid "This profile is intended for the Sanda Bambook." msgstr "" -#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:748 +#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:758 msgid "This profile is intended for the PocketBook Pro 900 series of devices." msgstr "" @@ -847,7 +851,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/db/backend.py:281 #: /home/kovid/work/calibre/src/calibre/gui2/actions/choose_library.py:289 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/choose_library.py:70 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:727 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:734 #: /home/kovid/work/calibre/src/calibre/library/database2.py:133 #: /home/kovid/work/calibre/src/calibre/library/database2.py:142 #, python-format @@ -855,29 +859,29 @@ msgid "Path to library too long. Must be less than %d characters." msgstr "" #: /home/kovid/work/calibre/src/calibre/db/cache.py:134 -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:654 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:670 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:67 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:682 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:1007 -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:835 -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:847 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:1013 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:836 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:848 msgid "Yes" msgstr "" #: /home/kovid/work/calibre/src/calibre/db/fields.py:163 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:1135 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:1141 msgid "Main" msgstr "" #: /home/kovid/work/calibre/src/calibre/db/fields.py:165 #: /home/kovid/work/calibre/src/calibre/gui2/layout.py:77 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:1137 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:1143 msgid "Card A" msgstr "" #: /home/kovid/work/calibre/src/calibre/db/fields.py:167 #: /home/kovid/work/calibre/src/calibre/gui2/layout.py:79 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:1139 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:1145 msgid "Card B" msgstr "" @@ -893,11 +897,11 @@ msgstr "" msgid "Comma separated list of directories to send e-books to on the device. The first one that exists will be used" msgstr "" -#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:254 +#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:255 msgid "Communicate with S60 phones." msgstr "" -#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:273 +#: /home/kovid/work/calibre/src/calibre/devices/android/driver.py:274 msgid "Communicate with WebOS tablets." msgstr "" @@ -1008,7 +1012,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/tag_browser/model.py:1156 #: /home/kovid/work/calibre/src/calibre/library/database2.py:346 #: /home/kovid/work/calibre/src/calibre/library/database2.py:359 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3152 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3158 #: /home/kovid/work/calibre/src/calibre/library/field_metadata.py:187 msgid "News" msgstr "" @@ -1016,8 +1020,8 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2727 #: /home/kovid/work/calibre/src/calibre/gui2/catalog/catalog_epub_mobi.py:65 #: /home/kovid/work/calibre/src/calibre/library/catalogs/epub_mobi.py:65 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3108 -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3126 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3114 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3132 msgid "Catalog" msgstr "" @@ -2154,48 +2158,48 @@ msgstr "" msgid "Comic" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:22 -msgid "Modify images to meet Palm device size limitations." -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:26 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:23 msgid "When present, use author sort field as author." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:30 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:27 msgid "Don't add Table of Contents to the book. Useful if the book has its own table of contents." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:33 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:30 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/htmltoc.py:57 msgid "Title for any generated in-line table of contents." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:37 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:34 msgid "Disable compression of the file contents." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:40 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:37 msgid "Tag marking book to be filed with Personal Docs" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:44 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:41 msgid "Ignore margins in the input document. If False, then the MOBI output plugin will try to convert margins specified in the input document, otherwise it will ignore them." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:50 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:47 msgid "When adding the Table of Contents to the book, add it at the start of the book instead of the end. Not recommended." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:54 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:51 msgid "Extract the contents of the MOBI file to the specified directory. If the directory already exists, it will be deleted." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:59 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:56 msgid "Enable sharing of book content via Facebook etc. on the Kindle. WARNING: Using this feature means that the book will not auto sync its last read position on multiple devices. Complain to Amazon." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:108 +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:63 +msgid "By default calibre converts all images to JPEG format in the output MOBI file. This is for maximum compatibility as some older MOBI viewers have problems with other image formats. This option tells calibre not to do this. Useful if your document contains lots of GIF/PNG images that become very large when converted to JPEG." +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plugins/mobi_output.py:114 #: /home/kovid/work/calibre/src/calibre/ebooks/epub/periodical.py:125 msgid "All articles" msgstr "" @@ -2998,21 +3002,21 @@ msgstr "" msgid "Extract common e-book formats from archives (zip/rar) files. Also try to autodetect if they are actually cbz/cbr files." msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:58 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:61 msgid "Value: unknown field " msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:162 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:165 msgid "TEMPLATE ERROR" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:654 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:670 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:67 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:682 msgid "No" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:757 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:773 #: /home/kovid/work/calibre/src/calibre/ebooks/pdf/manipulate/info.py:45 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/delete_matching_from_device.py:75 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/quickview.py:85 @@ -3027,32 +3031,32 @@ msgstr "" msgid "Title" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:758 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:774 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:60 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:1065 #: /home/kovid/work/calibre/src/calibre/gui2/store/stores/mobileread/models.py:23 msgid "Author(s)" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:759 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:775 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:65 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/metadata_sources.py:159 msgid "Publisher" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:760 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:776 #: /home/kovid/work/calibre/src/calibre/ebooks/pdf/manipulate/info.py:49 msgid "Producer" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:761 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:777 #: /home/kovid/work/calibre/src/calibre/gui2/metadata/single.py:935 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/metadata_sources.py:157 #: /home/kovid/work/calibre/src/calibre/library/field_metadata.py:245 msgid "Comments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:763 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:779 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py:171 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/tag_categories.py:60 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:66 @@ -3063,7 +3067,7 @@ msgstr "" msgid "Tags" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:765 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:781 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py:169 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/quickview.py:89 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/tag_categories.py:60 @@ -3076,18 +3080,18 @@ msgid_plural "Series" msgstr[0] "" msgstr[1] "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:766 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:782 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:69 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/metadata_sources.py:164 #: /home/kovid/work/calibre/src/calibre/library/field_metadata.py:127 msgid "Languages" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:768 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:784 msgid "Timestamp" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:770 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:786 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py:168 #: /home/kovid/work/calibre/src/calibre/gui2/library/models.py:63 #: /home/kovid/work/calibre/src/calibre/gui2/metadata/single_download.py:136 @@ -3095,7 +3099,7 @@ msgstr "" msgid "Published" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:772 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/book/base.py:788 msgid "Rights" msgstr "" @@ -3190,7 +3194,7 @@ msgid "" "Fetch a cover image/social metadata for the book identified by ISBN from LibraryThing.com\n" msgstr "" -#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py:1431 +#: /home/kovid/work/calibre/src/calibre/ebooks/metadata/opf2.py:1432 #: /home/kovid/work/calibre/src/calibre/ebooks/oeb/base.py:1237 #: /home/kovid/work/calibre/src/calibre/gui2/metadata/single.py:947 #: /home/kovid/work/calibre/src/calibre/gui2/store/search/models.py:41 @@ -4128,7 +4132,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/actions/choose_library.py:288 #: /home/kovid/work/calibre/src/calibre/gui2/actions/choose_library.py:342 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/choose_library.py:69 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:726 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:733 msgid "Too long" msgstr "" @@ -4687,7 +4691,7 @@ msgid "Move to next highlighted match" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/actions/next_match.py:13 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:385 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:391 msgid "N" msgstr "" @@ -5382,7 +5386,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/convert/look_and_feel_ui.py:21 #: /home/kovid/work/calibre/src/calibre/gui2/convert/lrf_output_ui.py:120 #: /home/kovid/work/calibre/src/calibre/gui2/convert/metadata_ui.py:158 -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:21 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:74 #: /home/kovid/work/calibre/src/calibre/gui2/convert/page_setup_ui.py:120 #: /home/kovid/work/calibre/src/calibre/gui2/convert/pdb_input_ui.py:36 #: /home/kovid/work/calibre/src/calibre/gui2/convert/pdb_output_ui.py:47 @@ -6454,46 +6458,46 @@ msgstr "" msgid "MOBI Output" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:25 -msgid "&Title for Table of Contents:" -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:32 -msgid "Rescale images for &Palm devices" -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:36 -msgid "Use author &sort for author" -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:40 -msgid "Disable compression of the file contents" -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:44 -msgid "Do not add Table of Contents to book" -msgstr "" - -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:48 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:75 msgid "Kindle options" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:55 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:76 msgid "Personal Doc tag:" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:63 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:77 msgid "Enable sharing of book content via Facebook, etc. WARNING: Disables last read syncing" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:72 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:78 msgid "Put generated Table of Contents at &start of book instead of end" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:76 +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:79 msgid "Ignore &margins" msgstr "" +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:80 +msgid "Use author &sort for author" +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:81 +msgid "&Title for Table of Contents:" +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:82 +msgid "Disable compression of the file contents" +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:83 +msgid "Do not add Table of Contents to book" +msgstr "" + +#: /home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output_ui.py:84 +msgid "Do not convert all images to &JPEG (may result in images not working in older viewers)" +msgstr "" + #: /home/kovid/work/calibre/src/calibre/gui2/convert/page_setup.py:35 msgid "Page Setup" msgstr "" @@ -7054,11 +7058,11 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:801 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:341 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_bulk.py:349 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:77 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:97 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:219 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:268 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:272 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:83 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:103 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:225 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:274 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:278 #: /home/kovid/work/calibre/src/calibre/gui2/metadata/basic_widgets.py:1413 msgid "Undefined" msgstr "" @@ -7350,14 +7354,14 @@ msgid "You have enabled the {0} formats for your {1}. The {1} may not sup msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/device_drivers/configwidget.py:150 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:434 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:440 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/plugboard.py:279 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/save_template.py:70 msgid "Invalid template" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/device_drivers/configwidget.py:151 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:435 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:441 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/plugboard.py:280 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/save_template.py:71 #, python-format @@ -7673,8 +7677,8 @@ msgid "No location selected" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/choose_library.py:98 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:734 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:749 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:741 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:756 msgid "Bad location" msgstr "" @@ -8080,7 +8084,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/message_box.py:103 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/message_box.py:311 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:581 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:588 msgid "Copied" msgstr "" @@ -9623,7 +9627,7 @@ msgid "Open Template Editor" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/template_line_editor.py:41 -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:421 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:427 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/save_template.py:48 msgid "Edit template" msgstr "" @@ -10333,12 +10337,12 @@ msgstr "" msgid "Copy current search text (instead of search name)" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:36 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:42 #: /home/kovid/work/calibre/src/calibre/gui2/metadata/basic_widgets.py:1073 msgid "stars" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:385 +#: /home/kovid/work/calibre/src/calibre/gui2/library/delegates.py:391 msgid "Y" msgstr "" @@ -10551,7 +10555,7 @@ msgid "Cause a running calibre instance, if any, to be shutdown. Note that if th msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/main.py:68 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:757 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:764 msgid "Calibre Library" msgstr "" @@ -10956,14 +10960,14 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/metadata/single_download.py:859 #: /home/kovid/work/calibre/src/calibre/library/server/browse.py:107 #: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:219 -#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:415 +#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:410 msgid "Next" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/metadata/single.py:70 #: /home/kovid/work/calibre/src/calibre/library/server/browse.py:106 #: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:229 -#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:398 +#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:393 msgid "Previous" msgstr "" @@ -14278,7 +14282,7 @@ msgid "Monospace" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/viewer/config_ui.py:198 -msgid "Remember last used &window size" +msgid "Remember last used &window size and layout" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/viewer/config_ui.py:199 @@ -14729,69 +14733,69 @@ msgstr "" msgid "Toggle" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:494 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:501 #, python-format msgid "Choose your e-book device. If your device is not in the list, choose a \"%s\" device." msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:555 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:562 msgid "Moving library..." msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:571 -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:572 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:578 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:579 msgid "Failed to move library" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:626 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:633 msgid "Invalid database" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:627 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:634 #, python-format msgid "

An invalid library already exists at %(loc)s, delete it before trying to move the existing library.
Error: %(err)s" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:638 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:645 msgid "Could not move library" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:722 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:729 msgid "Select location for books" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:735 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:742 #, python-format msgid "Failed to create a folder at %s" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:750 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:757 #, python-format msgid "You must choose an empty folder for the calibre library. %s is not empty." msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:834 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:841 msgid "&Next >" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:835 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:842 msgid "< &Back" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:836 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:843 #: /usr/src/qt-everywhere-opensource-src-4.8.0/src/gui/widgets/qdialogbuttonbox.cpp:667 msgid "Cancel" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:837 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:844 msgid "&Finish" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:838 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:845 msgid "Commit" msgstr "" -#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:843 +#: /home/kovid/work/calibre/src/calibre/gui2/wizard/__init__.py:850 msgid "welcome wizard" msgstr "" @@ -15669,7 +15673,7 @@ msgid "" msgstr "" #: /home/kovid/work/calibre/src/calibre/library/cli.py:687 -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:526 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:528 msgid "Show detailed output information. Useful for debugging" msgstr "" @@ -15884,11 +15888,11 @@ msgid "" "For help on an individual command: %%prog command --help\n" msgstr "" -#: /home/kovid/work/calibre/src/calibre/library/custom_columns.py:641 +#: /home/kovid/work/calibre/src/calibre/library/custom_columns.py:660 msgid "No label was provided" msgstr "" -#: /home/kovid/work/calibre/src/calibre/library/custom_columns.py:643 +#: /home/kovid/work/calibre/src/calibre/library/custom_columns.py:662 msgid "The label must contain only lower case letters, digits and underscores, and start with a letter" msgstr "" @@ -15897,17 +15901,17 @@ msgstr "" msgid "%(tt)sAverage rating is %(rating)3.1f" msgstr "" -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3458 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3464 #, python-format msgid "

Migrating old database to ebook library in %s

" msgstr "" -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3487 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3493 #, python-format msgid "Copying %s" msgstr "" -#: /home/kovid/work/calibre/src/calibre/library/database2.py:3504 +#: /home/kovid/work/calibre/src/calibre/library/database2.py:3510 msgid "Compacting database" msgstr "" @@ -16385,315 +16389,326 @@ msgstr "" msgid "Choose columns to be searched when not using prefixes, as for example, when searching for Redd instead of title:Red. Enter a list of search/lookup names separated by commas. Only takes effect if you set the option to limit search columns above." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:30 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:31 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:182 msgid "failed to scan program. Invalid input {0}" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:38 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:39 msgid " near " msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:44 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:45 msgid "end of program" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:106 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:107 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:197 msgid "syntax error - program ends before EOF" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:134 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:135 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:242 msgid "Unknown identifier " msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:140 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:141 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:250 msgid "unknown function {0}" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:160 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:161 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:263 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:283 msgid "missing closing parenthesis" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:172 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:173 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:304 msgid "expression is not function or constant" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:205 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:338 msgid "format: type {0} requires an integer value, got {1}" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:211 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:344 msgid "format: type {0} requires a decimal (float) value, got {1}" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:325 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:479 #, python-format msgid "%s: unknown function" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:387 +#: /home/kovid/work/calibre/src/calibre/utils/formatter.py:541 msgid "No such variable " msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:75 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:76 msgid "No documentation provided" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:108 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:109 msgid "strcmp(x, y, lt, eq, gt) -- does a case-insensitive comparison of x and y as strings. Returns lt if x < y. Returns eq if x == y. Otherwise returns gt." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:124 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:125 msgid "cmp(x, y, lt, eq, gt) -- compares x and y after converting both to numbers. Returns lt if x < y. Returns eq if x == y. Otherwise returns gt." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:140 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:141 msgid "strcat(a, b, ...) -- can take any number of arguments. Returns a string formed by concatenating all the arguments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:154 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:155 msgid "strlen(a) -- Returns the length of the string passed as the argument" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:167 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:168 msgid "add(x, y) -- returns x + y. Throws an exception if either x or y are not numbers." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:178 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:179 msgid "subtract(x, y) -- returns x - y. Throws an exception if either x or y are not numbers." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:189 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:190 msgid "multiply(x, y) -- returns x * y. Throws an exception if either x or y are not numbers." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:200 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:201 msgid "divide(x, y) -- returns x / y. Throws an exception if either x or y are not numbers." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:212 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:213 msgid "template(x) -- evaluates x as a template. The evaluation is done in its own context, meaning that variables are not shared between the caller and the template evaluation. Because the { and } characters are special, you must use [[ for the { character and ]] for the } character; they are converted automatically. For example, template('[[title_sort]]') will evaluate the template {title_sort} and return its value." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:228 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:229 msgid "eval(template) -- evaluates the template, passing the local variables (those 'assign'ed to) instead of the book metadata. This permits using the template processor to construct complex results from local variables." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:242 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:243 msgid "assign(id, val) -- assigns val to id, then returns val. id must be an identifier, not an expression" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:253 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:254 msgid "print(a, b, ...) -- prints the arguments to standard output. Unless you start calibre from the command line (calibre-debug -g), the output will go to a black hole." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:265 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:266 msgid "field(name) -- returns the metadata field named by name" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:274 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:275 msgid "raw_field(name) -- returns the metadata field named by name without applying any formatting." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:284 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:285 msgid "substr(str, start, end) -- returns the start'th through the end'th characters of str. The first character in str is the zero'th character. If end is negative, then it indicates that many characters counting from the right. If end is zero, then it indicates the last character. For example, substr('12345', 1, 0) returns '2345', and substr('12345', 1, -1) returns '234'." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:298 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:299 msgid "lookup(val, pattern, field, pattern, field, ..., else_field) -- like switch, except the arguments are field (metadata) names, not text. The value of the appropriate field will be fetched and used. Note that because composite columns are fields, you can use this function in one composite field to use the value of some other composite field. This is extremely useful when constructing variable save paths" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:313 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:314 msgid "lookup requires either 2 or an odd number of arguments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:326 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:327 msgid "test(val, text if not empty, text if empty) -- return `text if not empty` if the field is not empty, otherwise return `text if empty`" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:339 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:340 msgid "contains(val, pattern, text if match, text if not match) -- checks if field contains matches for the regular expression `pattern`. Returns `text if match` if matches are found, otherwise it returns `text if no match`" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:355 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:356 msgid "switch(val, pattern, value, pattern, value, ..., else_value) -- for each `pattern, value` pair, checks if the field matches the regular expression `pattern` and if so, returns that `value`. If no pattern matches, then else_value is returned. You can have as many `pattern, value` pairs as you want" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:363 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:364 msgid "switch requires an odd number of arguments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:376 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:377 msgid "strcat_max(max, string1, prefix2, string2, ...) -- Returns a string formed by concatenating the arguments. The returned value is initialized to string1. `Prefix, string` pairs are added to the end of the value as long as the resulting string length is less than `max`. String1 is returned even if string1 is longer than max. You can pass as many `prefix, string` pairs as you wish." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:386 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:387 msgid "strcat_max requires 2 or more arguments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:388 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:389 msgid "strcat_max requires an even number of arguments" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:392 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:393 msgid "first argument to strcat_max must be an integer" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:410 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:411 msgid "in_list(val, separator, pattern, found_val, not_found_val) -- treat val as a list of items separated by separator, comparing the pattern against each value in the list. If the pattern matches a value, return found_val, otherwise return not_found_val." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:428 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:429 msgid "str_in_list(val, separator, string, found_val, not_found_val) -- treat val as a list of items separated by separator, comparing the string against each value in the list. If the string matches a value, return found_val, otherwise return not_found_val. If the string contains separators, then it is also treated as a list and each value is checked." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:449 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:450 msgid "identifier_in_list(val, id, found_val, not_found_val) -- treat val as a list of identifiers separated by commas, comparing the string against each value in the list. An identifier has the format \"identifier:value\". The id parameter should be either \"id\" or \"id:regexp\". The first case matches if there is any identifier with that id. The second case matches if the regexp matches the identifier's value. If there is a match, return found_val, otherwise return not_found_val." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:475 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:476 msgid "re(val, pattern, replacement) -- return the field after applying the regular expression. All instances of `pattern` are replaced with `replacement`. As in all of calibre, these are python-compatible regular expressions" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:487 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:488 msgid "swap_around_comma(val) -- given a value of the form \"B, A\", return \"A B\". This is most useful for converting names in LN, FN format to FN LN. If there is no comma, the function returns val unchanged" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:499 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:500 msgid "ifempty(val, text if empty) -- return val if val is not empty, otherwise return `text if empty`" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:512 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:513 msgid "shorten(val, left chars, middle text, right chars) -- Return a shortened version of the field, consisting of `left chars` characters from the beginning of the field, followed by `middle text`, followed by `right chars` characters from the end of the string. `Left chars` and `right chars` must be integers. For example, assume the title of the book is `Ancient English Laws in the Times of Ivanhoe`, and you want it to fit in a space of at most 15 characters. If you use {title:shorten(9,-,5)}, the result will be `Ancient E-nhoe`. If the field's length is less than left chars + right chars + the length of `middle text`, then the field will be used intact. For example, the title `The Dome` would not be changed." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:538 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:539 msgid "count(val, separator) -- interprets the value as a list of items separated by `separator`, returning the number of items in the list. Most lists use a comma as the separator, but authors uses an ampersand. Examples: {tags:count(,)}, {authors:count(&)}" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:550 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:551 msgid "list_item(val, index, separator) -- interpret the value as a list of items separated by `separator`, returning the `index`th item. The first item is number zero. The last item can be returned using `list_item(-1,separator)`. If the item is not in the list, then the empty value is returned. The separator has the same meaning as in the count function." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:571 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:572 msgid "select(val, key) -- interpret the value as a comma-separated list of items, with the items being \"id:value\". Find the pair with the id equal to key, and return the corresponding value." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:589 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:590 msgid "formats_modtimes(date_format) -- return a comma-separated list of colon_separated items representing modification times for the formats of a book. The date_format parameter specifies how the date is to be formatted. See the date_format function for details. You can use the select function to get the mod time for a specific format. Note that format names are always uppercase, as in EPUB." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:609 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:610 msgid "formats_sizes() -- return a comma-separated list of colon_separated items representing sizes in bytes of the formats of a book. You can use the select function to get the size for a specific format. Note that format names are always uppercase, as in EPUB." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:625 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:626 msgid "human_readable(v) -- return a string representing the number v in KB, MB, GB, etc." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:639 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:640 msgid "format_number(v, template) -- format the number v using a python formatting template such as \"{0:5.2f}\" or \"{0:,d}\" or \"${0:5,.2f}\". The field_name part of the template must be a 0 (zero) (the \"{0:\" in the above examples). See the template language and python documentation for more examples. Returns the empty string if formatting fails." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:664 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:665 msgid "sublist(val, start_index, end_index, separator) -- interpret the value as a list of items separated by `separator`, returning a new list made from the `start_index` to the `end_index` item. The first item is number zero. If an index is negative, then it counts from the end of the list. As a special case, an end_index of zero is assumed to be the length of the list. Examples using basic template mode and assuming that the tags column (which is comma-separated) contains \"A, B, C\": {tags:sublist(0,1,\\,)} returns \"A\". {tags:sublist(-1,0,\\,)} returns \"C\". {tags:sublist(0,-1,\\,)} returns \"A, B\"." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:699 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:700 msgid "subitems(val, start_index, end_index) -- This function is used to break apart lists of items such as genres. It interprets the value as a comma-separated list of items, where each item is a period-separated list. Returns a new list made by first finding all the period-separated items, then for each such item extracting the `start_index` to the `end_index` components, then combining the results back together. The first component in a period-separated list has an index of zero. If an index is negative, then it counts from the end of the list. As a special case, an end_index of zero is assumed to be the length of the list. Example using basic template mode and assuming a #genre value of \"A.B.C\": {#genre:subitems(0,1)} returns \"A\". {#genre:subitems(0,2)} returns \"A.B\". {#genre:subitems(1,0)} returns \"B.C\". Assuming a #genre value of \"A.B.C, D.E.F\", {#genre:subitems(0,1)} returns \"A, D\". {#genre:subitems(0,2)} returns \"A.B, D.E\"" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:743 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:744 msgid "format_date(val, format_string) -- format the value, which must be a date, using the format_string, returning a string. The formatting codes are: d : the day as number without a leading zero (1 to 31) dd : the day as number with a leading zero (01 to 31) ddd : the abbreviated localized day name (e.g. \"Mon\" to \"Sun\"). dddd : the long localized day name (e.g. \"Monday\" to \"Sunday\"). M : the month as number without a leading zero (1 to 12). MM : the month as number with a leading zero (01 to 12) MMM : the abbreviated localized month name (e.g. \"Jan\" to \"Dec\"). MMMM : the long localized month name (e.g. \"January\" to \"December\"). yy : the year as two digit number (00 to 99). yyyy : the year as four digit number. h : the hours without a leading 0 (0 to 11 or 0 to 23, depending on am/pm) hh : the hours with a leading 0 (00 to 11 or 00 to 23, depending on am/pm) m : the minutes without a leading 0 (0 to 59) mm : the minutes with a leading 0 (00 to 59) s : the seconds without a leading 0 (0 to 59) ss : the seconds with a leading 0 (00 to 59) ap : use a 12-hour clock instead of a 24-hour clock, with \"ap\" replaced by the localized string for am or pm AP : use a 12-hour clock instead of a 24-hour clock, with \"AP\" replaced by the localized string for AM or PM iso : the date with time and timezone. Must be the only format present" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:780 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:781 msgid "uppercase(val) -- return value of the field in upper case" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:789 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:790 msgid "lowercase(val) -- return value of the field in lower case" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:798 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:799 msgid "titlecase(val) -- return value of the field in title case" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:807 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:808 msgid "capitalize(val) -- return value of the field capitalized" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:816 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:817 msgid "booksize() -- return value of the size field" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:830 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:831 msgid "ondevice() -- return Yes if ondevice is set, otherwise return the empty string" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:842 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:843 msgid "has_cover() -- return Yes if the book has a cover, otherwise return the empty string" msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:854 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:855 msgid "first_non_empty(value, value, ...) -- returns the first value that is not empty. If all values are empty, then the empty value is returned. You can have as many values as you want." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:871 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:872 msgid "and(value, value, ...) -- returns the string \"1\" if all values are not empty, otherwise returns the empty string. This function works well with test or first_non_empty. You can have as many values as you want." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:888 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:889 msgid "or(value, value, ...) -- returns the string \"1\" if any value is not empty, otherwise returns the empty string. This function works well with test or first_non_empty. You can have as many values as you want." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:905 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:906 msgid "not(value) -- returns the string \"1\" if the value is empty, otherwise returns the empty string. This function works well with test or first_non_empty. You can have as many values as you want." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:917 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:918 msgid "list_union(list1, list2, separator) -- return a list made by merging the items in list1 and list2, removing duplicate items using a case-insensitive compare. If items differ in case, the one in list1 is used. The items in list1 and list2 are separated by separator, as are the items in the returned list." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:941 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:942 msgid "list_difference(list1, list2, separator) -- return a list made by removing from list1 any item found in list2, using a case-insensitive compare. The items in list1 and list2 are separated by separator, as are the items in the returned list." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:962 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:963 msgid "list_intersection(list1, list2, separator) -- return a list made by removing from list1 any item not found in list2, using a case-insensitive compare. The items in list1 and list2 are separated by separator, as are the items in the returned list." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:983 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:984 msgid "list_sort(list, direction, separator) -- return list sorted using a case-insensitive sort. If direction is zero, the list is sorted ascending, otherwise descending. The list items are separated by separator, as are the items in the returned list." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:998 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:999 msgid "list_equals(list1, sep1, list2, sep2, yes_val, no_val) -- return yes_val if list1 and list2 contain the same items, otherwise return no_val. The items are determined by splitting each list using the appropriate separator character (sep1 or sep2). The order of items in the lists is not relevant. The compare is case insensitive." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1016 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1017 msgid "list_re(src_list, separator, search_re, opt_replace) -- Construct a list by first separating src_list into items using the separator character. For each item in the list, check if it matches search_re. If it does, then add it to the list to be returned. If opt_replace is not the empty string, then apply the replacement before adding the item to the returned list." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1041 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1042 msgid "today() -- return a date string for today. This value is designed for use in format_date or days_between, but can be manipulated like any other string. The date is in ISO format." msgstr "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1052 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1053 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 "" -#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1074 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1075 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:1094 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1095 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/formatter_functions.py:1113 +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1114 msgid "current_library_name() -- return the last name on the path to the current calibre library. This function can be called in template program mode using the template \"{:'current_library_name()'}\"." msgstr "" +#: /home/kovid/work/calibre/src/calibre/utils/formatter_functions.py:1126 +msgid "finish_formatting(val, fmt, prefix, suffix) -- apply the format, prefix, and suffix to a value in the same way as done in a template like {series_index:05.2f| - |- }. For example, the following program produces the same output as the above template: program: finish_formatting(field(\"series_index\"), \"05.2f\", \" - \", \" - \")" +msgstr "" + #: /home/kovid/work/calibre/src/calibre/utils/ipc/job.py:43 msgid "Waiting..." msgstr "" @@ -17138,59 +17153,59 @@ msgid "Main Menu" msgstr "" #: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:314 -#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:407 +#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:402 msgid "Sections" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:404 +#: /home/kovid/work/calibre/src/calibre/web/feeds/templates.py:399 msgid "Articles" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:503 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:505 msgid "" "%prog URL\n" "\n" "Where URL is for example http://google.com" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:506 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:508 #, python-format msgid "Base directory into which URL is saved. Default is %default" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:509 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:511 #, python-format msgid "Timeout in seconds to wait for a response from the server. Default: %default s" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:512 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:514 #, python-format msgid "Maximum number of levels to recurse i.e. depth of links to follow. Default %default" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:515 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:517 #, python-format msgid "The maximum number of files to download. This only applies to files from tags. Default is %default" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:517 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:519 #, python-format msgid "Minimum interval in seconds between consecutive fetches. Default is %default s" msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:519 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:521 msgid "The character encoding for the websites you are trying to download. The default is to try and guess the encoding." msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:521 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:523 msgid "Only links that match this regular expression will be followed. This option can be specified multiple times, in which case as long as a link matches any one regexp, it will be followed. By default all links are followed." msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:523 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:525 msgid "Any link that matches this regular expression will be ignored. This option can be specified multiple times, in which case as long as any regexp matches a link, it will be ignored. By default, no links are ignored. If both filter regexp and match regexp are specified, then filter regexp is applied first." msgstr "" -#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:525 +#: /home/kovid/work/calibre/src/calibre/web/fetch/simple.py:527 msgid "Do not download CSS stylesheets." msgstr "" @@ -17546,3 +17561,11 @@ msgstr "" #: /home/kovid/work/calibre/resources/default_tweaks.py:499 msgid "Change the font size at which book details are rendered in the side panel and\ncomments are rendered in the metadata edit dialog. Set it to a positive or\nnegative number to increase or decrease the font size." msgstr "" + +#: /home/kovid/work/calibre/resources/default_tweaks.py:504 +msgid "Compile General Program Mode templates to Python" +msgstr "" + +#: /home/kovid/work/calibre/resources/default_tweaks.py:505 +msgid "Compiled general program mode templates are significantly faster than\ninterpreted templates. Setting this tweak to True causes calibre to compile\n(in most cases) general program mode templates. Setting it to False causes\ncalibre to use the old behavior -- interpreting the templates. Set the tweak\nto False if some compiled templates produce incorrect values.\nDefault: compile_gpm_templates = True\nNo compile: compile_gpm_templates = False" +msgstr ""