Debian Codegraph @

translations/manual/pt_BR/snippets.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 # Gabriel York Orfali da Silva <[email protected]>, 2015
7 # Luiz Phelipe Ferreira da Silva <[email protected]>, 2015
8 # Marcello Oliveira <[email protected]>, 2024-2025
9 # Pedro Manoel de Oliveira Heringer Dias <[email protected]>, 2015
10 # Thiago Oliveira <[email protected]>, 2018
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: calibre\n"
14 "Report-Msgid-Bugs-To: \n"
15 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
16 "PO-Revision-Date: 2015-01-10 01:24+0000\n"
17 "Last-Translator: Marcello Oliveira <[email protected]>, 2024-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/snippets.rst:2
26 msgid "Snippets"
27 msgstr "Trechos"
28
29 #: ../../../__w/calibre/calibre/manual/snippets.rst:6
30 msgid ""
31 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
32 "that is either re-used often or contains a lot of redundant text. The editor"
33 " allows you to insert a snippet with only a few key strokes. For example, "
34 "suppose you often find yourself inserting link tags when editing HTML files,"
35 " then you can simply type ``<a`` in the editor and press |ct|. The editor "
36 "will expand it to::"
37 msgstr "O editor Calibre de ebook suporta *trechos*. Um trecho é um pedaço de texto que é reutilizado com frequência ou contém algum texto redundante. O editor permite que você insira um trecho com apenas algumas combinações de teclas. Por exemplo, suponha que você insira frequentemente etiquetas de hiperligação ao editar ficheiros HTML: poderá digitar simplesmente ``<a`` no editor e premir |ct|. O editor irá expandi-lo para:"
38
39 #: ../../../__w/calibre/calibre/manual/snippets.rst:15
40 msgid ""
41 "Not only that, the word ``filename`` will be selected, with the cursor "
42 "placed over it, so that you can easily type in the real filename, using the "
43 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
44 "typing the filename, press |ct| again and the cursor will jump to the "
45 "position in between the ``<a>`` tags so you can easily type in the text for "
46 "the link."
47 msgstr "Não apenas isto, a palavra ``filename`` será selecionada, com o cursor sobre ela, assim você pode facilmente digitar o verdadeiro nome do arquivos, usando o recurso astucioso do editor :ref:`editor_auto_complete`. Assim que você terminar de digitar o nome do arquivo, pressione |ct| novamente e o cursor se moverá para a posição entre as tags ``<a>``, assim você poderá facilmente digitar o texto para o link."
48
49 #: ../../../__w/calibre/calibre/manual/snippets.rst:21
50 msgid ""
51 "The snippets system in the editor is very sophisticated, there are a few "
52 "built-in snippets and you can create your own to suit your editing style."
53 msgstr "O sistema de trechos do editor é muito sofisticado, há uma pequena quantidade de trechos embutidos e você pode criar seus próprios trechos para se adequar ao seu estilo de edição."
54
55 #: ../../../__w/calibre/calibre/manual/snippets.rst:24
56 msgid ""
57 "The following discussion of the built-in snippets should help illustrate the"
58 " power of the snippets system."
59 msgstr "A seguinte discussão sobre os trechos embutidos devem ajudar a ilustrar o poder do sistema de trechos."
60
61 #: ../../../__w/calibre/calibre/manual/snippets.rst:28
62 msgid ""
63 "You can also use snippets in the text entry fields in the :guilabel:`Search "
64 "& replace` panel, however, placeholders (using |ct| to jump around) will not"
65 " work."
66 msgstr "É possível incluir trechos de texto nos campos de entrada na tela :guilabel:`Localizar & substituir`, apesar de que placeholders (usando |ct| para navegação) não irão funcionar."
67
68 #: ../../../__w/calibre/calibre/manual/snippets.rst:33
69 msgid "The built-in snippets"
70 msgstr "Os trechos embutidos"
71
72 #: ../../../__w/calibre/calibre/manual/snippets.rst:35
73 msgid ""
74 "The built-in snippets are described below. Note that you can override them "
75 "by creating your own snippets with the same trigger text."
76 msgstr "Os trechos embutidos estão descritos logo abaixo. Note que você pode substitui-los criando seus próprios trechos com o mesmo texto de ativação."
77
78 #: ../../../__w/calibre/calibre/manual/snippets.rst:39
79 msgid "Inserting filler text [Lorem]"
80 msgstr "Inserindo texto de preenchimento [Lorem]"
81
82 #: ../../../__w/calibre/calibre/manual/snippets.rst:41
83 msgid ""
84 "The first built-in snippet, and the simplest is used to insert filler text "
85 "into a document. The filler text is taken from `De finibus bonorum et "
86 "malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ a "
87 "philosophical work by Cicero (translated to English). To use it simply type "
88 "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of"
89 " paragraphs of filler."
90 msgstr "O primeiro trecho embutido, e o mais simples, é usado para inserir texto de preenchimento em um documento. O texto de preenchimento é tirado de `De finibus bonorum et malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ uma obra filosófica da autoria de Cicero (traduzido para o Inglês). Para usá-lo, apenas digite ``Lorem`` em um arquivo HTML e pressione |ct|. O texto será substituído por dois parágrafos do texto de preenchimento."
91
92 #: ../../../__w/calibre/calibre/manual/snippets.rst:48
93 msgid ""
94 "The definition of this snippet is very simple, the trigger text is defined "
95 "as ``Lorem`` and the template is defined simply as the literal text to be "
96 "inserted. You can easily customize it to use your favorite form of filler "
97 "text."
98 msgstr "A definição deste trecho é bem simples, o texto de ativação é definido como ``Lorem`` e o modelo é definido simplesmente como o texto literal a ser inserido. Você pode facilmente personaliza-lo para usar sua forma favorita de texto de preenchimento."
99
100 #: ../../../__w/calibre/calibre/manual/snippets.rst:53
101 msgid "Inserting a self-closing HTML tag [<>]"
102 msgstr "Inserindo uma tag HTML de fechamento automático [<>]"
103
104 #: ../../../__w/calibre/calibre/manual/snippets.rst:55
105 msgid ""
106 "Now let's look at a simple example of the powerful concept of "
107 "*placeholders*. Say you want to insert the self-closing tag ``<hr/>``. Just "
108 "type ``<>``, and press |ct|, the editor will expand the snippet to::"
109 msgstr "Agora olhe um simples exemplo do poderoso conceito de *placeholders*. Digamos que você queira inserir a tag de fechamento automático ``<hr/>``. Apenas digite ``<>``, e pressione |ct|, o editor expandirá o trecho para::"
110
111 #: ../../../__w/calibre/calibre/manual/snippets.rst:61
112 msgid ""
113 "Here, the ``|`` symbol represents the current cursor position. You can then "
114 "type ``hr`` and press |ct| to move the cursor to after the end of the tag. "
115 "This snippet is defined as::"
116 msgstr "Aqui, o símbolo ``|`` representa a atual posição do cursor. Você pode então pressionar ``hr`` e pressionar |ct| para mover o cursor para o final da tag. Este trecho é definido como::"
117
118 #: ../../../__w/calibre/calibre/manual/snippets.rst:68
119 msgid ""
120 "Placeholders are simply the dollar ($) sign followed by a number. When the "
121 "snippet is expanded by pressing |ct| the cursor is positioned at the first "
122 "placeholder (the placeholder with the lowest number). When you press |ct| "
123 "again the cursor jumps to the next placeholder (the placeholder with the "
124 "next higher number)."
125 msgstr "Placeholders são simplesmente o símbolo dólar ($) seguido por um número. Quando o trecho é expandido ao pressionar |ct| o cursor é posicionado no primeiro placeholder (aquele com o menor número). Quando você pressionar |ct| novamente, o cursor move-se para o próximo placeholder (aquele com o próximo número superior)."
126
127 #: ../../../__w/calibre/calibre/manual/snippets.rst:75
128 msgid "Inserting an HTML link tag [<a]"
129 msgstr "Inserindo uma tag de link HTML [<a]"
130
131 #: ../../../__w/calibre/calibre/manual/snippets.rst:77
132 msgid ""
133 "HTML link tags all share a common structure. They have an ``href`` attribute"
134 " and some text between the opening and closing tags. A snippet to make "
135 "typing them more efficient will introduce us to some more features of "
136 "placeholders. To use this snippet, simply type ``<a`` and press |ct|. The "
137 "editor will expand this to::"
138 msgstr "Todas as tags HTML de link compartilham uma estrutura comum. Elas tem um atributo ``href`` e algum texto entre as tags de abertura e fechamento. Um trecho para tornar a digitação delas mais eficiente nos introduzirá a mais características dos placeholders. Para usar esse trecho, simplesmente digite ``<a`` e pressione |ct|. O editor vai expandir isso para::"
139
140 #: ../../../__w/calibre/calibre/manual/snippets.rst:85
141 msgid ""
142 "Not only that, the word ``filename`` will be selected, with the cursor "
143 "placed over it, so that you can easily type in the real filename, using the "
144 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
145 "typing the filename, press |ct| again and the cursor will jump to the "
146 "position in between the ``<a>`` tags so you can easily type in the text for "
147 "the link. After you are done typing the text, press |ct| again to jump to "
148 "the point after the closing tag. This snippet is defined as::"
149 msgstr "Não só isso, a palavra \"filename\" vai ser selecionada, com o cursor localizado sobre esta, assim você pode facilmente digitar no nome do arquivo, usando o recurso de estilo do editor :ref:`editor_auto_complete`. E uma vez que você acabou de digitar o nome do arquivo, pressione |ct| novamente e o cursor vai pular para a posição entre as tags ``<a>`` assim você pode facilmente digitar o texto para o link. Depois de você acabar de digitar o texto, pressione |ct| novamente para pular para o ponto depois da tag de fechamento. Esse fragmento é definido como::"
150
151 #: ../../../__w/calibre/calibre/manual/snippets.rst:96
152 msgid ""
153 "There are a couple of new features here. First the ``$1`` placeholder has "
154 "become more complex. It now includes some *default text* (the word "
155 "``filename``). If a placeholder contains default text, the default text is "
156 "substituted for the placeholder when the snippet is expanded. Also when you "
157 "jump to a placeholder with default text using |ct|, the default text is "
158 "selected. In this way, you can use default text to act as a reminder to you "
159 "to fill in important parts of the template. You can specify default text for"
160 " a placeholder by using the syntax: ``${<number>:default text}``."
161 msgstr "Existem alguns recursos novos aqui. Primeiro o marcador ``$1`` ficou mais complexo. Agora ele inclui um *texto padrão* (a palavra ``filename``). Se um marcador contiver o texto padrão, o texto padrão é substituído pelo marcador quando o trecho for expandido. Além disso, quando se pula para um marcador com o texto padrão usando |ct|, o texto padrão é selecionado. Assim, é possível usar o texto padrão para atuar como um lembrete para incluir partes importantes do modelo. Pode-se especificar o texto padrão para um marcador usando a sintaxe: ``${<number>:texto padrão}``."
162
163 #: ../../../__w/calibre/calibre/manual/snippets.rst:105
164 msgid ""
165 "The other new feature is that the second placeholder has an asterisk after "
166 "it (``${2*}``). This means that any text that was selected before expanding "
167 "the template is substituted for the placeholder. To see this in action, "
168 "select some text in the editor, press |ct|, type ``<a`` and press |ct| "
169 "again, the template will be expanded to::"
170 msgstr "O outro recurso novo é que o segundo marcador tem um asterisco depois dele (``${2*}``). Isto quer dizer que qualquer texto selecionado antes da expansão do modelo é substituído pelo marcador. Para ver como este recurso funciona, selecione algum texto no editor, pressione |ct|, digite ``<a`` e pressione |ct| novamente, o modelo será expandido para ::"
171
172 #: ../../../__w/calibre/calibre/manual/snippets.rst:114
173 msgid "Inserting an HTML image tag [<i]"
174 msgstr ""
175
176 #: ../../../__w/calibre/calibre/manual/snippets.rst:116
177 msgid ""
178 "This is very similar to inserting an HTML link, as we saw above. It allows "
179 "you to quickly input an ``<img src=\"filename\" alt=\"description\" />`` tag"
180 " and jump between the ``src`` and ``alt`` attributes::"
181 msgstr "Isto é bem semelhante a inserir um link HTML, como se viu acima. Ela permite que se coloque rapidamente uma ``<img src=\"filename\" alt=\"description\" />`` etiqueta e coloca entre os atributos ``src`` e ``alt``::"
182
183 #: ../../../__w/calibre/calibre/manual/snippets.rst:124
184 msgid "Insert an arbitrary HTML tag [<<]"
185 msgstr "Inserir uma etiqueta HTML aleatória [<<]"
186
187 #: ../../../__w/calibre/calibre/manual/snippets.rst:126
188 msgid ""
189 "This allows you to insert an arbitrary full HTML tag (or wrap previously "
190 "selected text in the tag). To use it, simply type ``<<`` and press |ct|. If "
191 "you want to wrap selected text, first select the text, press |ct| then type "
192 "``<<`` and press |ct| again. The editor will expand it to::"
193 msgstr ""
194
195 #: ../../../__w/calibre/calibre/manual/snippets.rst:134
196 msgid ""
197 "Type the tag name, for example: ``span`` and press |ct|, that will result "
198 "in::"
199 msgstr "Digite o nome da tag, por exemplo: ``span`` e pressione |ct|, isto irá resultar em::"
200
201 #: ../../../__w/calibre/calibre/manual/snippets.rst:138
202 msgid ""
203 "You will note that the closing tag has been automatically filled with "
204 "``span``. This is achieved with yet another feature of placeholders, "
205 "*mirroring*. Mirroring simply means that if you specify the same placeholder"
206 " more than once in a template, the second and all later positions will be "
207 "automatically filled in with whatever you type in the first position, when "
208 "you press |ct|. The definition for this snippet is::"
209 msgstr ""
210
211 #: ../../../__w/calibre/calibre/manual/snippets.rst:148
212 msgid ""
213 "As you can see, the first placeholder ($1) has been specified twice, the "
214 "second time in the closing tag, which will simply copy whatever you type in "
215 "the opening tag."
216 msgstr "Como é possível perceber, o primeiro marcador ($1) foi especificado duas vezes, a segunda vez na tag de fechamento, que simplesmente copiará o que for digitado na tag de abertura."
217
218 #: ../../../__w/calibre/calibre/manual/snippets.rst:153
219 msgid "Inserting an arbitrary HTML tag with a class attribute [<c]"
220 msgstr "A inserir uma etiqueta HTML aleatória com o atributo de classe [<c]"
221
222 #: ../../../__w/calibre/calibre/manual/snippets.rst:155
223 msgid ""
224 "This is very similar to the insert arbitrary tag example above, except that "
225 "it assumes that you want to specify a class for the tag::"
226 msgstr "Isto é semelhante ao exemplo de inserção arbitrária de etiqueta acima, exceto que se presume que se deseja especificar uma classe para a etiqueta::"
227
228 #: ../../../__w/calibre/calibre/manual/snippets.rst:161
229 msgid ""
230 "This will allow you to first type the tag name, press |ct|, type the class "
231 "name, press |ct| type the contents of the tag and press |ct| one last time "
232 "to jump out of the tag. The closing tag will be auto-filled."
233 msgstr "Isto irá permitir que se digite o nome da etiqueta primeiro, pressione |ct|, digite o nome da classe, pressione |ct|, digite o conteúdo da etiqueta e pressione |ct| uma última vez para sair da etiqueta. O fechamento da etiqueta irá ser auto-preenchido."
234
235 #: ../../../__w/calibre/calibre/manual/snippets.rst:167
236 msgid "Creating your own snippets"
237 msgstr "Criando seus próprios trechos"
238
239 #: ../../../__w/calibre/calibre/manual/snippets.rst:169
240 msgid ""
241 "Snippets really shine because you can create your own to suit your editing "
242 "style. To create your own snippets go to "
243 ":guilabel:`Edit->Preferences->Editor settings->Manage snippets` in the "
244 "editor. This will pop-up an easy to use dialog to help you create your own "
245 "snippets. Simply click the :guilabel:`Add snippet` button and you will see a"
246 " dialog that looks like:"
247 msgstr "Trechos são bastantes versáteis pois é possível criar um que seja adequado ao seu estilo de edição. Para criar seus trechos, vá para :guilabel:`Editar->Opções->Ajustes do editor->Gerenciar trechos` no editor. Irá aparecer uma tela fácil de itilizar, para ajudar a criar os seus trechos. Clique no botão :guilabel:`Adicionar trecho` e aparecerá uma tela semelhante a:"
248
249 #: ../../../__w/calibre/calibre/manual/snippets.rst:175
250 msgid "The create your own snippets tool"
251 msgstr "A ferramenta Criando seus próprios trechos"
252
253 #: ../../../__w/calibre/calibre/manual/snippets.rst:180
254 msgid ""
255 "First give your snippet a name, something descriptive, to help identify the "
256 "snippet in the future. Then specify the *trigger*. A trigger is simply the "
257 "text that you have to type in the editor before pressing |ct| in order to "
258 "expand the snippet."
259 msgstr "Primeiro dê um nome ao seu trecho, algo descritivo para identificá-lo no futuro. Depois especifique o *gatilho*. Um gatilho é simplesmente o texto que é necessário digitar no editor antes de pressionar |ct| para expandir o trecho."
260
261 #: ../../../__w/calibre/calibre/manual/snippets.rst:185
262 msgid ""
263 "Then specify the snippet template. You should start with one of the examples"
264 " above and modify it to suit your needs. Finally, specify which file types "
265 "you want the snippet to be active for. This way you can have multiple "
266 "snippets with the same trigger text that work differently in different file "
267 "types."
268 msgstr "Depois especifique o modelo do trecho. É recomendável começar com um dos exemplos acima e modificá-lo para se adequar às suas necessidades. Finalmente, especifique para quais tipos de arquivos você quer que o trecho esteja ativo. Assim, é possível ter vários trechos com o mesmo texto de gatilho que funcionarão de formas diferentes em tipos de arquivos diferentes."
269
270 #: ../../../__w/calibre/calibre/manual/snippets.rst:190
271 msgid ""
272 "The next step is to test your newly created snippet. Use the "
273 ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| "
274 "to expand the snippet and jump between placeholders."
275 msgstr "O próximo passo é testar o seu novo trecho criado. Use a caixa :guilabel:`Teste` na parte inferior. Digite o texto de ativação e pressione |ct| para expandir o trecho e mover-se entre os placeholders."