Debian Codegraph @

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