Debian Codegraph @

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