Debian Codegraph @

translations/manual/pt/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 # Paulo Pereira <[email protected]>, 2016,2019-2020,2022,2024
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: calibre\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2024-10-30 15:12+0000\n"
12 "PO-Revision-Date: 2015-01-10 01:24+0000\n"
13 "Last-Translator: Paulo Pereira <[email protected]>, 2016,2019-2020,2022,2024\n"
14 "Language-Team: Portuguese (http://app.transifex.com/calibre/calibre/language/pt/)\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Language: pt\n"
19 "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
20
21 #: ../../__w/calibre/calibre/manual/snippets.rst:2
22 msgid "Snippets"
23 msgstr "Trechos"
24
25 #: ../../__w/calibre/calibre/manual/snippets.rst:6
26 msgid ""
27 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
28 "that is either re-used often or contains a lot of redundant text. The editor"
29 " allows you to insert a snippet with only a few key strokes. For example, "
30 "suppose you often find yourself inserting link tags when editing HTML files,"
31 " then you can simply type ``<a`` in the editor and press |ct|. The editor "
32 "will expand it to::"
33 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:"
34
35 #: ../../__w/calibre/calibre/manual/snippets.rst:15
36 msgid ""
37 "Not only that, the word ``filename`` will be selected, with the cursor "
38 "placed over it, so that you can easily type in the real filename, using the "
39 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
40 "typing the filename, press |ct| again and the cursor will jump to the "
41 "position in between the ``<a>`` tags so you can easily type in the text for "
42 "the link."
43 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."
44
45 #: ../../__w/calibre/calibre/manual/snippets.rst:21
46 msgid ""
47 "The snippets system in the editor is very sophisticated, there are a few "
48 "built-in snippets and you can create your own to suit your editing style."
49 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."
50
51 #: ../../__w/calibre/calibre/manual/snippets.rst:24
52 msgid ""
53 "The following discussion of the built-in snippets should help illustrate the"
54 " power of the snippets system."
55 msgstr "A seguinte discussão sobre os trechos embutidos devem ajudar a ilustrar o poder do sistema de trechos."
56
57 #: ../../__w/calibre/calibre/manual/snippets.rst:28
58 msgid ""
59 "You can also use snippets in the text entry fields in the :guilabel:`Search "
60 "& replace` panel, however, placeholders (using |ct| to jump around) will not"
61 " work."
62 msgstr ""
63
64 #: ../../__w/calibre/calibre/manual/snippets.rst:33
65 msgid "The built-in snippets"
66 msgstr "Trechos integrados"
67
68 #: ../../__w/calibre/calibre/manual/snippets.rst:35
69 msgid ""
70 "The built-in snippets are described below. Note that you can override them "
71 "by creating your own snippets with the same trigger text."
72 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."
73
74 #: ../../__w/calibre/calibre/manual/snippets.rst:39
75 msgid "Inserting filler text [Lorem]"
76 msgstr "Inserindo texto de preenchimento [Lorem]"
77
78 #: ../../__w/calibre/calibre/manual/snippets.rst:41
79 msgid ""
80 "The first built-in snippet, and the simplest is used to insert filler text "
81 "into a document. The filler text is taken from `De finibus bonorum et "
82 "malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ a "
83 "philosophical work by Cicero (translated to English). To use it simply type "
84 "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of"
85 " paragraphs of filler."
86 msgstr ""
87
88 #: ../../__w/calibre/calibre/manual/snippets.rst:48
89 msgid ""
90 "The definition of this snippet is very simple, the trigger text is defined "
91 "as ``Lorem`` and the template is defined simply as the literal text to be "
92 "inserted. You can easily customize it to use your favorite form of filler "
93 "text."
94 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."
95
96 #: ../../__w/calibre/calibre/manual/snippets.rst:53
97 msgid "Inserting a self-closing HTML tag [<>]"
98 msgstr "Inserindo uma tag HTML de fechamento automático [<>]"
99
100 #: ../../__w/calibre/calibre/manual/snippets.rst:55
101 msgid ""
102 "Now let's look at a simple example of the powerful concept of "
103 "*placeholders*. Say you want to insert the self-closing tag ``<hr/>``. Just "
104 "type ``<>``, and press |ct|, the editor will expand the snippet to::"
105 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::"
106
107 #: ../../__w/calibre/calibre/manual/snippets.rst:61
108 msgid ""
109 "Here, the ``|`` symbol represents the current cursor position. You can then "
110 "type ``hr`` and press |ct| to move the cursor to after the end of the tag. "
111 "This snippet is defined as::"
112 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::"
113
114 #: ../../__w/calibre/calibre/manual/snippets.rst:68
115 msgid ""
116 "Placeholders are simply the dollar ($) sign followed by a number. When the "
117 "snippet is expanded by pressing |ct| the cursor is positioned at the first "
118 "placeholder (the placeholder with the lowest number). When you press |ct| "
119 "again the cursor jumps to the next placeholder (the placeholder with the "
120 "next higher number)."
121 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 (aquel com o próximo número superior)."
122
123 #: ../../__w/calibre/calibre/manual/snippets.rst:75
124 msgid "Inserting an HTML link tag [<a]"
125 msgstr "A inserir uma etiqueta de hiperligação HTML [<a]"
126
127 #: ../../__w/calibre/calibre/manual/snippets.rst:77
128 msgid ""
129 "HTML link tags all share a common structure. They have an ``href`` attribute"
130 " and some text between the opening and closing tags. A snippet to make "
131 "typing them more efficient will introduce us to some more features of "
132 "placeholders. To use this snippet, simply type ``<a`` and press |ct|. The "
133 "editor will expand this to::"
134 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::"
135
136 #: ../../__w/calibre/calibre/manual/snippets.rst:85
137 msgid ""
138 "Not only that, the word ``filename`` will be selected, with the cursor "
139 "placed over it, so that you can easily type in the real filename, using the "
140 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
141 "typing the filename, press |ct| again and the cursor will jump to the "
142 "position in between the ``<a>`` tags so you can easily type in the text for "
143 "the link. After you are done typing the text, press |ct| again to jump to "
144 "the point after the closing tag. This snippet is defined as::"
145 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::"
146
147 #: ../../__w/calibre/calibre/manual/snippets.rst:96
148 msgid ""
149 "There are a couple of new features here. First the ``$1`` placeholder has "
150 "become more complex. It now includes some *default text* (the word "
151 "``filename``). If a placeholder contains default text, the default text is "
152 "substituted for the placeholder when the snippet is expanded. Also when you "
153 "jump to a placeholder with default text using |ct|, the default text is "
154 "selected. In this way, you can use default text to act as a reminder to you "
155 "to fill in important parts of the template. You can specify default text for"
156 " a placeholder by using the syntax: ``${<number>:default text}``."
157 msgstr ""
158
159 #: ../../__w/calibre/calibre/manual/snippets.rst:105
160 msgid ""
161 "The other new feature is that the second placeholder has an asterisk after "
162 "it (``${2*}``). This means that any text that was selected before expanding "
163 "the template is substituted for the placeholder. To see this in action, "
164 "select some text in the editor, press |ct|, type ``<a`` and press |ct| "
165 "again, the template will be expanded to::"
166 msgstr ""
167
168 #: ../../__w/calibre/calibre/manual/snippets.rst:114
169 msgid "Inserting a HTML image tag [<i]"
170 msgstr ""
171
172 #: ../../__w/calibre/calibre/manual/snippets.rst:116
173 msgid ""
174 "This is very similar to inserting an HTML link, as we saw above. It allows "
175 "you to quickly input an ``<img src=\"filename\" alt=\"description\" />`` tag"
176 " and jump between the ``src`` and ``alt`` attributes::"
177 msgstr ""
178
179 #: ../../__w/calibre/calibre/manual/snippets.rst:124
180 msgid "Insert an arbitrary HTML tag [<<]"
181 msgstr "Inserir uma etiqueta HTML aleatória [<<]"
182
183 #: ../../__w/calibre/calibre/manual/snippets.rst:126
184 msgid ""
185 "This allows you to insert an arbitrary full HTML tag (or wrap previously "
186 "selected text in the tag). To use it, simply type ``<<`` and press |ct|. The"
187 " editor will expand it to::"
188 msgstr ""
189
190 #: ../../__w/calibre/calibre/manual/snippets.rst:132
191 msgid ""
192 "Type the tag name, for example: ``span`` and press |ct|, that will result "
193 "in::"
194 msgstr "Digite o nome da etiqueta, por exemplo: ``span`` e pressione |ct|, isto irá resultar em:"
195
196 #: ../../__w/calibre/calibre/manual/snippets.rst:136
197 msgid ""
198 "You will note that the closing tag has been automatically filled with "
199 "``span``. This is achieved with yet another feature of placeholders, "
200 "*mirroring*. Mirroring simply means that if you specify the sample "
201 "placeholder more than once in a template, the second and all later positions"
202 " will be automatically filled in with whatever you type in the first "
203 "position, when you press |ct|. The definition for this snippet is::"
204 msgstr ""
205
206 #: ../../__w/calibre/calibre/manual/snippets.rst:146
207 msgid ""
208 "As you can see, the first placeholder ($1) has been specified twice, the "
209 "second time in the closing tag, which will simply copy whatever you type in "
210 "the opening tag."
211 msgstr ""
212
213 #: ../../__w/calibre/calibre/manual/snippets.rst:151
214 msgid "Inserting an arbitrary HTML tag with a class attribute [<c]"
215 msgstr "A inserir uma etiqueta HTML aleatória com o atributo de classe [<c]"
216
217 #: ../../__w/calibre/calibre/manual/snippets.rst:153
218 msgid ""
219 "This is very similar to the insert arbitrary tag example above, except that "
220 "it assumes that you want to specify a class for the tag::"
221 msgstr ""
222
223 #: ../../__w/calibre/calibre/manual/snippets.rst:159
224 msgid ""
225 "This will allow you to first type the tag name, press |ct|, type the class "
226 "name, press |ct| type the contents of the tag and press |ct| one last time "
227 "to jump out of the tag. The closing tag will be auto-filled."
228 msgstr ""
229
230 #: ../../__w/calibre/calibre/manual/snippets.rst:165
231 msgid "Creating your own snippets"
232 msgstr "Criar os seus próprios trechos"
233
234 #: ../../__w/calibre/calibre/manual/snippets.rst:167
235 msgid ""
236 "Snippets really shine because you can create your own to suit your editing "
237 "style. To create your own snippets go to "
238 ":guilabel:`Edit->Preferences->Editor settings->Manage snippets` in the "
239 "editor. This will pop-up an easy to use dialog to help you create your own "
240 "snippets. Simply click the :guilabel:`Add snippet` button and you will see a"
241 " dialog that looks like:"
242 msgstr ""
243
244 #: ../../__w/calibre/calibre/manual/snippets.rst:173
245 msgid "The create your own snippets tool"
246 msgstr ""
247
248 #: ../../__w/calibre/calibre/manual/snippets.rst:178
249 msgid ""
250 "First give your snippet a name, something descriptive, to help identify the "
251 "snippet in the future. Then specify the *trigger*. A trigger is simply the "
252 "text that you have to type in the editor before pressing |ct| in order to "
253 "expand the snippet."
254 msgstr ""
255
256 #: ../../__w/calibre/calibre/manual/snippets.rst:183
257 msgid ""
258 "Then specify the snippet template. You should start with one of the examples"
259 " above and modify it to suit your needs. Finally, specify which file types "
260 "you want the snippet to be active for. This way you can have multiple "
261 "snippets with the same trigger text that work differently in different file "
262 "types."
263 msgstr ""
264
265 #: ../../__w/calibre/calibre/manual/snippets.rst:188
266 msgid ""
267 "The next step is to test your newly created snippet. Use the "
268 ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| "
269 "to expand the snippet and jump between placeholders."
270 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."