Debian Codegraph @

translations/manual/nn/polish.po

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