Debian Codegraph @

translations/manual/pt/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 # Eduardo Lopes <[email protected]>, 2019
7 # Paulo Pereira <[email protected]>, 2019-2025
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: calibre\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2026-05-24 03:34+0000\n"
13 "PO-Revision-Date: 2014-07-05 16:50+0000\n"
14 "Last-Translator: Paulo Pereira <[email protected]>, 2019-2025\n"
15 "Language-Team: Portuguese (http://app.transifex.com/calibre/calibre/language/pt/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: pt\n"
20 "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
21
22 #: ../../../__w/calibre/calibre/manual/polish.rst:4
23 msgid "API documentation for the e-book editing tools"
24 msgstr "Documentação da API para as ferramentas de edição de ebooks"
25
26 #: ../../../__w/calibre/calibre/manual/polish.rst:6
27 msgid ""
28 "The e-book editing tools consist of a "
29 ":class:`calibre.ebooks.oeb.polish.container.Container` object that "
30 "represents a book as a collection of HTML + resource files, and various "
31 "tools that can be used to perform operations on the container. All the tools"
32 " are in the form of module level functions in the various "
33 "``calibre.ebooks.oeb.polish.*`` modules."
34 msgstr "As ferramentas de edição de ebooks consistem num objeto contentor :class:`calibre.ebooks.oeb.polish.container.Container` que representa um livro como uma coleção de ficheiros HTML e de recursos, e diversas ferramentas que podem ser usadas para levar a cabo operações sobre o contentor. Todas as ferramentas estão na forma de funções ao nível de módulo nos vários ``calibre.ebooks.oeb.polish.*`` módulos."
35
36 #: ../../../__w/calibre/calibre/manual/polish.rst:15
37 msgid "You obtain a container object for a book at a path like this::"
38 msgstr "Obtém um objeto contentor para um livro num caminho como este::"
39
40 #: ../../../__w/calibre/calibre/manual/polish.rst:20
41 msgid ""
42 "If you are writing a plugin for the E-book editor, you get the current "
43 "container for the book being edited like this::"
44 msgstr "Se estiver a escrever um plugin para o editor de ebooks, pode obter o contentor atual para o livro em edição, do seguinte modo::"
45
46 #: ../../../__w/calibre/calibre/manual/polish.rst:30
47 msgid "The Container object"
48 msgstr "O objeto contentor"
49
50 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
51 #: of calibre.ebooks.oeb.polish.container.Container:1
52 msgid ""
53 "A container represents an open e-book as a folder full of files and an OPF "
54 "file. There are two important concepts:"
55 msgstr ""
56
57 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
58 #: of calibre.ebooks.oeb.polish.container.Container:4
59 msgid ""
60 "The root folder. This is the base of the e-book. All the e-books files are "
61 "inside this folder or in its sub-folders."
62 msgstr ""
63
64 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
65 #: of calibre.ebooks.oeb.polish.container.Container:7
66 msgid ""
67 "Names: These are paths to the books' files relative to the root folder. They"
68 " always contain POSIX separators and are unquoted. They can be thought of as"
69 " canonical identifiers for files in the book. Most methods on the container "
70 "object work with names. Names are always in the NFC Unicode normal form."
71 msgstr ""
72
73 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
74 #: of calibre.ebooks.oeb.polish.container.Container:13
75 msgid ""
76 "Clones: the container object supports efficient on-disk cloning, which is "
77 "used to implement checkpoints in the e-book editor. In order to make this "
78 "work, you should never access files on the filesystem directly. Instead, use"
79 " :meth:`raw_data` or :meth:`open` to read/write to component files in the "
80 "book."
81 msgstr "Clones: o objeto contentor suporta eficientemente a clonagem para disco, o que é usado para implementar pontos de controlo no editor de ebooks. Para que isto funcione, nunca deve aceder diretamente aos ficheiros no sistema de ficheiros. Em vez disso, use :meth:`raw_data` ou :meth:`open` para leitura/escrita nos ficheiros componentes do livro."
82
83 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
84 #: of calibre.ebooks.oeb.polish.container.Container:18
85 msgid ""
86 "When converting between hrefs and names use the methods provided by this "
87 "class, they assume all hrefs are quoted."
88 msgstr "Aquando da conversão entre hrefs e nomes use os métodos fornecidos por esta classe, que assumem que todos os hrefs estão entre aspas."
89
90 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
91 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1
92 msgid "Convert an absolute path to a canonical name relative to :attr:`root`"
93 msgstr "Converte um caminho absoluto para um nome canónico relativo ao :attr:`root`"
94
95 #: ../../../__w/calibre/calibre/manual/polish.rst:0
96 msgid "Parameters"
97 msgstr "Parâmetros"
98
99 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
100 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3
101 msgid ""
102 "The base folder. By default the root for this container object is used."
103 msgstr "A pasta base. Por predefinição, é usada a raiz deste objeto contentor."
104
105 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
106 #: of calibre.ebooks.oeb.polish.container.Container.add_file:1
107 msgid ""
108 "Add a file to this container. Entries for the file are automatically created"
109 " in the OPF manifest and spine (if the file is a text document)"
110 msgstr "Adiciona um ficheiro a este contentor. Entradas para o ficheiro são criadas automaticamente no manifesto OPF e na lombada (se o ficheiro for um documento de texto)"
111
112 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
113 #: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1
114 msgid ""
115 "Add an entry to the manifest for a file with the specified name. Returns the"
116 " manifest id."
117 msgstr "Adiciona uma entrada ao manifesto para um ficheiro com o nome especificado. Devolve o ID do manifesto."
118
119 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
120 #: of calibre.ebooks.oeb.polish.container.Container.add_properties:1
121 msgid "Add the specified properties to the manifest item identified by name."
122 msgstr "Adiciona as propriedades especificadas ao item do manifesto identificado por nome."
123
124 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
125 #: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1
126 msgid ""
127 "Ensure that the specified properties are set on only the manifest item "
128 "identified by name. You can pass None as the name to remove the property "
129 "from all items."
130 msgstr "Assegura que as propriedades especificadas são definidas apenas ao item de manifesto identificado por nome. Pode passar None como valor do parâmetro Nome para remover a propriedade de todos os itens."
131
132 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
133 #: of calibre.ebooks.oeb.polish.container.Container.book_type:1
134 msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)"
135 msgstr "O tipo de livro (epub para ficheiros EPUB e azw3 para ficheiros AZW3)"
136
137 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
138 #: of calibre.ebooks.oeb.polish.container.Container.commit:1
139 msgid ""
140 "Commit all dirtied parsed objects to the filesystem and write out the e-book"
141 " file at outpath."
142 msgstr "Submeter ao sistema de ficheiros todos os objetos analisados que tenham sido identificados com problemas e escrever o ficheiro de ebook no caminho de saída."
143
144 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
145 #: of calibre.ebooks.oeb.polish.container.Container.commit:3
146 msgid ""
147 "The path to write the saved e-book file to. If None, the path of the "
148 "original book file is used."
149 msgstr "O caminho onde será escrito o ficheiro do ebook guardado. Se for None, é usado o caminho do ficheiro do livro original"
150
151 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
152 #: of calibre.ebooks.oeb.polish.container.Container.commit:4
153 msgid ""
154 "If True the parsed representations of committed items are kept in the cache."
155 msgstr "Se Verdadeiro, as representações analisadas dos itens confirmados são mantidas em cache."
156
157 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
158 #: of calibre.ebooks.oeb.polish.container.Container.commit_item:1
159 msgid ""
160 "Commit a parsed object to disk (it is serialized and written to the "
161 "underlying file). If ``keep_parsed`` is True the parsed representation is "
162 "retained in the cache. See also: :meth:`parsed`"
163 msgstr "Confirma a escrita de um objeto analisado para o disco (será serializado e escrito no ficheiro subjacente). Se ```keep_parsed`` for Verdadeiro a representação analisada é mantida na Cache. Ver também: :meth:`parsed`"
164
165 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
166 #: of calibre.ebooks.oeb.polish.container.Container.dirty:1
167 msgid ""
168 "Mark the parsed object corresponding to name as dirty. See also: "
169 ":meth:`parsed`."
170 msgstr "Marcar o objeto analisado correspondente ao nome como impuro. Ver também: :meth:`parsed`."
171
172 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
173 #: of calibre.ebooks.oeb.polish.container.Container.exists:1
174 msgid ""
175 "True iff a file/folder corresponding to the canonical name exists. Note that"
176 " this function suffers from the limitations of the underlying OS filesystem,"
177 " in particular case (in)sensitivity. So on a case insensitive filesystem "
178 "this will return True even if the case of name is different from the case of"
179 " the underlying filesystem file. See also :meth:`has_name`"
180 msgstr "Verdadeiro se e só se existir um ficheiro/pasta correspondente ao nome canónico. Note que esta função sofre as limitações subjacentes ao sistema de ficheiros do sistema operativo, em particular no que respeita à (in)sensibilidade com que são tratadas as maiúsculas e minúsculas. Assim, num sistema de ficheiros que não diferencie entre maiúsculas e minúsculas, será devolvido Verdadeiro mesmo se a maiusculização do nome for diferente da que se encontra no ficheiro do sistema de ficheiros subjacente. Ver também: :meth:`has_name`"
181
182 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
183 #: of calibre.ebooks.oeb.polish.container.Container.filesize:1
184 msgid ""
185 "Return the size in bytes of the file represented by the specified canonical "
186 "name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`"
187 msgstr "Devolve o tamanho em bytes do ficheiro representado pelo nome canónico especificado. Manipula automaticamente os objetos analisados como impuros. Ver também: :meth:`parsed`"
188
189 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
190 #: of calibre.ebooks.oeb.polish.container.Container.generate_item:1
191 msgid ""
192 "Add an item to the manifest with href derived from the given name. Ensures "
193 "uniqueness of href and id automatically. Returns generated item."
194 msgstr "Adiciona um item ao manifesto com um href derivado do nome fornecido. Assegura automaticamente a unicidade do href e do id. Devolve o item gerado."
195
196 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
197 #: of
198 #: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1
199 msgid ""
200 "Similar to open() except that it returns a file path, instead of an open "
201 "file object."
202 msgstr "Similar a open() exceto por devolver o caminho de um ficheiro em vez de um objeto de ficheiro aberto."
203
204 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
205 #: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1
206 msgid "Mapping of guide type to canonical name"
207 msgstr "Mapeamento de tipo de guia para o nome canónico"
208
209 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
210 #: of calibre.ebooks.oeb.polish.container.Container.has_name:1
211 msgid ""
212 "Return True iff a file with the same canonical name as that specified "
213 "exists. Unlike :meth:`exists` this method is always case-sensitive."
214 msgstr "Devolve Verdadeiro se e só se existe um ficheiro com o mesmo nome canónico que o especificado. Ao contrário de :meth:`exists` este método é sensível a maiúsculas e minúsculas."
215
216 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
217 #: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1
218 msgid ""
219 "Convert an href (relative to base) to a name. base must be a name or None, "
220 "in which case self.root is used."
221 msgstr "Converte um href (relativo à base) para um nome. base tem de ser um nome ou None, caso em que self.root será utilizado."
222
223 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
224 #: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1
225 msgid ""
226 "Insert item into parent (or append if index is None), fixing indentation. "
227 "Only works with self closing items."
228 msgstr "Insere item no contentor (ou acrescenta se Index for None), ajustando a indentação. Apenas funciona com itens auto-fecháveis."
229
230 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
231 #: of calibre.ebooks.oeb.polish.container.Container.is_dir:1
232 msgid "If this container represents an unzipped book (a directory)"
233 msgstr "Se este contentor representa um livro não comprimido (uma pasta)"
234
235 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
236 #: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1
237 msgid ""
238 "Iterate over all links in name. If get_line_numbers is True the yields "
239 "results of the form (link, line_number, offset). Where line_number is the "
240 "line_number at which the link occurs and offset is the number of characters "
241 "from the start of the line. Note that offset could actually encompass "
242 "several lines if not zero."
243 msgstr "Itera sobre todas as ligações presentes no nome. Se get_line_numbers for Verdadeiro, os resultados devolvidos estarão na forma (ligação, número_de_linha, offset), onde número_de_linha é o número_de_linha na qual a ligação ocorre e offset é o número de caracteres contado desde o início da linha. Note que offset pode englobar diversas linhas se não for zero."
244
245 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
246 #: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1
247 msgid ""
248 "Ensure that `name` does not already exist in this book. If it does, return a"
249 " modified version that does not exist."
250 msgstr "Assegura que `nome` não existe previamente neste livro. Se existe, devolve uma versão modificada que não existe."
251
252 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
253 #: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1
254 msgid "Return True if the manifest has an entry corresponding to name"
255 msgstr "Devolve Verdadeiro se o manifesto tiver uma entrada correspondente ao nome"
256
257 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
258 #: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1
259 msgid "Mapping of manifest id to canonical names"
260 msgstr "Mapeamento de ID do manifesto para nomes canónicos"
261
262 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
263 #: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1
264 msgid ""
265 "The names of all manifest items whose media-type matches predicate. "
266 "`predicate` can be a set, a list, a string or a function taking a single "
267 "argument, which will be called with the media-type."
268 msgstr "Os nomes de todos os itens de manifesto cujos tipos de media coincidem com o predicado. `predicate` pode ser um conjunto, uma lista, uma string ou uma função de um único argumento, que será chamada pelo tipo de media."
269
270 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
271 #: of
272 #: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1
273 msgid "All manifest items that have the specified property"
274 msgstr "Todos os itens de manifesto que contêm a propriedade especificada"
275
276 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
277 #: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1
278 msgid ""
279 "Mapping of manifest media-type to list of canonical names of that media-type"
280 msgstr "Mapeamento do tipo de media do manifesto para lista de nomes canónicos desse tipo de media"
281
282 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
283 #: of calibre.ebooks.oeb.polish.container.Container.mi:1
284 msgid ""
285 "The metadata of this book as a Metadata object. Note that this object is "
286 "constructed on the fly every time this property is requested, so use it "
287 "sparingly."
288 msgstr "Os metadados deste livro sob a forma de um objeto Metadados. Note que este objeto é construído em tempo real de cada vez que esta propriedade é solicitada, pelo que use com moderação."
289
290 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
291 #: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1
292 msgid "Convert a canonical name to an absolute OS dependent path"
293 msgstr "Converte um nome canónico para um caminho absoluto dependente do sistema operativo"
294
295 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
296 #: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1
297 msgid ""
298 "Convert a name to a href relative to base, which must be a name or None in "
299 "which case self.root is used as the base"
300 msgstr "Converte um nome para um href relativo à base, que tem de ser um nome ou None, caso em que self.root é usado como base"
301
302 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
303 #: of
304 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1
305 msgid ""
306 "Set of names that must never be renamed. Depends on the e-book file format."
307 msgstr "Conjunto de nomes que nunca podem ser alterados. Depende do formato do ficheiro do ebook."
308
309 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
310 #: of
311 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1
312 msgid ""
313 "Set of names that must never be deleted from the container. Depends on the "
314 "e-book file format."
315 msgstr "Conjunto de nomes que nunca podem ser apagados do contentor. Depende do formato de ficheiro do ebook."
316
317 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
318 #: of
319 #: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1
320 msgid ""
321 "Set of names that are allowed to be missing from the manifest. Depends on "
322 "the e-book file format."
323 msgstr "Conjunto de nomes que são permitidos estarem em falta no manifesto. Depende do formato do ficheiro do ebook."
324
325 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
326 #: of calibre.ebooks.oeb.polish.container.Container.open:1
327 msgid ""
328 "Open the file pointed to by name for direct read/write. Note that this will "
329 "commit the file if it is dirtied and remove it from the parse cache. You "
330 "must finish with this file before accessing the parsed version of it again, "
331 "or bad things will happen."
332 msgstr "Abre o ficheiro apontado por nome para leitura/escrita direta. Note que isto efetuará as alterações ao ficheiro se o mesmo se encontrar deteriorado e irá removê-lo da cache do interpretador. É necessário terminar o trabalho neste ficheiro antes de aceder novamente à sua versão interpretada, ou coisas estranhas certamente acontecerão."
333
334 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
335 #: of calibre.ebooks.oeb.polish.container.Container.opf:1
336 msgid "The parsed OPF file"
337 msgstr "O ficheiro OPF interpretado"
338
339 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
340 #: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1
341 msgid ""
342 "Convenience method to either return the first XML element with the specified"
343 " name or create it under the opf:package element and then return it, if it "
344 "does not already exist."
345 msgstr "Método de conveniência que devolve o primeiro element XML com o nome especificado ou então cria-o debaixo do elemento opf:package e devolve-o de seguida no caso de ainda não existir."
346
347 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
348 #: of calibre.ebooks.oeb.polish.container.Container.opf_version:1
349 msgid "The version set on the OPF's <package> element"
350 msgstr "A versão definida no elemento <package>OPF"
351
352 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
353 #: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1
354 msgid "The version set on the OPF's <package> element as a tuple of integers"
355 msgstr "A versão definida no elemento do <package> OPF sob a forma de um énuplo de inteiros"
356
357 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
358 #: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1
359 msgid ""
360 "Convenience method to evaluate an XPath expression on the OPF file, has the "
361 "opf: and dc: namespace prefixes pre-defined."
362 msgstr "Método de conveniência para avaliar uma expressão XPath no ficheiro OPF, que tem os prefixos opf; e dc:namespace predefinidos."
363
364 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
365 #: of calibre.ebooks.oeb.polish.container.Container.parsed:1
366 msgid ""
367 "Return a parsed representation of the file specified by name. For HTML and "
368 "XML files an lxml tree is returned. For CSS files a css_parser stylesheet is"
369 " returned. Note that parsed objects are cached for performance. If you make "
370 "any changes to the parsed object, you must call :meth:`dirty` so that the "
371 "container knows to update the cache. See also :meth:`replace`."
372 msgstr "Devolve uma representação analisada lexicograficamente do ficheiro especificado pelo nome. Para ficheiros HTML e XML é devolvida uma árvore lxml. Para ficheiros CSS é devolvida uma folha de estilo do tipo css_parser. Note que os objetos analisados ficam em cache para melhorar a performance. Se fizer quaisquer alterações ao objeto analisado, tem de invocar :meth:`dirty` de modo a que o contentor saiba que tem de atualizar a cache. Veja também :meth:`replace`."
373
374 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
375 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:1
376 msgid "Return the raw data corresponding to the file specified by name"
377 msgstr "Devolve os dados em bruto correspondentes ao ficheiro especificado por nome"
378
379 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
380 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:3
381 msgid ""
382 "If True and the file has a text based MIME type, decode it and return a "
383 "unicode object instead of raw bytes."
384 msgstr "Se Verdadeiro, e se o ficheiro tiver um tipo de MIME baseado em texto, descodificar e devolver um objeto Unicode em vez de bytes em bruto."
385
386 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
387 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:4
388 msgid ""
389 "If True the returned unicode object is normalized to the NFC normal form as "
390 "is required for the EPUB and AZW3 file formats."
391 msgstr "Se Verdadeiro o objeto Unicode devolvido é normalizado sob a forma normal NFC tal como requerido pelos formatos de ficheiro EPUB e AZW3."
392
393 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
394 #: of calibre.ebooks.oeb.polish.container.Container.relpath:1
395 msgid ""
396 "Convert an absolute path (with OS separators) to a path relative to base "
397 "(defaults to self.root). The relative path is *not* a name. Use "
398 ":meth:`abspath_to_name` for that."
399 msgstr ""
400
401 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
402 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1
403 msgid ""
404 "Remove the specified items (by canonical name) from the spine. If "
405 "``remove_if_no_longer_in_spine`` is True, the items are also deleted from "
406 "the book, not just from the spine."
407 msgstr "Remove os itens especificados (por nome canónico) da lombada. Se ``remove_if_no_longer_in_spine`` for Verdadeiro, os itens também são apagados do livro, e não apenas da lombada."
408
409 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
410 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1
411 msgid ""
412 "Removes item from parent, fixing indentation (works only with self closing "
413 "items)"
414 msgstr "Remove o item do contentor, ajustando a indentação (funciona apenas com itens que se auto-fecham)."
415
416 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
417 #: of calibre.ebooks.oeb.polish.container.Container.remove_item:1
418 msgid ""
419 "Remove the item identified by name from this container. This removes all "
420 "references to the item in the OPF manifest, guide and spine as well as from "
421 "any internal caches."
422 msgstr "Remove o item identificado por nome deste contentor. Isto remove todas as referências ao item do manifesto OPF, guia e lombada bem como de todas as caches internas."
423
424 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
425 #: of calibre.ebooks.oeb.polish.container.Container.rename:1
426 msgid ""
427 "Renames a file from current_name to new_name. It automatically rebases all "
428 "links inside the file if the folder the file is in changes. Note however, "
429 "that links are not updated in the other files that could reference this "
430 "file. This is for performance, such updates should be done once, in bulk."
431 msgstr ""
432
433 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
434 #: of calibre.ebooks.oeb.polish.container.Container.replace:1
435 msgid ""
436 "Replace the parsed object corresponding to name with obj, which must be a "
437 "similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet "
438 "for a CSS file."
439 msgstr "Substitui os objetos analisados correspondentes ao nome por obj, que tem de ser um objeto similar, isto é, uma árvore lxml no caso de HTML/XML ou uma folha de estilo css_parser no caso de ficheiros CSS."
440
441 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
442 #: of calibre.ebooks.oeb.polish.container.Container.replace_links:1
443 msgid ""
444 "Replace all links in name using replace_func, which must be a callable that "
445 "accepts a URL and returns the replaced URL. It must also have a 'replaced' "
446 "attribute that is set to True if any actual replacement is done. Convenient "
447 "ways of creating such callables are using the :class:`LinkReplacer` and "
448 ":class:`LinkRebaser` classes."
449 msgstr ""
450
451 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
452 #: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1
453 msgid ""
454 "Convert a parsed object (identified by canonical name) into a bytestring. "
455 "See :meth:`parsed`."
456 msgstr ""
457
458 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
459 #: of calibre.ebooks.oeb.polish.container.Container.set_spine:1
460 msgid ""
461 "Set the spine to be spine_items where spine_items is an iterable of the form"
462 " (name, linear). Will raise an error if one of the names is not present in "
463 "the manifest."
464 msgstr ""
465
466 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
467 #: of calibre.ebooks.oeb.polish.container.Container.spine_items:1
468 msgid ""
469 "An iterator yielding the path for every item in the books' spine. See also: "
470 ":attr:`spine_iter` and :attr:`spine_items`."
471 msgstr ""
472
473 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
474 #: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1
475 msgid ""
476 "An iterator that yields item, name is_linear for every item in the books' "
477 "spine. item is the lxml element, name is the canonical file name and "
478 "is_linear is True if the item is linear. See also: :attr:`spine_names` and "
479 ":attr:`spine_items`."
480 msgstr ""
481
482 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
483 #: of calibre.ebooks.oeb.polish.container.Container.spine_names:1
484 msgid ""
485 "An iterator yielding name and is_linear for every item in the books' spine. "
486 "See also: :attr:`spine_iter` and :attr:`spine_items`."
487 msgstr ""
488
489 #: ../../../__w/calibre/calibre/manual/polish.rst:36
490 msgid "Managing component files in a container"
491 msgstr "Gerir ficheiros componentes num contentor"
492
493 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
494 #: of calibre.ebooks.oeb.polish.replace.replace_links:1
495 msgid ""
496 "Replace links to files in the container. Will iterate over all files in the "
497 "container and change the specified links in them."
498 msgstr ""
499
500 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
501 #: of calibre.ebooks.oeb.polish.replace.replace_links:3
502 msgid ""
503 "A mapping of old canonical name to new canonical name. For example: "
504 ":code:`{'images/old.png': 'images/new.png'}`"
505 msgstr ""
506
507 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
508 #: of calibre.ebooks.oeb.polish.replace.replace_links:4
509 msgid ""
510 "A callable that takes two arguments ``(name, anchor)`` and returns a new "
511 "anchor. This is useful if you need to change the anchors in HTML files. By "
512 "default, it does nothing."
513 msgstr ""
514
515 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
516 #: of calibre.ebooks.oeb.polish.replace.replace_links:7
517 msgid "If False, links are not replaced in the OPF file."
518 msgstr ""
519
520 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
521 #: of calibre.ebooks.oeb.polish.replace.rename_files:1
522 msgid ""
523 "Rename files in the container, automatically updating all links to them."
524 msgstr ""
525
526 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
527 #: of calibre.ebooks.oeb.polish.replace.rename_files:3
528 msgid ""
529 "A mapping of old canonical name to new canonical name, for example: "
530 ":code:`{'text/chapter1.html': 'chapter1.html'}`."
531 msgstr ""
532
533 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
534 #: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1
535 msgid ""
536 "Return the folders that are recommended for the given filenames. The "
537 "recommendation is based on where the majority of files of the same type are "
538 "located in the container. If no files of a particular type are present, the "
539 "recommended folder is assumed to be the folder containing the OPF file."
540 msgstr ""
541
542 #: ../../../__w/calibre/calibre/manual/polish.rst:47
543 msgid "Pretty printing and auto fixing parse errors"
544 msgstr "Impressão elegante e correção automática de erros de análise"
545
546 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
547 #: of calibre.ebooks.oeb.polish.pretty.fix_html:1
548 msgid ""
549 "Fix any parsing errors in the HTML represented as a string in raw. Fixing is"
550 " done using the HTML5 parsing algorithm."
551 msgstr "Corrija os erros de análise do HTML representados por uma cadeia de caracteres em bruto. A correção é efetuada usando o algoritmo de análise do HTML5."
552
553 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
554 #: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1
555 msgid ""
556 "Fix any parsing errors in all HTML files in the container. Fixing is done "
557 "using the HTML5 parsing algorithm."
558 msgstr "Corrija os erros de análise em todos os ficheiros HTML do contentor. A correção é efetuada usando o algoritmo de análise do HTML5."
559
560 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
561 #: of calibre.ebooks.oeb.polish.pretty.pretty_html:1
562 msgid "Pretty print the HTML represented as a string in raw"
563 msgstr ""
564
565 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
566 #: of calibre.ebooks.oeb.polish.pretty.pretty_css:1
567 msgid "Pretty print the CSS represented as a string in raw"
568 msgstr ""
569
570 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
571 #: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1
572 msgid ""
573 "Pretty print the XML represented as a string in raw. If ``name`` is the name"
574 " of the OPF, extra OPF-specific prettying is performed."
575 msgstr ""
576
577 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
578 #: of calibre.ebooks.oeb.polish.pretty.pretty_all:1
579 msgid "Pretty print all HTML/CSS/XML files in the container"
580 msgstr "Imprime de forma visualmente apelativa todos os ficheiros HTML/CSS/XML existentes no contentor"
581
582 #: ../../../__w/calibre/calibre/manual/polish.rst:65
583 msgid "Managing book jackets"
584 msgstr "Gerir sobrecapas de livros"
585
586 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
587 #: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1
588 msgid ""
589 "Remove an existing jacket, if any. Returns False if no existing jacket was "
590 "found."
591 msgstr "Remove uma sobrecapa existente, se existir. Devolve False se não for encontrada uma sobrecapa."
592
593 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
594 #: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1
595 msgid ""
596 "Either create a new jacket from the book's metadata or replace an existing "
597 "jacket. Returns True if an existing jacket was replaced."
598 msgstr "Efetua uma de duas operações: cria uma nova sobrecapa a partir dos metadados do livro ou substitui a sobrecapa existente. Devolve Verdadeiro se a sobrecapa existente for substituída."
599
600 #: ../../../__w/calibre/calibre/manual/polish.rst:74
601 msgid "Splitting and merging of files"
602 msgstr "Separar e fundir ficheiros"
603
604 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
605 #: of calibre.ebooks.oeb.polish.split.split:1
606 msgid ""
607 "Split the file specified by name at the position specified by loc_or_xpath. "
608 "Splitting automatically migrates all links and references to the affected "
609 "files."
610 msgstr ""
611
612 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
613 #: of calibre.ebooks.oeb.polish.split.split:5
614 msgid ""
615 "Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also "
616 "be a *loc* which is used internally to implement splitting in the preview "
617 "panel."
618 msgstr ""
619
620 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
621 #: of calibre.ebooks.oeb.polish.split.split:8
622 msgid ""
623 "If True the split occurs before the identified element otherwise after it."
624 msgstr "Se Verdadeiro a separação ocorre antes do elemento identificado; se não, ocorre depois dele."
625
626 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
627 #: of calibre.ebooks.oeb.polish.split.split:9
628 msgid "Used internally"
629 msgstr "Usado internamente"
630
631 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
632 #: of calibre.ebooks.oeb.polish.split.multisplit:1
633 msgid ""
634 "Split the specified file at multiple locations (all tags that match the "
635 "specified XPath expression). See also: :func:`split`. Splitting "
636 "automatically migrates all links and references to the affected files."
637 msgstr ""
638
639 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
640 #: of calibre.ebooks.oeb.polish.split.multisplit:5
641 msgid ""
642 "If True the splits occur before the identified element otherwise after it."
643 msgstr "Se Verdadeiro as separações ocorrem antes do elemento identificado; se não, ocorrem depois dele."
644
645 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
646 #: of calibre.ebooks.oeb.polish.split.merge:1
647 msgid ""
648 "Merge the specified files into a single file, automatically migrating all "
649 "links and references to the affected files. The file must all either be HTML"
650 " or CSS files."
651 msgstr "Funde os ficheiros especificados num único ficheiro, com a migração automática de todas as ligações e referências dos ficheiros afetados. Os ficheiros têm todos de ser HTML ou CSS."
652
653 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
654 #: of calibre.ebooks.oeb.polish.split.merge:4
655 msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files"
656 msgstr "Tem de ser ``'text'`` para ficheiros HTML ou ``'styles'`` para CSS"
657
658 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
659 #: of calibre.ebooks.oeb.polish.split.merge:5
660 msgid "The list of files to be merged"
661 msgstr "A lista de ficheiros a serem fundidos"
662
663 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
664 #: of calibre.ebooks.oeb.polish.split.merge:6
665 msgid ""
666 "Which of the merged files is the *master* file, that is, the file that will "
667 "remain after merging."
668 msgstr "Qual dos ficheiros a fundir será o ficheiro *mestre*, ou seja, qual é o ficheiro que será mantido depois da fusão."
669
670 #: ../../../__w/calibre/calibre/manual/polish.rst:85
671 msgid "Managing covers"
672 msgstr "Gerir capas"
673
674 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
675 #: of calibre.ebooks.oeb.polish.cover.set_cover:1
676 msgid "Set the cover of the book to the image pointed to by cover_path."
677 msgstr "Torna a capa do livro na imagem apontada por cover_path."
678
679 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
680 #: of calibre.ebooks.oeb.polish.cover.set_cover:3
681 msgid ""
682 "Either the absolute path to an image file or the canonical name of an image "
683 "in the book. When using an image in the book, you must also set options, see"
684 " below."
685 msgstr "O caminho absoluto para um ficheiro de imagem ou o nome canónico de uma imagem no livro. Quando usa uma imagem no livro tem também de definir opções, ver abaixo."
686
687 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
688 #: of calibre.ebooks.oeb.polish.cover.set_cover:6
689 msgid ""
690 "An optional callable that takes a single argument. It will be called with "
691 "information about the tasks being processed."
692 msgstr "Um função opcional que pode ser chamada e que tem um único argumento. Será chamada com informação acerca das tarefas em processamento."
693
694 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
695 #: of calibre.ebooks.oeb.polish.cover.set_cover:8
696 msgid ""
697 "None or a dictionary that controls how the cover is set. The dictionary can "
698 "have entries: **keep_aspect**: True or False (Preserve aspect ratio of "
699 "covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the "
700 "EPUB titlepage) **existing**: True or False (``cover_path`` refers to an "
701 "existing image in the book)"
702 msgstr "Vazio, ou um dicionário que controla como a capa é criada. O dicionário pode conter as entradas: **keep_aspect**: Verdadeiro ou Falso (Preservar a proporção das imagens de capa no EPUB) **no_svg**: Verdadeiro ou Falso (Usar um embrulho SVG para a capa na página de título do EPUB) **existing**: Verdadeiro ou Falso (``cover_path`` refere-se a uma imagem existente no livro)"
703
704 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
705 #: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1
706 msgid "Mark the specified image as the cover image."
707 msgstr "Marca a imagem especificada como a imagem da capa."
708
709 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
710 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1
711 msgid "Mark the specified HTML file as the titlepage of the EPUB."
712 msgstr "Marca o ficheiro HTML especificado como a página de capa do EPUB."
713
714 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
715 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3
716 msgid "If True the HTML file is moved to the start of the spine"
717 msgstr "Se verdadeiro, o ficheiro HTML será movido para o início da lombada"
718
719 #: ../../../__w/calibre/calibre/manual/polish.rst:96
720 msgid "Working with CSS"
721 msgstr "Trabalhar com CSS"
722
723 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring
724 #: of calibre.ebooks.oeb.polish.fonts.change_font:1
725 msgid ""
726 "Change a font family from old_name to new_name. Changes all occurrences of "
727 "the font family in stylesheets, style tags and style attributes. If the "
728 "old_name refers to an embedded font, it is removed. You can set new_name to "
729 "None to remove the font family instead of changing it."
730 msgstr ""
731
732 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
733 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:1
734 msgid ""
735 "Remove all unused CSS rules from the book. An unused CSS rule is one that "
736 "does not match any actual content."
737 msgstr ""
738
739 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
740 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:3
741 msgid ""
742 "An optional callable that takes a single argument. It is called with "
743 "information about the operations being performed."
744 msgstr ""
745
746 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
747 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:4
748 msgid ""
749 "If True, class attributes in the HTML that do not match any CSS rules are "
750 "also removed."
751 msgstr ""
752
753 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
754 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:5
755 msgid "If True, rules with identical selectors are merged."
756 msgstr "Se Verdadeiro, regras com selectores idênticos são fundidas."
757
758 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
759 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:6
760 msgid "If True, rules with identical properties are merged."
761 msgstr ""
762
763 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
764 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:7
765 msgid ""
766 "If True, stylesheets that are not referenced by any content are removed"
767 msgstr ""
768
769 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
770 #: of calibre.ebooks.oeb.polish.css.filter_css:1
771 msgid "Remove the specified CSS properties from all CSS rules in the book."
772 msgstr "Remove as propriedades CSS especificadas de todas as regras CSS no livro."
773
774 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
775 #: of calibre.ebooks.oeb.polish.css.filter_css:3
776 msgid ""
777 "Set of properties to remove. For example: :code:`{'font-family', 'color'}`."
778 msgstr "Conjunto de propriedades a remover. Por exemplo: :code:`{'font-family', 'color'}`."
779
780 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
781 #: of calibre.ebooks.oeb.polish.css.filter_css:4
782 msgid ""
783 "The files from which to remove the properties. Defaults to all HTML and CSS "
784 "files in the book."
785 msgstr ""
786
787 #: ../../../__w/calibre/calibre/manual/polish.rst:108
788 msgid "Working with the Table of Contents"
789 msgstr "Trabalhar com o Índice"
790
791 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
792 #: of calibre.ebooks.oeb.polish.toc.from_xpaths:1
793 msgid ""
794 "Generate a Table of Contents from a list of XPath expressions. Each "
795 "expression in the list corresponds to a level of the generate ToC. For "
796 "example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level "
797 "Table of Contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags."
798 msgstr "Cria um índice a partir de uma lista de expressões XPath. Cada expressão na lista corresponde a um nível do índice gerado. Por exemplo: :code:`['//h:h1', '//h:h2', '//h:h3']` criará um índice de três níveis partindo das etiquetas ``<h1>``, ``<h2>`` e ``<h3>``."
799
800 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
801 #: of calibre.ebooks.oeb.polish.toc.from_links:1
802 msgid "Generate a Table of Contents from links in the book."
803 msgstr "Gerar um índice a partir de hiperligações no livro."
804
805 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
806 #: of calibre.ebooks.oeb.polish.toc.from_files:1
807 msgid "Generate a Table of Contents from files in the book."
808 msgstr "Gerar um índice a partir de ficheiros no livro."
809
810 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
811 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1
812 msgid ""
813 "Create an inline (HTML) Table of Contents from an existing NCX Table of "
814 "Contents."
815 msgstr "Criar um índice incorporado (HTML) a partir de um índice NCX existente."
816
817 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
818 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3
819 msgid "The title for this table of contents."
820 msgstr "O título para este índice."
821
822 #: ../../../__w/calibre/calibre/manual/polish.rst:122
823 msgid "Edit book tool"
824 msgstr "Editar ferramenta do livro"
825
826 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
827 #: of calibre.gui2.tweak_book.plugin.Tool:1
828 msgid ""
829 "The base class for individual tools in an Edit Book plugin. Useful members "
830 "include:"
831 msgstr ""
832
833 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
834 #: of calibre.gui2.tweak_book.plugin.Tool:3
835 msgid ""
836 "``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object"
837 " to which this tool belongs."
838 msgstr ""
839
840 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
841 #: of calibre.gui2.tweak_book.plugin.Tool:4
842 msgid "self. :attr:`boss`"
843 msgstr ""
844
845 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
846 #: of calibre.gui2.tweak_book.plugin.Tool:5
847 msgid "self. :attr:`gui`"
848 msgstr ""
849
850 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
851 #: of calibre.gui2.tweak_book.plugin.Tool:7
852 msgid "Methods that must be overridden in sub classes:"
853 msgstr ""
854
855 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
856 #: of calibre.gui2.tweak_book.plugin.Tool:9
857 msgid ":meth:`create_action`"
858 msgstr ""
859
860 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
861 #: of calibre.gui2.tweak_book.plugin.Tool:10
862 msgid ":meth:`register_shortcut`"
863 msgstr ""
864
865 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
866 #: of calibre.gui2.tweak_book.plugin.Tool.name:1
867 msgid "Set this to a unique name it will be used as a key"
868 msgstr ""
869
870 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
871 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1
872 msgid "If True the user can choose to place this tool in the plugins toolbar"
873 msgstr ""
874
875 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
876 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1
877 msgid "If True the user can choose to place this tool in the plugins menu"
878 msgstr ""
879
880 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
881 #: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1
882 msgid ""
883 "The popup mode for the menu (if any) of the toolbar button. Possible values "
884 "are 'delayed', 'instant', 'button'"
885 msgstr ""
886
887 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
888 #: of calibre.gui2.tweak_book.plugin.Tool.boss:1
889 msgid ""
890 "The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the "
891 "user interface."
892 msgstr ""
893
894 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
895 #: of calibre.gui2.tweak_book.plugin.Tool.gui:1
896 msgid "The main window of the user interface"
897 msgstr ""
898
899 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
900 #: of calibre.gui2.tweak_book.plugin.Tool.current_container:1
901 msgid ""
902 "Return the current :class:`calibre.ebooks.oeb.polish.container.Container` "
903 "object that represents the book being edited."
904 msgstr "Devolve o :class:`calibre.ebooks.oeb.polish.container.Container` objeto atual que representa o livro a ser editado."
905
906 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
907 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1
908 msgid ""
909 "Register a keyboard shortcut that will trigger the specified ``qaction``. "
910 "This keyboard shortcut will become automatically customizable by the user in"
911 " the Keyboard shortcuts section of the editor preferences."
912 msgstr ""
913
914 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
915 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4
916 msgid ""
917 "A QAction object, it will be triggered when the configured key combination "
918 "is pressed by the user."
919 msgstr ""
920
921 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
922 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6
923 msgid ""
924 "A unique name for this shortcut/action. It will be used internally, it must "
925 "not be shared by any other actions in this plugin."
926 msgstr ""
927
928 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
929 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9
930 msgid ""
931 "A list of the default keyboard shortcuts. If not specified no default "
932 "shortcuts will be set. If the shortcuts specified here conflict with either "
933 "builtin shortcuts or shortcuts from user configuration/other plugins, they "
934 "will be ignored. In that case, users will have to configure the shortcuts "
935 "manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``."
936 msgstr ""
937
938 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
939 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15
940 msgid ""
941 "An optional short description of this action. If not specified the text from"
942 " the QAction will be used."
943 msgstr "Uma descrição breve opcional desta ação. Se não especificada será usado o texto de QAction."
944
945 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
946 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17
947 msgid ""
948 "An optional longer description of this action, it will be used in the "
949 "preferences entry for this shortcut."
950 msgstr "Uma descrição mais detalhada desta ação, que será usada na entrada das preferências deste atalho."
951
952 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
953 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:1
954 msgid ""
955 "Create a QAction that will be added to either the plugins toolbar or the "
956 "plugins menu depending on ``for_toolbar``. For example::"
957 msgstr "Cria uma QAction que será adicionada à barra de ferramentas dos plugins ou ao menu de plugins, dependendo valor de ``for_toolbar``. Por exemplo::"
958
959 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
960 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:19
961 msgid "Method :meth:`register_shortcut`."
962 msgstr "Método :meth:`register_shortcut`."
963
964 #: ../../../__w/calibre/calibre/manual/polish.rst:131
965 msgid "Controlling the editor's user interface"
966 msgstr "Controlar a interface de utilizador do editor"
967
968 #: ../../../__w/calibre/calibre/manual/polish.rst:133
969 msgid ""
970 "The e-book editor's user interface is controlled by a single global *Boss* "
971 "object. This has many useful methods that can be used in plugin code to "
972 "perform common tasks."
973 msgstr "A interface de utilizador do editor de ebook é controlada por um único objeto *Boss* global. Isto permite vários métodos úteis que podem ser usados no código do plugin para realizar tarefas comuns."
974
975 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
976 #: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1
977 msgid "Create a restore checkpoint with the name specified as ``msg``"
978 msgstr ""
979
980 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
981 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1
982 msgid ""
983 "Update all the components of the user interface to reflect the latest data "
984 "in the current book container."
985 msgstr ""
986
987 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
988 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3
989 msgid ""
990 "If True, the book will be marked as modified, so the user will be prompted "
991 "to save it when quitting."
992 msgstr ""
993
994 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
995 #: of calibre.gui2.tweak_book.boss.Boss.close_editor:1
996 msgid "Close the editor that is editing the file specified by ``name``"
997 msgstr ""
998
999 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1000 #: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1
1001 msgid ""
1002 "Commit any changes that the user has made to files open in editors to the "
1003 "container. You should call this method before performing any actions on the "
1004 "current container"
1005 msgstr ""
1006
1007 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1008 #: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1
1009 msgid ""
1010 "Return the name of the file being edited currently or None if no file is "
1011 "being edited"
1012 msgstr ""
1013
1014 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1015 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:1
1016 msgid "Open the file specified by name in an editor"
1017 msgstr ""
1018
1019 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1020 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:3
1021 msgid ""
1022 "The media type of the file, for example, ``'text/html'``. If not specified "
1023 "it is guessed from the file extension."
1024 msgstr ""
1025
1026 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1027 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:4
1028 msgid "A template to initialize the opened editor with"
1029 msgstr ""
1030
1031 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1032 #: of calibre.gui2.tweak_book.boss.Boss.open_book:1
1033 msgid ""
1034 "Open the e-book at ``path`` for editing. Will show an error if the e-book is"
1035 " not in a supported format or the current book has unsaved changes."
1036 msgstr ""
1037
1038 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1039 #: of calibre.gui2.tweak_book.boss.Boss.open_book:3
1040 msgid ""
1041 "The name of a file inside the newly opened book to start editing. Can also "
1042 "be a list of names."
1043 msgstr ""
1044
1045 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1046 #: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1
1047 msgid ""
1048 "Undo the previous creation of a restore checkpoint, useful if you create a "
1049 "checkpoint, then abort the operation with no changes"
1050 msgstr ""
1051
1052 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1053 #: of calibre.gui2.tweak_book.boss.Boss.save_book:1
1054 msgid "Save the book. Saving is performed in the background"
1055 msgstr ""
1056
1057 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1058 #: of calibre.gui2.tweak_book.boss.Boss.set_modified:1
1059 msgid "Mark the book as having been modified"
1060 msgstr ""
1061
1062 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1063 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1
1064 msgid "Show the changes to the book from its last checkpointed state"
1065 msgstr ""
1066
1067 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1068 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3
1069 msgid ""
1070 "If True the diff dialog will have a button to allow the user to revert all "
1071 "changes"
1072 msgstr ""
1073
1074 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1075 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4
1076 msgid ""
1077 "A container object to compare the current container to. If None, the "
1078 "previously checkpointed container is used"
1079 msgstr ""
1080
1081 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1082 #: of calibre.gui2.tweak_book.boss.Boss.show_editor:1
1083 msgid "Show the editor that is editing the file specified by ``name``"
1084 msgstr ""
1085
1086 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1087 #: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1
1088 msgid ""
1089 "Sync the position of the preview panel to the current cursor position in the"
1090 " current editor"
1091 msgstr "Sincronizar posição do painel de pré-visualização com a posição atual do cursor no editor atual"