| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) Kovid Goyal |
| 3 |
# This file is distributed under the same license as the calibre package. |
| 4 |
# |
| 5 |
# Translators: |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: calibre\n" |
| 9 |
"Report-Msgid-Bugs-To: \n" |
| 10 |
"POT-Creation-Date: 2014-10-17 08:20+0530\n" |
| 11 |
"PO-Revision-Date: 2014-10-17 02:53+0000\n" |
| 12 |
"Last-Translator: Kovid Goyal <[email protected]>\n" |
| 13 |
"Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/calibre/language/sl_SI/)\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Language: sl_SI\n" |
| 18 |
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
| 19 |
|
| 20 |
# f79334b6f0a64f22b48fbbeb3391d3f1 |
| 21 |
#: ../../home/kovid/work/calibre/manual/polish.rst:4 |
| 22 |
msgid "API Documentation for the ebook editing tools" |
| 23 |
msgstr "" |
| 24 |
|
| 25 |
# d48438d0c5124938a0841769a9f9e37d |
| 26 |
#: ../../home/kovid/work/calibre/manual/polish.rst:6 |
| 27 |
msgid "" |
| 28 |
"The ebook editing tools consist of a " |
| 29 |
":class:`calibre.ebooks.oeb.polish.container.Container` object that " |
| 30 |
"represents a book as a collection of HTML + resource files, and various " |
| 31 |
"tools that can be used to perform operations on the container. All the tools" |
| 32 |
" are in the form of module level functions in the various " |
| 33 |
"``calibre.ebooks.oeb.polish.*`` modules." |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# 72350b3ac74a4463816ad7f9144a551b |
| 37 |
#: ../../home/kovid/work/calibre/manual/polish.rst:15 |
| 38 |
msgid "You obtain a container object for a book at a path like this::" |
| 39 |
msgstr "" |
| 40 |
|
| 41 |
# 6846b35a4af0443b99647b7c2d5a656e |
| 42 |
#: ../../home/kovid/work/calibre/manual/polish.rst:20 |
| 43 |
msgid "" |
| 44 |
"If you are writing a plugin for the ebook editor, you get the current " |
| 45 |
"container for the book being edited like this::" |
| 46 |
msgstr "" |
| 47 |
|
| 48 |
# 8f169733e38e458aae9d0bb0eaf9991f |
| 49 |
#: ../../home/kovid/work/calibre/manual/polish.rst:30 |
| 50 |
msgid "The Container object" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
# d3113d8e342a4765879ab490baf0cb6d |
| 54 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 55 |
#: of calibre.ebooks.oeb.polish.container.Container:1 |
| 56 |
msgid "" |
| 57 |
"A container represents an Open EBook as a directory full of files and an opf" |
| 58 |
" file. There are two important concepts:" |
| 59 |
msgstr "" |
| 60 |
|
| 61 |
# 6d46c459903b438982b7b2711678056d |
| 62 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 63 |
#: of calibre.ebooks.oeb.polish.container.Container:4 |
| 64 |
msgid "" |
| 65 |
"The root directory. This is the base of the ebook. All the ebooks files are " |
| 66 |
"inside this directory or in its sub-directories." |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
# 2391279b4c6049369e4ee370e704525f |
| 70 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 71 |
#: of calibre.ebooks.oeb.polish.container.Container:7 |
| 72 |
msgid "" |
| 73 |
"Names: These are paths to the books' files relative to the root directory. " |
| 74 |
"They always contain POSIX separators and are unquoted. They can be thought " |
| 75 |
"of as canonical identifiers for files in the book. Most methods on the " |
| 76 |
"container object work with names. Names are always in the NFC unicode normal" |
| 77 |
" form." |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
# 29364c46074b47ba82e2bf5641d27953 |
| 81 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 82 |
#: of calibre.ebooks.oeb.polish.container.Container:13 |
| 83 |
msgid "" |
| 84 |
"Clones: the container object supports efficient on-disk cloning, which is " |
| 85 |
"used to implement checkpoints in the ebook editor. In order to make this " |
| 86 |
"work, you should never access files on the filesystem directly. Instead, use" |
| 87 |
" :meth:`raw_data` or :meth:`open` to read/write to component files in the " |
| 88 |
"book." |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
# d9e30c0e4c3a40e8958061dda0ee50f2 |
| 92 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 93 |
#: of calibre.ebooks.oeb.polish.container.Container:18 |
| 94 |
msgid "" |
| 95 |
"When converting between hrefs and names use the methods provided by this " |
| 96 |
"class, they assume all hrefs are quoted." |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
# eb330ab999474af286120d7fefac80e1 |
| 100 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 101 |
#: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1 |
| 102 |
msgid "Convert an absolute path to a canonical name relative to :attr:`root`" |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
# 3ab82776f9e14d36875d2499686cd7df |
| 106 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 107 |
#: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3 |
| 108 |
msgid "" |
| 109 |
"The base directory. By default the root for this container object is used." |
| 110 |
msgstr "" |
| 111 |
|
| 112 |
# 0dbb09902ca7493bb06979f4ed1e66b0 |
| 113 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 114 |
#: of calibre.ebooks.oeb.polish.container.Container.add_file:1 |
| 115 |
msgid "" |
| 116 |
"Add a file to this container. Entries for the file are automatically created" |
| 117 |
" in the OPF manifest and spine (if the file is a text document)" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
# 202e94fc25a84e6b86f067b95d36736b |
| 121 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 122 |
#: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1 |
| 123 |
msgid "" |
| 124 |
"Add an entry to the manifest for a file with the specified name. Returns the" |
| 125 |
" manifest id." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
# 636bfb2f17934244a93c2294ef6579d7 |
| 129 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 130 |
#: of calibre.ebooks.oeb.polish.container.Container.book_type:1 |
| 131 |
msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)" |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
# 6603e1b1887848af8af7d150cc63cf5c |
| 135 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 136 |
#: of calibre.ebooks.oeb.polish.container.Container.commit:1 |
| 137 |
msgid "" |
| 138 |
"Commit all dirtied parsed objects to the filesystem and write out the ebook " |
| 139 |
"file at outpath. :param output: The path to write the saved ebook file to. " |
| 140 |
"If None, the path of the original book file is used. :param keep_parsed: If " |
| 141 |
"True the parsed representations of committed items are kept in the cache." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
# 22ed4e10d0a647398de46065163029aa |
| 145 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 146 |
#: of calibre.ebooks.oeb.polish.container.Container.commit_item:1 |
| 147 |
msgid "" |
| 148 |
"Commit a parsed object to disk (it is serialized and written to the " |
| 149 |
"underlying file). If ``keep_parsed`` is True the parsed representation is " |
| 150 |
"retained in the cache. See also: :meth:`parsed`" |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
# e482f680ae644e6fbf3f53f6753e6a06 |
| 154 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 155 |
#: of calibre.ebooks.oeb.polish.container.Container.decode:1 |
| 156 |
msgid "Automatically decode ``data`` into a ``unicode`` object." |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
# 427c68bb58c546e59d07c884f4fe9c04 |
| 160 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 161 |
#: of calibre.ebooks.oeb.polish.container.Container.decode:3 |
| 162 |
msgid "" |
| 163 |
"Normalize returned unicode to the NFC normal form as is required by both the" |
| 164 |
" EPUB and AZW3 formats." |
| 165 |
msgstr "" |
| 166 |
|
| 167 |
# 7c38bae0149f46108cbed74957201415 |
| 168 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 169 |
#: of calibre.ebooks.oeb.polish.container.Container.dirty:1 |
| 170 |
msgid "" |
| 171 |
"Mark the parsed object corresponding to name as dirty. See also: " |
| 172 |
":meth:`parsed`." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
# 2bc63543839743bd9bbb182da3b761da |
| 176 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 177 |
#: of calibre.ebooks.oeb.polish.container.Container.exists:1 |
| 178 |
msgid "" |
| 179 |
"True iff a file corresponding to the canonical name exists. Note that this " |
| 180 |
"function suffers from the limitations of the underlying OS filesystem, in " |
| 181 |
"particular case (in)sensitivity. So on a case insensitive filesystem this " |
| 182 |
"will return True even if the case of name is different from the case of the " |
| 183 |
"underlying filesystem file. See also :meth:`has_name`" |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
# c47ba013b2b74390923cbcd97b4bda95 |
| 187 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 188 |
#: of calibre.ebooks.oeb.polish.container.Container.filesize:1 |
| 189 |
msgid "" |
| 190 |
"Return the size in bytes of the file represented by the specified canonical " |
| 191 |
"name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`" |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
# ad11d7b4c8bb42cba8ff01b45be31784 |
| 195 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 196 |
#: of calibre.ebooks.oeb.polish.container.Container.generate_item:1 |
| 197 |
msgid "" |
| 198 |
"Add an item to the manifest with href derived from the given name. Ensures " |
| 199 |
"uniqueness of href and id automatically. Returns generated item." |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
# f331d8c5279341ca96c3b8c5cd2382c2 |
| 203 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 204 |
#: of calibre.ebooks.oeb.polish.container.Container.guess_type:1 |
| 205 |
msgid "" |
| 206 |
"Return the expected mimetype for the specified file name based on its " |
| 207 |
"extension." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
# 7d0b595636be4a78acb2ca5978491f40 |
| 211 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 212 |
#: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1 |
| 213 |
msgid "Mapping of guide type to canonical name" |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
# c9b79451a46d45598a9eb7a118f2ae40 |
| 217 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 218 |
#: of calibre.ebooks.oeb.polish.container.Container.has_name:1 |
| 219 |
msgid "" |
| 220 |
"Return True iff a file with the same canonical name as that specified " |
| 221 |
"exists. Unlike :meth:`exists` this method is always case-sensitive." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
# 8fd5b86d11194387a4832e9825238d61 |
| 225 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 226 |
#: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1 |
| 227 |
msgid "" |
| 228 |
"Convert an href (relative to base) to a name. base must be a name or None, " |
| 229 |
"in which case self.root is used." |
| 230 |
msgstr "" |
| 231 |
|
| 232 |
# e072e4b297c74579809777dc74dd71de |
| 233 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 234 |
#: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1 |
| 235 |
msgid "" |
| 236 |
"Insert item into parent (or append if index is None), fixing indentation. " |
| 237 |
"Only works with self closing items." |
| 238 |
msgstr "" |
| 239 |
|
| 240 |
# 0d4faf18758241ac89ee066b4d9c4c1e |
| 241 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 242 |
#: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1 |
| 243 |
msgid "" |
| 244 |
"Iterate over all links in name. If get_line_numbers is True the yields " |
| 245 |
"results of the form (link, line_number, offset). Where line_number is the " |
| 246 |
"line_number at which the link occurs and offset is the number of characters " |
| 247 |
"from the start of the line. Note that offset could actually encompass " |
| 248 |
"several lines if not zero." |
| 249 |
msgstr "" |
| 250 |
|
| 251 |
# 03a78264689f4b739d92a9d891c9423a |
| 252 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 253 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1 |
| 254 |
msgid "Mapping of manifest id to canonical names" |
| 255 |
msgstr "" |
| 256 |
|
| 257 |
# 9f20e90736c943349651f897a4043834 |
| 258 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 259 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1 |
| 260 |
msgid "" |
| 261 |
"Mapping of manifest media-type to list of canonical names of that media-type" |
| 262 |
msgstr "" |
| 263 |
|
| 264 |
# cf589bb588e64d1b9d19d7ca7d76bd38 |
| 265 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 266 |
#: of calibre.ebooks.oeb.polish.container.Container.mi:1 |
| 267 |
msgid "" |
| 268 |
"The metadata of this book as a Metadata object. Note that this object is " |
| 269 |
"constructed on the fly every time this property is requested, so use it " |
| 270 |
"sparingly." |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
# e7d694a559c74a0fbc94cfdda2381906 |
| 274 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 275 |
#: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1 |
| 276 |
msgid "Convert a canonical name to an absolute OS dependant path" |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
# 1a25351df1ac41ef841e8403d320dbe2 |
| 280 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 281 |
#: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1 |
| 282 |
msgid "" |
| 283 |
"Convert a name to a href relative to base, which must be a name or None in " |
| 284 |
"which case self.root is used as the base" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
# 7ff3daaa7e7a4283ae3b453f99d7c84f |
| 288 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 289 |
#: of |
| 290 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1 |
| 291 |
msgid "" |
| 292 |
"Set of names that must never be renamed. Depends on the ebook file format." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
# 6b5554da4c4d494aa7da324ac36a4ae7 |
| 296 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 297 |
#: of |
| 298 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1 |
| 299 |
msgid "" |
| 300 |
"Set of names that must never be deleted from the container. Depends on the " |
| 301 |
"ebook file format." |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
# 6c49a888710c4665ada624b848abfbf1 |
| 305 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 306 |
#: of |
| 307 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1 |
| 308 |
msgid "" |
| 309 |
"Set of names that are allowed to be missing from the manifest. Depends on " |
| 310 |
"the ebook file format." |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
# 82badcff750846a7b02f8ad4646928c2 |
| 314 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 315 |
#: of calibre.ebooks.oeb.polish.container.Container.open:1 |
| 316 |
msgid "" |
| 317 |
"Open the file pointed to by name for direct read/write. Note that this will " |
| 318 |
"commit the file if it is dirtied and remove it from the parse cache. You " |
| 319 |
"must finish with this file before accessing the parsed version of it again, " |
| 320 |
"or bad things will happen." |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
# ad94f0890de9429eb27c8f1b0a96f80a |
| 324 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 325 |
#: of calibre.ebooks.oeb.polish.container.Container.opf:1 |
| 326 |
msgid "The parsed OPF file" |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
# 8de755392ed74c90bd92cc54d4630ff7 |
| 330 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 331 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1 |
| 332 |
msgid "" |
| 333 |
"Convenience method to either return the first XML element with the specified" |
| 334 |
" name or create it under the opf:package element and then return it, if it " |
| 335 |
"does not already exist." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
# b4adb90ff43d43ed9344a863449637a2 |
| 339 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 340 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_version:1 |
| 341 |
msgid "The version set on the OPF's <package> element" |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
# 659c0725175446399e4156c8d5bb86df |
| 345 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 346 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1 |
| 347 |
msgid "" |
| 348 |
"Convenience method to evaluate an XPath expression on the OPF file, has the " |
| 349 |
"opf: and dc: namespace prefixes pre-defined." |
| 350 |
msgstr "" |
| 351 |
|
| 352 |
# f45236785cc54de09ee339769b7df5f0 |
| 353 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 354 |
#: of calibre.ebooks.oeb.polish.container.Container.parsed:1 |
| 355 |
msgid "" |
| 356 |
"Return a parsed representation of the file specified by name. For HTML and " |
| 357 |
"XML files an lxml tree is returned. For CSS files a cssutils stylesheet is " |
| 358 |
"returned. Note that parsed objects are cached for performance. If you make " |
| 359 |
"any changes to the parsed object, you must call :meth:`dirty` so that the " |
| 360 |
"container knows to update the cache. See also :meth:`replace`." |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
# b6afd211c2a74bcaa112b8f5d3a2eea6 |
| 364 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 365 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:1 |
| 366 |
msgid "Return the raw data corresponding to the file specified by name" |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
# 76f4a5a7fe5a4da99d38b0077921d25c |
| 370 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 371 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:3 |
| 372 |
msgid "" |
| 373 |
"If True and the file has a text based mimetype, decode it and return a " |
| 374 |
"unicode object instead of raw bytes." |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
# fd90e89a076b4ed0a6cd8bf3e9700033 |
| 378 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 379 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:4 |
| 380 |
msgid "" |
| 381 |
"If True the returned unicode object is normalized to the NFC normal form as " |
| 382 |
"is required for the EPUB and AZW3 file formats." |
| 383 |
msgstr "" |
| 384 |
|
| 385 |
# 7dbfb407e63e4f1293dd8dae27fec048 |
| 386 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 387 |
#: of calibre.ebooks.oeb.polish.container.Container.relpath:1 |
| 388 |
msgid "" |
| 389 |
"Convert an absolute path (with os separators) to a path relative to base " |
| 390 |
"(defaults to self.root). The relative path is *not* a name. Use " |
| 391 |
":meth:`abspath_to_name` for that." |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
# 235e1679e9d240f6acee6cc9e87d6545 |
| 395 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 396 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1 |
| 397 |
msgid "" |
| 398 |
"Remove the specified items (by canonical name) from the spine. If " |
| 399 |
"``remove_if_no_longer_in_spine`` is True, the items are also deleted from " |
| 400 |
"the book, not just from the spine." |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
# d13acea6a5c543fb830bd61021a8ec3f |
| 404 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 405 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1 |
| 406 |
msgid "" |
| 407 |
"Removes item from parent, fixing indentation (works only with self closing " |
| 408 |
"items)" |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
# 5769df6114d049eea8d5fba0dc447181 |
| 412 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 413 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_item:1 |
| 414 |
msgid "" |
| 415 |
"Remove the item identified by name from this container. This removes all " |
| 416 |
"references to the item in the OPF manifest, guide and spine as well as from " |
| 417 |
"any internal caches." |
| 418 |
msgstr "" |
| 419 |
|
| 420 |
# b7ea973067214d758dbab6fd81acef05 |
| 421 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 422 |
#: of calibre.ebooks.oeb.polish.container.Container.rename:1 |
| 423 |
msgid "" |
| 424 |
"Renames a file from current_name to new_name. It automatically rebases all " |
| 425 |
"links inside the file if the directory the file is in changes. Note however," |
| 426 |
" that links are not updated in the other files that could reference this " |
| 427 |
"file. This is for performance, such updates should be done once, in bulk." |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
# 12bd861a1888450daf9ae27beebbf078 |
| 431 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 432 |
#: of calibre.ebooks.oeb.polish.container.Container.replace:1 |
| 433 |
msgid "" |
| 434 |
"Replace the parsed object corresponding to name with obj, which must be a " |
| 435 |
"similar object, i.e. an lxml tree for HTML/XML or a cssutils stylesheet for " |
| 436 |
"a CSS file." |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
# 126b21adcbe94748a2f9a83044cdb677 |
| 440 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 441 |
#: of calibre.ebooks.oeb.polish.container.Container.replace_links:1 |
| 442 |
msgid "" |
| 443 |
"Replace all links in name using replace_func, which must be a callable that " |
| 444 |
"accepts a URL and returns the replaced URL. It must also have a 'replaced' " |
| 445 |
"attribute that is set to True if any actual replacement is done. Convenient " |
| 446 |
"ways of creating such callables are using the :class:`LinkReplacer` and " |
| 447 |
":class:`LinkRebaser` classes." |
| 448 |
msgstr "" |
| 449 |
|
| 450 |
# 2597bde21f104cc68eee878f64565a26 |
| 451 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 452 |
#: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1 |
| 453 |
msgid "" |
| 454 |
"Convert a parsed object (identified by canonical name) into a bytestring. " |
| 455 |
"See :meth:`parsed`." |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
# 0de914effb8f422bab6ceacbbaf7510d |
| 459 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 460 |
#: of calibre.ebooks.oeb.polish.container.Container.set_spine:1 |
| 461 |
msgid "" |
| 462 |
"Set the spine to be spine_items where spine_items is an iterable of the form" |
| 463 |
" (name, linear). Will raise an error if one of the names is not present in " |
| 464 |
"the manifest." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
# d179334aa1bb4deab7193f3bd026897d |
| 468 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 469 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_items:1 |
| 470 |
msgid "" |
| 471 |
"An iterator yielding canonical name for every item in the books' spine. See " |
| 472 |
"also: :attr:`spine_iter` and :attr:`spine_items`." |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
# c762b8175289411e85973d25dd657714 |
| 476 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 477 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1 |
| 478 |
msgid "" |
| 479 |
"An iterator that yields item, name is_linear for every item in the books' " |
| 480 |
"spine. item is the lxml element, name is the canonical file name and " |
| 481 |
"is_linear is True if the item is linear. See also: :attr:`spine_names` and " |
| 482 |
":attr:`spine_items`." |
| 483 |
msgstr "" |
| 484 |
|
| 485 |
# 1cbf59fe712f4816a786665d0e085936 |
| 486 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 487 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_names:1 |
| 488 |
msgid "" |
| 489 |
"An iterator yielding name and is_linear for every item in the books' spine. " |
| 490 |
"See also: :attr:`spine_iter` and :attr:`spine_items`." |
| 491 |
msgstr "" |
| 492 |
|
| 493 |
# 49e3f3d8395c4f65b6bd18d855c7ef65 |
| 494 |
#: ../../home/kovid/work/calibre/manual/polish.rst:36 |
| 495 |
msgid "Managing component files in a container" |
| 496 |
msgstr "" |
| 497 |
|
| 498 |
# e30678ed6cbd4b64852f6cf2d154ffd7 |
| 499 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 500 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:1 |
| 501 |
msgid "" |
| 502 |
"Replace links to files in the container. Will iterate over all files in the " |
| 503 |
"container and change the specified links in them." |
| 504 |
msgstr "" |
| 505 |
|
| 506 |
# 47488d7a0ff043849fed83c80a0a4e31 |
| 507 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 508 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:3 |
| 509 |
msgid "" |
| 510 |
"A mapping of old canonical name to new canonical name. For example: " |
| 511 |
":code:`{'images/old.png': 'images/new.png'}`" |
| 512 |
msgstr "" |
| 513 |
|
| 514 |
# 715156a0003f48eab35583f11489bf69 |
| 515 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 516 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:4 |
| 517 |
msgid "" |
| 518 |
"A callable that takes two arguments ``(name, anchor)`` and returns a new " |
| 519 |
"anchor. This is useful if you need to change the anchors in HTML files. By " |
| 520 |
"default, it does nothing." |
| 521 |
msgstr "" |
| 522 |
|
| 523 |
# 009b42116c7e4664b837cf4e3f63a3cc |
| 524 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 525 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:7 |
| 526 |
msgid "If False, links are not replaced in the OPF file." |
| 527 |
msgstr "" |
| 528 |
|
| 529 |
# f8538e1a077e4558bebe7b98e638808e |
| 530 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 531 |
#: of calibre.ebooks.oeb.polish.replace.rename_files:1 |
| 532 |
msgid "" |
| 533 |
"Rename files in the container, automatically updating all links to them." |
| 534 |
msgstr "" |
| 535 |
|
| 536 |
# a5fea1b1e8354a92a84f601aa61451ed |
| 537 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 538 |
#: of calibre.ebooks.oeb.polish.replace.rename_files:3 |
| 539 |
msgid "" |
| 540 |
"A mapping of old canonical name to new canonical name, for example: " |
| 541 |
":code:`{'text/chapter1.html': 'chapter1.html'}`." |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
# 28ca1f8b01824dd6ad937222bae96f55 |
| 545 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 546 |
#: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1 |
| 547 |
msgid "" |
| 548 |
"Return the folders that are recommended for the given filenames. The " |
| 549 |
"recommendation is based on where the majority of files of the same type are " |
| 550 |
"located in the container. If no files of a particular type are present, the " |
| 551 |
"recommended folder is assumed to be the folder containing the OPF file." |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
# 878ddef5ab7742a99b2b9cdaa0b2b300 |
| 555 |
#: ../../home/kovid/work/calibre/manual/polish.rst:47 |
| 556 |
msgid "Pretty printing and auto fixing parse errors" |
| 557 |
msgstr "" |
| 558 |
|
| 559 |
# 82f0d3977f4041ab84c18c569acc6533 |
| 560 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 561 |
#: of calibre.ebooks.oeb.polish.pretty.fix_html:1 |
| 562 |
msgid "" |
| 563 |
"Fix any parsing errors in the HTML represented as a string in raw. Fixing is" |
| 564 |
" done using the HTML 5 parsing algorithm." |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
# 208c4d4c46f64596b69296e576c89de5 |
| 568 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 569 |
#: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1 |
| 570 |
msgid "" |
| 571 |
"Fix any parsing errors in all HTML files in the container. Fixing is done " |
| 572 |
"using the HTML 5 parsing algorithm." |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
# 354a90a800fd4d9293d0393a2781b677 |
| 576 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 577 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_html:1 |
| 578 |
msgid "Pretty print the HTML represented as a string in raw" |
| 579 |
msgstr "" |
| 580 |
|
| 581 |
# 41b6d7647ffc46e4a11b3879054ba5bf |
| 582 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 583 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_css:1 |
| 584 |
msgid "Pretty print the CSS represented as a string in raw" |
| 585 |
msgstr "" |
| 586 |
|
| 587 |
# ebced21760424ce9a06faf602c2dc32f |
| 588 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 589 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1 |
| 590 |
msgid "" |
| 591 |
"Pretty print the XML represented as a string in raw. If ``name`` is the name" |
| 592 |
" of the OPF, extra OPF-specific prettying is performed." |
| 593 |
msgstr "" |
| 594 |
|
| 595 |
# 9242a365a3a04fb8a41118a5c058c58a |
| 596 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 597 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_all:1 |
| 598 |
msgid "Pretty print all HTML/CSS/XML files in the container" |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
# b0b7f39cc18544938f7891fcd0edd81a |
| 602 |
#: ../../home/kovid/work/calibre/manual/polish.rst:65 |
| 603 |
msgid "Managing book jackets" |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
# 22c6fb839ae6405897b0c821da2cdcf7 |
| 607 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring |
| 608 |
#: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1 |
| 609 |
msgid "" |
| 610 |
"Remove an existing jacket, if ant. Returns False if no existing jacket was " |
| 611 |
"found." |
| 612 |
msgstr "" |
| 613 |
|
| 614 |
# 1a44297e017e49948ed4a1497dc8ed3d |
| 615 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring |
| 616 |
#: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1 |
| 617 |
msgid "" |
| 618 |
"Either create a new jacket from the book's metadata or replace an existing " |
| 619 |
"jacket. Returns True if an existing jacket was replaced." |
| 620 |
msgstr "" |
| 621 |
|
| 622 |
# 3e66b79c973145898f40e444d47ed8e2 |
| 623 |
#: ../../home/kovid/work/calibre/manual/polish.rst:74 |
| 624 |
msgid "Splitting and merging of files" |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
# a58edc05c7a747e5afcfac14b782e620 |
| 628 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 629 |
#: of calibre.ebooks.oeb.polish.split.split:1 |
| 630 |
msgid "" |
| 631 |
"Split the file specified by name at the position specified by loc_or_xpath. " |
| 632 |
"Splitting automatically migrates all links and references to the affected " |
| 633 |
"files." |
| 634 |
msgstr "" |
| 635 |
|
| 636 |
# 2cf96754ac7d4eadae01b9e854bd1d21 |
| 637 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 638 |
#: of calibre.ebooks.oeb.polish.split.split:5 |
| 639 |
msgid "" |
| 640 |
"Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also " |
| 641 |
"be a *loc* which is used internally to implement splitting in the preview " |
| 642 |
"panel." |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
# c43d58fa9701416f8c9f51fab51221db |
| 646 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 647 |
#: of calibre.ebooks.oeb.polish.split.split:8 |
| 648 |
msgid "" |
| 649 |
"If True the split occurs before the identified element otherwise after it." |
| 650 |
msgstr "" |
| 651 |
|
| 652 |
# fe13903535774ba7b4308cf0bf902f48 |
| 653 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 654 |
#: of calibre.ebooks.oeb.polish.split.split:9 |
| 655 |
msgid "Used internally" |
| 656 |
msgstr "" |
| 657 |
|
| 658 |
# adbc2895a8db4b6e925aad0b003b79fa |
| 659 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 660 |
#: of calibre.ebooks.oeb.polish.split.multisplit:1 |
| 661 |
msgid "" |
| 662 |
"Split the specified file at multiple locations (all tags that match the " |
| 663 |
"specified XPath expression. See also: :func:`split`. Splitting automatically" |
| 664 |
" migrates all links and references to the affected files." |
| 665 |
msgstr "" |
| 666 |
|
| 667 |
# 484efa27c067451e8b6cfa0bc7a3b34e |
| 668 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 669 |
#: of calibre.ebooks.oeb.polish.split.multisplit:5 |
| 670 |
msgid "" |
| 671 |
"If True the splits occur before the identified element otherwise after it." |
| 672 |
msgstr "" |
| 673 |
|
| 674 |
# 9019f191cdce404d82523167fd87e32f |
| 675 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 676 |
#: of calibre.ebooks.oeb.polish.split.merge:1 |
| 677 |
msgid "" |
| 678 |
"Merge the specified files into a single file, automatically migrating all " |
| 679 |
"links and references to the affected files. The file must all either be HTML" |
| 680 |
" or CSS files." |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
# f429fb6d8d0d44f79df5b0b5cdaf3d08 |
| 684 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 685 |
#: of calibre.ebooks.oeb.polish.split.merge:4 |
| 686 |
msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files" |
| 687 |
msgstr "" |
| 688 |
|
| 689 |
# 6d82cdcce6af42229c91ef02958afc90 |
| 690 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 691 |
#: of calibre.ebooks.oeb.polish.split.merge:5 |
| 692 |
msgid "The list of files to be merged" |
| 693 |
msgstr "" |
| 694 |
|
| 695 |
# f1bc3e025fac4817acf753aa5dedb8ad |
| 696 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 697 |
#: of calibre.ebooks.oeb.polish.split.merge:6 |
| 698 |
msgid "" |
| 699 |
"Which of the merged files is the *master* file, that is, the file that will " |
| 700 |
"remain after merging." |
| 701 |
msgstr "" |
| 702 |
|
| 703 |
# 2af0e775de934041958b79f31de405e4 |
| 704 |
#: ../../home/kovid/work/calibre/manual/polish.rst:85 |
| 705 |
msgid "Managing covers" |
| 706 |
msgstr "" |
| 707 |
|
| 708 |
# 3da5231694a24b6eafec8b9a3e4726ff |
| 709 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 710 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:1 |
| 711 |
msgid "Set the cover of the book to the image pointed to by cover_path." |
| 712 |
msgstr "" |
| 713 |
|
| 714 |
# 58631d1a15434d55bafd250682ce8a02 |
| 715 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 716 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:3 |
| 717 |
msgid "" |
| 718 |
"Either the absolute path to an image file or the canonical name of an image " |
| 719 |
"in the book. When using an image in the book, you must also set options, see" |
| 720 |
" below." |
| 721 |
msgstr "" |
| 722 |
|
| 723 |
# 70d5958266874af79c63b33f447093b5 |
| 724 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 725 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:6 |
| 726 |
msgid "" |
| 727 |
"An optional callable that takes a single argument. It will be called with " |
| 728 |
"information about the tasks being processed." |
| 729 |
msgstr "" |
| 730 |
|
| 731 |
# 2ea5ce4ac0a7406ea9dc854d887e0d8d |
| 732 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 733 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:8 |
| 734 |
msgid "" |
| 735 |
"None or a dictionary that controls how the cover is set. The dictionary can " |
| 736 |
"have entries: **keep_aspect**: True or False (Preserve aspect ratio of " |
| 737 |
"covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the " |
| 738 |
"EPUB titlepage) **existing**: True or False (``cover_path`` refers to an " |
| 739 |
"existing image in the book)" |
| 740 |
msgstr "" |
| 741 |
|
| 742 |
# 089935a3180444ac9009dcacee562f6a |
| 743 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 744 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1 |
| 745 |
msgid "Mark the specified image as the cover image." |
| 746 |
msgstr "" |
| 747 |
|
| 748 |
# 6b468ac41acb4efdb5ae994098f5b7b1 |
| 749 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 750 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1 |
| 751 |
msgid "Mark the specified HTML file as the titlepage of the EPUB." |
| 752 |
msgstr "" |
| 753 |
|
| 754 |
# ca146264f092408eae4f4974c58c73cc |
| 755 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 756 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3 |
| 757 |
msgid "If True the HTML file is moved to the start of the spine" |
| 758 |
msgstr "" |
| 759 |
|
| 760 |
# 81cc4c72662140d880c6dd026211f5ff |
| 761 |
#: ../../home/kovid/work/calibre/manual/polish.rst:96 |
| 762 |
msgid "Working with CSS" |
| 763 |
msgstr "" |
| 764 |
|
| 765 |
# cc179c0964be41e0ab070300a1ac0493 |
| 766 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring |
| 767 |
#: of calibre.ebooks.oeb.polish.fonts.change_font:1 |
| 768 |
msgid "" |
| 769 |
"Change a font family from old_name to new_name. Changes all occurrences of " |
| 770 |
"the font family in stylesheets, style tags and style attributes. If the " |
| 771 |
"old_name refers to an embedded font, it is removed. You can set new_name to " |
| 772 |
"None to remove the font family instead of changing it." |
| 773 |
msgstr "" |
| 774 |
|
| 775 |
# f1be0968225642d984d9ca6e643126c5 |
| 776 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 777 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:1 |
| 778 |
msgid "" |
| 779 |
"Remove all unused CSS rules from the book. An unused CSS rule is one that " |
| 780 |
"does not match any actual content." |
| 781 |
msgstr "" |
| 782 |
|
| 783 |
# 7d1e3067261d4f8ea220c2ee10fb9efe |
| 784 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 785 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:3 |
| 786 |
msgid "" |
| 787 |
"An optional callable that takes a single argument. It is called with " |
| 788 |
"information about the operations being performed." |
| 789 |
msgstr "" |
| 790 |
|
| 791 |
# 041ae10f26b24c6caedfeba802d0b21f |
| 792 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 793 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:4 |
| 794 |
msgid "" |
| 795 |
"If True, class attributes in the HTML that do not match any CSS rules are " |
| 796 |
"also removed." |
| 797 |
msgstr "" |
| 798 |
|
| 799 |
# 13cc19e464204672b84f31b254297e86 |
| 800 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 801 |
#: of calibre.ebooks.oeb.polish.css.filter_css:1 |
| 802 |
msgid "Remove the specified CSS properties from all CSS rules in the book." |
| 803 |
msgstr "" |
| 804 |
|
| 805 |
# c4a4e3ffe8924d7fbbb4cc53b440753c |
| 806 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 807 |
#: of calibre.ebooks.oeb.polish.css.filter_css:3 |
| 808 |
msgid "" |
| 809 |
"Set of properties to remove. For example: :code:`{'font-family', 'color'}`." |
| 810 |
msgstr "" |
| 811 |
|
| 812 |
# dd68012552784573987b8d6876300e8a |
| 813 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 814 |
#: of calibre.ebooks.oeb.polish.css.filter_css:4 |
| 815 |
msgid "" |
| 816 |
"The files from which to remove the properties. Defaults to all HTML and CSS " |
| 817 |
"files in the book." |
| 818 |
msgstr "" |
| 819 |
|
| 820 |
# c93327c8c55f44979be208219f17126a |
| 821 |
#: ../../home/kovid/work/calibre/manual/polish.rst:108 |
| 822 |
msgid "Working with the Table of Contents" |
| 823 |
msgstr "" |
| 824 |
|
| 825 |
# 9065494b5309479ca94b7b383ee820a6 |
| 826 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 827 |
#: of calibre.ebooks.oeb.polish.toc.from_xpaths:1 |
| 828 |
msgid "" |
| 829 |
"Generate a Table of Contents from a list of XPath expressions. Each " |
| 830 |
"expression in the list corresponds to a level of the generate ToC. For " |
| 831 |
"example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level " |
| 832 |
"table of contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags." |
| 833 |
msgstr "" |
| 834 |
|
| 835 |
# 878d5b6934b84de2b8e95f965143d4da |
| 836 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 837 |
#: of calibre.ebooks.oeb.polish.toc.from_links:1 |
| 838 |
msgid "Generate a Table of Contents from links in the book." |
| 839 |
msgstr "" |
| 840 |
|
| 841 |
# ddca5074f4d94c26813a644da36b8821 |
| 842 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 843 |
#: of calibre.ebooks.oeb.polish.toc.from_files:1 |
| 844 |
msgid "Generate a Table of Contents from files in the book." |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
# 1b426ec2e2eb4da980f985773ed17a3e |
| 848 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 849 |
#: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1 |
| 850 |
msgid "" |
| 851 |
"Create an inline (HTML) Table of Contents from an existing NCX table of " |
| 852 |
"contents." |
| 853 |
msgstr "" |
| 854 |
|
| 855 |
# e6b5e49136ba49af8b586042b0df8ff9 |
| 856 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 857 |
#: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3 |
| 858 |
msgid "The title for this table of contents." |
| 859 |
msgstr "" |
| 860 |
|
| 861 |
# 9183b5dad5514bee9fe9282252c566ee |
| 862 |
#: ../../home/kovid/work/calibre/manual/polish.rst:122 |
| 863 |
msgid "Edit Book Tool" |
| 864 |
msgstr "" |
| 865 |
|
| 866 |
# 593752f0ec884be6bb36dbcfe6d86e8b |
| 867 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 868 |
msgid "Bases: :class:`object`" |
| 869 |
msgstr "" |
| 870 |
|
| 871 |
# 138242275ae74a329f22d59af8ed0d21 |
| 872 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 873 |
#: of calibre.gui2.tweak_book.plugin.Tool:3 |
| 874 |
msgid "" |
| 875 |
"The base class for individual tools in an Edit Book plugin. Useful members " |
| 876 |
"include:" |
| 877 |
msgstr "" |
| 878 |
|
| 879 |
# f655d267c4034e5a8f9a078a11a65b48 |
| 880 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 881 |
#: of calibre.gui2.tweak_book.plugin.Tool:5 |
| 882 |
msgid "" |
| 883 |
"``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object" |
| 884 |
" to which this tool belongs." |
| 885 |
msgstr "" |
| 886 |
|
| 887 |
# 5f252b7a5510418d9b6e540541a223f0 |
| 888 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 889 |
#: of calibre.gui2.tweak_book.plugin.Tool:6 |
| 890 |
msgid "self. :attr:`boss`" |
| 891 |
msgstr "" |
| 892 |
|
| 893 |
# 69cc5553169d48a3a70a36f32e7f8c79 |
| 894 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 895 |
#: of calibre.gui2.tweak_book.plugin.Tool:7 |
| 896 |
msgid "self. :attr:`gui`" |
| 897 |
msgstr "" |
| 898 |
|
| 899 |
# 1738c50faf4f4f778360ed1315100467 |
| 900 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 901 |
#: of calibre.gui2.tweak_book.plugin.Tool:9 |
| 902 |
msgid "Methods that must be overridden in sub classes:" |
| 903 |
msgstr "" |
| 904 |
|
| 905 |
# 49c7d32f766b463aab6d1821fccbc8b7 |
| 906 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 907 |
#: of calibre.gui2.tweak_book.plugin.Tool:11 |
| 908 |
msgid ":meth:`create_action`" |
| 909 |
msgstr "" |
| 910 |
|
| 911 |
# 06dba706e0c941148aa8e0ecd9b475e0 |
| 912 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 913 |
#: of calibre.gui2.tweak_book.plugin.Tool:12 |
| 914 |
msgid ":meth:`register_shortcut`" |
| 915 |
msgstr "" |
| 916 |
|
| 917 |
# ecb787aec65f4e469fa5b80a0ce25f9c |
| 918 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 919 |
#: of calibre.gui2.tweak_book.plugin.Tool.name:1 |
| 920 |
msgid "Set this to a unique name it will be used as a key" |
| 921 |
msgstr "" |
| 922 |
|
| 923 |
# b5564491a81843f484a6e4a0b20fe4b5 |
| 924 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 925 |
#: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1 |
| 926 |
msgid "If True the user can choose to place this tool in the plugins toolbar" |
| 927 |
msgstr "" |
| 928 |
|
| 929 |
# c1deb5931192435e90281664b11b806e |
| 930 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 931 |
#: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1 |
| 932 |
msgid "If True the user can choose to place this tool in the plugins menu" |
| 933 |
msgstr "" |
| 934 |
|
| 935 |
# bda5796315aa4320967050053e028852 |
| 936 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 937 |
#: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1 |
| 938 |
msgid "" |
| 939 |
"The popup mode for the menu (if any) of the toolbar button. Possible values " |
| 940 |
"are 'delayed', 'instant', 'button'" |
| 941 |
msgstr "" |
| 942 |
|
| 943 |
# 47cbaf10fd5c49239981eeb9e6356181 |
| 944 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 945 |
#: of calibre.gui2.tweak_book.plugin.Tool.boss:1 |
| 946 |
msgid "" |
| 947 |
"The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the " |
| 948 |
"user interface." |
| 949 |
msgstr "" |
| 950 |
|
| 951 |
# e83430a466764ae1b1be89bb5c5c5b5f |
| 952 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 953 |
#: of calibre.gui2.tweak_book.plugin.Tool.gui:1 |
| 954 |
msgid "The main window of the user interface" |
| 955 |
msgstr "" |
| 956 |
|
| 957 |
# aadf717787ae420997e79e51d2ccdea6 |
| 958 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 959 |
#: of calibre.gui2.tweak_book.plugin.Tool.current_container:1 |
| 960 |
msgid "" |
| 961 |
"Return the current :class:`calibre.ebooks.oeb.polish.container.Container` " |
| 962 |
"object that represents the book being edited." |
| 963 |
msgstr "" |
| 964 |
|
| 965 |
# 7ba6e132ce3c40b3a005f08e6723dd00 |
| 966 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 967 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1 |
| 968 |
msgid "" |
| 969 |
"Register a keyboard shortcut that will trigger the specified ``qaction``. " |
| 970 |
"This keyboard shortcut will become automatically customizable by the user in" |
| 971 |
" the Keyboard section of the editor preferences." |
| 972 |
msgstr "" |
| 973 |
|
| 974 |
# 2a94965cd78f47cfa61b78bac782348a |
| 975 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 976 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4 |
| 977 |
msgid "" |
| 978 |
"A QAction object, it will be triggered when the configured key combination " |
| 979 |
"is pressed by the user." |
| 980 |
msgstr "" |
| 981 |
|
| 982 |
# ac0148e5b1864fe19707d192748f0c2e |
| 983 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 984 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6 |
| 985 |
msgid "" |
| 986 |
"A unique name for this shortcut/action. It will be used internally, it must " |
| 987 |
"not be shared by any other actions in this plugin." |
| 988 |
msgstr "" |
| 989 |
|
| 990 |
# 7f858c4d5829464ca4b82dc2e867889f |
| 991 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 992 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9 |
| 993 |
msgid "" |
| 994 |
"A list of the default keyboard shortcuts. If not specified no default " |
| 995 |
"shortcuts will be set. If the shortcuts specified here conflict with either " |
| 996 |
"builtin shortcuts or shortcuts from user configuration/other plugins, they " |
| 997 |
"will be ignored. In that case, users will have to configure the shortcuts " |
| 998 |
"manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``." |
| 999 |
msgstr "" |
| 1000 |
|
| 1001 |
# bcd031b2254c47c1ae8aef2b548ce676 |
| 1002 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 1003 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15 |
| 1004 |
msgid "" |
| 1005 |
"An optional short description of this action. If not specified the text from" |
| 1006 |
" the QAction will be used." |
| 1007 |
msgstr "" |
| 1008 |
|
| 1009 |
# 46c184de79c24eebbe2f4706f3f6d39f |
| 1010 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 1011 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17 |
| 1012 |
msgid "" |
| 1013 |
"An optional longer description of this action, it will be used in the " |
| 1014 |
"preferences entry for this shortcut." |
| 1015 |
msgstr "" |
| 1016 |
|
| 1017 |
# faf799ae1a8f4c77b85292f46222b6ac |
| 1018 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 1019 |
#: of calibre.gui2.tweak_book.plugin.Tool.create_action:1 |
| 1020 |
msgid "" |
| 1021 |
"Create a QAction that will be added to either the plugins toolbar or the " |
| 1022 |
"plugins menu depending on ``for_toolbar``. For example::" |
| 1023 |
msgstr "" |
| 1024 |
|
| 1025 |
# 55d69ee534604b319ec73bc1778cc4e1 |
| 1026 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 1027 |
#: of calibre.gui2.tweak_book.plugin.Tool.create_action:19 |
| 1028 |
msgid "Method :meth:`register_shortcut`." |
| 1029 |
msgstr "" |
| 1030 |
|
| 1031 |
# cfde98984a1442ada41d412e79b1da99 |
| 1032 |
#: ../../home/kovid/work/calibre/manual/polish.rst:131 |
| 1033 |
msgid "Controlling the editor's user interface" |
| 1034 |
msgstr "" |
| 1035 |
|
| 1036 |
# 34604130d57c42d2aff4da72be8dde23 |
| 1037 |
#: ../../home/kovid/work/calibre/manual/polish.rst:133 |
| 1038 |
msgid "" |
| 1039 |
"The ebook editor's user interface is controlled by a single global *Boss* " |
| 1040 |
"object. This has many useful methods that can be used in plugin code to " |
| 1041 |
"perform common tasks." |
| 1042 |
msgstr "" |
| 1043 |
|
| 1044 |
# fa6e5e6595c4411097f22da422fc997b |
| 1045 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1046 |
#: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1 |
| 1047 |
msgid "Create a restore checkpoint with the name specified as ``msg``" |
| 1048 |
msgstr "" |
| 1049 |
|
| 1050 |
# e11f3a2b13004288ab4dfbad52954e53 |
| 1051 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1052 |
#: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1 |
| 1053 |
msgid "" |
| 1054 |
"Update all the components of the user interface to reflect the latest data " |
| 1055 |
"in the current book container." |
| 1056 |
msgstr "" |
| 1057 |
|
| 1058 |
# 37d4dd22b5484b52b917b6ee42e1515b |
| 1059 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1060 |
#: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3 |
| 1061 |
msgid "" |
| 1062 |
"If True, the book will be marked as modified, so the user will be prompted " |
| 1063 |
"to save it when quitting." |
| 1064 |
msgstr "" |
| 1065 |
|
| 1066 |
# ed925e3ebe284ff9b41019718280972c |
| 1067 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1068 |
#: of calibre.gui2.tweak_book.boss.Boss.close_editor:1 |
| 1069 |
msgid "Close the editor that is editing the file specified by ``name``" |
| 1070 |
msgstr "" |
| 1071 |
|
| 1072 |
# 2709c998435a4f9bb8a0eb6c8a8a0f1c |
| 1073 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1074 |
#: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1 |
| 1075 |
msgid "" |
| 1076 |
"Commit any changes that the user has made to files open in editors to the " |
| 1077 |
"container. You should call this method before performing any actions on the " |
| 1078 |
"current container" |
| 1079 |
msgstr "" |
| 1080 |
|
| 1081 |
# 76ddcf14b960466d812a8e9bb0a359a6 |
| 1082 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1083 |
#: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1 |
| 1084 |
msgid "" |
| 1085 |
"Return the name of the file being edited currently or None if no file is " |
| 1086 |
"being edited" |
| 1087 |
msgstr "" |
| 1088 |
|
| 1089 |
# d22795e963374edf84449031e1377417 |
| 1090 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1091 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:1 |
| 1092 |
msgid "Open the file specified by name in an editor" |
| 1093 |
msgstr "" |
| 1094 |
|
| 1095 |
# f838944680a448ec935bac7bcd6112ca |
| 1096 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1097 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:3 |
| 1098 |
msgid "" |
| 1099 |
"The media type of the file, for example, ``'text/html'``. If not specified " |
| 1100 |
"it is guessed from the file extension." |
| 1101 |
msgstr "" |
| 1102 |
|
| 1103 |
# b22fcf80bd294b5596d3956ec1ac6f8b |
| 1104 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1105 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:4 |
| 1106 |
msgid "A template to initialize the opened editor with" |
| 1107 |
msgstr "" |
| 1108 |
|
| 1109 |
# 0f943922f3824e7492938d533a3212b4 |
| 1110 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1111 |
#: of calibre.gui2.tweak_book.boss.Boss.open_book:1 |
| 1112 |
msgid "" |
| 1113 |
"Open the ebook at ``path`` for editing. Will show an error if the ebook is " |
| 1114 |
"not in a supported format or the current book has unsaved changes." |
| 1115 |
msgstr "" |
| 1116 |
|
| 1117 |
# 3a636f744ce64867b6b7fb3f3eb5289b |
| 1118 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1119 |
#: of calibre.gui2.tweak_book.boss.Boss.open_book:3 |
| 1120 |
msgid "" |
| 1121 |
"The name of a file inside the newly openend book to start editing. Can also " |
| 1122 |
"be a list of names." |
| 1123 |
msgstr "" |
| 1124 |
|
| 1125 |
# 7caa776e105348b586d4f1046109998d |
| 1126 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1127 |
#: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1 |
| 1128 |
msgid "" |
| 1129 |
"Undo the previous creation of a restore checkpoint, useful if you create a " |
| 1130 |
"checkpoint, then abort the operation with no changes" |
| 1131 |
msgstr "" |
| 1132 |
|
| 1133 |
# 4ddfaf00606c4c308131ab36f85fc97c |
| 1134 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1135 |
#: of calibre.gui2.tweak_book.boss.Boss.save_book:1 |
| 1136 |
msgid "Save the book. Saving is performed in the background" |
| 1137 |
msgstr "" |
| 1138 |
|
| 1139 |
# c23a02170b094f9c832afccedbfe4ec3 |
| 1140 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1141 |
#: of calibre.gui2.tweak_book.boss.Boss.set_modified:1 |
| 1142 |
msgid "Mark the book as having been modified" |
| 1143 |
msgstr "" |
| 1144 |
|
| 1145 |
# 83770c0bf36349c083655dcafa177ea5 |
| 1146 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1147 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1 |
| 1148 |
msgid "Show the changes to the book from its last checkpointed state" |
| 1149 |
msgstr "" |
| 1150 |
|
| 1151 |
# 794d50fc34594283a48aa6c2173d3153 |
| 1152 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1153 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3 |
| 1154 |
msgid "" |
| 1155 |
"If True the diff dialog will have a button to allow the user to revert all " |
| 1156 |
"changes" |
| 1157 |
msgstr "" |
| 1158 |
|
| 1159 |
# 50a8464ed91448c9b346de548717fc5e |
| 1160 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1161 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4 |
| 1162 |
msgid "" |
| 1163 |
"A container object to compare the current container to. If None, the " |
| 1164 |
"previously checkpointed container is used" |
| 1165 |
msgstr "" |
| 1166 |
|
| 1167 |
# b7e8319f73eb4246a31789732c3581b3 |
| 1168 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1169 |
#: of calibre.gui2.tweak_book.boss.Boss.show_editor:1 |
| 1170 |
msgid "Show the editor that is editing the file specified by ``name``" |
| 1171 |
msgstr "" |
| 1172 |
|
| 1173 |
# 2acb6ef840594f9c8dca2e67006ad23e |
| 1174 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1175 |
#: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1 |
| 1176 |
msgid "" |
| 1177 |
"Sync the position of the preview panel to the current cursor position in the" |
| 1178 |
" current editor" |
| 1179 |
msgstr "" |