Debian Codegraph @

doc/man/po4a/po/pt.po

raw
1 # Translation of debconf's manpage to Portuguese
2 # Copyright (C) 2010 Free Software Foundation, Inc.
3 # This file is distributed under the same license as the debconf package.
4 #
5 # Américo Monteiro <[email protected]>, 2010 - 2019.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: debconf 1.5.71\n"
9 "POT-Creation-Date: 2024-01-21 19:23+0000\n"
10 "PO-Revision-Date: 2019-04-19 13:19+0000\n"
11 "Last-Translator: Américo Monteiro <[email protected]>\n"
12 "Language-Team: Portuguese <>\n"
13 "Language: pt\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: ENCODINGX-Generator: Lokalize 1.0\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Lokalize 2.0\n"
19
20 #. type: SH
21 #: ../../debconf:3 ../../Debconf/Client/ConfModule.pm:3
22 #: ../../debconf-apt-progress:3 ../../debconf-escape:3
23 #: ../../debconf-communicate:3 ../../debconf-copydb:3 ../../debconf-getlang:3
24 #: ../../debconf-get-selections:3 ../../debconf-loadtemplate:3
25 #: ../../debconf-mergetemplate:3 ../../debconf-set-selections:3
26 #: ../../debconf-show:3 ../../dpkg-preconfigure:3 ../../dpkg-reconfigure:3
27 #: debconf.conf.5:2 confmodule.3:2 debconf.7:2 debconf-devel.7:2
28 #, no-wrap
29 msgid "NAME"
30 msgstr "NOME"
31
32 #. type: textblock
33 #: ../../debconf:5
34 msgid "debconf - run a debconf-using program"
35 msgstr "debconf - executa um programa usando debconf"
36
37 #. type: SH
38 #: ../../debconf:9 ../../Debconf/Client/ConfModule.pm:7
39 #: ../../debconf-apt-progress:7 ../../debconf-escape:7
40 #: ../../debconf-communicate:9 ../../debconf-copydb:17 ../../debconf-getlang:16
41 #: ../../debconf-get-selections:7 ../../debconf-loadtemplate:14
42 #: ../../debconf-mergetemplate:17 ../../debconf-set-selections:7
43 #: ../../debconf-show:7 ../../dpkg-preconfigure:7 ../../dpkg-reconfigure:7
44 #: debconf.conf.5:12 confmodule.3:4
45 #, no-wrap
46 msgid "SYNOPSIS"
47 msgstr "SINOPSE"
48
49 #. type: verbatim
50 #: ../../debconf:11
51 #, no-wrap
52 msgid ""
53 " debconf [options] command [args]\n"
54 "\n"
55 msgstr ""
56 " debconf [opções] comando [argumentos]\n"
57 "\n"
58
59 #. type: SH
60 #: ../../debconf:13 ../../Debconf/Client/ConfModule.pm:20
61 #: ../../debconf-apt-progress:15 ../../debconf-escape:12
62 #: ../../debconf-communicate:13 ../../debconf-copydb:30
63 #: ../../debconf-getlang:21 ../../debconf-get-selections:11
64 #: ../../debconf-loadtemplate:18 ../../debconf-mergetemplate:21
65 #: ../../debconf-set-selections:12 ../../debconf-show:13
66 #: ../../dpkg-preconfigure:13 ../../dpkg-reconfigure:11 debconf.conf.5:4
67 #: confmodule.3:12 debconf.7:4 debconf-devel.7:4
68 #, no-wrap
69 msgid "DESCRIPTION"
70 msgstr "DESCRIÇÃO"
71
72 #. type: textblock
73 #: ../../debconf:15
74 msgid ""
75 "Debconf is a configuration system for Debian packages. For a debconf "
76 "overview and documentation for sysadmins, see L<debconf(7)> (in the debconf-"
77 "doc package)."
78 msgstr ""
79 "Debconf é um sistema de configuração para pacotes Debian. Para uma visão "
80 "geral do debconf e documentação para administradores de sistemas, veja "
81 "L<debconf(7)> (no pacote debconf-doc)."
82
83 #. type: textblock
84 #: ../../debconf:19
85 msgid ""
86 "The B<debconf> program runs a program under debconf's control, setting it up "
87 "to talk with debconf on stdio. The program's output is expected to be "
88 "debconf protocol commands, and it is expected to read result codes on stdin. "
89 "See L<debconf-devel(7)> for details about the debconf protocol."
90 msgstr ""
91 "O programa B<debconf> executa um programa sob o controle do debconf, "
92 "configurando-o para falar com o debconf em stdio. Espera-se que os "
93 "resultados de saída do programa estejam em protocolo debconf, e espera-se "
94 "ler códigos dos resultados no stdin. Veja L<debconf-devel(7)> para detalhes "
95 "acerca do protocolo debconf."
96
97 #. type: textblock
98 #: ../../debconf:24
99 msgid ""
100 "The command to be run under debconf must be specified in a way that will let "
101 "your PATH find it."
102 msgstr ""
103 "O comando a executar sob debconf tem de ser especificado de modo que permita "
104 "que a sua PATH o encontre."
105
106 #. type: textblock
107 #: ../../debconf:27
108 msgid ""
109 "This command is not the usual way that debconf is used. It's more typical "
110 "for debconf to be used via L<dpkg-preconfigure(8)> or L<dpkg-reconfigure(8)>."
111 msgstr ""
112 "Este comando não é o modo habitual de utilização do debconf. Tipicamente, é "
113 "mais comum usar o debconf via L<dpkg-preconfigure(8)> ou L<dpkg-"
114 "reconfigure(8)>."
115
116 #. type: =head1
117 #: ../../debconf:30 ../../debconf-apt-progress:43 ../../debconf-copydb:36
118 #: ../../debconf-mergetemplate:45 ../../debconf-set-selections:56
119 #: ../../debconf-show:24 ../../dpkg-preconfigure:20 ../../dpkg-reconfigure:21
120 msgid "OPTIONS"
121 msgstr "OPÇÕES"
122
123 #. type: =item
124 #: ../../debconf:34
125 msgid "B<-o>I<package>, B<--owner=>I<package>"
126 msgstr "B<-o>I<package>, B<--owner=>I<package>"
127
128 #. type: textblock
129 #: ../../debconf:36
130 msgid ""
131 "Tell debconf what package the command it is running is a part of. This is "
132 "necessary to get ownership of registered questions right, and to support "
133 "unregister and purge commands properly."
134 msgstr ""
135 "Diz ao debconf a qual pacote pertence o comando que está a executar. Isto é "
136 "necessário para obter direitos de dono das questões registadas, e para "
137 "suportar propriamente comandos não registados e purgados."
138
139 #. type: =item
140 #: ../../debconf:40 ../../dpkg-preconfigure:24 ../../dpkg-reconfigure:25
141 msgid "B<-f>I<type>, B<--frontend=>I<type>"
142 msgstr "B<-f>I<type>, B<--frontend=>I<type>"
143
144 #. type: textblock
145 #: ../../debconf:42 ../../dpkg-preconfigure:26
146 msgid "Select the frontend to use."
147 msgstr "Selecciona o frontend a usar."
148
149 #. type: =item
150 #: ../../debconf:44 ../../dpkg-preconfigure:28 ../../dpkg-reconfigure:36
151 msgid "B<-p>I<value>, B<--priority=>I<value>"
152 msgstr "B<-p>I<value>, B<--priority=>I<value>"
153
154 #. type: textblock
155 #: ../../debconf:46
156 msgid "Specify the minimum priority of question that will be displayed."
157 msgstr "Especifica a prioridade mínima da questão que vai ser mostrada."
158
159 #. type: =item
160 #: ../../debconf:48 ../../dpkg-preconfigure:34 ../../dpkg-reconfigure:42
161 msgid "B<--terse>"
162 msgstr "B<--terse>"
163
164 #. type: textblock
165 #: ../../debconf:50 ../../dpkg-preconfigure:36 ../../dpkg-reconfigure:44
166 msgid "Enables terse output mode. This affects only some frontends."
167 msgstr "Activa o modo de saída terse. Isto afecta apenas alguns frontends."
168
169 #. type: =head1
170 #: ../../debconf:54 ../../debconf-apt-progress:107 ../../debconf-copydb:75
171 #: ../../debconf-set-selections:47
172 msgid "EXAMPLES"
173 msgstr "EXEMPLOS"
174
175 #. type: textblock
176 #: ../../debconf:56
177 msgid "To debug a shell script that uses debconf, you might use:"
178 msgstr "Para depurar um script shell que usa debconf, você pode usar:"
179
180 #. type: verbatim
181 #: ../../debconf:58
182 #, no-wrap
183 msgid ""
184 " DEBCONF_DEBUG=developer debconf my-shell-prog\n"
185 "\n"
186 msgstr ""
187 " DEBCONF_DEBUG=developer debconf meu-prog-shell\n"
188 "\n"
189
190 #. type: textblock
191 #: ../../debconf:60
192 msgid "Or, you might use this:"
193 msgstr "Ou, você pode usar isto:"
194
195 #. type: verbatim
196 #: ../../debconf:62
197 #, no-wrap
198 msgid ""
199 " debconf --frontend=readline sh -x my-shell-prog\n"
200 "\n"
201 msgstr ""
202 " debconf --frontend=readline sh -x meu-prog-shell\n"
203 "\n"
204
205 #. type: SH
206 #: ../../debconf:64 ../../Debconf/Client/ConfModule.pm:154
207 #: ../../debconf-escape:21 ../../debconf-communicate:39
208 #: ../../debconf-copydb:102 ../../debconf-getlang:74
209 #: ../../debconf-loadtemplate:31 ../../debconf-mergetemplate:61
210 #: ../../debconf-set-selections:70 ../../dpkg-preconfigure:59
211 #: ../../dpkg-reconfigure:77 debconf.conf.5:537 confmodule.3:36 debconf.7:376
212 #: debconf-devel.7:958
213 #, no-wrap
214 msgid "SEE ALSO"
215 msgstr "VEJA TAMBÉM"
216
217 #. type: textblock
218 #: ../../debconf:66
219 msgid "L<debconf-devel(7)>, L<debconf(7)>"
220 msgstr "L<debconf-devel(7)>, L<debconf(7)>"
221
222 #. type: SH
223 #: ../../debconf:117 ../../Debconf/Client/ConfModule.pm:159
224 #: ../../debconf-escape:72 ../../debconf-communicate:74
225 #: ../../debconf-copydb:175 ../../debconf-getlang:256
226 #: ../../debconf-get-selections:78 ../../debconf-loadtemplate:48
227 #: ../../debconf-mergetemplate:181 ../../debconf-set-selections:226
228 #: ../../debconf-show:152 ../../dpkg-preconfigure:258
229 #: ../../dpkg-reconfigure:309 debconf.conf.5:539 confmodule.3:42 debconf.7:382
230 #: debconf-devel.7:968
231 #, no-wrap
232 msgid "AUTHOR"
233 msgstr "AUTOR"
234
235 #. type: textblock
236 #: ../../debconf:119 ../../Debconf/Client/ConfModule.pm:161
237 #: ../../debconf-apt-progress:658 ../../debconf-communicate:76
238 #: ../../debconf-copydb:177 ../../debconf-getlang:258
239 #: ../../debconf-loadtemplate:50 ../../debconf-mergetemplate:183
240 #: ../../dpkg-preconfigure:260 ../../dpkg-reconfigure:311
241 msgid "Joey Hess <[email protected]>"
242 msgstr "Joey Hess <[email protected]>"
243
244 #. type: textblock
245 #: ../../Debconf/Client/ConfModule.pm:5
246 msgid "Debconf::Client::ConfModule - client module for ConfModules"
247 msgstr "Debconf::Client::ConfModule - módulo cliente para ConfModules"
248
249 #. type: verbatim
250 #: ../../Debconf/Client/ConfModule.pm:9
251 #, no-wrap
252 msgid ""
253 " use Debconf::Client::ConfModule ':all';\n"
254 " version('2.0');\n"
255 " my $capb=capb('backup');\n"
256 " input(\"medium\", \"foo/bar\");\n"
257 " my @ret=go();\n"
258 " if ($ret[0] == 30) {\n"
259 " \t# Back button pressed.\n"
260 " \t...\n"
261 " }\n"
262 " ...\n"
263 "\n"
264 msgstr ""
265 " use Debconf::Client::ConfModule ':all';\n"
266 " version('2.0');\n"
267 " my $capb=capb('backup');\n"
268 " input(\"medium\", \"foo/bar\");\n"
269 " my @ret=go();\n"
270 " if ($ret[0] == 30) {\n"
271 " \t# Botão de retrocesso premido.\n"
272 " \t...\n"
273 " }\n"
274 " ...\n"
275 "\n"
276
277 #. type: textblock
278 #: ../../Debconf/Client/ConfModule.pm:22
279 msgid ""
280 "This is a module to ease writing ConfModules for Debian's configuration "
281 "management system. It can communicate with a FrontEnd via the debconf "
282 "protocol (which is documented in full in the debconf_specification in Debian "
283 "policy)."
284 msgstr ""
285 "Isto é um módulo para facilitar a escrita de ConfModules para o sistema de "
286 "gestão de configuração de Debian. Pode comunicar com um FrontEnd através do "
287 "protocolo debconf (que está documentado em completo na debconf_specification "
288 "na política Debian)."
289
290 #. type: textblock
291 #: ../../Debconf/Client/ConfModule.pm:27
292 msgid ""
293 "The design is that each command in the protocol is represented by one "
294 "function in this module (with the name lower-cased). Call the function and "
295 "pass in any parameters you want to follow the command. If the function is "
296 "called in scalar context, it will return any textual return code. If it is "
297 "called in list context, an array consisting of the numeric return code and "
298 "the textual return code will be returned."
299 msgstr ""
300 "É desenhado para que cada comando no protocolo seja representado por uma "
301 "função neste módulo (com o nome em minúsculas). Chame a função e passe "
302 "quaisquer parâmetros que desejar seguindo o comando. Se a função for chamada "
303 "em contexto escalar, irá devolver qualquer código de retorno. Se for chamada "
304 "em contexto de lista, será devolvida uma matriz consistindo dos códigos de "
305 "retorno numéricos e dos códigos de retorno textuais."
306
307 #. type: textblock
308 #: ../../Debconf/Client/ConfModule.pm:34
309 msgid ""
310 "This module uses Exporter to export all functions it defines. To import "
311 "everything, simply import \":all\"."
312 msgstr ""
313 "Este módulo usa Exporter para exportar todas as funções que define. Para "
314 "importar tudo, simplesmente importe \":all\"."
315
316 #. type: =item
317 #: ../../Debconf/Client/ConfModule.pm:62
318 msgid "import"
319 msgstr "importar"
320
321 #. type: textblock
322 #: ../../Debconf/Client/ConfModule.pm:64
323 msgid ""
324 "Ensure that a FrontEnd is running. It's a little hackish. If "
325 "DEBIAN_HAS_FRONTEND is set, a FrontEnd is assumed to be running. If not, "
326 "one is started up automatically and stdin and out are connected to it. Note "
327 "that this function is always run when the module is loaded in the usual way."
328 msgstr ""
329 "Assegura que um FrontEnd está a correr. É um desenrasque. Se "
330 "DEBIAN_HAS_FRONTEND estiver definido, assume-se que um FrontEnd está em "
331 "execução. Se não, é iniciado um automaticamente e o stdin e out são ligados "
332 "a ele. Note que esta função está sempre em execução quando o módulo é "
333 "carregado da maneira normal."
334
335 #. type: =item
336 #: ../../Debconf/Client/ConfModule.pm:95
337 msgid "stop"
338 msgstr "parar"
339
340 #. type: textblock
341 #: ../../Debconf/Client/ConfModule.pm:97
342 msgid ""
343 "The frontend doesn't send a return code here, so we cannot try to read it or "
344 "we'll block."
345 msgstr ""
346 "Aqui o frontend não envia um código de retorno, portanto não podemos tentar "
347 "lê-lo ou vamos bloquear."
348
349 #. type: =item
350 #: ../../Debconf/Client/ConfModule.pm:107
351 msgid "AUTOLOAD"
352 msgstr "AUTOCARGA"
353
354 #. type: textblock
355 #: ../../Debconf/Client/ConfModule.pm:109
356 msgid "Creates handler functions for commands on the fly."
357 msgstr "Cria na hora funções de manipulação para comandos."
358
359 #. type: textblock
360 #: ../../Debconf/Client/ConfModule.pm:156
361 msgid ""
362 "The debconf specification (/usr/share/doc/debian-policy/"
363 "debconf_specification.txt.gz)."
364 msgstr ""
365 "A especificação debconf (/usr/share/doc/debian-policy/debconf_specification."
366 "txt.gz)."
367
368 #. type: textblock
369 #: ../../debconf-apt-progress:5
370 msgid ""
371 "debconf-apt-progress - install packages using debconf to display a progress "
372 "bar"
373 msgstr ""
374 "debconf-apt-progress - instala pacotes usando o debconf para mostrar uma "
375 "barra de progresso"
376
377 #. type: verbatim
378 #: ../../debconf-apt-progress:9
379 #, no-wrap
380 msgid ""
381 " debconf-apt-progress [--] command [args ...]\n"
382 " debconf-apt-progress --config\n"
383 " debconf-apt-progress --start\n"
384 " debconf-apt-progress --from waypoint --to waypoint [--] command [args ...]\n"
385 " debconf-apt-progress --stop\n"
386 "\n"
387 msgstr ""
388 " debconf-apt-progress [--] comando [argumentos ...]\n"
389 " debconf-apt-progress --config\n"
390 " debconf-apt-progress --start\n"
391 " debconf-apt-progress --from waypoint --to waypoint [--] comando [argumentos ...]\n"
392 " debconf-apt-progress --stop\n"
393 "\n"
394
395 #. type: textblock
396 #: ../../debconf-apt-progress:17
397 msgid ""
398 "B<debconf-apt-progress> installs packages using debconf to display a "
399 "progress bar. The given I<command> should be any command-line apt frontend; "
400 "specifically, it must send progress information to the file descriptor "
401 "selected by the C<APT::Status-Fd> configuration option, and must keep the "
402 "file descriptors nominated by the C<APT::Keep-Fds> configuration option open "
403 "when invoking debconf (directly or indirectly), as those file descriptors "
404 "will be used for the debconf passthrough protocol."
405 msgstr ""
406 "B<debconf-apt-progress> instala pacotes usando o debconf para mostrar uma "
407 "barra de progresso. O I<comando> fornecido deve ser qualquer frontend do apt "
408 "de linha de comandos; especificamente, deve enviar informação do processo "
409 "para o descritor de ficheiro seleccionado pela opção de configuração C<APT::"
410 "Status-Fd>, e deve manter os descritores de ficheiro nomeados pela opção de "
411 "configuração C<APT::Keep-Fds> abertos quando invoca o debconf (directamente "
412 "ou indirectamente), porque esses descritores de ficheiro irão ser usados "
413 "para o protocolo de passagem do debconf."
414
415 #. type: textblock
416 #: ../../debconf-apt-progress:25
417 msgid ""
418 "The arguments to the command you supply should generally include B<-y> (for "
419 "B<apt-get> or B<aptitude>) or similar to avoid the apt frontend prompting "
420 "for input. B<debconf-apt-progress> cannot do this itself because the "
421 "appropriate argument may differ between apt frontends."
422 msgstr ""
423 "Os argumentos para o comando que você forneça devem geralmente incluir B<-y> "
424 "(para o B<apt-get> ou B<aptitude>) ou semelhante para evitar que o frontend "
425 "do apt pare a aguardar entradas. B<debconf-apt-progress> não pode fazer "
426 "isto por si próprio porque o argumento apropriado pode diferir entre "
427 "frontends do apt."
428
429 #. type: textblock
430 #: ../../debconf-apt-progress:30
431 msgid ""
432 "The B<--start>, B<--stop>, B<--from>, and B<--to> options may be used to "
433 "create a progress bar with multiple segments for different stages of "
434 "installation, provided that the caller is a debconf confmodule. The caller "
435 "may also interact with the progress bar itself using the debconf protocol if "
436 "it so desires."
437 msgstr ""
438 "As opções B<--start>, B<--stop>, B<--from>, e B<--to> podem ser usadas para "
439 "criar uma barra de progresso com múltiplos segmentos para os diferentes "
440 "estágios de instalação, desde de que quem chama seja um confmodule debconf. "
441 "O chamador também pode interagir com a barra de progresso usando o protocolo "
442 "debconf se o desejar."
443
444 #. type: textblock
445 #: ../../debconf-apt-progress:36
446 msgid ""
447 "debconf locks its config database when it starts up, which makes it "
448 "unfortunately inconvenient to have one instance of debconf displaying the "
449 "progress bar and another passing through questions from packages being "
450 "installed. If you're using a multiple-segment progress bar, you'll need to "
451 "eval the output of the B<--config> option before starting the debconf "
452 "frontend to work around this. See L<the EXAMPLES section/EXAMPLES> below."
453 msgstr ""
454 "O debconf tranca a sua base de dados de configuração quando arranca, o que "
455 "infelizmente torna inconveniente ter uma instância do debconf a mostrar a "
456 "barra de progresso e outra a passar as perguntas do pacote que está a ser "
457 "instalado. Se você está a usar uma barra de progresso de múltiplos "
458 "segmentos, você tem que avaliar a saída da opção B<--config> antes de "
459 "arrancar o frontend do debconf para contornar isto. Veja L<os EXEMPLOS na "
460 "secção/EXEMPLOS> em baixo."
461
462 #. type: =item
463 #: ../../debconf-apt-progress:47
464 msgid "B<--config>"
465 msgstr "B<--config>"
466
467 #. type: textblock
468 #: ../../debconf-apt-progress:49
469 msgid ""
470 "Print environment variables necessary to start up a progress bar frontend."
471 msgstr ""
472 "Escreve as variáveis de ambiente necessárias para iniciar um frontend de "
473 "barra de progresso."
474
475 #. type: =item
476 #: ../../debconf-apt-progress:51
477 msgid "B<--start>"
478 msgstr "B<--start>"
479
480 #. type: textblock
481 #: ../../debconf-apt-progress:53
482 msgid ""
483 "Start up a progress bar, running from 0 to 100 by default. Use B<--from> and "
484 "B<--to> to use other endpoints."
485 msgstr ""
486 "Inicia uma barra de progresso, correndo por predefinição de 0 a 100. Use B<--"
487 "from> and B<--to> para usar outros pontos de finalização."
488
489 #. type: =item
490 #: ../../debconf-apt-progress:56
491 msgid "B<--from> I<waypoint>"
492 msgstr "B<--from> I<waypoint>"
493
494 #. type: textblock
495 #: ../../debconf-apt-progress:58
496 msgid ""
497 "If used with B<--start>, make the progress bar begin at I<waypoint> rather "
498 "than 0."
499 msgstr ""
500 "Se usado com B<--start>, faz com que a barra de progresso comece em "
501 "I<waypoint> em vez de 0."
502
503 #. type: textblock
504 #: ../../debconf-apt-progress:61
505 msgid ""
506 "Otherwise, install packages with their progress bar beginning at this "
507 "\"waypoint\". Must be used with B<--to>."
508 msgstr ""
509 "Caso contrário, instala os pacotes com a sua barra de progresso começando "
510 "neste \"waypoint\". Tem de ser usado com B<--to>."
511
512 #. type: =item
513 #: ../../debconf-apt-progress:64
514 msgid "B<--to> I<waypoint>"
515 msgstr "B<--to> I<waypoint>"
516
517 #. type: textblock
518 #: ../../debconf-apt-progress:66
519 msgid ""
520 "If used with B<--start>, make the progress bar end at I<waypoint> rather "
521 "than 100."
522 msgstr ""
523 "Se usado com B<--start>, faz com que a barra de progresso terminar em "
524 "I<waypoint> em vez de 100."
525
526 #. type: textblock
527 #: ../../debconf-apt-progress:69
528 msgid ""
529 "Otherwise, install packages with their progress bar ending at this "
530 "\"waypoint\". Must be used with B<--from>."
531 msgstr ""
532 "Caso contrário, instala os pacotes com a sua barra de progresso terminando "
533 "neste \"waypoint\". Tem de ser usado com B<--from>."
534
535 #. type: =item
536 #: ../../debconf-apt-progress:72
537 msgid "B<--stop>"
538 msgstr "B<--stop>"
539
540 #. type: textblock
541 #: ../../debconf-apt-progress:74
542 msgid "Stop a running progress bar."
543 msgstr "Pára uma barra de progresso em execução."
544
545 #. type: =item
546 #: ../../debconf-apt-progress:76
547 msgid "B<--no-progress>"
548 msgstr "B<--no-progress>"
549
550 #. type: textblock
551 #: ../../debconf-apt-progress:78
552 msgid ""
553 "Avoid starting, stopping, or stepping the progress bar. Progress messages "
554 "from apt, media change events, and debconf questions will still be passed "
555 "through to debconf."
556 msgstr ""
557 "Evita o arranque, paragem e passos da barra de progressos. As mensagens de "
558 "progresso do apt, eventos de alteração de media, e perguntas do debconf "
559 "serão mesmo assim passadas através do debconf."
560
561 #. type: =item
562 #: ../../debconf-apt-progress:82
563 msgid "B<--dlwaypoint> I<percentage>"
564 msgstr "B<--dlwaypoint> I<percentage>"
565
566 #. type: textblock
567 #: ../../debconf-apt-progress:84
568 msgid ""
569 "Specify what percent of the progress bar to use for downloading packages. "
570 "The remainder will be used for installing packages. The default is to use "
571 "15% for downloading and the remaining 85% for installing."
572 msgstr ""
573 "Especifica qual a percentagem da barra de progresso é usada para download de "
574 "pacotes. O restante será usado para a instalação dos pacotes. A predefinição "
575 "que se usa é 15% para o download e os restantes 85% para a instalação."
576
577 #. type: =item
578 #: ../../debconf-apt-progress:88
579 msgid "B<--logfile> I<file>"
580 msgstr "B<--logfile> I<file>"
581
582 #. type: textblock
583 #: ../../debconf-apt-progress:90
584 msgid "Send the normal output from apt to the given file."
585 msgstr "Envia a saída normal do apt para o ficheiro fornecido."
586
587 #. type: =item
588 #: ../../debconf-apt-progress:92
589 msgid "B<--logstderr>"
590 msgstr "B<--logstderr>"
591
592 #. type: textblock
593 #: ../../debconf-apt-progress:94
594 msgid ""
595 "Send the normal output from apt to stderr. If you supply neither B<--"
596 "logfile> nor B<--logstderr>, the normal output from apt will be discarded."
597 msgstr ""
598 "Envia a saída normal do apt para o stderr. Se você não fornecer nem B<--"
599 "logfile> nem B<--logstderr>, a saída normal do apt será descartada."
600
601 #. type: =item
602 #: ../../debconf-apt-progress:98
603 msgid "B<-->"
604 msgstr "B<-->"
605
606 #. type: textblock
607 #: ../../debconf-apt-progress:100
608 msgid ""
609 "Terminate options. Since you will normally need to give at least the B<-y> "
610 "argument to the command being run, you will usually need to use B<--> to "
611 "prevent that being interpreted as an option to B<debconf-apt-progress> "
612 "itself."
613 msgstr ""
614 "Termina as opções. Como você normalmente precisa de fornecer pelo menos o "
615 "argumento B<-y> ao comando que está a ser executado, normalmente irá "
616 "precisar de usar B<--> para prevenir que isso seja interpretado como uma "
617 "opção para o próprio B<debconf-apt-progress>."
618
619 #. type: textblock
620 #: ../../debconf-apt-progress:109
621 msgid ""
622 "Install the GNOME desktop and an X window system development environment "
623 "within a progress bar:"
624 msgstr ""
625 "Instala o ambiente de trabalho GNOME e um ambiente de desenvolvimento do "
626 "sistema de janelas X dentro duma barra de progresso:"
627
628 #. type: verbatim
629 #: ../../debconf-apt-progress:112
630 #, no-wrap
631 msgid ""
632 " debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
633 "\n"
634 msgstr ""
635 " debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
636 "\n"
637
638 #. type: textblock
639 #: ../../debconf-apt-progress:114
640 msgid ""
641 "Install the GNOME, KDE, and XFCE desktops within a single progress bar, "
642 "allocating 45% of the progress bar for each of GNOME and KDE and the "
643 "remaining 10% for XFCE:"
644 msgstr ""
645 "Instala os ambientes GNOME, KDE e XFCE dentro duma única barra de progresso, "
646 "alocando 45% da barra de progresso para cada GNOME e KDE e os restantes 10% "
647 "para o XFCE:"
648
649 #. type: verbatim
650 #: ../../debconf-apt-progress:118
651 #, no-wrap
652 msgid ""
653 " #! /bin/sh\n"
654 " set -e\n"
655 " case $1 in\n"
656 " '')\n"
657 " eval \"$(debconf-apt-progress --config)\"\n"
658 " \"$0\" debconf\n"
659 " ;;\n"
660 " debconf)\n"
661 " . /usr/share/debconf/confmodule\n"
662 " debconf-apt-progress --start\n"
663 " debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
664 " debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
665 " debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
666 " debconf-apt-progress --stop\n"
667 " ;;\n"
668 " esac\n"
669 "\n"
670 msgstr ""
671 " #! /bin/sh\n"
672 " set -e\n"
673 " case $1 in\n"
674 " '')\n"
675 " eval \"$(debconf-apt-progress --config)\"\n"
676 " \"$0\" debconf\n"
677 " ;;\n"
678 " debconf)\n"
679 " . /usr/share/debconf/confmodule\n"
680 " debconf-apt-progress --start\n"
681 " debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
682 " debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
683 " debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
684 " debconf-apt-progress --stop\n"
685 " ;;\n"
686 " esac\n"
687 "\n"
688
689 #. type: =head1
690 #: ../../debconf-apt-progress:135
691 msgid "RETURN CODE"
692 msgstr "CÓDIGO DE RETORNO"
693
694 #. type: textblock
695 #: ../../debconf-apt-progress:137
696 msgid ""
697 "The exit code of the specified command is returned, unless the user hit the "
698 "cancel button on the progress bar. If the cancel button was hit, a value of "
699 "30 is returned. To avoid ambiguity, if the command returned 30, a value of 3 "
700 "will be returned."
701 msgstr ""
702 "O código de saída do comando especificado é devolvido, a menos que o "
703 "utilizador carregue no botão 'cancelar' na barra de progresso. Se o botão' "
704 "cancelar' for carregado, é devolvido um valor de 30. Para evitar "
705 "ambiguidade, se o comando devolver 30, é devolvido um valor de 3."
706
707 #. type: =head1
708 #: ../../debconf-apt-progress:654
709 msgid "AUTHORS"
710 msgstr "AUTORES"
711
712 #. type: textblock
713 #: ../../debconf-apt-progress:656 ../../debconf-escape:74
714 msgid "Colin Watson <[email protected]>"
715 msgstr "Colin Watson <[email protected]>"
716
717 #. type: textblock
718 #: ../../debconf-escape:5
719 msgid "debconf-escape - helper when working with debconf's escape capability"
720 msgstr ""
721 "debconf-escape - ajuda quando se trabalha com a capacidade de escape do "
722 "debconf"
723
724 #. type: verbatim
725 #: ../../debconf-escape:9
726 #, no-wrap
727 msgid ""
728 " debconf-escape -e < unescaped-text\n"
729 " debconf-escape -u < escaped-text\n"
730 "\n"
731 msgstr ""
732 " debconf-escape -e < unescaped-text\n"
733 " debconf-escape -u < escaped-text\n"
734 "\n"
735
736 #. type: textblock
737 #: ../../debconf-escape:14
738 msgid ""
739 "When debconf has the 'escape' capability set, it will expect commands you "
740 "send it to have backslashes and newlines escaped (as C<\\\\> and C<\\n> "
741 "respectively) and will in turn escape backslashes and newlines in its "
742 "replies. This can be used, for example, to substitute multi-line strings "
743 "into templates, or to get multi-line extended descriptions reliably using "
744 "C<METAGET>."
745 msgstr ""
746 "Quando o debconf tem a capacidade 'escape' definida, irá esperar que os "
747 "comandos que você envie tenham barras invertidas escapes de novas linhas "
748 "(como C<\\\\> e C<\\n> respectivamente) e irá dobrar as barras invertidas e "
749 "novas linhas nas suas respostas. Isto pode ser usado, por exemplo, para "
750 "substituir strings de múltiplas linhas em templates, ou para obter "
751 "descrições extensivas de múltiplas linhas com segurança usando C<METAGET>."
752
753 #. type: textblock
754 #: ../../debconf-escape:23
755 msgid "L<debconf-devel(7)> (available in the debconf-doc package)"
756 msgstr "L<debconf-devel(7)> (disponível no pacote debconf-doc)"
757
758 #. type: textblock
759 #: ../../debconf-communicate:5
760 msgid "debconf-communicate - communicate with debconf"
761 msgstr "debconf-communicate - comunicar com o debconf"
762
763 #. type: verbatim
764 #: ../../debconf-communicate:11
765 #, no-wrap
766 msgid ""
767 " echo commands | debconf-communicate [options] [package]\n"
768 "\n"
769 msgstr ""
770 " echo comandos | debconf-communicate [opções] [pacote]\n"
771 "\n"
772
773 #. type: textblock
774 #: ../../debconf-communicate:15
775 msgid ""
776 "B<debconf-communicate> allows you to communicate with debconf on the fly, "
777 "from the command line. The package argument is the name of the package which "
778 "you are pretending to be as you communicate with debconf, and it may be "
779 "omitted if you are lazy. It reads commands in the form used by the debconf "
780 "protocol from stdin. For documentation on the available commands and their "
781 "usage, see the debconf specification."
782 msgstr ""
783 "B<debconf-communicate> permite-lhe comunicar com o debconf na hora, a partir "
784 "da linha de comandos. O argumento package é o nome do pacote o qual você "
785 "finge ser quando comunica com o debconf, e pode ser omitido se você for "
786 "preguiçoso. Lê comandos no formato usado pelo protocolo debconf a partir do "
787 "stdin. Para documentação sobre os comandos disponíveis e a sua utilização, "
788 "veja a especificação debconf."
789
790 #. type: textblock
791 #: ../../debconf-communicate:22
792 msgid ""
793 "The commands are executed in sequence. The textual return code of each is "
794 "printed out to standard output."
795 msgstr ""
796 "Os comandos são executados em sequência. O código de retorno textual de cada "
797 "é escrito na saída standard."
798
799 #. type: textblock
800 #: ../../debconf-communicate:25
801 msgid ""
802 "The return value of this program is the numeric return code of the last "
803 "executed command."
804 msgstr ""
805 "O valor devolvido deste programa é o código de retorno numérico do último "
806 "comando executado."
807
808 #. type: SH
809 #: ../../debconf-communicate:28 debconf.conf.5:444
810 #, no-wrap
811 msgid "EXAMPLE"
812 msgstr "EXEMPLO"
813
814 #. type: verbatim
815 #: ../../debconf-communicate:30
816 #, no-wrap
817 msgid ""
818 " echo get debconf/frontend | debconf-communicate\n"
819 "\n"
820 msgstr ""
821 " echo get debconf/frontend | debconf-communicate\n"
822 "\n"
823
824 #. type: textblock
825 #: ../../debconf-communicate:32
826 msgid "Print out the value of the debconf/frontend question."
827 msgstr "Escreve o valor da questão debconf/frontend."
828
829 #. type: =head1
830 #: ../../debconf-communicate:34 ../../debconf-loadtemplate:25
831 #: ../../debconf-set-selections:20
832 msgid "WARNING"
833 msgstr "AVISO"
834
835 #. type: textblock
836 #: ../../debconf-communicate:36
837 msgid ""
838 "This program should never be used from a maintainer script of a package that "
839 "uses debconf! It may however, be useful in debugging."
840 msgstr ""
841 "Este programa nunca deve ser usado a partir dum script de responsável de um "
842 "pacote que use debconf! Pode, no entanto, ser útil em depuração."
843
844 #. type: textblock
845 #: ../../debconf-communicate:41
846 msgid "L<debconf-loadtemplate(1)>"
847 msgstr "L<debconf-loadtemplate(1)>"
848
849 #. type: textblock
850 #: ../../debconf-copydb:5
851 msgid "debconf-copydb - copy a debconf database"
852 msgstr "debconf-copydb - copia uma base de dados de debconf"
853
854 #. type: verbatim
855 #: ../../debconf-copydb:19
856 #, no-wrap
857 msgid ""
858 " debconf-copydb sourcedb destdb [--pattern=pattern] [--owner-pattern=pattern] [--config=Foo:bar]\n"
859 "\n"
860 msgstr ""
861 " debconf-copydb sourcedb destdb [--pattern=padrão] [--owner-pattern=padrão] [--config=Foo:bar]\n"
862 "\n"
863
864 #. type: textblock
865 #: ../../debconf-copydb:32
866 msgid ""
867 "B<debconf-copydb> copies items from an existing debconf database into "
868 "another, possibly new database. The two databases may have different "
869 "formats; if so a conversion will automatically be done."
870 msgstr ""
871 "B<debconf-copydb> copia itens de uma base de dados debconf existente para "
872 "outra base de dados, que possivelmente é nova. As duas bases de dados podem "
873 "ter formatos diferentes; se sim, será automaticamente feita uma conversão."
874
875 #. type: =item
876 #: ../../debconf-copydb:40
877 msgid "I<sourcedb>"
878 msgstr "I<sourcedb>"
879
880 #. type: textblock
881 #: ../../debconf-copydb:42
882 msgid ""
883 "The name of the source database. Typically it will be defined in your "
884 "debconf.conf (or .debconfrc) file."
885 msgstr ""
886 "O nome da base de dados fonte. Tipicamente será definido no seu ficheiro "
887 "debconf.conf (ou .debconfrc)."
888
889 #. type: =item
890 #: ../../debconf-copydb:45
891 msgid "I<destdb>"
892 msgstr "I<destdb>"
893
894 #. type: textblock
895 #: ../../debconf-copydb:47
896 msgid ""
897 "The name of the destination database. It may be defined in debconf.conf or ."
898 "debconfrc, or you might define it on the command line (see below)."
899 msgstr ""
900 "O nome da base de dados de destino. Pode ser definido em debconf.conf ou ."
901 "debconfrc, ou você pode defini-lo an linha de comandos (veja em baixo)."
902
903 #. type: =item
904 #: ../../debconf-copydb:51
905 msgid "B<-p> I<pattern>, B<--pattern> I<pattern>"
906 msgstr "B<-p> I<pattern>, B<--pattern> I<pattern>"
907
908 #. type: textblock
909 #: ../../debconf-copydb:53
910 msgid ""
911 "If this is specified, only items in I<sourcedb> whose names match the "
912 "pattern will be copied."
913 msgstr ""
914 "Se isto for especificado, apenas serão copiados os itens em I<sourcedb> "
915 "cujos nomes coincidam com o padrão."
916
917 #. type: =item
918 #: ../../debconf-copydb:56
919 msgid "B<--owner-pattern> I<pattern>"
920 msgstr "B<--owner-pattern> I<pattern>"
921
922 #. type: textblock
923 #: ../../debconf-copydb:58
924 msgid ""
925 "If this is specified, only items in I<sourcedb> whose owners match the "
926 "pattern will be copied."
927 msgstr ""
928 "Se isto for especificado, apenas serão copiados os itens em I<sourcedb> "
929 "cujos donos coincidam com o padrão."
930
931 #. type: =item
932 #: ../../debconf-copydb:61
933 msgid "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"
934 msgstr "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"
935
936 #. type: textblock
937 #: ../../debconf-copydb:63
938 msgid "Set option Foo to bar. This is similar to writing:"
939 msgstr "Define a opção Foo para bar. Isto é semelhante a escrever:"
940
941 #. type: verbatim
942 #: ../../debconf-copydb:65
943 #, no-wrap
944 msgid ""
945 " Foo: bar\n"
946 "\n"
947 msgstr ""
948 " Foo: bar\n"
949 "\n"
950
951 #. type: textblock
952 #: ../../debconf-copydb:67
953 msgid ""
954 "In debconf.conf, except you probably want to leave off the space on the "
955 "command line (or quote it: \"Foo: bar\"). Generally must be used multiple "
956 "times, to build up a full configuration stanza. While blank lines are used "
957 "to separate stanzas in debconf.conf, this program will assume that \"Name:"
958 "dbname\" denotes the beginning of a new stanza."
959 msgstr ""
960 "Em debconf.conf, excepto que você provavelmente vai querer deixar o espaço "
961 "na linha de comandos (ou citá-lo \"Foo: bar\"). Geralmente tem de ser usado "
962 "várias vezes, para construir uma estrofe de configuração completa. Enquanto "
963 "as linhas vazias são usadas para separar as estrofes em debconf.conf, este "
964 "programa irá assumir que \"Name:dbname\" denota o inicio de de uma nova "
965 "estrofe."
966
967 #. type: verbatim
968 #: ../../debconf-copydb:77
969 #, no-wrap
970 msgid ""
971 " debconf-copydb configdb backup\n"
972 "\n"
973 msgstr ""
974 " debconf-copydb configdb backup\n"
975 "\n"
976
977 #. type: textblock
978 #: ../../debconf-copydb:79
979 msgid ""
980 "Copy all of configdb to backup, assuming you already have the backup "
981 "database defined in debconf.conf."
982 msgstr ""
983 "Copia tudo do configdb para o backup, assumindo que você já tem a base de "
984 "dados de backup definida em debconf.conf."
985
986 #. type: verbatim
987 #: ../../debconf-copydb:82
988 #, no-wrap
989 msgid ""
990 " debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
991 " \t--config=Name:newdb --config=Driver:File \\\n"
992 "\t--config=Filename:newdb.dat\n"
993 "\n"
994 msgstr ""
995 " debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
996 " \t--config=Name:newdb --config=Driver:File \\\n"
997 "\t--config=Filename:newdb.dat\n"
998 "\n"
999
1000 #. type: textblock
1001 #: ../../debconf-copydb:86
1002 msgid ""
1003 "Copy slrn's data out of configdb, and into newdb. newdb is not defined in "
1004 "the rc file, so the --config switches set up the database on the fly."
1005 msgstr ""
1006 "Copia dados do slrn fora do configdb, e para newdb. newdb não é definido no "
1007 "ficheiro rc, portanto os switches --config definem a base de dados na hora."
1008
1009 #. type: verbatim
1010 #: ../../debconf-copydb:89
1011 #, no-wrap
1012 msgid ""
1013 " debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
1014 " \t-c InFd:none --pattern='^foo/'\n"
1015 "\n"
1016 msgstr ""
1017 " debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
1018 " \t-c InFd:none --pattern='^foo/'\n"
1019 "\n"
1020
1021 #. type: textblock
1022 #: ../../debconf-copydb:92
1023 msgid "Spit out all the items in the debconf database related to package foo."
1024 msgstr ""
1025 "Cospe todos os itens na base de dados do debconf relacionados com o pacote "
1026 "foo."
1027
1028 #. type: verbatim
1029 #: ../../debconf-copydb:94
1030 #, no-wrap
1031 msgid ""
1032 " debconf-copydb configdb pipe --config=Name:pipe \\\n"
1033 " --config=Driver:Pipe --config=InFd:none | \\\n"
1034 " \tssh remotehost debconf-copydb pipe configdb \\\n"
1035 "\t\t--config=Name:pipe --config=Driver:Pipe\n"
1036 "\n"
1037 msgstr ""
1038 " debconf-copydb configdb pipe --config=Name:pipe \\\n"
1039 " --config=Driver:Pipe --config=InFd:none | \\\n"
1040 " \tssh remotehost debconf-copydb pipe configdb \\\n"
1041 "\t\t--config=Name:pipe --config=Driver:Pipe\n"
1042 "\n"
1043
1044 #. type: textblock
1045 #: ../../debconf-copydb:99
1046 msgid ""
1047 "This uses the special purpose pipe driver to copy a database to a remote "
1048 "system."
1049 msgstr ""
1050 "Isto usa uma driver pipe de objectivo especial para copiar a base de dados "
1051 "para um sistema remoto."
1052
1053 #. type: textblock
1054 #: ../../debconf-copydb:104
1055 msgid "L<debconf.conf(5)>"
1056 msgstr "L<debconf.conf(5)>"
1057
1058 #. type: textblock
1059 #: ../../debconf-getlang:5
1060 msgid "debconf-getlang - extract a language from a templates file"
1061 msgstr ""
1062 "debconf-getlang - extrai uma linguagem a partir de um ficheiro de templates"
1063
1064 #. type: verbatim
1065 #: ../../debconf-getlang:18
1066 #, no-wrap
1067 msgid ""
1068 " debconf-getlang lang master [translation]\n"
1069 " debconf-getlang --stats master translation [...]\n"
1070 "\n"
1071 msgstr ""
1072 " debconf-getlang lang master [translation]\n"
1073 " debconf-getlang --stats master translation [...]\n"
1074 "\n"
1075
1076 #. type: textblock
1077 #: ../../debconf-getlang:23
1078 msgid ""
1079 "Note: This utility is deprecated; you should switch to using the po-debconf "
1080 "package."
1081 msgstr ""
1082 "Nota: Este utilitário está obsoleto; você deve passar a usar o pacote po-"
1083 "debconf."
1084
1085 #. type: textblock
1086 #: ../../debconf-getlang:25
1087 msgid ""
1088 "This program helps make and manage translations of debconf templates. There "
1089 "are basically three situations in which this program might be called:"
1090 msgstr ""
1091 "Este programa ajuda a criar e a gerir traduções de templates debconf. "
1092 "Basicamente existem três situações nas quais este programa pode ser chamado:"
1093
1094 #. type: =item
1095 #: ../../debconf-getlang:30
1096 msgid "A translation is just being started."
1097 msgstr "Uma tradução foi agora iniciada."
1098
1099 #. type: textblock
1100 #: ../../debconf-getlang:32
1101 msgid ""
1102 "You want to provide the translator with a file they can work on that has the "
1103 "English fields from your templates file, plus blank Field-ll fields for the "
1104 "target language that they can fill in."
1105 msgstr ""
1106 "Você quer fornecer aos tradutores um ficheiro que eles possam trabalhar que "
1107 "tem os campos em Inglês do ficheiro templates, mais campos Field-ll vazios "
1108 "para a linguagem de destino que eles vão preencher."
1109
1110 #. type: textblock
1111 #: ../../debconf-getlang:36
1112 msgid ""
1113 "To do this, run the program with first parameter being the code for the "
1114 "language that is being translated to, and the second parameter being the "
1115 "filename of the English templates file."
1116 msgstr ""
1117 "Para fazer isto, execute o programa com o primeiro parâmetro a ser o código "
1118 "da linguagem para a qual se está a traduzir, e o segundo parâmetro sendo o "
1119 "nome do ficheiro do ficheiro de templates em Inglês."
1120
1121 #. type: =item
1122 #: ../../debconf-getlang:40
1123 msgid "A translation is well under way."
1124 msgstr "Uma tradução está em curso."
1125
1126 #. type: textblock
1127 #: ../../debconf-getlang:42
1128 msgid ""
1129 "You have changed some English text, or added more items to your templates "
1130 "file, and you want to send the translators a file with the English text plus "
1131 "their current translations (or you are the translator, and you want to "
1132 "generate such a file for your own use)."
1133 msgstr ""
1134 "Você alterou algum texto em Inglês, ou adicionou mais itens ao seu ficheiro "
1135 "templates, e quer enviar aos tradutores um ficheiro com o texto em Inglês "
1136 "mais as suas traduções actuais (ou você é o tradutor e quer gerar tal "
1137 "ficheiro para seu próprio uso)."
1138
1139 #. type: textblock
1140 #: ../../debconf-getlang:47
1141 msgid ""
1142 "To accomplish this, run the program with the first parameter being the the "
1143 "code for the language that is being translated to, the second parameter "
1144 "being the filename of the master English templates file, and the third "
1145 "parameter being the filename of the current translated file."
1146 msgstr ""
1147 "Para fazer isto, execute o programa com o primeiro parâmetro a ser o código "
1148 "da linguagem para a qual se está a traduzir, o segundo parâmetro sendo o "
1149 "nome do ficheiro do ficheiro de templates mestre em Inglês, e o terceiro "
1150 "parâmetro sendo o nome do ficheiro traduzido actual."
1151
1152 #. type: textblock
1153 #: ../../debconf-getlang:52
1154 msgid ""
1155 "When run this way, the program is smart enough to notice fuzzy translations. "
1156 "For example a fuzzy Description will be output as Description-<lang>-fuzzy, "
1157 "and a new, blank Description-<lang> will be added. Translators should "
1158 "remove the -fuzzy fields as they correct the fuzzy translations."
1159 msgstr ""
1160 "Quando corre deste modo, o programa é suficientemente inteligente para "
1161 "detectar traduções fuzzy (aproximadas). Por exemplo, uma descrição fuzzy "
1162 "será mostrada como Description-<lang>-fuzzy, e será adicionado uma nova "
1163 "Description-<lang> em branco. Os tradutores devem remover os campos -fuzzy e "
1164 "corrigir as traduções marcadas com fuzzy."
1165
1166 #. type: =item
1167 #: ../../debconf-getlang:58
1168 msgid "Checking the status of a translation"
1169 msgstr "A verificar o estado duma tradução"
1170
1171 #. type: textblock
1172 #: ../../debconf-getlang:60
1173 msgid ""
1174 "To check the status of a translation, use the --status flag, and pass the "
1175 "english template file as the first parameter, and all the other translated "
1176 "templates after that. It will output statistics for each of them. For "
1177 "example:"
1178 msgstr ""
1179 "Para verificar o estado duma tradução, use a bandeira --status, e passe o "
1180 "ficheiro template Inglês como o primeiro parâmetro, e todos os outros "
1181 "templates traduzidos depois disso. Irá gerar estatísticas para cada um "
1182 "deles. Por exemplo:"
1183
1184 #. type: verbatim
1185 #: ../../debconf-getlang:65
1186 #, no-wrap
1187 msgid ""
1188 " debconf-getlang --stats debian/templates debian/templates.*\n"
1189 "\n"
1190 msgstr ""
1191 " debconf-getlang --stats debian/templates debian/templates.*\n"
1192 "\n"
1193
1194 #. type: =head1
1195 #: ../../debconf-getlang:69
1196 msgid "NOTE"
1197 msgstr "NOTA"
1198
1199 #. type: textblock
1200 #: ../../debconf-getlang:71
1201 msgid ""
1202 "Note that the text in the generated templates may be word-wrapped by debconf."
1203 msgstr ""
1204 "Note que o texto nos templates gerados pode ter as linhas arrumadas "
1205 "relativamente a palavras pelo debconf."
1206
1207 #. type: textblock
1208 #: ../../debconf-getlang:76
1209 msgid "L<debconf-mergetemplate(1)>"
1210 msgstr "L<debconf-mergetemplate(1)>"
1211
1212 #. type: textblock
1213 #: ../../debconf-get-selections:5
1214 msgid "debconf-get-selections - output contents of debconf database"
1215 msgstr ""
1216 "debconf-get-selections - escreve o conteúdo da base de dados do debconf"
1217
1218 #. type: textblock
1219 #: ../../debconf-get-selections:9
1220 msgid "debconf-get-selections [--installer]"
1221 msgstr "debconf-get-selections [--installer]"
1222
1223 #. type: textblock
1224 #: ../../debconf-get-selections:13
1225 msgid ""
1226 "Output the current debconf database in a format understandable by debconf-"
1227 "set-selections."
1228 msgstr ""
1229 "Gera a base de dados debconf actual num formato compreensível por debconf-"
1230 "set-selections."
1231
1232 #. type: textblock
1233 #: ../../debconf-get-selections:16
1234 msgid ""
1235 "To dump the debconf database of the debian-installer, from /var/log/"
1236 "installer/cdebconf, use the --installer parameter."
1237 msgstr ""
1238 "Para abandonar a base de dados debconf do debian-installer a partir de /var/"
1239 "log/installer/cdebconf, use o parâmetro --installer."
1240
1241 #. type: textblock
1242 #: ../../debconf-get-selections:80 ../../debconf-set-selections:228
1243 msgid "Petter Reinholdtsen <[email protected]>"
1244 msgstr "Petter Reinholdtsen <[email protected]>"
1245
1246 #. type: textblock
1247 #: ../../debconf-loadtemplate:5
1248 msgid "debconf-loadtemplate - load template file into debconf database"
1249 msgstr ""
1250 "debconf-loadtemplate - carrega ficheiro template na base de dados do debconf"
1251
1252 #. type: verbatim
1253 #: ../../debconf-loadtemplate:16
1254 #, no-wrap
1255 msgid ""
1256 " debconf-loadtemplate owner file [file ..]\n"
1257 "\n"
1258 msgstr ""
1259 " debconf-loadtemplate dono ficheiro [ficheiro ..]\n"
1260 "\n"
1261
1262 #. type: textblock
1263 #: ../../debconf-loadtemplate:20
1264 msgid ""
1265 "Loads one or more template files into the debconf database. The first "
1266 "parameter specifies the owner of the templates (typically, the owner is the "
1267 "name of a debian package). The remaining parameters are template files to "
1268 "load."
1269 msgstr ""
1270 "Carrega um ou mais ficheiros templates na base de dados debconf. O primeiro "
1271 "parâmetro especifica o dono dos templates (tipicamente, o dono é nome do "
1272 "pacote debian). Os parâmetros restantes são ficheiros template para carregar."
1273
1274 #. type: textblock
1275 #: ../../debconf-loadtemplate:27
1276 msgid ""
1277 "This program should never be used from a maintainer script of a package that "
1278 "uses debconf! It may however, be useful in debugging, or to seed the debconf "
1279 "database."
1280 msgstr ""
1281 "Este programa nunca deve ser usado a partir dum script de responsável de um "
1282 "pacote que use debconf! Pode, no entanto, ser útil em depuração, ou para "
1283 "semear a base de dados debconf."
1284
1285 #. type: textblock
1286 #: ../../debconf-loadtemplate:33
1287 msgid "L<debconf-communicate(1)>"
1288 msgstr "L<debconf-communicate(1)>"
1289
1290 #. type: textblock
1291 #: ../../debconf-mergetemplate:5
1292 msgid "debconf-mergetemplate - merge together multiple debconf template files"
1293 msgstr "debconf-mergetemplate - junta múltiplos ficheiros template de debconf"
1294
1295 #. type: verbatim
1296 #: ../../debconf-mergetemplate:19
1297 #, no-wrap
1298 msgid ""
1299 " debconf-mergetemplate [options] [templates.ll ...] templates\n"
1300 "\n"
1301 msgstr ""
1302 " debconf-mergetemplate [opções] [templates.ll ...] templates\n"
1303 "\n"
1304
1305 #. type: textblock
1306 #: ../../debconf-mergetemplate:23
1307 msgid ""
1308 "Note: This utility is deprecated. You should switch to using po-debconf's "
1309 "po2debconf program."
1310 msgstr ""
1311 "Nota: Este utilitário está obsoleto. Você deve passar a usar o programa "
1312 "po2debconf do po-debconf."
1313
1314 #. type: textblock
1315 #: ../../debconf-mergetemplate:26
1316 msgid ""
1317 "This program is useful if you have multiple debconf templates files which "
1318 "you want to merge together into one big file. All the specified files will "
1319 "be read in, merged, and output to standard output."
1320 msgstr ""
1321 "Este programa é útil se tiver múltiplos ficheiros templates de debconf que "
1322 "quer juntar todos num ficheiro grande. Todos os ficheiros especificados "
1323 "serão lidos, juntos, e enviados para a saída standard."
1324
1325 #. type: textblock
1326 #: ../../debconf-mergetemplate:30
1327 msgid ""
1328 "This can be especially useful if you are dealing with translated template "
1329 "files. In this case, you might have your main template file, plus several "
1330 "other files provided by the translators. These files will have translated "
1331 "fields in them, and maybe the translators left in the english versions of "
1332 "the fields they translated, for their reference."
1333 msgstr ""
1334 "Isto pode ser especialmente útil se você está a lidar com ficheiros template "
1335 "traduzidos. Neste caso, você pode ter o seu ficheiro template principal, "
1336 "mais outros vários ficheiros disponibilizados por tradutores. Estes "
1337 "ficheiros irão ter campos traduzidos neles, e talvez os tradutores tenham "
1338 "deixado as versões em Inglês dos campos que traduziram, para sua referência."
1339
1340 #. type: textblock
1341 #: ../../debconf-mergetemplate:36
1342 msgid ""
1343 "So, you want to merge together all the translated templates files with your "
1344 "main templates file. Any fields that are unique to the translated files need "
1345 "to be added in to the correct templates, but any fields they have in common "
1346 "should be superseded by the fields in the main file (which might be more up-"
1347 "to-date)."
1348 msgstr ""
1349 "Portanto, você deseja juntar todos os ficheiros templates traduzidos no seu "
1350 "ficheiro templates principal. Quaisquer campos que apenas existam nos "
1351 "ficheiros traduzidos precisam ser adicionados aos templates correctos, mas "
1352 "quaisquer campos que eles tenham em comum deve ser substituídos pelos campos "
1353 "do ficheiro principal (que os quais pode estar mais actualizados)."
1354
1355 #. type: textblock
1356 #: ../../debconf-mergetemplate:42
1357 msgid ""
1358 "This program handles that case properly, just list each of the translated "
1359 "templates files, and then your main templates file last."
1360 msgstr ""
1361 "Este programa lida com esse caso apropriadamente, apenas liste cada ficheiro "
1362 "template traduzido, e depois o seu ficheiro template principal no fim."
1363
1364 #. type: =item
1365 #: ../../debconf-mergetemplate:49
1366 msgid "--outdated"
1367 msgstr "--outdated"
1368
1369 #. type: textblock
1370 #: ../../debconf-mergetemplate:51
1371 msgid ""
1372 "Merge in even outdated translations. The default is to drop them with a "
1373 "warning message."
1374 msgstr ""
1375 "Funde até traduções desactualizadas. A predefinição é abandoná-las com uma "
1376 "mensagem de aviso."
1377
1378 #. type: =item
1379 #: ../../debconf-mergetemplate:54
1380 msgid "--drop-old-templates"
1381 msgstr "--drop-old-templates"
1382
1383 #. type: textblock
1384 #: ../../debconf-mergetemplate:56
1385 msgid ""
1386 "If a translation has an entire template that is not in the master file (and "
1387 "thus is probably an old template), drop that entire template."
1388 msgstr ""
1389 "Se uma tradução tem um template inteiro que não está no ficheiro mestre (e "
1390 "por isso é provavelmente um template antigo), abandona esse template inteiro."
1391
1392 #. type: textblock
1393 #: ../../debconf-mergetemplate:63
1394 msgid "L<debconf-getlang(1)>"
1395 msgstr "L<debconf-getlang(1)>"
1396
1397 #. type: textblock
1398 #: ../../debconf-set-selections:5
1399 msgid "debconf-set-selections - insert new values into the debconf database"
1400 msgstr ""
1401 "debconf-set-selections - insere novos valores na base de dados do debconf"
1402
1403 #. type: verbatim
1404 #: ../../debconf-set-selections:9
1405 #, no-wrap
1406 msgid ""
1407 " debconf-set-selections file\n"
1408 " debconf-get-selections | ssh newhost debconf-set-selections\n"
1409 "\n"
1410 msgstr ""
1411 " debconf-set-selections ficheiro\n"
1412 " debconf-get-selections | ssh newhost debconf-set-selections\n"
1413 "\n"
1414
1415 #. type: textblock
1416 #: ../../debconf-set-selections:14
1417 msgid ""
1418 "B<debconf-set-selections> can be used to pre-seed the debconf database with "
1419 "answers, or to change answers in the database. Each question will be marked "
1420 "as seen to prevent debconf from asking the question interactively."
1421 msgstr ""
1422 "B<debconf-set-selections> pode ser usado para pré-semear a base de dados "
1423 "debconf com respostas, ou para modificar as respostas na base de dados. Cada "
1424 "questão será marcada como 'vista' para prevenir o debconf de perguntar a "
1425 "questão interactivamente."
1426
1427 #. type: textblock
1428 #: ../../debconf-set-selections:18
1429 msgid "Reads from a file if a filename is given, otherwise from stdin."
1430 msgstr ""
1431 "Lê a partir dum ficheiro de um nome de ficheiro é fornecido, caso contrário "
1432 "a partir do stdin."
1433
1434 #. type: textblock
1435 #: ../../debconf-set-selections:22
1436 msgid ""
1437 "Only use this command to seed debconf values for packages that will be or "
1438 "are installed. Otherwise you can end up with values in the database for "
1439 "uninstalled packages that will not go away, or with worse problems involving "
1440 "shared values. It is recommended that this only be used to seed the database "
1441 "if the originating machine has an identical install."
1442 msgstr ""
1443 "Use apenas este comando para semear valores de debconf para pacotes que irão "
1444 "ser ou estão instalados. Caso contrário você pode acabar com valores na base "
1445 "de dados para pacotes desinstalados que não desaparecem, ou com problemas "
1446 "piores que envolvem valores partilhados. É recomendado que isto apenas seja "
1447 "usado para semear a base de dados se a máquina original tiver uma instalação "
1448 "idêntica."
1449
1450 #. type: =head1
1451 #: ../../debconf-set-selections:28
1452 msgid "DATA FORMAT"
1453 msgstr "FORMATO DE DADOS"
1454
1455 #. type: textblock
1456 #: ../../debconf-set-selections:30
1457 msgid ""
1458 "The data is a series of lines. Lines beginning with a # character are "
1459 "comments. Blank lines are ignored. All other lines set the value of one "
1460 "question, and should contain four values, each separated by one character of "
1461 "whitespace. The first value is the name of the package that owns the "
1462 "question. The second is the name of the question, the third value is the "
1463 "type of this question, and the fourth value (through the end of the line) "
1464 "is the value to use for the answer of the question."
1465 msgstr ""
1466 "Os dados são uma série de linhas. As linhas começadas com o caractere # são "
1467 "comentários. As linhas vazias são ignoradas. Todas as outras linhas definem "
1468 "o valor de uma questão, e deve conter quatro valores, cada um separado por "
1469 "um caractere de espaço em branco. O primeiro valor é o nome do pacote que "
1470 "possui a questão. O segundo é o nome da questão, o terceiro valor é o tipo "
1471 "de questão, e o quarto valor (até ao fim da linha) é o valor a usar para a "
1472 "resposta à questão."
1473
1474 #. type: textblock
1475 #: ../../debconf-set-selections:38
1476 msgid ""
1477 "Alternatively, the third value can be \"seen\"; then the preseed line only "
1478 "controls whether the question is marked as seen in debconf's database. Note "
1479 "that preseeding a question's value defaults to marking that question as "
1480 "seen, so to override the default value without marking a question seen, you "
1481 "need two lines."
1482 msgstr ""
1483 "Alternativamente, o terceiro valor pode ser \"visto\"; então a linha "
1484 "precedente apenas controla se a questão está marcada como vista na base de "
1485 "dados do debconf. Note que para preceder os valores predefinidos de uma "
1486 "questão para marcar essa questão como vista, portanto para sobrepor o valor "
1487 "predefinido sem marcar a questão como vista, você precisa de duas linhas."
1488
1489 #. type: textblock
1490 #: ../../debconf-set-selections:44
1491 msgid ""
1492 "Lines can be continued to the next line by ending them with a \"\\\" "
1493 "character."
1494 msgstr ""
1495 "As linhas podem continuar para a próxima linha ao acabarem com o caractere "
1496 "\"\\\"."
1497
1498 #. type: verbatim
1499 #: ../../debconf-set-selections:49
1500 #, no-wrap
1501 msgid ""
1502 " # Force debconf priority to critical.\n"
1503 " debconf debconf/priority select critical\n"
1504 "\n"
1505 msgstr ""
1506 " # Força a prioridade do debconf para crítica.\n"
1507 " debconf debconf/priority select critical\n"
1508 "\n"
1509
1510 #. type: verbatim
1511 #: ../../debconf-set-selections:52
1512 #, no-wrap
1513 msgid ""
1514 " # Override default frontend to readline, but allow user to select.\n"
1515 " debconf debconf/frontend select readline\n"
1516 " debconf debconf/frontend seen false\n"
1517 "\n"
1518 msgstr ""
1519 " # Sobrepõe o frontend predefinido para readline, mas permite ai utilizador seleccionar.\n"
1520 " debconf debconf/frontend select readline\n"
1521 " debconf debconf/frontend seen false\n"
1522 "\n"
1523
1524 #. type: =item
1525 #: ../../debconf-set-selections:60
1526 msgid "B<--verbose>, B<-v>"
1527 msgstr "B<--verbose>, B<-v>"
1528
1529 #. type: textblock
1530 #: ../../debconf-set-selections:62
1531 msgid "verbose output"
1532 msgstr "saída detalhada"
1533
1534 #. type: =item
1535 #: ../../debconf-set-selections:64
1536 msgid "B<--checkonly>, B<-c>"
1537 msgstr "B<--checkonly>, B<-c>"
1538
1539 #. type: textblock
1540 #: ../../debconf-set-selections:66
1541 msgid "only check the input file format, do not save changes to database"
1542 msgstr ""
1543 "apenas verifica o formato do ficheiro de entrada, não guarda alterações na "
1544 "base de dados"
1545
1546 #. type: textblock
1547 #: ../../debconf-set-selections:72
1548 msgid "L<debconf-get-selections(1)> (available in the debconf-utils package)"
1549 msgstr "L<debconf-get-selections(1)> (disponível no pacote debconf-utils)"
1550
1551 #. type: textblock
1552 #: ../../debconf-show:5
1553 msgid "debconf-show - query the debconf database"
1554 msgstr "debconf-show - questiona a base de dados debconf"
1555
1556 #. type: verbatim
1557 #: ../../debconf-show:9
1558 #, no-wrap
1559 msgid ""
1560 " debconf-show packagename [...] [--db=dbname]\n"
1561 " debconf-show --listowners [--db=dbname]\n"
1562 " debconf-show --listdbs\n"
1563 "\n"
1564 msgstr ""
1565 " debconf-show nome-de-pacote [...] [--db=dbname]\n"
1566 " debconf-show --listowners [--db=dbname]\n"
1567 " debconf-show --listdbs\n"
1568 "\n"
1569
1570 #. type: textblock
1571 #: ../../debconf-show:15
1572 msgid "B<debconf-show> lets you query the debconf database in different ways."
1573 msgstr ""
1574 "B<debconf-show> permite-lhe questionar a base de dados debconf de diferentes "
1575 "maneiras."
1576
1577 #. type: textblock
1578 #: ../../debconf-show:17
1579 msgid ""
1580 "The most common use is \"debconf-show packagename\", which displays all "
1581 "items in the debconf database owned by a given package, and their current "
1582 "values. Questions that have been asked already are prefixed with an '*'."
1583 msgstr ""
1584 "A utilização mais comum é \"debconf-show nome-do-pacote\", o que mostra "
1585 "todos os itens na base de dados debconf possuídos pelo dado pacote, e os "
1586 "seus valores actuais. As questões que já foram respondidas são prefixadas "
1587 "com um '*'."
1588
1589 #. type: textblock
1590 #: ../../debconf-show:21
1591 msgid ""
1592 "This can be useful as a debugging aid, and especially handy in bug reports "
1593 "involving a package's use of debconf."
1594 msgstr ""
1595 "Isto pode ser útil como ajuda na depuração, e especialmente habilidoso em "
1596 "relatórios de bugs que envolvam a utilização de debconf por um pacote."
1597
1598 #. type: =item
1599 #: ../../debconf-show:28
1600 msgid "B<--db=>I<dbname>"
1601 msgstr "B<--db=>I<dbname>"
1602
1603 #. type: textblock
1604 #: ../../debconf-show:30
1605 msgid ""
1606 "Specify the database to query. By default, debconf-show queries the main "
1607 "database."
1608 msgstr ""
1609 "Especifica a base de dados a questionar. Por predefinição, debconf-show "
1610 "questiona a base de dados principal."
1611
1612 #. type: =item
1613 #: ../../debconf-show:33
1614 msgid "B<--listowners>"
1615 msgstr "B<--listowners>"
1616
1617 #. type: textblock
1618 #: ../../debconf-show:35
1619 msgid ""
1620 "Lists all owners of questions in the database. Generally an owner is "
1621 "equivalent to a debian package name."
1622 msgstr ""
1623 "Lista todos os donos de questões na base de dados. Geralmente um dono é "
1624 "equivalente a um nome de um pacote debian."
1625
1626 #. type: =item
1627 #: ../../debconf-show:38
1628 msgid "B<--listdbs>"
1629 msgstr "B<--listdbs>"
1630
1631 #. type: textblock
1632 #: ../../debconf-show:40
1633 msgid "Lists all available databases."
1634 msgstr "Lista todas as bases de dados disponíveis."
1635
1636 #. type: textblock
1637 #: ../../debconf-show:154
1638 msgid "Joey Hess <[email protected]> and Sylvain Ferriol"
1639 msgstr "Joey Hess <[email protected]> e Sylvain Ferriol"
1640
1641 #. type: textblock
1642 #: ../../dpkg-preconfigure:5
1643 msgid ""
1644 "dpkg-preconfigure - let packages ask questions prior to their installation"
1645 msgstr ""
1646 "dpkg-preconfigure - permite que os pacotes façam perguntas antes da sua "
1647 "instalação"
1648
1649 #. type: verbatim
1650 #: ../../dpkg-preconfigure:9
1651 #, no-wrap
1652 msgid ""
1653 " dpkg-preconfigure [options] package.deb\n"
1654 "\n"
1655 msgstr ""
1656 " dpkg-preconfigure [opções] pacote.deb\n"
1657 "\n"
1658
1659 #. type: verbatim
1660 #: ../../dpkg-preconfigure:11
1661 #, no-wrap
1662 msgid ""
1663 " dpkg-preconfigure --apt\n"
1664 "\n"
1665 msgstr ""
1666 " dpkg-preconfigure --apt\n"
1667 "\n"
1668
1669 #. type: textblock
1670 #: ../../dpkg-preconfigure:15
1671 msgid ""
1672 "B<dpkg-preconfigure> lets packages ask questions before they are installed. "
1673 "It operates on a set of debian packages, and all packages that use debconf "
1674 "will have their config script run so they can examine the system and ask "
1675 "questions."
1676 msgstr ""
1677 "B<dpkg-preconfigure> permite que os pacotes façam perguntas antes de serem "
1678 "instalados. Opera num conjunto de pacotes debian, e todos os pacotes que "
1679 "usam debconf terão o seu script config executado para que possam examinar o "
1680 "sistema e fazer perguntas."
1681
1682 #. type: textblock
1683 #: ../../dpkg-preconfigure:30
1684 msgid ""
1685 "Set the lowest priority of questions you are interested in. Any questions "
1686 "with a priority below the selected priority will be ignored and their "
1687 "default answers will be used."
1688 msgstr ""
1689 "Define a prioridade mais baixa das questões que lhe interessam. Quaisquer "
1690 "questões com uma prioridade abaixo da prioridade seleccionada serão "
1691 "ignoradas e serão usadas as suas respostas predefinidas."
1692
1693 #. type: =item
1694 #: ../../dpkg-preconfigure:38
1695 msgid "B<--apt>"
1696 msgstr "B<--apt>"
1697
1698 #. type: textblock
1699 #: ../../dpkg-preconfigure:40
1700 msgid ""
1701 "Run in apt mode. It will expect to read a set of package filenames from "
1702 "stdin, rather than getting them as parameters. Typically this is used to "
1703 "make apt run dpkg-preconfigure on all packages before they are installed. "
1704 "To do this, add something like this to /etc/apt/apt.conf:"
1705 msgstr ""
1706 "Corre em modo apt. Irá esperar ler um conjunto de nomes de ficheiros de "
1707 "pacotes a partir do stdin, em vez de os obter como parâmetros. Tipicamente "
1708 "isto é usado para fazer com que o apt corra o dpkg-preconfigure em todos os "
1709 "pacotes antes de eles serem instalados. Para fazer isto, adicione algo como "
1710 "isto ao /etc/apt/apt.conf:"
1711
1712 #. type: verbatim
1713 #: ../../dpkg-preconfigure:45
1714 #, no-wrap
1715 msgid ""
1716 " // Pre-configure all packages before\n"
1717 " // they are installed.\n"
1718 " DPkg::Pre-Install-Pkgs {\n"
1719 " \t\"dpkg-preconfigure --apt --priority=low\";\n"
1720 " };\n"
1721 "\n"
1722 msgstr ""
1723 " // Pré-configura todos os pacotes antes\n"
1724 " // de estarem instalados.\n"
1725 " DPkg::Pre-Install-Pkgs {\n"
1726 " \t\"dpkg-preconfigure --apt --priority=low\";\n"
1727 " };\n"
1728 "\n"
1729
1730 #. type: =item
1731 #: ../../dpkg-preconfigure:51 ../../dpkg-reconfigure:69
1732 msgid "B<-h>, B<--help>"
1733 msgstr "B<-h>, B<--help>"
1734
1735 #. type: textblock
1736 #: ../../dpkg-preconfigure:53 ../../dpkg-reconfigure:71
1737 msgid "Display usage help."
1738 msgstr "Mostra a ajuda de utilização."
1739
1740 #. type: textblock
1741 #: ../../dpkg-preconfigure:61 ../../dpkg-reconfigure:79
1742 msgid "L<debconf(7)>"
1743 msgstr "L<debconf(7)>"
1744
1745 #. type: textblock
1746 #: ../../dpkg-reconfigure:5
1747 msgid "dpkg-reconfigure - reconfigure an already installed package"
1748 msgstr "dpkg-reconfigure - reconfigura um pacote já instalado"
1749
1750 #. type: verbatim
1751 #: ../../dpkg-reconfigure:9
1752 #, no-wrap
1753 msgid ""
1754 " dpkg-reconfigure [options] packages\n"
1755 "\n"
1756 msgstr ""
1757 " dpkg-reconfigure [opções] pacotes\n"
1758 "\n"
1759
1760 #. type: textblock
1761 #: ../../dpkg-reconfigure:13
1762 msgid ""
1763 "B<dpkg-reconfigure> reconfigures packages after they have already been "
1764 "installed. Pass it the names of a package or packages to reconfigure. It "
1765 "will ask configuration questions, much like when the package was first "
1766 "installed."
1767 msgstr ""
1768 "B<dpkg-reconfigure> reconfigura pacotes após eles já estarem instalados. "
1769 "Passe-lhe o nome do pacote ou pacotes a reconfigurar. Irá fazer perguntas de "
1770 "configuração, à semelhança de quando o pacote foi instalado pela primeira "
1771 "vez."
1772
1773 #. type: textblock
1774 #: ../../dpkg-reconfigure:18
1775 msgid ""
1776 "If you just want to see the current configuration of a package, see "
1777 "L<debconf-show(1)> instead."
1778 msgstr ""
1779 "Se apenas deseja ver a configuração actual de um pacote, veja L<debconf-"
1780 "show(1)> em vez disto."
1781
1782 #. type: textblock
1783 #: ../../dpkg-reconfigure:27
1784 msgid ""
1785 "Select the frontend to use. The default frontend can be permanently changed "
1786 "by:"
1787 msgstr ""
1788 "Selecciona o frontend a usar. O frontend predefinido pode ser alterado "
1789 "permanentemente ao:"
1790
1791 #. type: verbatim
1792 #: ../../dpkg-reconfigure:30
1793 #, no-wrap
1794 msgid ""
1795 " dpkg-reconfigure debconf\n"
1796 "\n"
1797 msgstr ""
1798 " dpkg-reconfigure debconf\n"
1799 "\n"
1800
1801 #. type: textblock
1802 #: ../../dpkg-reconfigure:32
1803 msgid ""
1804 "Note that if you normally have debconf set to use the noninteractive "
1805 "frontend, dpkg-reconfigure will use the dialog frontend instead, so you "
1806 "actually get to reconfigure the package."
1807 msgstr ""
1808 "Note que se você normalmente tiver o debconf configurado para usar o "
1809 "frontend não-interactivo, o dpkg-reconfigure irá usar o frontend dialog, "
1810 "para que você realmente possa reconfigurar o pacote."
1811
1812 #. type: textblock
1813 #: ../../dpkg-reconfigure:38
1814 msgid ""
1815 "Specify the minimum priority of question that will be displayed. dpkg-"
1816 "reconfigure normally shows low priority questions no matter what your "
1817 "default priority is. See L<debconf(7)> for a list."
1818 msgstr ""
1819 "Especifica a prioridade mínima da questão que será mostrada. O dpkg-"
1820 "reconfigure normalmente mostra questões de baixa prioridade "
1821 "independentemente de qual seja a sua prioridade predefinida. Veja "
1822 "L<debconf(7)> para uma listagem."
1823
1824 #. type: =item
1825 #: ../../dpkg-reconfigure:46
1826 msgid "B<--default-priority>"
1827 msgstr "B<--default-priority>"
1828
1829 #. type: textblock
1830 #: ../../dpkg-reconfigure:48
1831 msgid ""
1832 "Use whatever the default priority of question is, instead of forcing the "
1833 "priority to low."
1834 msgstr ""
1835 "Usa qualquer que seja a prioridade predefinida da questão, em vez de forçar "
1836 "a prioridade para baixa."
1837
1838 #. type: =item
1839 #: ../../dpkg-reconfigure:51
1840 msgid "B<-u>, B<--unseen-only>"
1841 msgstr "B<-u>, B<--unseen-only>"
1842
1843 #. type: textblock
1844 #: ../../dpkg-reconfigure:53
1845 msgid ""
1846 "By default, all questions are shown, even if they have already been "
1847 "answered. If this parameter is set though, only questions that have not yet "
1848 "been seen will be asked."
1849 msgstr ""
1850 "Por predefinição, são mostradas todas as questões, mesmo que já tenham sido "
1851 "respondidas. Se este parâmetro for definido, apenas serão perguntadas as "
1852 "questões ainda não vistas."
1853
1854 #. type: =item
1855 #: ../../dpkg-reconfigure:57
1856 msgid "B<--force>"
1857 msgstr "B<--force>"
1858
1859 #. type: textblock
1860 #: ../../dpkg-reconfigure:59
1861 msgid ""
1862 "Force dpkg-reconfigure to reconfigure a package even if the package is in an "
1863 "inconsistent or broken state. Use with caution."
1864 msgstr ""
1865 "Força o dpkg-reconfigure a reconfigurar um pacote mesmo que o pacote esteja "
1866 "num estado quebrado ou inconsistente. Use com cuidado."
1867
1868 #. type: =item
1869 #: ../../dpkg-reconfigure:62
1870 msgid "B<--no-reload>"
1871 msgstr "B<--no-reload>"
1872
1873 #. type: textblock
1874 #: ../../dpkg-reconfigure:64
1875 msgid ""
1876 "Prevent dpkg-reconfigure from reloading templates. Use with caution; this "
1877 "will prevent dpkg-reconfigure from repairing broken templates databases. "
1878 "However, it may be useful in constrained environments where rewriting the "
1879 "templates database is expensive."
1880 msgstr ""
1881 "Previne o dpkg-reconfigure de recarregar os templates. Use com cuidado, isto "
1882 "irá impedir o dpkg-reconfigure de reparar bases de dados de templates "
1883 "danificadas. No entanto, pode ser útil em ambientes constrangidos onde "
1884 "reescrever a base de dados de templates pode custar caro."
1885
1886 #. type: TH
1887 #: debconf.conf.5:1
1888 #, no-wrap
1889 msgid "DEBCONF.CONF"
1890 msgstr "DEBCONF.CONF"
1891
1892 #. type: Plain text
1893 #: debconf.conf.5:4
1894 msgid "debconf.conf - debconf configuration file"
1895 msgstr "debconf.conf - ficheiro de configuração de debconf"
1896
1897 #. type: Plain text
1898 #: debconf.conf.5:12
1899 msgid ""
1900 "Debconf is a configuration system for Debian packages. /etc/debconf.conf and "
1901 "~/.debconfrc are configuration files debconf uses to determine which "
1902 "databases it should use. These databases are used for storing two types of "
1903 "information; dynamic config data the user enters into it, and static "
1904 "template data. Debconf offers a flexible, extensible database backend. New "
1905 "drivers can be created with a minimum of effort, and sets of drivers can be "
1906 "combined in various ways."
1907 msgstr ""
1908 "Debconf é um sistema de configuração para pacotes Debian. /etc/debconf.conf "
1909 "e ~/.debconfrc são ficheiros de configuração que o debconf usa para "
1910 "determinar quais bases de dados deve usar. Estas bases de dados para "
1911 "armazenar dois tipos de informação; dados de configuração dinâmicos que o "
1912 "utilizador insere, e dados de template estáticos. O debconf oferece um "
1913 "backend de base de dados extensível e flexível. Podem ser criadas novas "
1914 "drivers com um esforço mínimo, e conjuntos de drivers podem ser combinados "
1915 "de várias maneiras."
1916
1917 #. type: Plain text
1918 #: debconf.conf.5:17
1919 #, no-wrap
1920 msgid ""
1921 " # This is a sample config file that is\n"
1922 " # sufficient to use debconf.\n"
1923 " Config: configdb\n"
1924 " Templates: templatedb\n"
1925 msgstr ""
1926 " # Este é um exemplo de ficheiro de configuração que é\n"
1927 " # suficiente para usar debconf.\n"
1928 " Config: configdb\n"
1929 " Templates: templatedb\n"
1930
1931 #. type: Plain text
1932 #: debconf.conf.5:21
1933 #, no-wrap
1934 msgid ""
1935 " Name: configdb\n"
1936 " Driver: File\n"
1937 " Filename: /var/cache/debconf/config.dat\n"
1938 msgstr ""
1939 " Name: configdb\n"
1940 " Driver: File\n"
1941 " Filename: /var/cache/debconf/config.dat\n"
1942
1943 #. type: Plain text
1944 #: debconf.conf.5:26
1945 #, no-wrap
1946 msgid ""
1947 " Name: templatedb\n"
1948 " Driver: File\n"
1949 " Mode: 644\n"
1950 " Filename: /var/cache/debconf/templates.dat\n"
1951 msgstr ""
1952 " Name: templatedb\n"
1953 " Driver: File\n"
1954 " Mode: 644\n"
1955 " Filename: /var/cache/debconf/templates.dat\n"
1956
1957 #. type: SH
1958 #: debconf.conf.5:26
1959 #, no-wrap
1960 msgid "FILE FORMAT"
1961 msgstr "FORMATO DE FICHEIRO"
1962
1963 #. type: Plain text
1964 #: debconf.conf.5:30
1965 msgid ""
1966 "The format of this file is a series of stanzas, each separated by at least "
1967 "one wholly blank line. Comment lines beginning with a \"#\" character are "
1968 "ignored."
1969 msgstr ""
1970 "O formato deste ficheiro é uma série de estrofes, cada uma separada por pelo "
1971 "menos uma linha completamente vazia. As linhas de comentários começadas com "
1972 "um caractere \"#\" são ignoradas."
1973
1974 #. type: Plain text
1975 #: debconf.conf.5:33
1976 msgid ""
1977 "The first stanza of the file is special, is used to configure debconf as a "
1978 "whole. Two fields are required to be in this first stanza:"
1979 msgstr ""
1980 "A primeira estrofe do ficheiro é especial, é usada para configurar o debconf "
1981 "como uma entidade completa. São necessários dois campos nesta primeira "
1982 "estrofe:"
1983
1984 #. type: TP
1985 #: debconf.conf.5:34
1986 #, no-wrap
1987 msgid "B<Config>"
1988 msgstr "B<Config>"
1989
1990 #. type: Plain text
1991 #: debconf.conf.5:37
1992 msgid "Specifies the name of the database from which to load config data."
1993 msgstr ""
1994 "Especifica o nome da base de dados de onde carregar dados de configuração."
1995
1996 #. type: TP
1997 #: debconf.conf.5:37
1998 #, no-wrap
1999 msgid "B<Templates>"
2000 msgstr "B<Templates>"
2001
2002 #. type: Plain text
2003 #: debconf.conf.5:40
2004 msgid "Specifies the name of the database to use for the template cache."
2005 msgstr "Especifica o nome da base de dados a usar para a cache de template."
2006
2007 #. type: Plain text
2008 #: debconf.conf.5:43
2009 msgid "Additional fields that can be used include:"
2010 msgstr "Campos adicionais que podem ser usados incluem:"
2011
2012 #. type: TP
2013 #: debconf.conf.5:44
2014 #, no-wrap
2015 msgid "B<Frontend>"
2016 msgstr "B<Frontend>"
2017
2018 #. type: Plain text
2019 #: debconf.conf.5:48
2020 msgid ""
2021 "The frontend Debconf should use, overriding any frontend set in the debconf "
2022 "database."
2023 msgstr ""
2024 "O frontend que o Debconf deverá usar, sobrepondo qualquer definição de "
2025 "frontend na base de dados do debconf."
2026
2027 #. type: TP
2028 #: debconf.conf.5:48
2029 #, no-wrap
2030 msgid "B<Priority>"
2031 msgstr "B<Priority>"
2032
2033 #. type: Plain text
2034 #: debconf.conf.5:52
2035 msgid ""
2036 "The priority Debconf should use, overriding any priority set in the debconf "
2037 "database."
2038 msgstr ""
2039 "A prioridade que o Debconf deve usar, sobrepondo-se a qualquer prioridade "
2040 "definida na base de dados debconf."
2041
2042 #. type: TP
2043 #: debconf.conf.5:52
2044 #, no-wrap
2045 msgid "B<Admin-Email>"
2046 msgstr "B<Admin-Email>"
2047
2048 #. type: Plain text
2049 #: debconf.conf.5:59
2050 msgid ""
2051 "The email address Debconf should send mail to if it needs to make sure that "
2052 "the admin has seen an important message. Defaults to \"root\", but can be "
2053 "set to any valid email address to send the mail there. If you prefer to "
2054 "never have debconf send you mail, specify a blank address. This can be "
2055 "overridden on the fly with the DEBCONF_ADMIN_EMAIL environment variable."
2056 msgstr ""
2057 "O endereço de email para onde o debconf deve enviar mail se precisar de "
2058 "certificar que o administrador viu uma mensagem importante. A predefinição é "
2059 "\"root\", mas pode ser definido para qualquer endereço de email válido para "
2060 "enviar o mail para lá. Se preferir que o debconf nunca lhe mande nenhum "
2061 "mail, especifique um endereço vazio. Isto pode ser sobreposto na hora com a "
2062 "variável de ambiente DEBCONF_ADMIN_EMAIL."
2063
2064 #. type: Plain text
2065 #: debconf.conf.5:59 debconf.conf.5:395
2066 #, no-wrap
2067 msgid "B<Debug>"
2068 msgstr "B<Debug>"
2069
2070 #. type: Plain text
2071 #: debconf.conf.5:67
2072 msgid ""
2073 "If set, this will cause debconf to output debugging information to standard "
2074 "error. The value it is set to can be something like \"user\", \"developer\", "
2075 "\"db\", or a regular expression. Typically, rather than setting it "
2076 "permanently in a config file, you will only want to temporarily turn on "
2077 "debugging, and the DEBCONF_DEBUG environment variable can be set instead to "
2078 "accomplish that."
2079 msgstr ""
2080 "Se definido, isto fará o debconf enviar informação de depuração para o erro "
2081 "standard. O valor que é definido pode ser algo como \"user\", \"developer\", "
2082 "\"db\", ou uma expressão regular. Tipicamente, em vez de o definir "
2083 "permanentemente num ficheiro de configuração, você vai apenas querer ligar a "
2084 "depuração temporariamente, e a variável de ambiente DEBCONF_DEBUG pode ser "
2085 "definida para conseguir isso."
2086
2087 #. type: TP
2088 #: debconf.conf.5:67
2089 #, no-wrap
2090 msgid "B<NoWarnings>"
2091 msgstr "B<NoWarnings>"
2092
2093 #. type: Plain text
2094 #: debconf.conf.5:72
2095 msgid ""
2096 "If set, this will make debconf not display warnings about various things. "
2097 "This can be overridden on the fly with the DEBCONF_NOWARNINGS environment "
2098 "variable."
2099 msgstr ""
2100 "Se definido,isto fará com que o debconf não mostre avisos sobre várias "
2101 "coisas. Isto pode ser sobreposto na hora com a variável de ambiente "
2102 "DEBCONF_NOWARNINGS."
2103
2104 #. type: TP
2105 #: debconf.conf.5:72
2106 #, no-wrap
2107 msgid "B<Log>"
2108 msgstr "B<Log>"
2109
2110 #. type: Plain text
2111 #: debconf.conf.5:77
2112 msgid ""
2113 "Makes debconf log debugging information as it runs, to the syslog. The value "
2114 "it is set to controls that is logged. See Debug, above for an explanation of "
2115 "the values that can be set to control what is logged."
2116 msgstr ""
2117 "Faz o debconf registar informação de depuração no syslog, quando é "
2118 "executado. O valor é definido para controlar o que é registado. Veja Debug, "
2119 "em cima, para uma explicação dos valores que podem ser definidos para "
2120 "controlar o que é registado."
2121
2122 #. type: TP
2123 #: debconf.conf.5:77
2124 #, no-wrap
2125 msgid "B<Terse>"
2126 msgstr "B<Terse>"
2127
2128 #. type: Plain text
2129 #: debconf.conf.5:82
2130 msgid ""
2131 "If set to \"true\", makes some debconf frontends use a special terse display "
2132 "mode that outputs as little as possible. Defaults to false. Terse mode may "
2133 "be temporarily set via the DEBCONF_TERSE environment variable."
2134 msgstr ""
2135 "Se definido para \"true\", faz com que alguns frontends do debconf usem um "
2136 "modo de mostrador conciso especial que mostra o mínimo possível. A "
2137 "predefinição é 'false'. O modo conciso pode ser definido temporariamente "
2138 "através da variável de ambiente DEBCONF_TERSE."
2139
2140 #. type: Plain text
2141 #: debconf.conf.5:87
2142 #, no-wrap
2143 msgid ""
2144 "For example, the first stanza of a file might look like this:\n"
2145 " Config: configdb\n"
2146 " Templates: templatedb\n"
2147 msgstr ""
2148 "Por exemplo, a primeira estrofe de um ficheiro pode parecer-se com isto:\n"
2149 " Config: configdb\n"
2150 " Templates: templatedb\n"
2151
2152 #. type: Plain text
2153 #: debconf.conf.5:91
2154 #, no-wrap
2155 msgid ""
2156 "Each remaining stanza in the file sets up a database. A database stanza\n"
2157 "begins by naming the database:\n"
2158 " Name: configdb\n"
2159 msgstr ""
2160 "Cada estrofe que permanece no ficheiro define uma base de dados. Uma estrofe de base de dados\n"
2161 "começa por dar o nome à base de dados:\n"
2162 " Name: configdb\n"
2163
2164 #. type: Plain text
2165 #: debconf.conf.5:95
2166 #, no-wrap
2167 msgid ""
2168 "Then it indicates what database driver should be used for this database.\n"
2169 "See DRIVERS, below, for information about what drivers are available.\n"
2170 " Driver: File\n"
2171 msgstr ""
2172 "Depois indica que driver de base de dados deve ser usada para esta base de dados.\n"
2173 "Veja DRIVERS em baixo, para informação acerca de quais drivers estão disponíveis.\n"
2174 " Driver: Ficheiro\n"
2175
2176 #. type: Plain text
2177 #: debconf.conf.5:100
2178 #, no-wrap
2179 msgid ""
2180 "You can indicate that the database is not essential to the proper\n"
2181 "functioning of debconf by saying it is not required. This will make debconf\n"
2182 "muddle on if the database fails for some reason.\n"
2183 " Required: false\n"
2184 msgstr ""
2185 "Você pode indicar que a base de dados não é essencial ao funcionamento\n"
2186 "apropriado do debconf dizendo que não é requerida. Isto fará com que o debconf\n"
2187 "se atrapalhe se a base de dados falhe por alguma razão.\n"
2188 " Required: false\n"
2189
2190 #. type: Plain text
2191 #: debconf.conf.5:104
2192 #, no-wrap
2193 msgid ""
2194 "You can mark any database as readonly and debconf will not write anything\n"
2195 "to it.\n"
2196 " Readonly: true\n"
2197 msgstr ""
2198 "Você pode marcar qualquer base de dados como 'só-leitura' e o debconf não irá\n"
2199 "escrever nada nela.\n"
2200 " Readonly: true\n"
2201
2202 #. type: Plain text
2203 #: debconf.conf.5:107
2204 msgid ""
2205 "You can also limit what types of data can go into the database with Accept- "
2206 "and Reject- lines; see ACCESS CONTROLS, below."
2207 msgstr ""
2208 "Você também pode limitar que tipos de dados podem ir para a base de dados "
2209 "com linhas Accept- e Reject-; veja CONTROLES DE ACESSO em baixo."
2210
2211 #. type: Plain text
2212 #: debconf.conf.5:112
2213 #, no-wrap
2214 msgid ""
2215 "The remainder of each database stanza is used to provide configuration\n"
2216 "specific to that driver. For example, the Text driver needs to know\n"
2217 "a directory to put the database in, so you might say:\n"
2218 " Filename: /var/cache/debconf/config.dat\n"
2219 msgstr ""
2220 "O restante de cada estrofe de base de dados é usado para disponibilizar\n"
2221 "configuração específica para essa driver. Por exemplo, a driver Text precisa\n"
2222 "de saber um directório onde colocar a base de dados, para que você possa dizer:\n"
2223 " Filename: /var/cache/debconf/config.dat\n"
2224
2225 #. type: SH
2226 #: debconf.conf.5:112
2227 #, no-wrap
2228 msgid "DRIVERS"
2229 msgstr "DRIVERS"
2230
2231 #. type: Plain text
2232 #: debconf.conf.5:119
2233 msgid ""
2234 "A number of drivers are available, and more can be written with little "
2235 "difficulty. Drivers come in two general types. First there are real drivers "
2236 "-- drivers that actually access and store data in some kind of database, "
2237 "which might be on the local filesystem, or on a remote system. Then there "
2238 "are meta-drivers that combine other drivers together to form more "
2239 "interesting systems. Let's start with the former."
2240 msgstr ""
2241 "Estão disponíveis um número de drivers, e podem ser escritas mais com pouca "
2242 "dificuldade. As drivers vêm em dois tipos gerais. Primeiro existem as "
2243 "drivers verdadeiras -- drivers que realmente acedem e armazenam dados nalgum "
2244 "tipo de base de dados, que pode estar num sistema de ficheiros local, ou num "
2245 "sistema remoto. Depois existem as meta-drivers que combinam outras drivers "
2246 "juntamente para formar sistemas mais interessantes. Vamos começar pelas "
2247 "primeiras."
2248
2249 #. type: TP
2250 #: debconf.conf.5:120
2251 #, no-wrap
2252 msgid "B<File>"
2253 msgstr "B<File>"
2254
2255 #. type: Plain text
2256 #: debconf.conf.5:127
2257 msgid ""
2258 "This database driver allows debconf to store a whole database in a single "
2259 "flat text file. This makes it easy to archive, transfer between machines, "
2260 "and edit. It is one of the more compact database formats in terms of disk "
2261 "space used. It is also one of the slowest."
2262 msgstr ""
2263 "Esta driver de base de dados permite ao debconf armazenar uma base de dados "
2264 "inteira num único ficheiro de texto simples. Isto torna mais fácil arquivar, "
2265 "transferir entre máquinas, e editar. É um dos formatos de base de dados mais "
2266 "compactado em termos de espaço de disco usado. É também um dos mais lentos."
2267
2268 #. type: Plain text
2269 #: debconf.conf.5:130
2270 msgid ""
2271 "On the downside, the entire file has to be read in each time debconf starts "
2272 "up, and saving it is also slow."
2273 msgstr ""
2274 "No aspecto negativo, o ficheiro completo tem de ser lido de cada vez que o "
2275 "debconf arranca, e guardá-lo é também lento."
2276
2277 #. type: Plain text
2278 #: debconf.conf.5:132 debconf.conf.5:168 debconf.conf.5:238 debconf.conf.5:309
2279 msgid "The following things are configurable for this driver."
2280 msgstr "As seguintes coisas são configuráveis para esta driver."
2281
2282 #. type: TP
2283 #: debconf.conf.5:133
2284 #, no-wrap
2285 msgid "B<Filename>"
2286 msgstr "B<Filename>"
2287
2288 #. type: Plain text
2289 #: debconf.conf.5:136
2290 msgid "The file to use as the database. This is a required field."
2291 msgstr "O ficheiro a ser usado como base de dados. Este é um campo necessário."
2292
2293 #. type: TP
2294 #: debconf.conf.5:136 debconf.conf.5:203
2295 #, no-wrap
2296 msgid "B<Mode>"
2297 msgstr "B<Mode>"
2298
2299 #. type: Plain text
2300 #: debconf.conf.5:140
2301 msgid ""
2302 "The permissions to create the file with if it does not exist. Defaults to "
2303 "600, since the file could contain passwords in some circumstances."
2304 msgstr ""
2305 "As permissões para criar um ficheiro se este ainda não existir. A "
2306 "predefinição é 600, porque o ficheiro pode conter palavras-passe em algumas "
2307 "circunstâncias."
2308
2309 #. type: TP
2310 #: debconf.conf.5:140 debconf.conf.5:176 debconf.conf.5:310
2311 #, no-wrap
2312 msgid "B<Format>"
2313 msgstr "B<Format>"
2314
2315 #. type: Plain text
2316 #: debconf.conf.5:144 debconf.conf.5:180
2317 msgid ""
2318 "The format of the file. See FORMATS below. Defaults to using a rfc-822 like "
2319 "format."
2320 msgstr ""
2321 "O formato do ficheiro. Veja FORMATOS em baixo. A predefinição é usar um "
2322 "formato tipo rfc-822."
2323
2324 #. type: Plain text
2325 #: debconf.conf.5:144 debconf.conf.5:180 debconf.conf.5:371
2326 #, no-wrap
2327 msgid "B<Backup>"
2328 msgstr "B<Backup>"
2329
2330 #. type: Plain text
2331 #: debconf.conf.5:148 debconf.conf.5:184
2332 msgid ""
2333 "Whether a backup should be made of the old file before changing it. "
2334 "Defaults to true."
2335 msgstr ""
2336 "Se deve ser feita uma cópia de segurança (backup) do ficheiro antigo antes "
2337 "de o alterar. A predefinição é 'true'."
2338
2339 #. type: Plain text
2340 #: debconf.conf.5:151 debconf.conf.5:187 debconf.conf.5:209
2341 msgid "As example stanza setting up a database using this driver:"
2342 msgstr "Um exemplo de estrofe que define uma base de dados usando esta driver:"
2343
2344 #. type: Plain text
2345 #: debconf.conf.5:155
2346 #, no-wrap
2347 msgid ""
2348 " Name: mydb\n"
2349 " Driver: File\n"
2350 " Filename: /var/cache/debconf/mydb.dat\n"
2351 msgstr ""
2352 " Name: mydb\n"
2353 " Driver: File\n"
2354 " Filename: /var/cache/debconf/mydb.dat\n"
2355
2356 #. type: TP
2357 #: debconf.conf.5:156
2358 #, no-wrap
2359 msgid "B<DirTree>"
2360 msgstr "B<DirTree>"
2361
2362 #. type: Plain text
2363 #: debconf.conf.5:166
2364 msgid ""
2365 "This database driver allows debconf to store data in a hierarchical "
2366 "directory structure. The names of the various debconf templates and "
2367 "questions are used as-is to form directories with files in them. This format "
2368 "for the database is the easiest to browse and fiddle with by hand. It has "
2369 "very good load and save speeds. It also typically occupies the most space, "
2370 "since a lot of small files and subdirectories do take up some additional "
2371 "room."
2372 msgstr ""
2373 "Esta driver de base de dados permite ao debconf armazenar dados numa "
2374 "estrutura de directórios hierárquicos. Os nomes dos vários templates de "
2375 "debconf e questões são usados como são para formar directórios como "
2376 "ficheiros neles. Este formato para a base de dados é o mais fácil de navegar "
2377 "e passear manualmente. Tem bons tempos de carga e gravação. Tipicamente "
2378 "também é o que ocupa mais espaço, porque muitos ficheiro pequenos e sub-"
2379 "directórios ocupam algum espaço adicional."
2380
2381 #. type: TP
2382 #: debconf.conf.5:169
2383 #, no-wrap
2384 msgid "B<Directory>"
2385 msgstr "B<Directory>"
2386
2387 #. type: Plain text
2388 #: debconf.conf.5:172
2389 msgid "The directory to put the files in. Required."
2390 msgstr "O directório onde colocar os ficheiros. Necessário."
2391
2392 #. type: TP
2393 #: debconf.conf.5:172
2394 #, no-wrap
2395 msgid "B<Extension>"
2396 msgstr "B<Extension>"
2397
2398 #. type: Plain text
2399 #: debconf.conf.5:176
2400 msgid ""
2401 "An extension to add to the names of files. Must be set to a non-empty "
2402 "string; defaults to \".dat\""
2403 msgstr ""
2404 "Uma extensão a adicionar aos nomes dos ficheiros. Tem que estar definida "
2405 "para uma string não vazia; a predefinição é \".dat\""
2406
2407 #. type: Plain text
2408 #: debconf.conf.5:192
2409 #, no-wrap
2410 msgid ""
2411 " Name: mydb\n"
2412 " Driver: DirTree\n"
2413 " Directory: /var/cache/debconf/mydb\n"
2414 " Extension: .txt\n"
2415 msgstr ""
2416 " Name: mydb\n"
2417 " Driver: DirTree\n"
2418 " Directory: /var/cache/debconf/mydb\n"
2419 " Extension: .txt\n"
2420
2421 #. type: TP
2422 #: debconf.conf.5:193
2423 #, no-wrap
2424 msgid "B<PackageDir>"
2425 msgstr "B<PackageDir>"
2426
2427 #. type: Plain text
2428 #: debconf.conf.5:200
2429 msgid ""
2430 "This database driver is a compromise between the File and DirTree databases. "
2431 "It uses a directory, in which there is (approximately) one file per package "
2432 "that uses debconf. This is fairly fast, while using little more room than "
2433 "the File database driver."
2434 msgstr ""
2435 "Esta driver de base de dados é um compromisso entre as bases de dados File e "
2436 "DirTree. Usa um directório, onde existe um ficheiro (aproximadamente) por "
2437 "cada pacote que usa debconf. Isto é bastante rápido, enquanto usa um pouco "
2438 "mais de espaço que a driver de bases de dados File."
2439
2440 #. type: Plain text
2441 #: debconf.conf.5:203
2442 msgid ""
2443 "This driver is configurable in the same ways as is the DirTree driver, plus:"
2444 msgstr "Esta driver é configurada do mesmo modo que a driver DirTree, mais:"
2445
2446 #. type: Plain text
2447 #: debconf.conf.5:207
2448 msgid ""
2449 "The permissions to create files with. Defaults to 600, since the files could "
2450 "contain passwords in some circumstances."
2451 msgstr ""
2452 "As permissões com as quais criar ficheiros. A predefinição é 600, porque os "
2453 "ficheiros podem conter palavras-passe em algumas circunstâncias."
2454
2455 #. type: Plain text
2456 #: debconf.conf.5:213
2457 #, no-wrap
2458 msgid ""
2459 " Name: mydb\n"
2460 " Driver: PackageDir\n"
2461 " Directory: /var/cache/debconf/mydb\n"
2462 msgstr ""
2463 " Name: mydb\n"
2464 " Driver: PackageDir\n"
2465 " Directory: /var/cache/debconf/mydb\n"
2466
2467 #. type: TP
2468 #: debconf.conf.5:214
2469 #, no-wrap
2470 msgid "B<LDAP>"
2471 msgstr "B<LDAP>"
2472
2473 #. type: Plain text
2474 #: debconf.conf.5:218
2475 msgid ""
2476 "WARNING: This database driver is currently experimental. Use with caution."
2477 msgstr ""
2478 "AVISO: Esta driver de base de dados é actualmente experimental. Use-a com "
2479 "cuidado."
2480
2481 #. type: Plain text
2482 #: debconf.conf.5:226
2483 msgid ""
2484 "This database driver accesses a LDAP directory for debconf configuration "
2485 "data. Due to the nature of the beast, LDAP directories should typically be "
2486 "accessed in read-only mode. This is because multiple accesses can take "
2487 "place, and it's generally better for data consistency if nobody tries to "
2488 "modify the data while this is happening. Of course, write access is "
2489 "supported for those cases where you do want to update the config data in the "
2490 "directory."
2491 msgstr ""
2492 "Esta driver de base de dados acede a uma directório LDAP para dados de "
2493 "configuração de debconf. Devido à natureza da besta, os directórios LDAP "
2494 "devem tipicamente ser acedidos em modo de apenas-leitura. Isto é porque "
2495 "podem ocorrer múltiplos acessos, e é geralmente melhor para a consistência "
2496 "dos dados se ninguém tentar modificá-los quando isto está a acontecer. Claro "
2497 "que o acesso de escrita é suportado para aqueles casos em que você quer "
2498 "actualizar os dados de configuração no directório."
2499
2500 #. type: Plain text
2501 #: debconf.conf.5:229
2502 msgid ""
2503 "For information about setting up a LDAP server for debconf, read /usr/share/"
2504 "doc/debconf-doc/README.LDAP (from the debconf-doc package)."
2505 msgstr ""
2506 "Para informação sobre configurar um servidor LDAP para o debconf, leia /usr/"
2507 "share/doc/debconf-doc/README.LDAP (do pacote debconf-doc)."
2508
2509 #. type: Plain text
2510 #: debconf.conf.5:232
2511 msgid ""
2512 "To use this database driver, you must have the libnet-ldap-perl package "
2513 "installed. Debconf suggests that package, but does not depend on it."
2514 msgstr ""
2515 "Para usar esta driver de base de dados, você precisa de ter o pacote libnet-"
2516 "ldap-perl instalado. O debconf sugere esse pacote, mas não depende dele."
2517
2518 #. type: Plain text
2519 #: debconf.conf.5:236
2520 msgid ""
2521 "Please carefully consider the security implications of using a remote "
2522 "debconf database. Unless you trust the source, and you trust the intervening "
2523 "network, it is not a very safe thing to do."
2524 msgstr ""
2525 "Por favor considere cuidadosamente as implicações de segurança de usar uma "
2526 "base de dados debconf remota. A menos que confie na fonte, e tenha confiança "
2527 "na rede interveniente, não é algo muito seguro de se fazer."
2528
2529 #. type: TP
2530 #: debconf.conf.5:239
2531 #, no-wrap
2532 msgid "B<server>"
2533 msgstr "B<server>"
2534
2535 #. type: Plain text
2536 #: debconf.conf.5:242
2537 msgid "The host name or IP address of an LDAP server to connect to."
2538 msgstr "O nome de máquina ou endereço IP de um servidor LDAP para se ligar."
2539
2540 #. type: TP
2541 #: debconf.conf.5:242
2542 #, no-wrap
2543 msgid "B<port>"
2544 msgstr "B<port>"
2545
2546 #. type: Plain text
2547 #: debconf.conf.5:246
2548 msgid ""
2549 "The port on which to connect to the LDAP server. If none is given, the "
2550 "default port is used."
2551 msgstr ""
2552 "O porto por onde ligar ao servidor LDAP. Se nenhum for fornecido, é usado o "
2553 "porto predefinido."
2554
2555 #. type: TP
2556 #: debconf.conf.5:246
2557 #, no-wrap
2558 msgid "B<basedn>"
2559 msgstr "B<basedn>"
2560
2561 #. type: Plain text
2562 #: debconf.conf.5:251
2563 msgid ""
2564 "The DN under which all config items will be stored. Each config item will be "
2565 "assumed to live in a DN of cn=E<lt>item nameE<gt>,E<lt>Base DNE<gt>. If this "
2566 "structure is not followed, all bets are off."
2567 msgstr ""
2568 "O DN sob o qual todos os itens de configuração serão armazenados. A cada "
2569 "item de configuração será assumido que vive numa DN de cn=E<lt>item "
2570 "nameE<gt>,E<lt>Base DNE<gt>. Se esta estrutura não for seguida, todas as "
2571 "apostas estão fora."
2572
2573 #. type: TP
2574 #: debconf.conf.5:251
2575 #, no-wrap
2576 msgid "B<binddn>"
2577 msgstr "B<binddn>"
2578
2579 #. type: Plain text
2580 #: debconf.conf.5:255
2581 msgid ""
2582 "The DN to bind to the directory as. Anonymous bind will be used if none is "
2583 "specified."
2584 msgstr ""
2585 "O DN para unir ao directório como. Será usada união anónima se nenhum for "
2586 "especificado."
2587
2588 #. type: TP
2589 #: debconf.conf.5:255
2590 #, no-wrap
2591 msgid "B<bindpasswd>"
2592 msgstr "B<bindpasswd>"
2593
2594 #. type: Plain text
2595 #: debconf.conf.5:259
2596 msgid ""
2597 "The password to use in an authenticated bind (used with binddn, above). If "
2598 "not specified, anonymous bind will be used."
2599 msgstr ""
2600 "A palavra-passe a usar numa união autenticada (usada com o binddn, em cima). "
2601 "Se não for especificada, será usada união anónima."
2602
2603 #. type: Plain text
2604 #: debconf.conf.5:265
2605 msgid ""
2606 "This option should not be used in the general case. Anonymous binding should "
2607 "be sufficient most of the time for read-only access. Specifying a bind DN "
2608 "and password should be reserved for the occasional case where you wish to "
2609 "update the debconf configuration data."
2610 msgstr ""
2611 "Esta opção não deve ser usada nos casos gerais. A união anónima deve ser "
2612 "suficiente na maioria das vezes para acesso em modo só-leitura. Especificar "
2613 "uma união DN e palavra-passe deve ser reservado para casos ocasionais onde "
2614 "deseja actualizar os dados de configuração do debconf."
2615
2616 #. type: TP
2617 #: debconf.conf.5:266
2618 #, no-wrap
2619 msgid "B<keybykey>"
2620 msgstr "B<keybykey>"
2621
2622 #. type: Plain text
2623 #: debconf.conf.5:272
2624 msgid ""
2625 "Enable access to individual LDAP entries, instead of fetching them all at "
2626 "once in the beginning. This is very useful if you want to monitor your LDAP "
2627 "logs for specific debconf keys requested. In this way, you could also write "
2628 "custom handling code on the LDAP server part."
2629 msgstr ""
2630 "Activa acesso a entradas LDAP individuais, em vez de obter-las todas de uma "
2631 "vez no inicio. Isto é muito útil se desejar monitorizar os seus logs do LDAP "
2632 "por pedidos de chaves debconf específicas. Deste modo, você também pode "
2633 "escrever código de manipulação personalizado na parte do servidor LDAP."
2634
2635 #. type: Plain text
2636 #: debconf.conf.5:279
2637 msgid ""
2638 "Note that when this option is enabled, the connection to the LDAP server is "
2639 "kept active during the whole Debconf run. This is a little different from "
2640 "the all-in-one behavior where two brief connections are made to LDAP; in the "
2641 "beginning to retrieve all the entries, and in the end to save eventual "
2642 "changes."
2643 msgstr ""
2644 "Note que quando esta opção está activa, a ligação ao servidor LDAP é mantida "
2645 "activa durante toda a execução do Debconf. Isto e um pouco diferente do "
2646 "comportamento todo-em-um onde duas ligações breves são feitas ao LDAP; no "
2647 "início para obter todas as entradas, e no fim para guardar eventuais "
2648 "alterações."
2649
2650 #. type: Plain text
2651 #: debconf.conf.5:284
2652 msgid ""
2653 "An example stanza setting up a database using this driver, assuming the "
2654 "remote database is on example.com and can be accessed anonymously:"
2655 msgstr ""
2656 "Um exemplo de estrofe que define uma base de dados usando esta driver, "
2657 "assumindo que a base de dados remota está em example.com e pode ser acedida "
2658 "em anonimato:"
2659
2660 #. type: Plain text
2661 #: debconf.conf.5:291
2662 #, no-wrap
2663 msgid ""
2664 " Name: ldapdb\n"
2665 " Driver: LDAP\n"
2666 " Readonly: true\n"
2667 " Server: example.com\n"
2668 " BaseDN: cn=debconf,dc=example,dc=com\n"
2669 " KeyByKey: 0\n"
2670 msgstr ""
2671 " Name: ldapdb\n"
2672 " Driver: LDAP\n"
2673 " Readonly: true\n"
2674 " Server: example.com\n"
2675 " BaseDN: cn=debconf,dc=example,dc=com\n"
2676 " KeyByKey: 0\n"
2677
2678 #. type: Plain text
2679 #: debconf.conf.5:294
2680 msgid ""
2681 "Another example, this time the LDAP database is on localhost, and can be "
2682 "written to:"
2683 msgstr ""
2684 "Outro exemplo, desta vez a base de dados LDAP está em localhost, e pode ser "
2685 "escrita:"
2686
2687 #. type: Plain text
2688 #: debconf.conf.5:301
2689 #, no-wrap
2690 msgid ""
2691 " Name: ldapdb\n"
2692 " Driver: LDAP\n"
2693 " Server: localhost\n"
2694 " BaseDN: cn=debconf,dc=domain,dc=com\n"
2695 " BindPasswd: secret\n"
2696 " KeyByKey: 1\n"
2697 msgstr ""
2698 " Name: ldapdb\n"
2699 " Driver: LDAP\n"
2700 " Server: localhost\n"
2701 " BaseDN: cn=debconf,dc=domain,dc=com\n"
2702 " BindPasswd: secret\n"
2703 " KeyByKey: 1\n"
2704
2705 #. type: TP
2706 #: debconf.conf.5:302
2707 #, no-wrap
2708 msgid "B<Pipe>"
2709 msgstr "B<Pipe>"
2710
2711 #. type: Plain text
2712 #: debconf.conf.5:307
2713 msgid ""
2714 "This special-purpose database driver reads and writes the database from "
2715 "standard input/output. It may be useful for people with special needs."
2716 msgstr ""
2717 "Esta driver de base de dados de objectivos especiais lê e escreve na base de "
2718 "dados a partir da entrada/saída standard. Pode ser útil para pessoas com "
2719 "necessidades especiais."
2720
2721 #. type: Plain text
2722 #: debconf.conf.5:314
2723 msgid ""
2724 "The format to read and write. See FORMATS below. Defaults to using a rfc-822 "
2725 "like format."
2726 msgstr ""
2727 "O formato para ler e escrever. Veja FORMATOS em baixo. A predefinição é usar "
2728 "um formato tipo rfc-822."
2729
2730 #. type: TP
2731 #: debconf.conf.5:314
2732 #, no-wrap
2733 msgid "B<Infd>"
2734 msgstr "B<Infd>"
2735
2736 #. type: Plain text
2737 #: debconf.conf.5:318
2738 msgid ""
2739 "File descriptor number to read from. Defaults to reading from stdin. If set "
2740 "to \"none\", the database will not read any data on startup."
2741 msgstr ""
2742 "O número de descritor de ficheiro de onde ler. A predefinição é stdin, Se "
2743 "definido para \"none\", a base de dados não irá ler nenhuns dados no "
2744 "arranque."
2745
2746 #. type: TP
2747 #: debconf.conf.5:318
2748 #, no-wrap
2749 msgid "B<Outfd>"
2750 msgstr "B<Outfd>"
2751
2752 #. type: Plain text
2753 #: debconf.conf.5:322
2754 msgid ""
2755 "File descriptor number to write to. Defaults to writing to stdout. If set to "
2756 "\"none\", the database will be thrown away on shutdown."
2757 msgstr ""
2758 "O número de descritor de ficheiro para onde escrever. A predefinição é "
2759 "stdout, Se definido para \"none\", a base de dados será deitada fora ao "
2760 "desligar."
2761
2762 #. type: Plain text
2763 #: debconf.conf.5:326
2764 msgid "That's all of the real drivers, now moving on to meta-drivers.."
2765 msgstr "E é tudo sobre as drivers reais, agora vamos para as meta-drivers..."
2766
2767 #. type: TP
2768 #: debconf.conf.5:326 debconf.conf.5:354
2769 #, no-wrap
2770 msgid "B<Stack>"
2771 msgstr "B<Stack>"
2772
2773 #. type: Plain text
2774 #: debconf.conf.5:335
2775 msgid ""
2776 "This driver stacks up a number of other databases (of any type), and allows "
2777 "them to be accessed as one. When debconf asks for a value, the first "
2778 "database on the stack that contains the value returns it. If debconf writes "
2779 "something to the database, the write normally goes to the first driver on "
2780 "the stack that has the item debconf is modifying, and if none do, the new "
2781 "item is added to the first writable database on the stack."
2782 msgstr ""
2783 "Esta driver empilha um número de outras bases de dados (de qualquer tipo), e "
2784 "permite que sejam acedidas como uma só. Quando o debconf pede um valor, a "
2785 "primeira base de dados na pilha que contém o valor devolve-o. Se o debconf "
2786 "escrever algo na base de dados, a escrita vai normalmente para a primeira "
2787 "driver na pilha que possui o item que o debconf está a modificar, e se "
2788 "nenhuma o tiver, o novo item é adicionado na primeira base de dados da pilha "
2789 "onde se pode escrever."
2790
2791 #. type: Plain text
2792 #: debconf.conf.5:343
2793 msgid ""
2794 "Things become more interesting if one of the databases on the stack is "
2795 "readonly. Consider a stack of the databases foo, bar, and baz, where foo and "
2796 "baz are both readonly. Debconf wants to change an item, and this item is "
2797 "only present in baz, which is readonly. The stack driver is smart enough to "
2798 "realize that won't work, and it will copy the item from baz to bar, and the "
2799 "write will take place in bar. Now the item in baz is shadowed by the item in "
2800 "bar, and it will not longer be visible to debconf."
2801 msgstr ""
2802 "As coisas tornam-se mais interessantes se uma das bases de dados da pilha "
2803 "for de só-leitura. Considere uma pilha das bases de dados foo, bar e baz "
2804 "onde foo e baz são ambas só-leitura. O debconf quer alterar um item, e este "
2805 "item está presente apenas em baz, a qual é só-leitura. A driver stack é "
2806 "suficientemente inteligente para perceber que isso não vai funcionar, e irá "
2807 "copiar o item de baz para bar, e a escrita irá ter lugar em bar. Agora o "
2808 "item em baz está colocado na sombra pelo item em bar, e não irá mais ser "
2809 "visível ao debconf."
2810
2811 #. type: Plain text
2812 #: debconf.conf.5:350
2813 msgid ""
2814 "This kind of thing is particularly useful if you want to point many systems "
2815 "at a central, readonly database, while still allowing things to be "
2816 "overridden on each system. When access controls are added to the picture, "
2817 "stacks allow you to do many other interesting things, like redirect all "
2818 "passwords to one database while a database underneath it handles everything "
2819 "else."
2820 msgstr ""
2821 "Este tipo de coisa é particularmente útil se você desejar apontar muitos "
2822 "sistemas a uma base de dados central de só-leitura, e ao mesmo tempo "
2823 "permitir que coisas possam ser ultrapassadas em cada sistema. Quando são "
2824 "adicionados controles de acesso à situação, as pilhas permitem-lhe fazer "
2825 "mais coisas interessantes, como redireccionar todas as palavras-passe para "
2826 "uma base de dados enquanto que a base de dados inferior lida com tudo o "
2827 "resto."
2828
2829 #. type: Plain text
2830 #: debconf.conf.5:352
2831 msgid "Only one piece of configuration is needed to set up a stack:"
2832 msgstr ""
2833 "Apenas é necessário um pedaço de configuração para configurar um stack:"
2834
2835 #. type: Plain text
2836 #: debconf.conf.5:358
2837 msgid ""
2838 "This is where you specify a list of other databases, by name, to tell it "
2839 "what makes up the stack."
2840 msgstr ""
2841 "Aqui é onde você especifica uma lista de outras bases de dados, pelo nome, "
2842 "para lhe dizer o que compõe a stack."
2843
2844 #. type: Plain text
2845 #: debconf.conf.5:361 debconf.conf.5:387
2846 msgid "For example:"
2847 msgstr "Por exemplo:"
2848
2849 #. type: Plain text
2850 #: debconf.conf.5:365
2851 #, no-wrap
2852 msgid ""
2853 " Name: megadb\n"
2854 " Driver: stack\n"
2855 " Stack: passworddb, configdb, companydb\n"
2856 msgstr ""
2857 " Name: megadb\n"
2858 " Driver: stack\n"
2859 " Stack: passworddb, configdb, companydb\n"
2860
2861 #. type: Plain text
2862 #: debconf.conf.5:368
2863 msgid ""
2864 "WARNING: The stack driver is not very well tested yet. Use at your own risk."
2865 msgstr ""
2866 "AVISO: A driver stack ainda não foi bem testada. Use sob sua "
2867 "responsabilidade."
2868
2869 #. type: Plain text
2870 #: debconf.conf.5:374
2871 msgid ""
2872 "This driver passes all requests on to another database driver. But it also "
2873 "copies all write requests to a backup database driver."
2874 msgstr ""
2875 "Esta driver passa todos os pedidos para outra driver de base de dados. Mas "
2876 "também copia todos os pedidos de escrita para uma driver de base de dados de "
2877 "salvaguarda."
2878
2879 #. type: Plain text
2880 #: debconf.conf.5:376 debconf.conf.5:400
2881 msgid "You must specify the following fields to set up this driver:"
2882 msgstr ""
2883 "Você tem de especificar os seguintes campos para configurar esta driver:"
2884
2885 #. type: TP
2886 #: debconf.conf.5:378 debconf.conf.5:402
2887 #, no-wrap
2888 msgid "B<Db>"
2889 msgstr "B<Db>"
2890
2891 #. type: Plain text
2892 #: debconf.conf.5:381 debconf.conf.5:405
2893 msgid "The database to read from and write to."
2894 msgstr "A base de dados de onde ler e onde escrever."
2895
2896 #. type: TP
2897 #: debconf.conf.5:381
2898 #, no-wrap
2899 msgid "B<Backupdb>"
2900 msgstr "B<Backupdb>"
2901
2902 #. type: Plain text
2903 #: debconf.conf.5:384
2904 msgid "The name of the database to send copies of writes to."
2905 msgstr "O nome da base da dados para enviar cópias das escritas."
2906
2907 #. type: Plain text
2908 #: debconf.conf.5:392
2909 #, no-wrap
2910 msgid ""
2911 " Name: backup\n"
2912 " Driver: Backup\n"
2913 " Db: mydb\n"
2914 " Backupdb: mybackupdb\n"
2915 msgstr ""
2916 " Name: backup\n"
2917 " Driver: Backup\n"
2918 " Db: mydb\n"
2919 " Backupdb: mybackupdb\n"
2920
2921 #. type: Plain text
2922 #: debconf.conf.5:398
2923 msgid ""
2924 "This driver passes all requests on to another database driver, outputting "
2925 "verbose debugging output about the request and the result."
2926 msgstr ""
2927 "Esta driver passa todos os pedidos para outra driver de base de dados, "
2928 "gerando saídas de depuração detalhadas acerca dos pedidos e resultados."
2929
2930 #. type: SH
2931 #: debconf.conf.5:407
2932 #, no-wrap
2933 msgid "ACCESS CONTROLS"
2934 msgstr "CONTROLOS DE ACESSO"
2935
2936 #. type: Plain text
2937 #: debconf.conf.5:411
2938 msgid ""
2939 "When you set up a database, you can also use some fields to specify access "
2940 "controls. You can specify that a database only accepts passwords, for "
2941 "example, or make a database only accept things with \"foo\" in their name."
2942 msgstr ""
2943 "Quando você configura uma base de dados, também pode usar alguns campos para "
2944 "especificar controlos de acesso. Você pode especificar que uma base de dados "
2945 "apenas aceita palavras-passe, por exemplo, ou fazer uma base de dados apenas "
2946 "aceitar coisas com \"foo\" nos seus nomes."
2947
2948 #. type: TP
2949 #: debconf.conf.5:411
2950 #, no-wrap
2951 msgid "B<Readonly>"
2952 msgstr "B<Readonly>"
2953
2954 #. type: Plain text
2955 #: debconf.conf.5:416
2956 msgid ""
2957 "As was mentioned earlier, this access control, if set to \"true\", makes a "
2958 "database readonly. Debconf will read values from it, but will never write "
2959 "anything to it."
2960 msgstr ""
2961 "Como já dito antes, este controlo de acesso, se definido para \"true\", "
2962 "torna uma base de dados em só-leitura. O debconf irá ler valores dela, mas "
2963 "nunca irá escrever nada lá."
2964
2965 #. type: TP
2966 #: debconf.conf.5:416
2967 #, no-wrap
2968 msgid "B<Accept-Name>"
2969 msgstr "B<Accept-Name>"
2970
2971 #. type: Plain text
2972 #: debconf.conf.5:422
2973 msgid ""
2974 "The text in this field is a perl-compatible regular expression that is "
2975 "matched against the names of items as they are requested from the database. "
2976 "Only if an items name matches the regular expression, will the database "
2977 "allow debconf to access or modify it."
2978 msgstr ""
2979 "O texto neste campo é uma expressão regular compatível com perl que é "
2980 "comparada com os nomes dos itens quando eles são pedidos da base de dados. "
2981 "Apenas se um nome de item corresponder à expressão regular, é que a base de "
2982 "dados permite ao debconf aceder-lhe ou modificá-la."
2983
2984 #. type: TP
2985 #: debconf.conf.5:422
2986 #, no-wrap
2987 msgid "B<Reject-Name>"
2988 msgstr "B<Reject-Name>"
2989
2990 #. type: Plain text
2991 #: debconf.conf.5:426
2992 msgid ""
2993 "Like Accept-Name, except any item name matching this regular expression will "
2994 "be rejected."
2995 msgstr ""
2996 "Tal como Accept-Name, excepto que qualquer nome de item que corresponda a "
2997 "esta expressão regular será rejeitado."
2998
2999 #. type: TP
3000 #: debconf.conf.5:426
3001 #, no-wrap
3002 msgid "B<Accept-Type>"
3003 msgstr "B<Accept-Type>"
3004
3005 #. type: Plain text
3006 #: debconf.conf.5:431
3007 msgid ""
3008 "Another regular expression, this matches against the type of the item that "
3009 "is being accessed. Only if the type matches the regex will access be granted."
3010 msgstr ""
3011 "Outra expressão regular, esta corresponde contra o tipo de item que está a "
3012 "ser acedido. Apenas se o tipo corresponder ao regex é que o acesso será "
3013 "concedido."
3014
3015 #. type: TP
3016 #: debconf.conf.5:431
3017 #, no-wrap
3018 msgid "B<Reject-Type>"
3019 msgstr "B<Reject-Type>"
3020
3021 #. type: Plain text
3022 #: debconf.conf.5:435
3023 msgid ""
3024 "Like Accept-Type, except any type matching this regular expression will be "
3025 "rejected."
3026 msgstr ""
3027 "Tal como Accept-Type, excepto que qualquer tipo que corresponda a esta "
3028 "expressão regular será rejeitado."
3029
3030 #. type: SH
3031 #: debconf.conf.5:435
3032 #, no-wrap
3033 msgid "FORMATS"
3034 msgstr "FORMATOS"
3035
3036 #. type: Plain text
3037 #: debconf.conf.5:439
3038 msgid ""
3039 "Some of the database drivers use format modules to control the actual format "
3040 "in which the database is stored on disk. These formats are currently "
3041 "supported:"
3042 msgstr ""
3043 "Algumas das drivers de bases de dados usam módulos de formato para controlar "
3044 "o formato actual no qual a base de dados está armazenada no disco. São "
3045 "actualmente suportados estes formatos:"
3046
3047 #. type: TP
3048 #: debconf.conf.5:439
3049 #, no-wrap
3050 msgid "B<822>"
3051 msgstr "B<822>"
3052
3053 #. type: Plain text
3054 #: debconf.conf.5:444
3055 msgid ""
3056 "This is a file format loosely based upon the rfc-822 format for email "
3057 "message headers. Similar formats are used throughout Debian; in the dpkg "
3058 "status file, and so on."
3059 msgstr ""
3060 "Este é um formato de ficheiro livremente baseado no formato rfc-822 para "
3061 "cabeçalhos de mensagens de email. São usados formatos semelhantes em Debian, "
3062 "no ficheiro de estado do dpkg, e muito mais."
3063
3064 #. type: Plain text
3065 #: debconf.conf.5:446
3066 msgid "Here is a more complicated example of a debconf.conf file."
3067 msgstr "Aqui está um exemplo mais complicado de um ficheiro debconf.conf."
3068
3069 #. type: Plain text
3070 #: debconf.conf.5:452
3071 #, no-wrap
3072 msgid ""
3073 " # This stanza is used for general debconf setup.\n"
3074 " Config: stack\n"
3075 " Templates: templates\n"
3076 " Log: developer\n"
3077 " Debug: developer\n"
3078 msgstr ""
3079 " # Esta estrofe é usada para configuração debconf geral.\n"
3080 " Config: stack\n"
3081 " Templates: templates\n"
3082 " Log: developer\n"
3083 " Debug: developer\n"
3084
3085 #. type: Plain text
3086 #: debconf.conf.5:457
3087 #, no-wrap
3088 msgid ""
3089 " # This is my own local database.\n"
3090 " Name: mydb\n"
3091 " Driver: DirTree\n"
3092 " Directory: /var/cache/debconf/config\n"
3093 msgstr ""
3094 " # Esta é a minha base de dados local.\n"
3095 " Name: mydb\n"
3096 " Driver: DirTree\n"
3097 " Directory: /var/cache/debconf/config\n"
3098
3099 #. type: Plain text
3100 #: debconf.conf.5:469
3101 #, no-wrap
3102 msgid ""
3103 " # This is another database that I use to hold\n"
3104 " # only X server configuration.\n"
3105 " Name: X\n"
3106 " Driver: File\n"
3107 " Filename: /etc/X11/debconf.dat\n"
3108 " Mode: 644\n"
3109 " # It's sorta hard to work out what questions\n"
3110 " # belong to X; it should be using a deeper\n"
3111 " # tree structure so I could just match on ^X/\n"
3112 " # Oh well.\n"
3113 " Accept-Name: xserver|xfree86|xbase\n"
3114 msgstr ""
3115 " # Isto é outra base de dados que eu uso para manter\n"
3116 " # apenas a configuração do servidor X.\n"
3117 " Name: X\n"
3118 " Driver: File\n"
3119 " Filename: /etc/X11/debconf.dat\n"
3120 " Mode: 644\n"
3121 " # É difícil separar quais as questões pertencem\n"
3122 " # ao X; deveria usar uma estrutura de árvore mais funda\n"
3123 " # para que pudesse apenas coincidir com ^X/\n"
3124 " # Ora bem.\n"
3125 " Accept-Name: xserver|xfree86|xbase\n"
3126
3127 #. type: Plain text
3128 #: debconf.conf.5:485
3129 #, no-wrap
3130 msgid ""
3131 " # This is our company's global, read-only\n"
3132 " # (for me!) debconf database.\n"
3133 " Name: company\n"
3134 " Driver: LDAP\n"
3135 " Server: debconf.foo.com\n"
3136 " BaseDN: cn=debconf,dc=foo,dc=com\n"
3137 " BindDN: uid=admin,dc=foo,dc=com\n"
3138 " BindPasswd: secret\n"
3139 " Readonly: true\n"
3140 " # I don't want any passwords that might be\n"
3141 " # floating around in there.\n"
3142 " Reject-Type: password\n"
3143 " # If this db is not accessible for whatever\n"
3144 " # reason, carry on anyway.\n"
3145 " Required: false\n"
3146 msgstr ""
3147 " # Esta é a base de dados debconf global da companhia,\n"
3148 " # apenas para leitura (para mim!).\n"
3149 " Name: company\n"
3150 " Driver: LDAP\n"
3151 " Server: debconf.foo.com\n"
3152 " BaseDN: cn=debconf,dc=foo,dc=com\n"
3153 " BindDN: uid=admin,dc=foo,dc=com\n"
3154 " BindPasswd: secret\n"
3155 " Readonly: true\n"
3156 " # Não quero nenhumas palavras-passe que possam\n"
3157 " # andar a flutuar por aí.\n"
3158 " Reject-Type: password\n"
3159 " # Se esta base de dados não estiver acessível por qualquer\n"
3160 " # motivo, continuar de qualquer maneira.\n"
3161 " Required: false\n"
3162
3163 #. type: Plain text
3164 #: debconf.conf.5:493
3165 #, no-wrap
3166 msgid ""
3167 " # I use this database to hold\n"
3168 " # passwords safe and secure.\n"
3169 " Name: passwords\n"
3170 " Driver: File\n"
3171 " Filename: /etc/debconf/passwords\n"
3172 " Mode: 600\n"
3173 " Accept-Type: password\n"
3174 msgstr ""
3175 " # Eu uso esta base de dados para manter as\n"
3176 " # palavras-passe em segurança.\n"
3177 " Name: passwords\n"
3178 " Driver: File\n"
3179 " Filename: /etc/debconf/passwords\n"
3180 " Mode: 600\n"
3181 " Accept-Type: password\n"
3182
3183 #. type: Plain text
3184 #: debconf.conf.5:506
3185 #, no-wrap
3186 msgid ""
3187 " # Let's put them all together\n"
3188 " # in a database stack.\n"
3189 " Name: stack\n"
3190 " Driver: Stack\n"
3191 " Stack: passwords, X, mydb, company\n"
3192 " # So, all passwords go to the password database.\n"
3193 " # Most X configuration stuff goes to the X\n"
3194 " # database, and anything else goes to my main\n"
3195 " # database. Values are looked up in each of those\n"
3196 " # in turn, and if none has a particular value, it\n"
3197 " # is looked up in the company-wide LDAP database\n"
3198 " # (unless it's a password).\n"
3199 msgstr ""
3200 " # Vamos juntá-los todos\n"
3201 " # numa pilha de base de dados.\n"
3202 " Name: stack\n"
3203 " Driver: Stack\n"
3204 " Stack: passwords, X, mydb, company\n"
3205 " # Portanto, todas as palavras-passe vão para a base de dados\n"
3206 " # das palavras-passe.\n"
3207 " # A maioria das configurações do X vão para a base de dados\n"
3208 " # do X, e tudo o resto vai para a minha base de dados\n"
3209 " # principal. Os valores são trancados em cada um deles\n"
3210 " # na sua vez, e se nenhum tiver um valor particular, é\n"
3211 " # trancado na base de dados LDAP geral da companhia\n"
3212 " # (a menos que seja uma palavra-passe).\n"
3213
3214 #. type: Plain text
3215 #: debconf.conf.5:514
3216 #, no-wrap
3217 msgid ""
3218 " # A database is also used to hold templates. We\n"
3219 " # don't need to make this as fancy.\n"
3220 " Name: templates\n"
3221 " Driver: File\n"
3222 " Mode: 644\n"
3223 " Format: 822\n"
3224 " Filename: /var/cache/debconf/templates\n"
3225 msgstr ""
3226 " # Uma base de dados também é usada para manter templates.\n"
3227 " # Nós não precisamos fazer isto tão imaginativo.\n"
3228 " Name: templates\n"
3229 " Driver: File\n"
3230 " Mode: 644\n"
3231 " Format: 822\n"
3232 " Filename: /var/cache/debconf/templates\n"
3233
3234 #. type: SH
3235 #: debconf.conf.5:514 confmodule.3:22
3236 #, no-wrap
3237 msgid "NOTES"
3238 msgstr "NOTAS"
3239
3240 #. type: Plain text
3241 #: debconf.conf.5:517
3242 msgid ""
3243 "If you use something like ${HOME} in this file, it will be replaced with the "
3244 "value of the named environment variable."
3245 msgstr ""
3246 "Se você usar algo como ${HOME} neste ficheiro, será substituído pelo valor "
3247 "da variável de ambiente com o mesmo nome."
3248
3249 #. type: Plain text
3250 #: debconf.conf.5:521
3251 msgid ""
3252 "Environment variables can also be used to override the databases on the fly, "
3253 "see B<debconf>(7)"
3254 msgstr ""
3255 "Também podem ser usadas variáveis de ambiente para sobrepor a base de dados "
3256 "na hora, veja B<debconf>(7)"
3257
3258 #. type: Plain text
3259 #: debconf.conf.5:524
3260 msgid ""
3261 "The field names (the part of the line before the colon) is case-insensitive. "
3262 "The values, though, are case sensitive."
3263 msgstr ""
3264 "Os nomes do campos (a parte da linha antes da vírgula) são insensíveis a "
3265 "maiúsculas/minúsculas. No entanto, os valores são sensíveis a maiúsculas/"
3266 "minúsculas."
3267
3268 #. type: SH
3269 #: debconf.conf.5:524
3270 #, no-wrap
3271 msgid "PLANNED ENHANCEMENTS"
3272 msgstr "MELHORIAS PLANEADAS"
3273
3274 #. type: Plain text
3275 #: debconf.conf.5:533
3276 msgid ""
3277 "More drivers and formats. Some ideas include: A SQL driver, with the "
3278 "capability to access a remote database. A DHCP driver, that makes available "
3279 "some special things like hostname, IP address, and DNS servers. A driver "
3280 "that pulls values out of public DNS records TXT fields. A format that is "
3281 "compatible with the output of cdebconf. An override driver, which can "
3282 "override the value field or flags of all requests that pass through it."
3283 msgstr ""
3284 "Mais drivers e formatos. Algumas ideias incluem: Uma de«river SQL, com a "
3285 "capacidade de aceder a uma base de dados remota. Uma driver DHCP, que torna "
3286 "disponível algumas coisas especiais como nome de máquina, endereço IP, e "
3287 "servidores DNS. Uma driver que puxa valores dos campos TXT de registos DNS "
3288 "públicos. Um formato compatível com a saída do cdebconf. Uma driver de "
3289 "sobreposição, que pode sobrepor o campo do valor ou as bandeiras de todos os "
3290 "pedidos que passam por ela."
3291
3292 #. type: SH
3293 #: debconf.conf.5:533
3294 #, no-wrap
3295 msgid "FILES"
3296 msgstr "FICHEIROS"
3297
3298 #. type: Plain text
3299 #: debconf.conf.5:535
3300 msgid "/etc/debconf.conf"
3301 msgstr "/etc/debconf.conf"
3302
3303 #. type: Plain text
3304 #: debconf.conf.5:537
3305 msgid "~/.debconfrc"
3306 msgstr "~/.debconfrc"
3307
3308 #. type: Plain text
3309 #: debconf.conf.5:539
3310 msgid "B<debconf>(7)"
3311 msgstr "B<debconf>(7)"
3312
3313 #. type: Plain text
3314 #: debconf.conf.5:540 confmodule.3:43 debconf.7:383 debconf-devel.7:969
3315 msgid "Joey Hess E<lt>[email protected]<gt>"
3316 msgstr "Joey Hess E<lt>[email protected]<gt>"
3317
3318 #. type: TH
3319 #: confmodule.3:1
3320 #, no-wrap
3321 msgid "CONFMODULE"
3322 msgstr "CONFMODULE"
3323
3324 #. type: Plain text
3325 #: confmodule.3:4
3326 msgid "confmodule - communicate with Debian configuration system FrontEnd."
3327 msgstr ""
3328 "confmodule - comunicar com um FrontEnd do sistema de configuração Debian."
3329
3330 #. type: Plain text
3331 #: confmodule.3:12
3332 #, no-wrap
3333 msgid ""
3334 " #!/bin/sh -e\n"
3335 " . /usr/share/debconf/confmodule\n"
3336 " db_version 2.0\n"
3337 " db_capb 'backup'\n"
3338 " CAPB=$RET\n"
3339 " db_input 'foo/bar' || true\n"
3340 " db_go || true\n"
3341 msgstr ""
3342 " #!/bin/sh -e\n"
3343 " . /usr/share/debconf/confmodule\n"
3344 " db_version 2.0\n"
3345 " db_capb 'backup'\n"
3346 " CAPB=$RET\n"
3347 " db_input 'foo/bar' || true\n"
3348 " db_go || true\n"
3349
3350 #. type: Plain text
3351 #: confmodule.3:22
3352 msgid ""
3353 "This is a library of shell functions that eases communication with Debian's "
3354 "configuration management system. It can communicate with a FrontEnd via the "
3355 "debconf protocol. The design is that each command in the protocol is "
3356 "represented by one function in this module. The functionname is the same as "
3357 "the command, except it is prefixed with \"db_\" and is lower-case. Call the "
3358 "function and pass in any parameters you want to follow the command. Any "
3359 "textual return code from the FrontEnd will be returned to you in the $RET "
3360 "variable, while the numeric return code from the FrontEnd will be returned "
3361 "as a return code (and so those return codes must be captured or ignored)."
3362 msgstr ""
3363 "Esta é uma biblioteca de funções shell que facilita a comunicação com o "
3364 "sistema de gestão de configuração da Debian. Pode comunicar com um FrontEnd "
3365 "através do protocolo debconf. Está desenhada de modo que cada comando no "
3366 "protocolo é representado por uma função neste módulo. O nome-da-função é o "
3367 "mesmo que o comando, excepto se tiver o prefixo de \"db_\" e em minúsculas. "
3368 "Chame a função e passe-lhe quaisquer parâmetros que queira a seguir ao "
3369 "comando. Qualquer código de retorno textual do FrontEnd será retornado para "
3370 "si na variável $RET, enquanto que o código de retorno numérico do FrontEnd "
3371 "será retornado como um código de retorno (e assim esses códigos de retorno "
3372 "devem ser capturados ou ignorados)."
3373
3374 #. type: Plain text
3375 #: confmodule.3:29
3376 #, no-wrap
3377 msgid ""
3378 "Once this library is loaded, any text you later output will go to standard\n"
3379 "error, rather than standard output. This is a good thing in general, because\n"
3380 "text sent to standard output is interpreted by the FrontEnd as commands. If\n"
3381 "you do want to send a command directly to the FrontEnd, you must output it\n"
3382 "to file descriptor 3, like this:\n"
3383 " echo GET foo/bar E<gt>&3\n"
3384 msgstr ""
3385 "Após esta biblioteca estar carregada, qualquer texto que faça sair irá para o\n"
3386 "error standard em vez da saída standard. Geralmente isto é bom porque\n"
3387 "o texto enviado para a saída standard é interpretado pelo FrontEnd como\n"
3388 "comandos. Se você deseja enviar um comando directamente para o FrontEnd,\n"
3389 "você tem de enviá-lo para o descritor de ficheiro 3, assim:\n"
3390 " echo GET foo/bar E<gt>&3\n"
3391
3392 #. type: Plain text
3393 #: confmodule.3:36
3394 msgid ""
3395 "The library checks to make sure it is actually speaking to a FrontEnd by "
3396 "examining the DEBIAN_HAS_FRONTEND variable. If it is set, a FrontEnd is "
3397 "assumed to be running. If not, the library turns into one, and runs a copy "
3398 "of the script that loaded the library connected to it. This means that if "
3399 "you source this library, you should do so very near to the top of your "
3400 "script, because everything before the sourcing of the library may well be "
3401 "run again."
3402 msgstr ""
3403 "A biblioteca faz verificações para ter a certeza que está mesmo a falar com "
3404 "um FrontEnd ao examinar a variável DEBIAN_HAS_FRONTEND. Se estiver definida, "
3405 "assume-se que um FrontEnd está a correr. Se não, a biblioteca torna-se numa, "
3406 "e corre uma cópia do script que carregou a biblioteca ligada a ela. Isto "
3407 "significa que se você usar a fonte desta biblioteca, deve fazê-lo muito "
3408 "próximo do topo do seu script, porque tudo antes da fonte da biblioteca pode "
3409 "muito bem ser executado de novo."
3410
3411 #. type: Plain text
3412 #: confmodule.3:42
3413 msgid ""
3414 "B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
3415 "debconf_specification in the debian-policy package"
3416 msgstr ""
3417 "B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
3418 "debconf_specification no pacote debian-policy"
3419
3420 #. type: TH
3421 #: debconf.7:1
3422 #, no-wrap
3423 msgid "DEBCONF"
3424 msgstr "DEBCONF"
3425
3426 #. type: Plain text
3427 #: debconf.7:4
3428 msgid "debconf - Debian package configuration system"
3429 msgstr "debconf - Sistema de configuração de pacotes Debian"
3430
3431 #. type: Plain text
3432 #: debconf.7:8
3433 msgid ""
3434 "Debconf is a configuration system for Debian packages. There is a rarely-"
3435 "used command named debconf, documented in B<debconf>(1)"
3436 msgstr ""
3437 "Debconf é um sistema de configuração para pacotes Debian. Existe um comando "
3438 "raramente usado chamado debconf, documentado em B<debconf>(1)"
3439
3440 #. type: Plain text
3441 #: debconf.7:16
3442 msgid ""
3443 "Debconf provides a consistent interface for configuring packages, allowing "
3444 "you to choose from several user interface frontends. It supports "
3445 "preconfiguring packages before they are installed, which allows large "
3446 "installs and upgrades to ask you for all the necessary information up front, "
3447 "and then go do the work while you do something else. It lets you, if you're "
3448 "in a hurry, skip over less important questions and information while "
3449 "installing a package (and revisit it later)."
3450 msgstr ""
3451 "O debconf disponibiliza uma interface consistente para configurar pacotes, "
3452 "permitindo-lhe escolher entre vários frontends de interface de utilizador. "
3453 "Suporta a pré-configuração de pacotes antes deles serem instalados, o que "
3454 "permite que grandes instalações e actualizações lhe perguntem toda a "
3455 "informação necessária de avanço e depois façam o trabalho enquanto você faz "
3456 "outras coisas. Permite-lhe, se estiver com pressa, saltar as questões menos "
3457 "importantes e informação instala um pacote (e o revisita mais tarde)."
3458
3459 #. type: SH
3460 #: debconf.7:16
3461 #, no-wrap
3462 msgid "Preconfiguring packages"
3463 msgstr "Pré-configurando pacotes"
3464
3465 #. type: Plain text
3466 #: debconf.7:22
3467 msgid ""
3468 "Debconf can configure packages before they are even installed onto your "
3469 "system. This is useful because it lets all the questions the packages are "
3470 "going to ask be asked at the beginning of an install, so the rest of the "
3471 "install can proceed while you are away getting a cup of coffee."
3472 msgstr ""
3473 "O debconf pode configurar os pacotes antes de eles estarem instalados no seu "
3474 "sistema. Isto é útil porque permite que todas as questões que os pacotes vão "
3475 "perguntar seja perguntadas no princípio da instalação, então o resto da "
3476 "instalação pode prosseguir enquanto você vai beber um café."
3477
3478 #. type: Plain text
3479 #: debconf.7:27
3480 msgid ""
3481 "If you use apt (version 0.5 or above), and you have apt-utils installed, "
3482 "each package apt installs will be automatically preconfigured. This is "
3483 "controlled via I</etc/apt/apt.conf.d/70debconf>"
3484 msgstr ""
3485 "Se você usa o apt (versão 5.0 ou posterior), e tem o apt-utils instalado, "
3486 "cada pacote que o apt instala será automaticamente pré-configurado. Isto é "
3487 "controlado via I</etc/apt/apt.conf.d/70debconf>"
3488
3489 #. type: Plain text
3490 #: debconf.7:33
3491 msgid ""
3492 "Sometimes you might want to preconfigure a package by hand, when you're not "
3493 "installing it with apt. You can use B<dpkg-preconfigure>(8) to do that, "
3494 "just pass it the filenames of the packages you want to preconfigure. You "
3495 "will need apt-utils installed for that to work."
3496 msgstr ""
3497 "Por vezes você pode desejar pré-configurar um pacote manualmente, quando não "
3498 "está a instalá-lo com o apt. Pode usar o B<dpkg-preconfigure>(8) para isso, "
3499 "apenas passe-lhe os nomes de ficheiros dos pacotes que deseja pré-"
3500 "configurar. Você precisa do apt-utils instalado para isto funcionar."
3501
3502 #. type: SH
3503 #: debconf.7:33
3504 #, no-wrap
3505 msgid "Reconfiguring packages"
3506 msgstr "Reconfigurando pacotes"
3507
3508 #. type: Plain text
3509 #: debconf.7:40
3510 msgid ""
3511 "Suppose you installed the package, and answered debconf's questions, but now "
3512 "that you've used it awhile, you realize you want to go back and change some "
3513 "of your answers. In the past, reinstalling a package was often the thing to "
3514 "do when you got in this situation, but when you reinstall the package, "
3515 "debconf seems to remember you have answered the questions, and doesn't ask "
3516 "them again (this is a feature)."
3517 msgstr ""
3518 "Suponha que instalou um pacote e respondeu às questões do debconf, mas agora "
3519 "que o usou durante algum tempo, percebe que quer voltar atrás e alterar "
3520 "algumas das suas respostas. No passado, a reinstalação do pacote era muitas "
3521 "vezes o caminho a seguir nesta situação, mas quando reinstala o pacote, o "
3522 "debconf parece lembrar-se que você já respondeu às questões, e não as "
3523 "pergunta de novo (isto é uma característica)."
3524
3525 #. type: Plain text
3526 #: debconf.7:44
3527 #, no-wrap
3528 msgid ""
3529 "Luckily, debconf makes it easy to reconfigure any package that uses it.\n"
3530 "Suppose you want to reconfigure debconf itself. Just run, as root:\n"
3531 " dpkg-reconfigure debconf\n"
3532 msgstr ""
3533 "Felizmente, o debconf facilita a reconfiguração de qualquer pacote que o use.\n"
3534 "Suponha que quer reconfigurar o próprio debconf. Como root, execute:\n"
3535 " dpkg-reconfigure debconf\n"
3536
3537 #. type: Plain text
3538 #: debconf.7:49
3539 msgid ""
3540 "This will ask all the questions you saw when debconf was first installed. "
3541 "It may ask you other questions as well, since it asks even low priority "
3542 "questions that may have been skipped when the package was installed. You "
3543 "can use it on any other package that uses debconf, as well."
3544 msgstr ""
3545 "Isto irá perguntar-lhe todas as perguntas que viu quando o debconf foi "
3546 "instalado pela primeira vez. Pode também fazer-lhe outras perguntas, pois "
3547 "pergunta até questões de baixa prioridade que podem ter sido ignoradas "
3548 "quando o pacote foi instalado. Você pode também usá-lo em qualquer outro "
3549 "pacote que use debconf."
3550
3551 #. type: SH
3552 #: debconf.7:49
3553 #, no-wrap
3554 msgid "Frontends"
3555 msgstr "Frontends"
3556
3557 #. type: Plain text
3558 #: debconf.7:53
3559 msgid ""
3560 "One of debconf's unique features is that the interface it presents to you is "
3561 "only one of many, that can be swapped in at will. There are many debconf "
3562 "frontends available:"
3563 msgstr ""
3564 "Uma das características únicas do debconf é que a interface que lhe "
3565 "apresenta é uma de muitas, que podem ser trocadas quando deseja. Existem "
3566 "muitos frontends do debconf disponíveis:"
3567
3568 #. type: TP
3569 #: debconf.7:53
3570 #, no-wrap
3571 msgid "B<dialog>"
3572 msgstr "B<dialog>"
3573
3574 #. type: Plain text
3575 #: debconf.7:60
3576 msgid ""
3577 "The default frontend, this uses the B<whiptail>(1) or B<dialog>(1) "
3578 "programs to display questions to you. It works in text mode."
3579 msgstr ""
3580 "O frontend predefinido, isto usa os programas B<whiptail>(1) ou B<dialog>(1) "
3581 "para lhes mostrar perguntas. Funciona em modo de texto."
3582
3583 #. type: TP
3584 #: debconf.7:60
3585 #, no-wrap
3586 msgid "B<readline>"
3587 msgstr "B<readline>"
3588
3589 #. type: Plain text
3590 #: debconf.7:72
3591 msgid ""
3592 "The most traditional frontend, this looks quite similar to how Debian "
3593 "configuration always has been: a series of questions, printed out at the "
3594 "console using plain text, and prompts done using the readline library. It "
3595 "even supports tab completion. The libterm-readline-gnu-perl package is "
3596 "strongly recommended if you chose to use this frontend; the default readline "
3597 "module does not support prompting with default values. At the minimum, "
3598 "you'll need the perl-modules package installed to use this frontend."
3599 msgstr ""
3600 "O frontend mais tradicional, isto parece mesmo com o que a configuração da "
3601 "Debian sempre foi: uma série de questões, escritas na consola usando texto "
3602 "simples, e mostra os \"prontos\" usando a biblioteca readline. Até suporte "
3603 "acabamentos com a tecla tab. O pacote libterm-readline-gnu-perl é fortemente "
3604 "recomendado se escolher usar este frontend; o módulo predefinido do readline "
3605 "não suporta chamadas ao utilizador (prompt) com valores predefinidos. No "
3606 "mínimo você precisa do pacote perl-modules instalado para usar este frontend."
3607
3608 #. type: Plain text
3609 #: debconf.7:77
3610 msgid ""
3611 "This frontend has some special hotkeys. Pageup (or ctrl-u) will go back to "
3612 "the previous question (if that is supported by the package that is using "
3613 "debconf), and pagedown (or ctrl-v) will skip forward to the next question."
3614 msgstr ""
3615 "Este frontend tem algumas teclas de atalho especiais. Pageup (ou ctrl-u) irá "
3616 "voltar para a questão anterior (se isso for suportado pelo pacote que usa o "
3617 "debconf), e pagedown (ou ctrl-v) irá saltar em frente para a próxima questão."
3618
3619 #. type: Plain text
3620 #: debconf.7:80
3621 msgid ""
3622 "This is the best frontend for remote admin work over a slow connection, or "
3623 "for those who are comfortable with unix."
3624 msgstr ""
3625 "Este é o melhor frontend para trabalho de administração remota por uma "
3626 "ligação lenta, ou para aqueles que estão confortáveis com o unix."
3627
3628 #. type: TP
3629 #: debconf.7:81
3630 #, no-wrap
3631 msgid "B<noninteractive>"
3632 msgstr "B<noninteractive>"
3633
3634 #. type: Plain text
3635 #: debconf.7:90
3636 msgid ""
3637 "This is the anti-frontend. It never interacts with you at all, and makes the "
3638 "default answers be used for all questions. It might mail error messages to "
3639 "root, but that's it; otherwise it is completely silent and unobtrusive, a "
3640 "perfect frontend for automatic installs. If you are using this front-end, "
3641 "and require non-default answers to questions, you will need to preseed the "
3642 "debconf database; see the section below on Unattended Package Installation "
3643 "for more details."
3644 msgstr ""
3645 "Este é o anti-frontend. Nunca interage consigo de modo algum, e faz com que "
3646 "as respostas predefinidas sejam usadas por todas as questões. Pode enviar "
3647 "mails de erro para o root, mas é só; caso contrário é completamente "
3648 "silencioso e discreto, um frontend perfeito para instalações automáticas. Se "
3649 "você está a usar este frontend e precisa de respostas não predefinidas para "
3650 "as questões, você precisa de pré-semear a base de dados do debconf, veja a "
3651 "secção em baixo em Instalação de 'Pacotes Não Acompanhada' para mais "
3652 "detalhes."
3653
3654 #. type: TP
3655 #: debconf.7:90
3656 #, no-wrap
3657 msgid "B<gnome>"
3658 msgstr "B<gnome>"
3659
3660 #. type: Plain text
3661 #: debconf.7:96
3662 msgid ""
3663 "This is a modern X GUI using the gtk and gnome libraries. Of course, it "
3664 "requires a valid DISPLAY to work; debconf will fall back to other frontends "
3665 "if it can't work. Note that this frontend requires you have the libgtk3-perl "
3666 "package installed."
3667 msgstr ""
3668 "Isto é uma GUI X moderna que usa as bibliotecas gtk e gnome. Claro que "
3669 "necessita de um DISPLAY válido para funcionar; o debconf irá cair para para "
3670 "outros frontends se este não puder funcionar. Note que este frontend requer "
3671 "que tenha o pacote libgtk3-perl instalado."
3672
3673 #. type: TP
3674 #: debconf.7:96
3675 #, no-wrap
3676 msgid "B<kde>"
3677 msgstr "B<kde>"
3678
3679 #. type: Plain text
3680 #: debconf.7:102
3681 msgid ""
3682 "This frontend provides a modern X GUI based on the KDE Platform. You of "
3683 "course need a DISPLAY to use this frontend and you must install debconf-kde-"
3684 "helper package. The frontend will fall back to dialog if some of the "
3685 "prerequisites are not met."
3686 msgstr ""
3687 "Este frontend disponibiliza uma GUI X moderna baseada na plataforma KDE. "
3688 "Claro que você precisa de um DISPLAY para usar este frontend e você tem de "
3689 "instalar o pacote debconf-kde-helper. O frontend irá cair para dialog se "
3690 "algum dos pre-requisitos não estiver satisfeito."
3691
3692 #. type: TP
3693 #: debconf.7:102
3694 #, no-wrap
3695 msgid "B<editor>"
3696 msgstr "B<editor>"
3697
3698 #. type: Plain text
3699 #: debconf.7:110
3700 msgid ""
3701 "This is for those fanatics who have to do everything in a text editor. It "
3702 "runs your editor on a file that looks something like a typical unix config "
3703 "file, and you edit the file to communicate with debconf. Debconf's author "
3704 "prefers to not comment regarding the circumstances that led to this frontend "
3705 "being written."
3706 msgstr ""
3707 "Isto é para aqueles fanáticos que têm de fazer tudo num editor de texto. "
3708 "Executa o seu editor num ficheiro que parece algo como um ficheiro de "
3709 "configuração típico do unix, e você edita o ficheiro para comunicar com o "
3710 "debconf. O autor do debconf prefere não comentar sobre as circunstâncias que "
3711 "levaram à criação deste frontend."
3712
3713 #. type: TP
3714 #: debconf.7:110
3715 #, no-wrap
3716 msgid "B<web>"
3717 msgstr "B<web>"
3718
3719 #. type: Plain text
3720 #: debconf.7:120
3721 msgid ""
3722 "This frontend acts as a web server, that you connect to with your web "
3723 "browser, to browse the questions and answer them. It has a lot of promise, "
3724 "but is a little rough so far. When this frontend starts up, it will print "
3725 "out the location you should point your web browser to. You have to run the "
3726 "web browser on the same machine you are configuring, for security reasons."
3727 msgstr ""
3728 "Este frontend actua como um servidor web, onde você se liga com o seu "
3729 "navegador web, para explorar as perguntas e responder a elas. Tem muito a "
3730 "prometer, mas ainda precisa de muito trabalho. Quando este frontend arranca, "
3731 "escreve a localização para onde deve apontar o seu navegador web. Por razões "
3732 "de segurança, você tem que executar o navegador web na mesma máquina que "
3733 "está a configurar."
3734
3735 #. type: Plain text
3736 #: debconf.7:126
3737 msgid ""
3738 "Do keep in mind that this is not a very secure frontend. Anyone who has "
3739 "access to the computer being configured can currently access the web server "
3740 "and configure things while this frontend is running. So this is more of a "
3741 "proof of concept than anything."
3742 msgstr ""
3743 "Tenha sempre em mente que este não é um frontend muito seguro. Qualquer "
3744 "pessoa que tenha acesso ao computador quando está a ser configurado pode "
3745 "aceder ao servidor web e configurar coisas enquanto este frontend está em "
3746 "execução. Portanto isto é mais uma prova de concepção que outra coisa."
3747
3748 #. type: Plain text
3749 #: debconf.7:133
3750 #, no-wrap
3751 msgid ""
3752 "You can change the default frontend debconf uses by reconfiguring\n"
3753 "debconf. On the other hand, if you just want to change the frontend\n"
3754 "for a minute, you can set the DEBIAN_FRONTEND environment variable to\n"
3755 "the name of the frontend to use. For example:\n"
3756 " DEBIAN_FRONTEND=readline apt-get install slrn\n"
3757 msgstr ""
3758 "Você pode mudar o frontend predefinido que o debconf usa ao reconfigurar\n"
3759 "o debconf. Por outro lado, se apenas deseja mudar o frontend por um minuto,\n"
3760 "você pode definir a variável de ambiente DEBIAN_FRONTEND para o nome do\n"
3761 "frontend a usar. Por exemplo:\n"
3762 " DEBIAN_FRONTEND=readline apt-get install slrn\n"
3763
3764 #. type: Plain text
3765 #: debconf.7:141
3766 msgid ""
3767 "The B<dpkg-reconfigure>(8) and B<dpkg-preconfigure>(8) commands also let "
3768 "you pass I<--frontend=> to them, followed by the frontend you want them to "
3769 "use."
3770 msgstr ""
3771 "Os comandos B<dpkg-reconfigure>(8) e B<dpkg-preconfigure>(8) também lhe "
3772 "permitem passar I<--frontend=> para eles, seguido do frontend que deseja que "
3773 "estes usem."
3774
3775 #. type: Plain text
3776 #: debconf.7:145
3777 msgid ""
3778 "Note that not all frontends will work in all circumstances. If a frontend "
3779 "fails to start up for some reason, debconf will print out a message "
3780 "explaining why, and fall back to the next-most similar frontend."
3781 msgstr ""
3782 "Note que nem todos os frontends irão funcionar em todas as circunstâncias, "
3783 "Se um frontend falhar ao arrancar por alguma razão, o debconf irá escrever "
3784 "uma mensagem a explicar porquê, e irá 'cair' para o frontend semelhante "
3785 "seguinte."
3786
3787 #. type: SH
3788 #: debconf.7:145
3789 #, no-wrap
3790 msgid "Priorities"
3791 msgstr "Propriedades"
3792
3793 #. type: Plain text
3794 #: debconf.7:152
3795 msgid ""
3796 "Another nice feature of debconf is that the questions it asks you are "
3797 "prioritized. If you don't want to be bothered about every little thing, you "
3798 "can set up debconf to only ask you the most important questions. On the "
3799 "other hand, if you are a control freak, you can make it show you all "
3800 "questions. Each question has a priority. In increasing order of importance:"
3801 msgstr ""
3802 "Outra funcionalidade agradável do debconf é que as perguntas que lhe faz são "
3803 "priorizadas. Se você não deseja ser incomodado com todos os pequenos "
3804 "detalhes, você pode configurar o debconf para apenas perguntar as questões "
3805 "mais importantes. Por outro lado, se você é um viciado em controle, pode "
3806 "fazê-lo mostrar todas as perguntas. Cada pergunta tem uma prioridade. A "
3807 "ordem de importância em sequência crescente:"
3808
3809 #. type: TP
3810 #: debconf.7:152 debconf-devel.7:294
3811 #, no-wrap
3812 msgid "B<low>"
3813 msgstr "B<low>"
3814
3815 #. type: Plain text
3816 #: debconf.7:156
3817 msgid ""
3818 "Very trivial questions that have defaults that will work in the vast "
3819 "majority of cases."
3820 msgstr ""
3821 "Questões muito triviais que têm predefinições que irão funcionar na vasta "
3822 "maioria dos casos."
3823
3824 #. type: TP
3825 #: debconf.7:156 debconf-devel.7:298
3826 #, no-wrap
3827 msgid "B<medium>"
3828 msgstr "B<medium>"
3829
3830 #. type: Plain text
3831 #: debconf.7:159
3832 msgid "Normal questions that have reasonable defaults."
3833 msgstr "Questões normais que têm predefinições razoáveis."
3834
3835 #. type: TP
3836 #: debconf.7:159 debconf-devel.7:301
3837 #, no-wrap
3838 msgid "B<high>"
3839 msgstr "B<high>"
3840
3841 #. type: Plain text
3842 #: debconf.7:162
3843 msgid "Questions that don't have a reasonable default."
3844 msgstr "Questões que não têm uma predefinição razoável."
3845
3846 #. type: TP
3847 #: debconf.7:162 debconf-devel.7:304
3848 #, no-wrap
3849 msgid "B<critical>"
3850 msgstr "B<critical>"
3851
3852 #. type: Plain text
3853 #: debconf.7:165
3854 msgid "Questions that you really, really need to see (or else)."
3855 msgstr "Questões que você precisa realmente de ver (ou então nada feito)."
3856
3857 #. type: Plain text
3858 #: debconf.7:175
3859 msgid ""
3860 "Only questions with a priority equal to or greater than the priority you "
3861 "choose will be shown to you. You can set the priority value by reconfiguring "
3862 "debconf, or temporarily by passing I<--priority=> followed by the value to "
3863 "the B<dpkg-reconfigure>(8) and B<dpkg-preconfigure>(8) commands, or by "
3864 "setting the DEBIAN_PRIORITY environment variable."
3865 msgstr ""
3866 "Apenas as questões com uma prioridade igual ou maior que a prioridade que "
3867 "escolheu lhe serão mostradas. Você pode definir o valor da prioridade ao "
3868 "reconfigurar o debconf, ou temporariamente passando I<--priority=> seguido "
3869 "do valor aos comandos B<dpkg-reconfigure>(8) e B<dpkg-preconfigure>(8), ou "
3870 "ao definir a variável de ambiente DEBIAN_PRIORITY."
3871
3872 #. type: SH
3873 #: debconf.7:175
3874 #, no-wrap
3875 msgid "Backend Database"
3876 msgstr "Base de Dados de Backend"
3877
3878 #. type: Plain text
3879 #: debconf.7:187
3880 msgid ""
3881 "Debconf uses a rather flexible and potentially complicated backend database "
3882 "for storing data such as the answers to questions. The file B</etc/debconf."
3883 "conf> is used to configure this database. If you need to set up something "
3884 "complicated, like make debconf read a remote database to get defaults, with "
3885 "local overrides, read the B<debconf.conf>(5) man page for all the gory "
3886 "details. Generally, the backend database is located in B</var/cache/debconf/"
3887 "> ."
3888 msgstr ""
3889 "O debconf usa base de dados de backend muito flexível e potencialmente "
3890 "complicada para armazenar dados como as respostas às questões. O ficheiro B</"
3891 "etc/debconf.conf> é usado para configurar esta base de dados. Se você "
3892 "precisar de definir algo complicado, como fazer o debconf ler uma base de "
3893 "dados remota para obter predefinições, com sobreposições locais, leia o "
3894 "manual B<debconf.conf>(5) para todos os detalhes mais chatos. Geralmente, a "
3895 "base de dados de backend está localizada em B</var/cache/debconf/>."
3896
3897 #. type: SH
3898 #: debconf.7:187
3899 #, no-wrap
3900 msgid "Unattended Package Installation"
3901 msgstr "Instalação de Pacotes Não Acompanhada"
3902
3903 #. type: Plain text
3904 #: debconf.7:194
3905 msgid ""
3906 "If you have many machines to manage you will sometimes find yourself in the "
3907 "position of needing to perform an unattended installation or upgrade of "
3908 "packages on many systems, when the default answers to some configuration "
3909 "questions are not acceptable. There are many ways to approach this; all "
3910 "involve setting up a database and making debconf use it to get the answers "
3911 "you want."
3912 msgstr ""
3913 "Se você tem muitas máquinas para gerir irá por vezes deparar-se com a "
3914 "necessidade de executar uma instalação não acompanhada ou a actualização de "
3915 "pacotes em muitos sistemas, onde as respostas predefinidas de algumas "
3916 "perguntas de configuração não são aceitáveis. Há muitas maneiras de fazer "
3917 "isto; todas envolvem definir uma base de dados e fazer o debconf usá-la para "
3918 "obter as respostas que você quer."
3919
3920 #. type: Plain text
3921 #: debconf.7:198
3922 msgid ""
3923 "You should really read B<debconf.conf>(5) before this section, as you need "
3924 "to understand how debconf's databases work."
3925 msgstr ""
3926 "Você deveria mesmo ler B<debconf.conf>(5) antes desta secção, pois precisa "
3927 "de compreender como funcionam as bases de dados do debconf."
3928
3929 #. type: Plain text
3930 #: debconf.7:205
3931 msgid ""
3932 "The easiest way to set up the database is to install the packages on one "
3933 "machine and answer their questions as usual. Or you might just use B<dpkg-"
3934 "preconfigure>(8) to configure a set of packages without actually installing "
3935 "them. Or you might even decide to write a plain text debconf database by "
3936 "hand or something."
3937 msgstr ""
3938 "A maneira mais fácil de definir uma base de dados é instalar os pacotes em "
3939 "uma máquina e responder às suas perguntas como usualmente. Ou você pode usar "
3940 "B<dpkg-preconfigure>(8) para configurar um conjunto de pacotes sem realmente "
3941 "os instalar. Ou você pode até decidir escrever uma base de dados debconf em "
3942 "texto simples manualmente ou algo do género."
3943
3944 #. type: Plain text
3945 #: debconf.7:209
3946 msgid ""
3947 "Once you have the database, you need to figure out how to make the remote "
3948 "systems use it. This depends of course on the configuration of those systems "
3949 "and what database types they are set up to use."
3950 msgstr ""
3951 "Após ter a base de dados, você precisa descobrir como fazer os sistemas "
3952 "remotos usá-la. Isto claro que depende da configuração desses sistemas e "
3953 "quais são os tipos de bases de dados que eles têm definido para usar."
3954
3955 #. type: Plain text
3956 #: debconf.7:213
3957 msgid ""
3958 "If you are using the LDAP debconf database, an entire network of debian "
3959 "machines can also have any or all package installation questions answered "
3960 "automatically by a single LDAP server."
3961 msgstr ""
3962 "Se você está a usar uma base de dados debconf LDAP, uma rede inteira de "
3963 "máquinas debian podem ter as questões de instalação de qualquer ou todos os "
3964 "pacotes respondidas automaticamente por um único servidor LDAP."
3965
3966 #. type: Plain text
3967 #: debconf.7:222
3968 msgid ""
3969 "But perhaps you're using something a little bit easier to set up like, say, "
3970 "the default debconf database configuration, or you just don't want your "
3971 "remote systems to use LDAP all the time. In this case the best approach is "
3972 "to temporarily configure the remote systems to stack your database "
3973 "underneath their own existing databases, so they pull default values out of "
3974 "it. Debconf offers two environment variables, DEBCONF_DB_FALLBACK and "
3975 "DEBCONF_DB_OVERRIDE, to make it easy to do this on the fly. Here is a sample "
3976 "use:"
3977 msgstr ""
3978 "Mas talvez você esteja a usar algo um pouco mais fácil como, digamos, a "
3979 "configuração de base de dados debconf predefinida, ou você apenas não quer "
3980 "que os seus sistemas remotos usem LDAP a toda a hora. Neste caso a melhor "
3981 "aproximação é configurar temporariamente os sistemas remotos para empilhar a "
3982 "sua base de dados por baixo das já existentes e próprias bases de dados, "
3983 "para que puxem valores predefinidos dela. O debconf oferece duas variáveis "
3984 "de ambiente, DEBCONF_DB_FALLBACK e DEBCONF_DB_OVERRIDE, para tornar mais "
3985 "fácil fazer isto na hora. Aqui está um exemplo de utilização:"
3986
3987 #. type: Plain text
3988 #: debconf.7:226
3989 #, no-wrap
3990 msgid ""
3991 " cat /var/cache/debconf/config.dat | \\e\n"
3992 " ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
3993 " DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"
3994 msgstr ""
3995 " cat /var/cache/debconf/config.dat | \\e\n"
3996 " ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
3997 " DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"
3998
3999 #. type: Plain text
4000 #: debconf.7:232
4001 msgid ""
4002 "This makes the debconf on the remote host read in the data that is piped "
4003 "across the ssh connection and interpret it as a plain text format debconf "
4004 "database. It then uses that database as a fallback database -- a read-only "
4005 "database that is queried for answers to questions if the system's main "
4006 "debconf database lacks answers."
4007 msgstr ""
4008 "Isto faz com que o debconf na máquina remota leia os dados que são "
4009 "canalizados pela ligação ssh e os interprete como uma base de dados debconf "
4010 "em formato de texto. Depois usar essa base de dados como uma base de dados "
4011 "de reserva (fallback) -- uma base de dados só de leitura que é questionada "
4012 "por respostas a perguntas se a base de dados debconf principal do sistema "
4013 "não tiver as respostas."
4014
4015 #. type: Plain text
4016 #: debconf.7:234
4017 msgid "Here's another way to use the DEBCONF_DB_FALLBACK environment variable:"
4018 msgstr ""
4019 "Aqui está outro modo de usar a variável de ambiente DEBCONF_DB_FALLBACK:"
4020
4021 #. type: Plain text
4022 #: debconf.7:237
4023 #, no-wrap
4024 msgid ""
4025 " ssh -R 389:ldap:389 root@target \\e\n"
4026 " \t\"DEBCONF_DB_FALLBACK='LDAP{host:localhost}' apt-get upgrade\"\n"
4027 msgstr ""
4028 " ssh -R 389:ldap:389 root@target \\e\n"
4029 " \t\"DEBCONF_DB_FALLBACK='LDAP{host:localhost}' apt-get upgrade\"\n"
4030
4031 #. type: Plain text
4032 #: debconf.7:242
4033 msgid ""
4034 "Here ssh is used to set up a tunneled LDAP connection and run debconf. "
4035 "Debconf is told to use the LDAP server as the fallback database. Note the "
4036 "use of \"{host:localhost}\" to configure how debconf accesses the LDAP "
4037 "database by providing the \"host\" field with a value of \"localhost\"."
4038 msgstr ""
4039 "Aqui é usado ssh para configurar uma ligação LDAP em túnel e correr o "
4040 "debconf. Ao debconf é dito para usar o servidor LDAP como base de dados "
4041 "fallback. Note o uso de \"{host:localhost}\" para configurar como o debconf "
4042 "acede à base de dados LDAP ao disponibilizar o campo \"host\" com um valor "
4043 "de \"localhost\"."
4044
4045 #. type: Plain text
4046 #: debconf.7:244
4047 msgid "Here's another method:"
4048 msgstr "Aqui está outro método:"
4049
4050 #. type: Plain text
4051 #: debconf.7:247
4052 #, no-wrap
4053 msgid ""
4054 " scp config.dat root@target:\n"
4055 " ssh root@target \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\n"
4056 msgstr ""
4057 " scp config.dat root@target:\n"
4058 " ssh root@target \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\n"
4059
4060 #. type: Plain text
4061 #: debconf.7:252
4062 msgid ""
4063 "Here you copy the database over with scp, and then ssh over and make debconf "
4064 "use the file you copied over. This illustrates a shorthand you can use in "
4065 "the DEBCONF_DB_FALLBACK parameters -- if a field name is left off, it "
4066 "defaults to \"filename\"."
4067 msgstr ""
4068 "Aqui você copia a base de dados com scp, e depois usa ssh para fazer com que "
4069 "o debconf use o ficheiro que copiou. Isto ilustra um atalho que pode usar "
4070 "nos parâmetros DEBCONF_DB_FALLBACK -- se um nome de campo for deixado, usará "
4071 "por predefinição \"filename\"."
4072
4073 #. type: Plain text
4074 #: debconf.7:261
4075 msgid ""
4076 "There is only one problem with these uses of the DEBCONF_DB_FALLBACK "
4077 "parameter: While the fallback database can provide answers to questions the "
4078 "other debconf databases have never seen, it is only queried as a fallback; "
4079 "after the other databases. If you need to instead temporarily override an "
4080 "existing value on the remote host, you should instead use the "
4081 "DEBCONF_DB_OVERRIDE variable. Like DEBCONF_DB_FALLBACK, it sets up a "
4082 "temporary database, but this database is consulted before any others, and "
4083 "can be used to override existing values."
4084 msgstr ""
4085 "Há apenas um problema com estes usos do parâmetro DEBCONF_DB_FALLBACK. "
4086 "Enquanto a base de dados fallback pode disponibilizar respostas a questões "
4087 "que as outras bases de dados debconf nunca viram, é apenas questionada como "
4088 "uma reserva; depois das outras bases de dados. Se você precisa de sobrepor "
4089 "temporariamente um valor existente na máquina remota, deve usar a variável "
4090 "DEBCONF_DB_OVERRIDE em vez desta. Tal como DEBCONF_DB_FALLBACK, define uma "
4091 "base de dados temporária, mas esta base de dados é consultada antes das "
4092 "outras, e pode ser usada para sobrepor valores existentes."
4093
4094 #. type: SH
4095 #: debconf.7:261
4096 #, no-wrap
4097 msgid "Developing for Debconf"
4098 msgstr "Desenvolvendo para Debconf"
4099
4100 #. type: Plain text
4101 #: debconf.7:266
4102 msgid ""
4103 "Package developers and others who want to develop packages that use debconf "
4104 "should read B<debconf-devel>(7) ."
4105 msgstr ""
4106 "Programadores de pacotes e outros que desejam desenvolver pacotes que usam "
4107 "debconf devem ler B<debconf-devel>(7)."
4108
4109 #. type: Plain text
4110 #: debconf.7:274
4111 msgid ""
4112 "Briefly, debconf communicates with maintainer scripts or other programs via "
4113 "standard input and output, using a simple line-oriented command language "
4114 "similar to that used by common internet protocols such as SMTP. Programs use "
4115 "this protocol to ask debconf to display questions to the user, and retrieve "
4116 "the user's answers. The questions themselves are defined in a separate file, "
4117 "called the \"templates file\", which has a format not unlike a debian "
4118 "control file."
4119 msgstr ""
4120 "Resumindo, o debconf comunica com scripts do maintainer ou outros programas "
4121 "via entradas e saídas standard, usando uma simples linguagem de comandos "
4122 "orientada a linhas semelhante à usada por protocolos comuns de internet como "
4123 "o SMTP. Os programas usam este protocolo para pedir ao debconf para mostrar "
4124 "questões ao utilizador, e recolher as respostas dos utilizadores. As "
4125 "próprias questões são definidas num ficheiro separado, chamado o ficheiro "
4126 "\"templates\", o qual tem um formato não muito diferente de um ficheiro de "
4127 "controle debian."
4128
4129 #. type: Plain text
4130 #: debconf.7:278
4131 msgid ""
4132 "Debian packages which use debconf typically provide both a templates file "
4133 "and a \"config\" script (run to preconfigure the package) in the control "
4134 "metadata section of the package."
4135 msgstr ""
4136 "Os pacotes debian que usam debconf tipicamente disponibilizam ambos; um "
4137 "ficheiro de templates e um script de configuração (executado para pré-"
4138 "configurar o pacote) na secção de meta-dados de control do pacote."
4139
4140 #. type: SH
4141 #: debconf.7:278
4142 #, no-wrap
4143 msgid "ENVIRONMENT"
4144 msgstr "AMBIENTE"
4145
4146 #. type: TP
4147 #: debconf.7:279
4148 #, no-wrap
4149 msgid "B<DEBIAN_FRONTEND>"
4150 msgstr "B<DEBIAN_FRONTEND>"
4151
4152 #. type: Plain text
4153 #: debconf.7:282
4154 msgid "Used to temporarily change the frontend debconf uses. See above."
4155 msgstr ""
4156 "Usado para alterar temporariamente o frontend que o debconf usa. Veja em "
4157 "cima."
4158
4159 #. type: TP
4160 #: debconf.7:282
4161 #, no-wrap
4162 msgid "B<DEBIAN_PRIORITY>"
4163 msgstr "B<DEBIAN_PRIORITY>"
4164
4165 #. type: Plain text
4166 #: debconf.7:286
4167 msgid ""
4168 "Used to temporarily change the minimum priority of question debconf will "
4169 "display. See above."
4170 msgstr ""
4171 "Usado para alterar temporariamente a prioridade mínima das questões que o "
4172 "debconf irá mostrar. Veja em cima."
4173
4174 #. type: TP
4175 #: debconf.7:286 debconf-devel.7:576
4176 #, no-wrap
4177 msgid "B<DEBCONF_DEBUG>"
4178 msgstr "B<DEBCONF_DEBUG>"
4179
4180 #. type: Plain text
4181 #: debconf.7:292
4182 msgid ""
4183 "Turns on debugging output on standard error. May be set to a facility name "
4184 "or a regular expression which matches a facility name (such as '.*' to "
4185 "output all debug info). The facility names include:"
4186 msgstr ""
4187 "Liga a saída de depuração no erro standard. Pode ser definido para um nome "
4188 "de instituição ou uma expressão regular que corresponda a um nome de "
4189 "instituição (tal como '.*' para gerar toda a informação de depuração). Os "
4190 "nomes de instituições incluem:"
4191
4192 #. type: TP
4193 #: debconf.7:292
4194 #, no-wrap
4195 msgid "B<user>"
4196 msgstr "B<user>"
4197
4198 #. type: Plain text
4199 #: debconf.7:295
4200 msgid "Debugging info of interest to a debconf user."
4201 msgstr "Informação de depuração de interesse a um utilizador do debconf."
4202
4203 #. type: TP
4204 #: debconf.7:295
4205 #, no-wrap
4206 msgid "B<developer>"
4207 msgstr "B<developer>"
4208
4209 #. type: Plain text
4210 #: debconf.7:298
4211 msgid "Debugging info of interest to a package developer."
4212 msgstr "Informação de depuração de interesse para um programador de pacote."
4213
4214 #. type: TP
4215 #: debconf.7:298
4216 #, no-wrap
4217 msgid "B<db>"
4218 msgstr "B<db>"
4219
4220 #. type: Plain text
4221 #: debconf.7:301
4222 msgid "Debugging info about the backend database."
4223 msgstr "Informação de depuração acerca da base de dados backend."
4224
4225 #. type: TP
4226 #: debconf.7:302
4227 #, no-wrap
4228 msgid "B<DEBCONF_NOWARNINGS>"
4229 msgstr "B<DEBCONF_NOWARNINGS>"
4230
4231 #. type: Plain text
4232 #: debconf.7:306
4233 msgid ""
4234 "Set to \"yes\" to disable some warnings that debconf may display. Does not "
4235 "suppress display of fatal errors."
4236 msgstr ""
4237 "Definir para \"yes\" para desactivar alguns avisos que o debconf pode "
4238 "mostrar. Não suprime a exibição de erros fatais."
4239
4240 #. type: TP
4241 #: debconf.7:306
4242 #, no-wrap
4243 msgid "B<DEBCONF_TERSE>"
4244 msgstr "B<DEBCONF_TERSE>"
4245
4246 #. type: Plain text
4247 #: debconf.7:310
4248 msgid ""
4249 "Set to \"yes\" to enable terse mode, in which debconf frontends cut down on "
4250 "the verbiage as much as possible."
4251 msgstr ""
4252 "Definir para \"yes\" para activar o modo \"terse\", no qual os frontends do "
4253 "debconf cortam na exibição de detalhes o máximo possível."
4254
4255 #. type: TP
4256 #: debconf.7:310
4257 #, no-wrap
4258 msgid "B<DEBCONF_DB_FALLBACK>"
4259 msgstr "B<DEBCONF_DB_FALLBACK>"
4260
4261 #. type: Plain text
4262 #: debconf.7:320
4263 msgid ""
4264 "Stack a database after the normally used databases, so that it is used as a "
4265 "fallback to get configuration information from. See \"Unattended Package "
4266 "Installation\" above. If the value of the variable is the name of an "
4267 "existing database in debconf.conf, then that database will be used. "
4268 "Otherwise, the environment variable can be used to configure a database on "
4269 "the fly, by telling the type of database, and optionally passing field:value "
4270 "settings, inside curly braces after the type. Spaces are used to separate "
4271 "fields, so you cannot specify a field value containing whitespace."
4272 msgstr ""
4273 "Empilha uma base de dados após as bases de dados normalmente usadas, para "
4274 "que a use como uma reserva de onde obter informação de configuração. Veja "
4275 "\"Instalação de Pacotes Não Acompanhada\" em cima. Se o valor da variável "
4276 "for o nome de uma base de dados existente em debconf.conf, então essa base "
4277 "de dados será usada. Caso contrário, a variável de ambiente pode ser usada "
4278 "para configurar uma base de dados na hora, ao dizer-lhe o tipo de base de "
4279 "dados, e passar opcionalmente definições de campo:valor, dentro de chavetas "
4280 "após o tipo. Os espaços são usados para separar os campos, portanto você não "
4281 "pode especificar um valor que tenha espaços em branco."
4282
4283 #. type: Plain text
4284 #: debconf.7:323
4285 #, no-wrap
4286 msgid ""
4287 "Thus, this uses the fallbackdb in debconf.conf:\n"
4288 " DEBCONF_DB_FALLBACK=fallbackdb\n"
4289 msgstr ""
4290 "Assim, isto usa o fallbackdb em debconf.conf:\n"
4291 " DEBCONF_DB_FALLBACK=fallbackdb\n"
4292
4293 #. type: Plain text
4294 #: debconf.7:327
4295 #, no-wrap
4296 msgid ""
4297 "While this sets up a new database of type File, and tells it a filename to\n"
4298 "use and turns off backups:\n"
4299 " DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no}\n"
4300 msgstr ""
4301 "Enquanto isto define uma nova base de dados do tipo File, e diz-lhe um nome de\n"
4302 "ficheiro a usar e desliga os backups:\n"
4303 " DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no}\n"
4304
4305 #. type: Plain text
4306 #: debconf.7:330
4307 #, no-wrap
4308 msgid ""
4309 "And as a shorthand, this sets up a database of type File with a filename:\n"
4310 " DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"
4311 msgstr ""
4312 "E de forma abreviada, isto define uma base de dados do tipo File com um nome\n"
4313 "de ficheiro:\n"
4314 " DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"
4315
4316 #. type: Plain text
4317 #: debconf.7:333
4318 msgid ""
4319 "Note that if a fallback database is set up on the fly, it will be read-only "
4320 "by default."
4321 msgstr ""
4322 "Note que se uma base de dados de emergência (fallback) for definida na hora, "
4323 "irá ficar em apenas-leitura por predefinição."
4324
4325 #. type: TP
4326 #: debconf.7:333
4327 #, no-wrap
4328 msgid "B<DEBCONF_DB_OVERRIDE>"
4329 msgstr "B<DEBCONF_DB_OVERRIDE>"
4330
4331 #. type: Plain text
4332 #: debconf.7:338
4333 msgid ""
4334 "Stack a database before the normally used databases, so that it can override "
4335 "values from them. The value of the variable works the same as does the value "
4336 "of DEBCONF_DB_FALLBACK."
4337 msgstr ""
4338 "Empilha uma base de dados antes das bases de dados usadas normalmente, para "
4339 "que possa sobrepor valores delas. O valor da variável funciona do mesmo modo "
4340 "que o valor de DEBCONF_DB_FALLBACK."
4341
4342 #. type: TP
4343 #: debconf.7:338
4344 #, no-wrap
4345 msgid "B<DEBCONF_DB_REPLACE>"
4346 msgstr "B<DEBCONF_DB_REPLACE>"
4347
4348 #. type: Plain text
4349 #: debconf.7:343
4350 msgid ""
4351 "Use a given database instead of the normally used databases. This may be "
4352 "useful for testing with a separate database without having to create a "
4353 "separate debconf.conf, or to avoid locking the normal databases."
4354 msgstr ""
4355 "Usa uma base de dados fornecida em vez das bases de dados normalmente "
4356 "usadas. isto pode ser útil para testes com uma base de dados separada sem "
4357 "ter que criar um debconf.conf separado, ou para evitar bloquear as bases de "
4358 "dados normais."
4359
4360 #. type: TP
4361 #: debconf.7:343
4362 #, no-wrap
4363 msgid "B<DEBCONF_SYSTEMRC>"
4364 msgstr "B<DEBCONF_SYSTEMRC>"
4365
4366 #. type: Plain text
4367 #: debconf.7:349
4368 msgid ""
4369 "If this environment variable is set, debconf will ignore a user's ~/."
4370 "debconfrc file, and use the system one instead. If it is set to the name of "
4371 "a regular file, debconf will use that file in preference to the system "
4372 "configuration files."
4373 msgstr ""
4374 "Se esta variável de ambiente estiver definida, o debconf irá ignorar o "
4375 "ficheiro ~/.debconfrc do utilizador, e em vez deste, usar o do sistema. Se "
4376 "estiver definida para o nome de um ficheiro regular, o debconf irá usar esse "
4377 "ficheiro em preferência dos ficheiros de configuração do sistema."
4378
4379 #. type: TP
4380 #: debconf.7:349
4381 #, no-wrap
4382 msgid "B<DEBCONF_FORCE_DIALOG>"
4383 msgstr "B<DEBCONF_FORCE_DIALOG>"
4384
4385 #. type: Plain text
4386 #: debconf.7:353
4387 msgid ""
4388 "If this environment variable is set, debconf will use dialog in preference "
4389 "to whiptail for the dialog frontend."
4390 msgstr ""
4391 "Se esta variável de ambiente estiver definida, o debconf irá usar o dialog "
4392 "em preferência do whiptail para o frontend do diálogo."
4393
4394 #. type: TP
4395 #: debconf.7:353
4396 #, no-wrap
4397 msgid "B<DEBCONF_FORCE_XDIALOG>"
4398 msgstr "B<DEBCONF_FORCE_XDIALOG>"
4399
4400 #. type: Plain text
4401 #: debconf.7:357
4402 msgid ""
4403 "If this environment variable is set, debconf will use Xdialog in preference "
4404 "to whiptail for the dialog frontend."
4405 msgstr ""
4406 "Se esta variável de ambiente estiver definida, o debconf irá usar o Xdialog "
4407 "em preferência do whiptail para o frontend de diálogo."
4408
4409 #. type: TP
4410 #: debconf.7:357
4411 #, no-wrap
4412 msgid "B<DEBCONF_NONINTERACTIVE_SEEN>"
4413 msgstr "B<DEBCONF_NONINTERACTIVE_SEEN>"
4414
4415 #. type: Plain text
4416 #: debconf.7:361
4417 msgid ""
4418 "Set to \"true\" to cause the seen flag to be set for questions asked in the "
4419 "noninteractive frontend."
4420 msgstr ""
4421 "Definido para \"true\" fará definir a bandeira \"visto\" nas perguntas "
4422 "feitas no frontend noninteractive."
4423
4424 #. type: SH
4425 #: debconf.7:361
4426 #, no-wrap
4427 msgid "BUGS"
4428 msgstr "BUGS"
4429
4430 #. type: Plain text
4431 #: debconf.7:363
4432 msgid "Probably quite a few, there's a lot of code here."
4433 msgstr "Provavelmente alguns, existe muito código aqui."
4434
4435 #. type: Plain text
4436 #: debconf.7:365
4437 msgid ""
4438 "If you do file a bug report, be sure to include the following information:"
4439 msgstr ""
4440 "Se você preencher um relatório de bug, certifique-se que inclui a seguinte "
4441 "informação:"
4442
4443 #. type: TP
4444 #: debconf.7:365 debconf.7:368 debconf.7:371 debconf-devel.7:469
4445 #: debconf-devel.7:473 debconf-devel.7:479 debconf-devel.7:484
4446 #: debconf-devel.7:489
4447 #, no-wrap
4448 msgid "B<*>"
4449 msgstr "B<*>"
4450
4451 #. type: Plain text
4452 #: debconf.7:368
4453 msgid "The debconf frontend you were using when the problem occurred"
4454 msgstr "O frontend do debconf que estava a usar quando o problema ocorreu"
4455
4456 #. type: Plain text
4457 #: debconf.7:371
4458 msgid "What you did to trigger the problem."
4459 msgstr "O que você fez para despoletar o problema."
4460
4461 #. type: Plain text
4462 #: debconf.7:376
4463 msgid ""
4464 "The full text of any error messages. If you can reproduce the bug, do so "
4465 "with DEBCONF_DEBUG='.*' set and exported. This speeds up debugging a lot."
4466 msgstr ""
4467 "O texto completo de quaisquer mensagens de erro. Se você consegue reproduzir "
4468 "o bug, faça-o com DEBCONF_DEBUG='.*' definido e exportado. Isto acelera "
4469 "imenso a depuração."
4470
4471 #. type: Plain text
4472 #: debconf.7:382
4473 msgid ""
4474 "B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
4475 "reconfigure>(8), B<debconf>(1),"
4476 msgstr ""
4477 "B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
4478 "reconfigure>(8), B<debconf>(1),"
4479
4480 #. type: TH
4481 #: debconf-devel.7:1
4482 #, no-wrap
4483 msgid "DEBCONF-DEVEL"
4484 msgstr "DEBCONF-DEVEL"
4485
4486 #. type: Plain text
4487 #: debconf-devel.7:4
4488 msgid "debconf - developers guide"
4489 msgstr "debconf - guia de programadores"
4490
4491 #. type: Plain text
4492 #: debconf-devel.7:6
4493 msgid "This is a guide for developing packages that use debconf."
4494 msgstr "Isto é um guia para desenvolver pacotes que usam debconf."
4495
4496 #. type: Plain text
4497 #: debconf-devel.7:9
4498 msgid ""
4499 "This manual assumes that you are familiar with debconf as a user, and are "
4500 "familiar with the basics of debian package construction."
4501 msgstr ""
4502 "Este manual assume que você está familiarizado com o debconf como "
4503 "utilizador, e está familiarizado com as bases de construção de pacotes "
4504 "debian."
4505
4506 #. type: Plain text
4507 #: debconf-devel.7:18
4508 msgid ""
4509 "This manual begins by explaining two new files that are added to debian "
4510 "packages that use debconf. Then it explains how the debconf protocol works, "
4511 "and points you at some libraries that will let your programs speak the "
4512 "protocol. It discusses other maintainer scripts that debconf is typically "
4513 "used in: the postinst and postrm scripts. Then moves on to more advanced "
4514 "topics like shared debconf templates, debugging, and some common techniques "
4515 "and pitfalls of programming with debconf. It closes with a discussion of "
4516 "debconf's current shortcomings."
4517 msgstr ""
4518 "Este manual começa por explicar dois novos ficheiros que foram adicionados "
4519 "aos pacotes debian que usam debconf. Depois explica como funciona o "
4520 "protocolo debconf, e indica-lhe algumas bibliotecas que permitem que os seus "
4521 "programas falem o protocolo. Discute outros scripts de maintainer onde o "
4522 "debconf é tipicamente usado: os scripts postinst e postrm. Depois avança "
4523 "para tópicos mais avançados como templates debconf partilhados, depuração, e "
4524 "algumas técnicas comuns e armadilhas de programar com debconf. Termina com "
4525 "uma discussão das deficiências actuais do debconf."
4526
4527 #. type: SH
4528 #: debconf-devel.7:18
4529 #, no-wrap
4530 msgid "THE CONFIG SCRIPT"
4531 msgstr "O SCRIPT DE CONFIGURAÇÃO"
4532
4533 #. type: Plain text
4534 #: debconf-devel.7:23
4535 msgid ""
4536 "Debconf adds an additional maintainer script, the config script, to the set "
4537 "of maintainer scripts that can be in debian packages (the postinst, preinst, "
4538 "postrm, and prerm). The config script is responsible for asking any "
4539 "questions necessary to configure the package."
4540 msgstr ""
4541 "Debconf adiciona um script de maintainer adicional, o script config, ao "
4542 "conjunto de scripts do maintainer que podem existir nos pacotes debian (o "
4543 "postinst, preinst, postrm, e prerm). O script config é responsável por "
4544 "perguntar quaisquer questões necessárias à configuração do pacote."
4545
4546 #. type: Plain text
4547 #: debconf-devel.7:28
4548 msgid ""
4549 "Note: It is a little confusing that dpkg refers to running a package's "
4550 "postinst script as \"configuring\" the package, since a package that uses "
4551 "debconf is often fully pre-configured, by its config script, before the "
4552 "postinst ever runs. Oh well."
4553 msgstr ""
4554 "Nota: É um pouco confuso que o dpkg refira a correr o script postinst de um "
4555 "pacote como \"a configurar\" o pacote, porque o pacote que usa debconf é "
4556 "geralmente totalmente pré-configurado, pelo seu script config, antes do "
4557 "postinst correr. Pois é."
4558
4559 #. type: Plain text
4560 #: debconf-devel.7:34
4561 msgid ""
4562 "Like the postinst, the config script is passed two parameters when it is "
4563 "run. The first tells what action is being performed, and the second is the "
4564 "version of the package that is currently installed. So, like in a postinst, "
4565 "you can use dpkg --compare-versions on $2 to make some behavior happen only "
4566 "on upgrade from a particular version of a package, and things like that."
4567 msgstr ""
4568 "Como o postinst, ao script config são passados dois parâmetros quando é "
4569 "executado. O primeiro diz que acção é executada, e o segundo é a versão do "
4570 "pacote que está actualmente instalada. Portanto, como num postinst, você "
4571 "pode usar dpkg --compare-versions em $2 para fazer com que certo "
4572 "comportamento apenas aconteça na actualização de uma versão particular de um "
4573 "pacote, e coisas desse género."
4574
4575 #. type: Plain text
4576 #: debconf-devel.7:36
4577 msgid "The config script can be run in one of three ways:"
4578 msgstr "O script config pode ser executado em um de três modos:"
4579
4580 #. type: TP
4581 #: debconf-devel.7:36
4582 #, no-wrap
4583 msgid "B<1>"
4584 msgstr "B<1>"
4585
4586 #. type: Plain text
4587 #: debconf-devel.7:40
4588 msgid ""
4589 "If a package is pre-configured, with dpkg-preconfigure, its config script is "
4590 "run, and is passed the parameters \"configure\", and installed-version."
4591 msgstr ""
4592 "Se um pacote é pré-configurado com o dpkg-preconfigure, o seu script config "
4593 "é executado, e é lhe passado os parâmetros \"configure\" e installed-version."
4594
4595 #. type: TP
4596 #: debconf-devel.7:40
4597 #, no-wrap
4598 msgid "B<2>"
4599 msgstr "B<2>"
4600
4601 #. type: Plain text
4602 #: debconf-devel.7:47
4603 msgid ""
4604 "When a package's postinst is run, debconf will try to run the config script "
4605 "then too, and it will be passed the same parameters it was passed when it is "
4606 "pre-configured. This is necessary because the package might not have been "
4607 "pre-configured, and the config script still needs to get a chance to run. "
4608 "See HACKS for details."
4609 msgstr ""
4610 "Quando o postinst de um pacote é executado, o debconf irá tentar executar "
4611 "também o script config, e serão passados os mesmos parâmetros que foram "
4612 "passados quando foi pré-configurado. Isto é necessário porque o pacote pode "
4613 "não ter sido pré-configurado, e o script config ainda precise de uma chance "
4614 "para funcionar. Veja TRUQUES para mais detalhes."
4615
4616 #. type: TP
4617 #: debconf-devel.7:47
4618 #, no-wrap
4619 msgid "B<3>"
4620 msgstr "B<3>"
4621
4622 #. type: Plain text
4623 #: debconf-devel.7:52
4624 msgid ""
4625 "If a package is reconfigured, with dpkg-reconfigure, its config script it "
4626 "run, and is passed the parameters \"reconfigure\" and installed-version."
4627 msgstr ""
4628 "Se um pacote é reconfigurado com o dpkg-reconfigure, o seu script config é "
4629 "executado, e é lhe passado os parâmetros \"reconfigure\" e installed-version."
4630
4631 #. type: Plain text
4632 #: debconf-devel.7:58
4633 msgid ""
4634 "Note that since a typical package install or upgrade using apt runs steps 1 "
4635 "and 2, the config script will typically be run twice. It should do nothing "
4636 "the second time (to ask questions twice in a row is annoying), and it should "
4637 "definitely be idempotent. Luckily, debconf avoids repeating questions by "
4638 "default, so this is generally easy to accomplish."
4639 msgstr ""
4640 "Note que como uma instalação típica ou actualização de pacote usando apt "
4641 "corre em passos 1 e 2, tipicamente o script config será executado duas "
4642 "vezes. Não deverá fazer nada na segunda vez (fazer as mesmas perguntas duas "
4643 "vezes é aborrecido), e deverá definitivamente ser idempotente. Felizmente, o "
4644 "debconf evita repetir questões por predefinição, então isto é geralmente "
4645 "fácil de conseguir."
4646
4647 #. type: Plain text
4648 #: debconf-devel.7:64
4649 msgid ""
4650 "Note that the config script is run before the package is unpacked. It should "
4651 "only use commands that are in essential packages. The only dependency of "
4652 "your package that is guaranteed to be met when its config script is run is a "
4653 "dependency (possibly versioned) on debconf itself."
4654 msgstr ""
4655 "Note que o script config é executado antes do pacote ser desempacotado. "
4656 "Deverá apenas usar comandos que estão em pacotes essenciais. A única "
4657 "dependência do seu pacote que é garantido estar satisfeita quando o seu "
4658 "script config é executado é uma dependência do próprio debconf "
4659 "(possivelmente com uma versão específica)."
4660
4661 #. type: Plain text
4662 #: debconf-devel.7:70
4663 msgid ""
4664 "The config script should not need to modify the filesystem at all. It just "
4665 "examines the state of the system, and asks questions, and debconf stores the "
4666 "answers to be acted on later by the postinst script. Conversely, the "
4667 "postinst script should almost never use debconf to ask questions, but should "
4668 "instead act on the answers to questions asked by the config script."
4669 msgstr ""
4670 "O script config não deve necessitar de modificar o sistema de ficheiros. "
4671 "Apenas examina o estado do sistema, e faz perguntas, e o debconf armazena as "
4672 "respostas para serem actuadas mais tarde pelo script postinst. "
4673 "Reciprocamente, o script postinst não deve quase nunca usar o debconf para "
4674 "fazer perguntas, mas em vez disso deve actuar com as respostas às questões "
4675 "feitas pelo script config."
4676
4677 #. type: SH
4678 #: debconf-devel.7:70
4679 #, no-wrap
4680 msgid "THE TEMPLATES FILE"
4681 msgstr "O FICHEIRO TEMPLATES"
4682
4683 #. type: Plain text
4684 #: debconf-devel.7:73
4685 msgid ""
4686 "A package that uses debconf probably wants to ask some questions. These "
4687 "questions are stored, in template form, in the templates file."
4688 msgstr ""
4689 "Um pacote que usa debconf provavelmente vai querer perguntar algumas "
4690 "questões. Estas questões estão armazenadas, num formato de template, no "
4691 "ficheiro de templates."
4692
4693 #. type: Plain text
4694 #: debconf-devel.7:78
4695 msgid ""
4696 "Like the config script, the templates file is put in the control.tar.gz "
4697 "section of a deb. Its format is similar to a debian control file; a set of "
4698 "stanzas separated by blank lines, with each stanza having a RFC822-like form:"
4699 msgstr ""
4700 "Tal como o script config, o ficheiros templates é colocado na secção control."
4701 "tar.gz de um deb. O seu formato é semelhante a um ficheiro de controle "
4702 "debian; um conjunto de estrofes separadas por linhas vazias, com cada "
4703 "estrofe a ter um formato tipo RFC822:"
4704
4705 #. type: Plain text
4706 #: debconf-devel.7:94
4707 #, no-wrap
4708 msgid ""
4709 " Template: foo/bar\n"
4710 " Type: string\n"
4711 " Default: foo\n"
4712 " Description: This is a sample string question.\n"
4713 " This is its extended description.\n"
4714 " .\n"
4715 " Notice that:\n"
4716 " - Like in a debian package description, a dot\n"
4717 " on its own line sets off a new paragraph.\n"
4718 " - Most text is word-wrapped, but doubly-indented\n"
4719 " text is left alone, so you can use it for lists\n"
4720 " of items, like this list. Be careful, since\n"
4721 " it is not word-wrapped, if it's too wide\n"
4722 " it will look bad. Using it for short items\n"
4723 " is best (so this is a bad example).\n"
4724 msgstr ""
4725 " Template: foo/bar\n"
4726 " Type: string\n"
4727 " Default: foo\n"
4728 " Description: Isto é um exemplo de string de questão.\n"
4729 " Isto é a sua descrição extensa.\n"
4730 " .\n"
4731 " Note que:\n"
4732 " - Tal como na descrição dum pacote debian, um ponto\n"
4733 " isolado define um novo parágrafo.\n"
4734 " - A maioria do texto é arrumado por palavras, mas o texto\n"
4735 " duplamente indentado é deixado como está, portanto pode usá-lo para\n"
4736 " listas de itens, como esta. Tenha cuidado, como não\n"
4737 " é arrumado por palavras, se for muito longo\n"
4738 " vai ficar mal. É melhor usá-lo para itens curtos\n"
4739 " (portanto isto é um mau exemplo).\n"
4740
4741 #. type: Plain text
4742 #: debconf-devel.7:99
4743 #, no-wrap
4744 msgid ""
4745 " Template: foo/baz\n"
4746 " Type: boolean\n"
4747 " Description: Clear enough, no?\n"
4748 " This is another question, of boolean type.\n"
4749 msgstr ""
4750 " Template: foo/baz\n"
4751 " Type: boolean\n"
4752 " Description: Suficientemente claro, não?\n"
4753 " Isto é outra questão, de tipo booleano.\n"
4754
4755 #. type: Plain text
4756 #: debconf-devel.7:103
4757 msgid ""
4758 "For some real-life examples of templates files, see /var/lib/dpkg/info/"
4759 "debconf.templates, and other .templates files in that directory."
4760 msgstr ""
4761 "Para alguns exemplos reais de ficheiros templates, veja /var/lib/dpkg/info/"
4762 "debconf.templates, e outros ficheiros templates nesse directório."
4763
4764 #. type: Plain text
4765 #: debconf-devel.7:105
4766 msgid "Let's look at each of the fields in turn.."
4767 msgstr "Vamos observar cada um dos campos um de cada vez..."
4768
4769 #. type: TP
4770 #: debconf-devel.7:105
4771 #, no-wrap
4772 msgid "B<Template>"
4773 msgstr "B<Template>"
4774
4775 #. type: Plain text
4776 #: debconf-devel.7:111
4777 msgid ""
4778 "The name of the template, in the 'Template' field, is generally prefixed "
4779 "with the name of the package. After that the namespace is wide open; you can "
4780 "use a simple flat layout like the one above, or set up \"subdirectories\" "
4781 "containing related questions."
4782 msgstr ""
4783 "O nome do template, no campo 'Template', é geralmente prefixado com nome do "
4784 "pacote. Após isso o espaço do nome é totalmente aberto; você pode usar uma "
4785 "disposição plana e simples como a que está em cima, ou configurar \"sub-"
4786 "directórios\" que contêm questões relacionadas."
4787
4788 #. type: TP
4789 #: debconf-devel.7:111
4790 #, no-wrap
4791 msgid "B<Type>"
4792 msgstr "B<Type>"
4793
4794 #. type: Plain text
4795 #: debconf-devel.7:115
4796 msgid ""
4797 "The type of the template determines what kind of widget is displayed to the "
4798 "user. The currently supported types are:"
4799 msgstr ""
4800 "O tipo de template determina que tipo de widget é mostrado ao utilizador. Os "
4801 "tipos actualmente suportados são:"
4802
4803 #. type: TP
4804 #: debconf-devel.7:116
4805 #, no-wrap
4806 msgid "B<string>"
4807 msgstr "B<string>"
4808
4809 #. type: Plain text
4810 #: debconf-devel.7:119
4811 msgid ""
4812 "Results in a free-form input field that the user can type any string into."
4813 msgstr ""
4814 "Resulta num campo de entrada de formato livre onde o utilizador pode "
4815 "escrever qualquer string."
4816
4817 #. type: TP
4818 #: debconf-devel.7:119
4819 #, no-wrap
4820 msgid "B<password>"
4821 msgstr "B<password>"
4822
4823 #. type: Plain text
4824 #: debconf-devel.7:124
4825 msgid ""
4826 "Prompts the user for a password. Use this with caution; be aware that the "
4827 "password the user enters will be written to debconf's database. You should "
4828 "probably clean that value out of the database as soon as is possible."
4829 msgstr ""
4830 "Pede ao utilizador uma palavra-passe. Use isto com cuidado; esteja ciente "
4831 "que a palavra-passe que o utilizador inserir será escrita na base de dados "
4832 "do debconf. Você deve provavelmente limpar esse valor da base de dados o "
4833 "mais cedo possível."
4834
4835 #. type: TP
4836 #: debconf-devel.7:124
4837 #, no-wrap
4838 msgid "B<boolean>"
4839 msgstr "B<boolean>"
4840
4841 #. type: Plain text
4842 #: debconf-devel.7:127
4843 msgid "A true/false choice."
4844 msgstr "Uma escolha verdadeiro/falso."
4845
4846 #. type: TP
4847 #: debconf-devel.7:127
4848 #, no-wrap
4849 msgid "B<select>"
4850 msgstr "B<select>"
4851
4852 #. type: Plain text
4853 #: debconf-devel.7:132
4854 msgid ""
4855 "A choice between one of a number of values. The choices must be specified in "
4856 "a field named 'Choices'. Separate the possible values with commas and "
4857 "spaces, like this:"
4858 msgstr ""
4859 "Uma escolha entre um de um número de valores. As escolhas devem ser "
4860 "especificadas num campo chamado 'Choices'. Separe os valores possíveis com "
4861 "vírgulas e espaços, como isto:"
4862
4863 #. type: Plain text
4864 #: debconf-devel.7:134
4865 #, no-wrap
4866 msgid " Choices: yes, no, maybe\n"
4867 msgstr " Choices: yes, no, maybe\n"
4868
4869 #. type: TP
4870 #: debconf-devel.7:135
4871 #, no-wrap
4872 msgid "B<multiselect>"
4873 msgstr "B<multiselect>"
4874
4875 #. type: Plain text
4876 #: debconf-devel.7:139
4877 msgid ""
4878 "Like the select data type, except the user can choose any number of items "
4879 "from the choices list (or choose none of them)."
4880 msgstr ""
4881 "Tal como o tipo de dados select, excepto que o utilizador pode escolher "
4882 "qualquer número de itens da lista de escolhas (ou não escolher nenhum deles)."
4883
4884 #. type: TP
4885 #: debconf-devel.7:139
4886 #, no-wrap
4887 msgid "B<note>"
4888 msgstr "B<note>"
4889
4890 #. type: Plain text
4891 #: debconf-devel.7:147
4892 msgid ""
4893 "Rather than being a question per se, this datatype indicates a note that can "
4894 "be displayed to the user. It should be used only for important notes that "
4895 "the user really should see, since debconf will go to great pains to make "
4896 "sure the user sees it; halting the install for them to press a key. It's "
4897 "best to use these only for warning about very serious problems, and the "
4898 "error datatype is often more suitable."
4899 msgstr ""
4900 "Em vez de ser uma questão em si, este tipo de dados indica uma nota que pode "
4901 "ser mostrada ao utilizador. Deve ser usado apenas para notas importantes que "
4902 "o utilizador realmente precisa de ver, pois o debconf irá ter trabalho a "
4903 "certificar-se que o utilizador a vê; parando a instalação para que ele "
4904 "carregue numa tecla. É melhor usar estas apenas avisos sobre problemas muito "
4905 "sérios, e o tipo de dados error é geralmente mais apropriado."
4906
4907 #. type: TP
4908 #: debconf-devel.7:147
4909 #, no-wrap
4910 msgid "B<error>"
4911 msgstr "B<error>"
4912
4913 #. type: Plain text
4914 #: debconf-devel.7:152
4915 msgid ""
4916 "This datatype is used for error messages, such as input validation errors. "
4917 "Debconf will show a question of this type even if the priority is too high "
4918 "or the user has already seen it."
4919 msgstr ""
4920 "Este tipo de dados é usado para mensagens de erro, tais como erros de "
4921 "validação de entrada. O Debconf irá mostrar uma questão deste tipo mesmo que "
4922 "a prioridade seja muito alta ou que o utilizador já a tenha visto."
4923
4924 #. type: TP
4925 #: debconf-devel.7:152
4926 #, no-wrap
4927 msgid "B<title>"
4928 msgstr "B<title>"
4929
4930 #. type: Plain text
4931 #: debconf-devel.7:155
4932 msgid "This datatype is used for titles, to be set with the SETTITLE command."
4933 msgstr ""
4934 "Este tipo de dados é usado para títulos, para ser definido com o comando "
4935 "SETTITLE."
4936
4937 #. type: TP
4938 #: debconf-devel.7:155
4939 #, no-wrap
4940 msgid "B<text>"
4941 msgstr "B<text>"
4942
4943 #. type: Plain text
4944 #: debconf-devel.7:162
4945 msgid ""
4946 "This datatype can be used for fragments of text, such as labels, that can be "
4947 "used for cosmetic reasons in the displays of some frontends. Other frontends "
4948 "will not use it at all. There is no point in using this datatype yet, since "
4949 "no frontends support it well. It may even be removed in the future."
4950 msgstr ""
4951 "Este tipo de dados pode ser usado para fragmentos de texto, tais como "
4952 "etiquetas, que podem ser usadas por questões cosméticas nos mostradores de "
4953 "alguns frontends. Outros frontends nem as vão usar de todo. Não existe razão "
4954 "para usar este tipo de dados ainda, já que nenhum frontend o suporta bem, e "
4955 "pode até ser removido no futuro."
4956
4957 #. type: TP
4958 #: debconf-devel.7:163
4959 #, no-wrap
4960 msgid "B<Default>"
4961 msgstr "B<Default>"
4962
4963 #. type: Plain text
4964 #: debconf-devel.7:171
4965 msgid ""
4966 "The 'Default' field tells debconf what the default value should be. For "
4967 "multiselect, it can be a list of choices, separated by commas and spaces, "
4968 "similar to the 'Choices' field. For select, it should be one of the choices. "
4969 "For boolean, it is \"true\" or \"false\", while it can be anything for a "
4970 "string, and it is ignored for passwords."
4971 msgstr ""
4972 "O campo 'Default' diz ao debconf qual deve ser o valor predefinido. Para "
4973 "multi-selecção, pode ser uma lista escolhas, separadas por vírgulas e "
4974 "espaços, semelhante ao campo 'Choices'. Para selecção, deve ser uma das "
4975 "opções. Para booleano, é \"true\" ou \"false\", enquanto que pode ser "
4976 "qualquer coisa para uma string, e é ignorado para palavras-passe."
4977
4978 #. type: Plain text
4979 #: debconf-devel.7:178
4980 msgid ""
4981 "Don't make the mistake of thinking that the default field contains the "
4982 "\"value\" of the question, or that it can be used to change the value of the "
4983 "question. It does not, and cannot, it just provides a default value for the "
4984 "first time the question is displayed. To provide a default that changes on "
4985 "the fly, you'd have to use the SET command to change the value of a question."
4986 msgstr ""
4987 "Não cometa o erro de pensar que o campo default contém o \"valor\" da "
4988 "questão, ou que pode ser usado para alterar o valor da questão. Não o faz, "
4989 "nem pode fazer, apenas disponibiliza um valor predefinido para a primeira "
4990 "vez que a questão é mostrada. Para disponibilizar uma predefinição que muda "
4991 "na hora, você terá de usar o comando SET para alterar o valor de uma questão."
4992
4993 #. type: TP
4994 #: debconf-devel.7:179
4995 #, no-wrap
4996 msgid "B<Description>"
4997 msgstr "B<Description>"
4998
4999 #. type: Plain text
5000 #: debconf-devel.7:187
5001 msgid ""
5002 "The 'Description' field, like the description of a Debian package, has two "
5003 "parts: A short description and an extended description. Note that some "
5004 "debconf frontends don't display the long description, or might only display "
5005 "it if the user asks for help. So the short description should be able to "
5006 "stand on its own."
5007 msgstr ""
5008 "O campo 'Description', como a descrição de um pacote Debia, tem duas partes: "
5009 "Uma descrição curta e uma descrição extensa. Note que alguns frontends não "
5010 "mostram a descrição longa, ou podem apenas mostrá-la se o utilizador pedir "
5011 "ajuda. Portanto a descrição curta deverá ser suficiente sozinha."
5012
5013 #. type: Plain text
5014 #: debconf-devel.7:193
5015 msgid ""
5016 "If you can't think up a long description, then first, think some more. Post "
5017 "to debian-devel. Ask for help. Take a writing class! That extended "
5018 "description is important. If after all that you still can't come up with "
5019 "anything, leave it blank. There is no point in duplicating the short "
5020 "description."
5021 msgstr ""
5022 "Se você não consegue pensar numa descrição longa, então primeiro pense mais "
5023 "um pouco. Poste em debian-devel. Peça ajuda. Tire um curso de escrita! Essa "
5024 "descrição extensa é importante. Se após isso tudo ainda não conseguir "
5025 "imaginar nada, deixe em branco. Não vale a pena duplicar a descrição curta."
5026
5027 #. type: Plain text
5028 #: debconf-devel.7:198
5029 msgid ""
5030 "Text in the extended description will be word-wrapped, unless it is prefixed "
5031 "by additional whitespace (beyond the one required space). You can break it "
5032 "up into separate paragraphs by putting \" .\" on a line by itself between "
5033 "them."
5034 msgstr ""
5035 "O texto na descrição extensa será arrumado por palavras, a menos que seja "
5036 "prefixado com um espaço em branco adicional (para além do espaço "
5037 "necessário). Você pode parti-lo em parágrafos separados ao colocar um \".\" "
5038 "sozinho numa linha entre eles."
5039
5040 #. type: SH
5041 #: debconf-devel.7:199
5042 #, no-wrap
5043 msgid "QUESTIONS"
5044 msgstr "QUESTÕES"
5045
5046 #. type: Plain text
5047 #: debconf-devel.7:211
5048 msgid ""
5049 "A question is an instantiated template. By asking debconf to display a "
5050 "question, your config script can interact with the user. When debconf loads "
5051 "a templates file (this happens whenever a config or postinst script is run), "
5052 "it automatically instantiates a question from each template. It is actually "
5053 "possible to instantiate several independent questions from the same template "
5054 "(using the REGISTER command), but that is rarely necessary. Templates are "
5055 "static data that comes from the templates file, while questions are used to "
5056 "store dynamic data, like the current value of the question, whether a user "
5057 "has seen a question, and so on. Keep the distinction between a template and "
5058 "a question in mind, but don't worry too much about it."
5059 msgstr ""
5060 "Uma questão é um template instanciado. Ao pedir ao debconf para mostrar uma "
5061 "questão, o seu script config pode interagir com o utilizador. Quando o "
5062 "debconf carrega um ficheiro templates (isto acontece quer um script config "
5063 "ou postinst seja executado), instancia automaticamente uma questão para cada "
5064 "template. Na realidade é possível instanciar várias questões independentes "
5065 "do mesmo template (usando o comando REGISTER), mas isso é raramente "
5066 "necessário. Templates são dados estáticos que vêm do ficheiro templates, "
5067 "enquanto as questões são usadas para armazenar dados dinâmicos, tal como o "
5068 "valor actual de uma questão, se um utilizador já viu a questão, e etc. "
5069 "Mantenha em mente a distinção entre um template e uma questão, mas não se "
5070 "preocupe muito com isso."
5071
5072 #. type: SH
5073 #: debconf-devel.7:211
5074 #, no-wrap
5075 msgid "SHARED TEMPLATES"
5076 msgstr "TEMPLATES PARTILHADOS"
5077
5078 #. type: Plain text
5079 #: debconf-devel.7:218
5080 msgid ""
5081 "It's actually possible to have a template and a question that are shared "
5082 "among a set of packages. All the packages have to provide an identical copy "
5083 "of the template in their templates files. This can be useful if a bunch of "
5084 "packages need to ask the same question, and you only want to bother the user "
5085 "with it once. Shared templates are generally put in the shared/ pseudo-"
5086 "directory in the debconf template namespace."
5087 msgstr ""
5088 "É possível ter um template e uma questão que é partilhada entre um conjunto "
5089 "de pacotes. Todos os pacotes têm que disponibilizar uma cópia idêntica do "
5090 "template nos seus ficheiros templates. Isto pode ser útil num grupo de "
5091 "pacotes que precisam de perguntar a mesma pergunta, e você apenas deseja "
5092 "aborrecer o utilizador com ela uma vez. Os templates partilhados são "
5093 "geralmente colocados no pseudo-directório shared/ no espaço de nomes de "
5094 "template do debconf."
5095
5096 #. type: SH
5097 #: debconf-devel.7:218
5098 #, no-wrap
5099 msgid "THE DEBCONF PROTOCOL"
5100 msgstr "O PROTOCOLO DEBCONF"
5101
5102 #. type: Plain text
5103 #: debconf-devel.7:224
5104 msgid ""
5105 "Config scripts communicate with debconf using the debconf protocol. This is "
5106 "a simple line-oriented protocol, similar to common internet protocols such "
5107 "as SMTP. The config script sends debconf a command by writing the command to "
5108 "standard output. Then it can read debconf's reply from standard input."
5109 msgstr ""
5110 "Os scripts de configuração comunicam com o debconf usando o protocolo "
5111 "debconf. Isto é um protocolo orientado a linhas simples, semelhante a "
5112 "protocolos de internet comuns como o SMTP. O script config envia um comando "
5113 "ao debconf ao escrever o comando na saída (output) standard. Depois pode ler "
5114 "a resposta do debconf a partir da entrada (input) standard."
5115
5116 #. type: Plain text
5117 #: debconf-devel.7:230
5118 msgid ""
5119 "Debconf's reply can be broken down into two parts: A numeric result code "
5120 "(the first word of the reply), and an optional extended result code (the "
5121 "remainder of the reply). The numeric code uses 0 to indicate success, and "
5122 "other numbers to indicate various kinds of failure. For full details, see "
5123 "the table in Debian policy's debconf specification document."
5124 msgstr ""
5125 "A resposta do debconf pode ser partida em duas partes: Um código de "
5126 "resultado numérico (a primeira palavra da resposta), e um código de "
5127 "resultado extensivo opcional (o restante da resposta). O código numérico usa "
5128 "0 para indicar sucesso, e outros números para indicar vários tipos de "
5129 "falhas. Para os detalhes completos, veja a tabela no documento de "
5130 "especificação do debconf da política Debian."
5131
5132 #. type: Plain text
5133 #: debconf-devel.7:235
5134 msgid ""
5135 "The extended return code is generally free form and unspecified, so you "
5136 "should generally ignore it, and should certainly not try to parse it in a "
5137 "program to work out what debconf is doing. The exception is commands like "
5138 "GET, that cause a value to be returned in the extended return code."
5139 msgstr ""
5140 "o código de retorno extensivo é geralmente de formato livre e não "
5141 "especificado, portanto você geralmente ignorá-lo, e não deve tentar analisá-"
5142 "lo com um programa para inspeccionar o que o debconf está a fazer. As "
5143 "excepções são comandos como o GET, que causa o retorno de um valor no código "
5144 "de retorno extensivo."
5145
5146 #. type: Plain text
5147 #: debconf-devel.7:239
5148 msgid ""
5149 "Generally you'll want to use a language-specific library that handles the "
5150 "nuts and bolts of setting up these connections to debconf and communicating "
5151 "with it."
5152 msgstr ""
5153 "Geralmente você vai querer usar uma biblioteca específica para a linguagem "
5154 "que lida com os 'parafusos e porcas' da configuração destas ligações ao "
5155 "debconf e da comunicação com ele."
5156
5157 #. type: Plain text
5158 #: debconf-devel.7:242
5159 msgid ""
5160 "For now, here are the commands in the protocol. This is not the definitive "
5161 "definition, see Debian policy's debconf specification document for that."
5162 msgstr ""
5163 "Por agora, aqui estão os comandos no protocolo. Isto não é a definição "
5164 "definitiva, veja o documento de especificação debconf da política Debian "
5165 "para isso."
5166
5167 #. type: TP
5168 #: debconf-devel.7:242
5169 #, no-wrap
5170 msgid "B<VERSION number>"
5171 msgstr "B<VERSION number>"
5172
5173 #. type: Plain text
5174 #: debconf-devel.7:250
5175 msgid ""
5176 "You generally don't need to use this command. It exchanges with debconf the "
5177 "protocol version number that is being used. The current protocol version is "
5178 "2.0, and versions in the 2.x series will be backwards-compatible. You may "
5179 "specify the protocol version number you are speaking and debconf will return "
5180 "the version of the protocol it speaks in the extended result code. If the "
5181 "version you specify is too low, debconf will reply with numeric code 30."
5182 msgstr ""
5183 "Geralmente você não precisa de usar este comando. Ele troca com o debconf o "
5184 "número de versão do protocolo que está a ser usado. A versão actual do "
5185 "protocolo é 2.0, e versões na série 2.x serão compatíveis para trás. Você "
5186 "pode especificar o número da versão de protocolo que está a falar e o "
5187 "debconf irá responder com a versão do protocolo que ele fala no código de "
5188 "resultados extenso. Se a versão que você especificar for muito baixa, o "
5189 "debconf irá responder com o código numérico 30."
5190
5191 #. type: TP
5192 #: debconf-devel.7:250
5193 #, no-wrap
5194 msgid "B<CAPB capabilities>"
5195 msgstr "B<CAPB capabilities>"
5196
5197 #. type: Plain text
5198 #: debconf-devel.7:257
5199 msgid ""
5200 "You generally don't need to use this command. It exchanges with debconf a "
5201 "list of supported capabilities (separated by spaces). Capabilities that both "
5202 "you and debconf support will be used, and debconf will reply with all the "
5203 "capabilities it supports."
5204 msgstr ""
5205 "Geralmente você não precisa de usar este comando. Ele troca com o debconf "
5206 "uma lista das capacidades suportadas (separadas por espaços). As capacidades "
5207 "que ambos você e o debconf suportam serão usadas, e o debconf irá responder "
5208 "com todas as capacidades que suporta."
5209
5210 #. type: Plain text
5211 #: debconf-devel.7:267
5212 msgid ""
5213 "If 'escape' is found among your capabilities, debconf will expect commands "
5214 "you send it to have backslashes and newlines escaped (as \\e\\e and \\en "
5215 "respectively) and will in turn escape backslashes and newlines in its "
5216 "replies. This can be used, for example, to substitute multi-line strings "
5217 "into templates, or to get multi-line extended descriptions reliably using "
5218 "METAGET. In this mode, you must escape input text yourself (you can use "
5219 "B<debconf-escape>(1) to help with this if you want), but the confmodule "
5220 "libraries will unescape replies for you."
5221 msgstr ""
5222 "Se o 'escape' for encontrado entre as suas capacidades, o debconf irá "
5223 "esperar que os comandos que você envia tenha barras invertidas e escapes de "
5224 "novas linhas (como \\e\\e e \\en respectivamente) e irá por sua vez escapar "
5225 "as barras invertidas e novas linhas nas suas respostas. Isto pode ser usado, "
5226 "por exemplo, para substituir strings de múltiplas linhas em templates, ou "
5227 "para obter descrições extensas de múltiplas linhas com segurança usando "
5228 "METAGET. Neste modo, você tem que dar escape você próprio no texto de "
5229 "entrada (pode usar B<debconf-escape>(1) para o ajudar com isto se desejar), "
5230 "mas as bibliotecas confmodule irá retirar o espace das respostas para si."
5231
5232 #. type: TP
5233 #: debconf-devel.7:268
5234 #, no-wrap
5235 msgid "B<SETTITLE question>"
5236 msgstr "B<SETTITLE question>"
5237
5238 #. type: Plain text
5239 #: debconf-devel.7:275
5240 msgid ""
5241 "This sets the title debconf displays to the user, using the short "
5242 "description of the template for the specified question. The template should "
5243 "be of type title. You rarely need to use this command since debconf can "
5244 "automatically generate a title based on your package's name."
5245 msgstr ""
5246 "Isto define o título que o debconf mostra ao utilizador, usando a descrição "
5247 "curta do template para a questão específica. O template deve ser do tipo "
5248 "'title'. Você raramente precisa de usar este comando porque o debconf pode "
5249 "automaticamente gerar um título baseado no nome do seu pacote."
5250
5251 #. type: Plain text
5252 #: debconf-devel.7:278
5253 msgid ""
5254 "Setting the title from a template means they are stored in the same place as "
5255 "the rest of the debconf questions, and allows them to be translated."
5256 msgstr ""
5257 "Definir o título a partir de um template significa que eles são armazenados "
5258 "no mesmo local que o resto das questões do debconf, e permite-lhes serem "
5259 "traduzidos."
5260
5261 #. type: TP
5262 #: debconf-devel.7:279
5263 #, no-wrap
5264 msgid "B<TITLE string>"
5265 msgstr "B<TITLE string>"
5266
5267 #. type: Plain text
5268 #: debconf-devel.7:284
5269 msgid ""
5270 "This sets the title debconf displays to the user to the specified string. "
5271 "Use of the SETTITLE command is normally to be preferred as it allows for "
5272 "translation of the title."
5273 msgstr ""
5274 "Isto define o título que o debconf mostra ao utilizador para a string "
5275 "especificada. Normalmente é preferido o uso do comando SETTITLE pois este "
5276 "permite a tradução do título."
5277
5278 #. type: TP
5279 #: debconf-devel.7:284
5280 #, no-wrap
5281 msgid "B<INPUT priority question>"
5282 msgstr "B<INPUT priority question>"
5283
5284 #. type: Plain text
5285 #: debconf-devel.7:291
5286 msgid ""
5287 "Ask debconf to prepare to display a question to the user. The question is "
5288 "not actually displayed until a GO command is issued; this lets several INPUT "
5289 "commands be given in series, to build up a set of questions, which might all "
5290 "be asked on a single screen."
5291 msgstr ""
5292 "Pede ao debconf para preparar a amostragem de uma questão ao utilizador. A "
5293 "questão não é realmente mostrada até que seja emitido um comando GO; isto "
5294 "permite que sejam dados vários comandos INPUT em série, para preparar um "
5295 "conjunto de questões, que as quais podem ser todas respondidas num único "
5296 "écran."
5297
5298 #. type: Plain text
5299 #: debconf-devel.7:294
5300 msgid ""
5301 "The priority field tells debconf how important it is that this question be "
5302 "shown to the user. The priority values are:"
5303 msgstr ""
5304 "O campo de prioridade diz ao debconf qual a importância de mostrar esta "
5305 "questão ao utilizador. Os valores de prioridade são:"
5306
5307 #. type: Plain text
5308 #: debconf-devel.7:298
5309 msgid ""
5310 "Very trivial items that have defaults that will work in the vast majority of "
5311 "cases; only control freaks see these."
5312 msgstr ""
5313 "Itens muito triviais que têm predefinições que irão trabalhar ma vasta "
5314 "maioria dos casos, apenas os viciados no controle vêm estes."
5315
5316 #. type: Plain text
5317 #: debconf-devel.7:301
5318 msgid "Normal items that have reasonable defaults."
5319 msgstr "Itens normais que têm predefinições razoáveis."
5320
5321 #. type: Plain text
5322 #: debconf-devel.7:304
5323 msgid "Items that don't have a reasonable default."
5324 msgstr "Itens que não têm uma predefinição razoável."
5325
5326 #. type: Plain text
5327 #: debconf-devel.7:307
5328 msgid "Items that will probably break the system without user intervention."
5329 msgstr ""
5330 "Itens que provavelmente irão danificar o sistema sem a intervenção do "
5331 "utilizador."
5332
5333 #. type: Plain text
5334 #: debconf-devel.7:312
5335 msgid ""
5336 "Debconf decides if the question is actually displayed, based on its "
5337 "priority, and whether the user has seen it before, and which frontend is "
5338 "being used. If the question will not be displayed, debconf replies with code "
5339 "30."
5340 msgstr ""
5341 "O debconf decide se uma questão é mesmo mostrada, baseando-se na sua "
5342 "prioridade, e se o utilizador já a viu antes, e qual o frontend está a ser "
5343 "usado. Se a questão não é para ser mostrada, o debconf responde com o código "
5344 "30."
5345
5346 #. type: TP
5347 #: debconf-devel.7:313
5348 #, no-wrap
5349 msgid "B<GO>"
5350 msgstr "B<GO>"
5351
5352 #. type: Plain text
5353 #: debconf-devel.7:318
5354 msgid ""
5355 "Tells debconf to display the accumulated set of questions (from INPUT "
5356 "commands) to the user."
5357 msgstr ""
5358 "Diz ao debconf para mostrar o conjunto de questões acumuladas (a partir de "
5359 "comandos INPUT) ao utilizador."
5360
5361 #. type: Plain text
5362 #: debconf-devel.7:321
5363 msgid ""
5364 "If the backup capability is supported and the user indicates they want to "
5365 "back up a step, debconf replies with code 30."
5366 msgstr ""
5367 "Se a capacidade de backup for suportada e o utilizador indicar que quer "
5368 "fazer backup de um passo, o debconf responde com código 30."
5369
5370 #. type: TP
5371 #: debconf-devel.7:322
5372 #, no-wrap
5373 msgid "B<CLEAR>"
5374 msgstr "B<CLEAR>"
5375
5376 #. type: Plain text
5377 #: debconf-devel.7:326
5378 msgid ""
5379 "Clears the accumulated set of questions (from INPUT commands) without "
5380 "displaying them."
5381 msgstr ""
5382 "Limpa o conjunto de questões acumulado (de comandos INPUT) sem os mostrar."
5383
5384 #. type: TP
5385 #: debconf-devel.7:326
5386 #, no-wrap
5387 msgid "B<BEGINBLOCK>"
5388 msgstr "B<BEGINBLOCK>"
5389
5390 #. type: TP
5391 #: debconf-devel.7:328
5392 #, no-wrap
5393 msgid "B<ENDBLOCK>"
5394 msgstr "B<ENDBLOCK>"
5395
5396 #. type: Plain text
5397 #: debconf-devel.7:336
5398 msgid ""
5399 "Some debconf frontends can display a number of questions to the user at "
5400 "once. Maybe in the future a frontend will even be able to group these "
5401 "questions into blocks on screen. BEGINBLOCK and ENDBLOCK can be placed "
5402 "around a set of INPUT commands to indicate blocks of questions (and blocks "
5403 "can even be nested). Since no debconf frontend is so sophisticated yet, "
5404 "these commands are ignored for now."
5405 msgstr ""
5406 "Alguns frontends do debconf podem mostrar ao utilizador um número de "
5407 "questões de uma vez. Talvez no futuro um frontend seja até capaz de agrupar "
5408 "estas questões em blocos no écran. BEGINBLOCK e ENDBLOCK podem ser colocados "
5409 "em redor de um conjunto de comandos INPUT para indicar blocos de questões (e "
5410 "os blocos podem até ser aninhados). Como ainda não há nenhum frontend do "
5411 "debconf tão sofisticado, este comandos são ignorados, por agora."
5412
5413 #. type: TP
5414 #: debconf-devel.7:336
5415 #, no-wrap
5416 msgid "B<STOP>"
5417 msgstr "B<STOP>"
5418
5419 #. type: Plain text
5420 #: debconf-devel.7:340
5421 msgid ""
5422 "This command tells debconf that you're done talking to it. Often debconf can "
5423 "detect termination of your program and this command is not necessary."
5424 msgstr ""
5425 "Este comando diz ao debconf que já terminou de falar com ele. Geralmente o "
5426 "debconf consegue determinar o terminar do seu programa e este comando é "
5427 "desnecessário."
5428
5429 #. type: TP
5430 #: debconf-devel.7:340
5431 #, no-wrap
5432 msgid "B<GET question>"
5433 msgstr "B<GET question>"
5434
5435 #. type: Plain text
5436 #: debconf-devel.7:345
5437 msgid ""
5438 "After using INPUT and GO to display a question, you can use this command to "
5439 "get the value the user entered. The value is returned in the extended result "
5440 "code."
5441 msgstr ""
5442 "Após usar INPUT e GO para mostrar uma questão, você pode usar este comando "
5443 "para obter o valor que o utilizador inseriu. O valor é retornado no código "
5444 "de resultado extensivo."
5445
5446 #. type: TP
5447 #: debconf-devel.7:345
5448 #, no-wrap
5449 msgid "B<SET question value>"
5450 msgstr "B<SET question value>"
5451
5452 #. type: Plain text
5453 #: debconf-devel.7:349
5454 msgid ""
5455 "This sets the value of a question, and it can be used to override the "
5456 "default value with something your program calculates on the fly."
5457 msgstr ""
5458 "Isto define o valor de uma questão, e pode ser usado para sobrepor o valor "
5459 "predefinido com algo que o seu programa calcula na hora."
5460
5461 #. type: TP
5462 #: debconf-devel.7:349
5463 #, no-wrap
5464 msgid "B<RESET question>"
5465 msgstr "B<RESET question>"
5466
5467 #. type: Plain text
5468 #: debconf-devel.7:353
5469 msgid ""
5470 "This resets the question to its default value (as is specified in the "
5471 "'Default' field of its template)."
5472 msgstr ""
5473 "Isto re-define (reset) a questão ao seu valor predefinido (tal como "
5474 "especificado no campo 'Default' do seu template)."
5475
5476 #. type: TP
5477 #: debconf-devel.7:353
5478 #, no-wrap
5479 msgid "B<SUBST question key value>"
5480 msgstr "B<SUBST question key value>"
5481
5482 #. type: Plain text
5483 #: debconf-devel.7:362
5484 msgid ""
5485 "Questions can have substitutions embedded in their 'Description' and "
5486 "'Choices' fields (use of substitutions in 'Choices' fields is a bit of a "
5487 "hack though; a better mechanism will eventually be developed). These "
5488 "substitutions look like \"${key}\". When the question is displayed, the "
5489 "substitutions are replaced with their values. This command can be used to "
5490 "set the value of a substitution. This is useful if you need to display some "
5491 "message to the user that you can't hard-code in the templates file."
5492 msgstr ""
5493 "As questões podem ter substituições embebidas nos seus campos "
5494 "\"Description\" e \"Choices\" (apesar do uso de substituições nos campos "
5495 "\"Choices\" ser um pouco de truque; será eventualmente desenvolvido um "
5496 "mecanismo melhor). Estas substituições parecem-se como \"${key}\". Quando a "
5497 "questão é mostrada, as substituições trocam de lugar com os seus valores. "
5498 "Este comando pode ser usado para definir o valor de uma substituição. Isto é "
5499 "útil caso você precise de mostrar alguma questão ao utilizador que não a "
5500 "pode codificar no ficheiro templates."
5501
5502 #. type: Plain text
5503 #: debconf-devel.7:365
5504 msgid ""
5505 "Do not try to use SUBST to change the default value of a question; it won't "
5506 "work since there is a SET command explicitly for that purpose."
5507 msgstr ""
5508 "Não tente usar o SUBST para alterar o valor predefinido de uma questão, não "
5509 "vai funcionar porque existe um comando SET explícito para esse trabalho."
5510
5511 #. type: TP
5512 #: debconf-devel.7:365
5513 #, no-wrap
5514 msgid "B<FGET question flag>"
5515 msgstr "B<FGET question flag>"
5516
5517 #. type: Plain text
5518 #: debconf-devel.7:369
5519 msgid ""
5520 "Questions can have flags associated with them. The flags can have a value of "
5521 "\"true\" or \"false\". This command returns the value of a flag."
5522 msgstr ""
5523 "As questões podem ter bandeiras associadas a elas. As bandeiras pode ter um "
5524 "valor de \"true\" ou \"false\". Este comando devolve o valor de uma bandeira."
5525
5526 #. type: TP
5527 #: debconf-devel.7:369
5528 #, no-wrap
5529 msgid "B<FSET question flag value>"
5530 msgstr "B<FSET question flag value>"
5531
5532 #. type: Plain text
5533 #: debconf-devel.7:374
5534 msgid ""
5535 "This sets the value of a question's flag. The value must be either \"true\" "
5536 "or \"false\"."
5537 msgstr ""
5538 "Isto define o valor da bandeira de uma questão. O valor tem de ser \"true\" "
5539 "ou \" false\"."
5540
5541 #. type: Plain text
5542 #: debconf-devel.7:380
5543 msgid ""
5544 "One common flag is the \"seen\" flag. It is normally only set if a user has "
5545 "already seen a question. Debconf usually only displays questions to users if "
5546 "they have the seen flag set to \"false\" (or if it is reconfiguring a "
5547 "package). Sometimes you want the user to see a question again -- in these "
5548 "cases you can set the seen flag to false to force debconf to redisplay it."
5549 msgstr ""
5550 "Uma bandeira comum é a bandeira \"seen\" (visto). Normalmente apenas é "
5551 "definida se um utilizador já viu uma pergunta. Normalmente o debconf apenas "
5552 "mostra questões aos utilizadores se estas tiverem a bandeira seen definida "
5553 "para \"false\" (ou se estiver e reconfigurar um pacote). Por vezes você quer "
5554 "que o utilizador volte a ver a pergunta de novo -- nestes casos você pode "
5555 "definir a bandeira seen para false para forçar o debconf a mostrá-la."
5556
5557 #. type: TP
5558 #: debconf-devel.7:381
5559 #, no-wrap
5560 msgid "B<METAGET question field>"
5561 msgstr "B<METAGET question field>"
5562
5563 #. type: Plain text
5564 #: debconf-devel.7:385
5565 msgid ""
5566 "This returns the value of any field of a question's associated template (the "
5567 "Description, for example)."
5568 msgstr ""
5569 "Isto devolve o valor de qualquer campo de um template associado a uma "
5570 "questão (a Descrição, por exemplo)."
5571
5572 #. type: TP
5573 #: debconf-devel.7:385
5574 #, no-wrap
5575 msgid "B<REGISTER template question>"
5576 msgstr "B<REGISTER template question>"
5577
5578 #. type: Plain text
5579 #: debconf-devel.7:391
5580 msgid ""
5581 "This creates a new question that is bound to a template. By default each "
5582 "template has an associated question with the same name. However, any number "
5583 "of questions can really be associated with a template, and this lets you "
5584 "create more such questions."
5585 msgstr ""
5586 "Isto cria uma nova questão que está ligada a um template. Por predefinição "
5587 "cada template tem uma questão associada com o mesmo nome. No entanto, "
5588 "qualquer número de questões pode ser realmente associado com um template, e "
5589 "isto permite-lhe criar mais dessas tais questões."
5590
5591 #. type: TP
5592 #: debconf-devel.7:391
5593 #, no-wrap
5594 msgid "B<UNREGISTER question>"
5595 msgstr "B<UNREGISTER question>"
5596
5597 #. type: Plain text
5598 #: debconf-devel.7:394
5599 msgid "This removes a question from the database."
5600 msgstr "Isto remove uma questão da base de dados."
5601
5602 #. type: TP
5603 #: debconf-devel.7:394
5604 #, no-wrap
5605 msgid "B<PURGE>"
5606 msgstr "B<PURGE>"
5607
5608 #. type: Plain text
5609 #: debconf-devel.7:398
5610 msgid ""
5611 "Call this in your postrm when your package is purged. It removes all of your "
5612 "package's questions from debconf's database."
5613 msgstr ""
5614 "Chame isto no seu pós-remoção (postrm) quando o seu pacote é purgado. Remove "
5615 "todas as suas questões do pacote da base de dados do debconf."
5616
5617 #. type: TP
5618 #: debconf-devel.7:398
5619 #, no-wrap
5620 msgid "B<X_LOADTEMPLATEFILE /path/to/templates [owner]>"
5621 msgstr "B<X_LOADTEMPLATEFILE /caminho/para/templates [dono]>"
5622
5623 #. type: Plain text
5624 #: debconf-devel.7:402
5625 msgid ""
5626 "This extension loads the specified template file into debconf's database. "
5627 "The owner defaults to the package that is being configured with debconf."
5628 msgstr ""
5629 "Esta extensão carrega o ficheiro template específico na base de dados do "
5630 "debconf. O dono muda por predefinição para o pacote que está a ser "
5631 "configurado com o debconf."
5632
5633 #. type: Plain text
5634 #: debconf-devel.7:404
5635 msgid "Here is a simple example of the debconf protocol in action."
5636 msgstr "Aqui está um exemplo simples do protocolo debconf em acção."
5637
5638 #. type: Plain text
5639 #: debconf-devel.7:418
5640 #, no-wrap
5641 msgid ""
5642 " INPUT medium debconf/frontend\n"
5643 " 30 question skipped\n"
5644 " FSET debconf/frontend seen false\n"
5645 " 0 false\n"
5646 " INPUT high debconf/frontend\n"
5647 " 0 question will be asked\n"
5648 " GO\n"
5649 " [ Here debconf displays a question to the user. ]\n"
5650 " 0 ok\n"
5651 " GET no/such/question\n"
5652 " 10 no/such/question doesn't exist\n"
5653 " GET debconf/frontend\n"
5654 " 0 Dialog\n"
5655 msgstr ""
5656 " INPUT medium debconf/frontend\n"
5657 " 30 question skipped\n"
5658 " FSET debconf/frontend seen false\n"
5659 " 0 false\n"
5660 " INPUT high debconf/frontend\n"
5661 " 0 question will be asked\n"
5662 " GO\n"
5663 " [ Here debconf displays a question to the user. ]\n"
5664 " 0 ok\n"
5665 " GET no/such/question\n"
5666 " 10 no/such/question doesn't exist\n"
5667 " GET debconf/frontend\n"
5668 " 0 Dialog\n"
5669
5670 #. type: SH
5671 #: debconf-devel.7:418
5672 #, no-wrap
5673 msgid "LIBRARIES"
5674 msgstr "BIBLIOTECAS"
5675
5676 #. type: Plain text
5677 #: debconf-devel.7:422
5678 msgid ""
5679 "Setting things up so you can talk to debconf, and speaking the debconf "
5680 "protocol by hand is a little too much work, so some thin libraries exist to "
5681 "relieve this minor drudgery."
5682 msgstr ""
5683 "Configurar as coisas para que possa falar com o debconf, e falar o protocolo "
5684 "debconf manualmente é demasiado trabalhoso, então existem algumas pequenas "
5685 "bibliotecas para aliviar esta pequena trabalheira."
5686
5687 #. type: Plain text
5688 #: debconf-devel.7:430
5689 msgid ""
5690 "For shell programming, there is the /usr/share/debconf/confmodule library, "
5691 "which you can source at the top of a shell script, and talk to debconf in a "
5692 "fairly natural way, using lower-case versions of the debconf protocol "
5693 "commands, that are prefixed with \"db_\" (ie, \"db_input\" and \"db_go\"). "
5694 "For details, see B<confmodule>(3) ."
5695 msgstr ""
5696 "Para programação em shell, existe a biblioteca /usr/share/debconf/"
5697 "confmodule, a qual você pode usar no topo de um script shell, e falar com o "
5698 "debconf dum modo bastante natural, usando versões em minúsculas dos comandos "
5699 "do protocolo debconf, que estão prefixados com \"db_\" (ie, \"db_input\" e "
5700 "\"db_go\"). Para detalhes veja B<confmodule>(3)."
5701
5702 #. type: Plain text
5703 #: debconf-devel.7:434
5704 msgid ""
5705 "Perl programmers can use the B<Debconf::Client::ConfModule>(3pm) perl "
5706 "module, and python programmers can use the debconf python module."
5707 msgstr ""
5708 "Programadores de Perl podem usar o módulo B<Debconf::Client::"
5709 "ConfModule>(3pm), e programadores de python podem usar o módulo python do "
5710 "debconf."
5711
5712 #. type: Plain text
5713 #: debconf-devel.7:438
5714 msgid ""
5715 "The rest of this manual will use the /usr/share/debconf/confmodule library "
5716 "in example shell scripts. Here is an example config script using that "
5717 "library, that just asks a question:"
5718 msgstr ""
5719 "O resto deste manual irá usar a biblioteca /usr/share/debconf/confmodule em "
5720 "exemplos de scripts de shell. Aqui está um exemplo de script config que usa "
5721 "essa biblioteca, que apenas faz uma pergunta:"
5722
5723 #. type: Plain text
5724 #: debconf-devel.7:445
5725 #, no-wrap
5726 msgid ""
5727 " #!/bin/sh\n"
5728 " set -e\n"
5729 " . /usr/share/debconf/confmodule\n"
5730 " db_set mypackage/reboot-now false\n"
5731 " db_input high mypackage/reboot-now || true\n"
5732 " db_go || true\n"
5733 msgstr ""
5734 " #!/bin/sh\n"
5735 " set -e\n"
5736 " . /usr/share/debconf/confmodule\n"
5737 " db_set mypackage/reboot-now false\n"
5738 " db_input high mypackage/reboot-now || true\n"
5739 " db_go || true\n"
5740
5741 #. type: Plain text
5742 #: debconf-devel.7:450
5743 msgid ""
5744 "Notice the uses of \"|| true\" to prevent the script from dying if debconf "
5745 "decides it can't display a question, or the user tries to back up. In those "
5746 "situations, debconf returns a non-zero exit code, and since this shell "
5747 "script is set -e, an untrapped exit code would make it abort."
5748 msgstr ""
5749 "Repare na utilização de \"|| true\" para prevenir que o script morra se o "
5750 "debconf decidir que não pode mostrar uma pergunta, ou o utilizador tente "
5751 "voltar atrás. Nessas situações, o debconf devolve um código de erro "
5752 "diferente de zero, e como este script de shell está definido com -e, um "
5753 "código de saída não previsto irá fazê-lo abortar."
5754
5755 #. type: Plain text
5756 #: debconf-devel.7:454
5757 msgid ""
5758 "And here is a corresponding postinst script, that uses the user's answer to "
5759 "the question to see if the system should be rebooted (a rather absurd "
5760 "example..):"
5761 msgstr ""
5762 "E aqui está o script postinst correspondente, que usa a resposta do "
5763 "utilizador para a questão para ver se o sistema deve ser reiniciado (um "
5764 "exemplo bastante absurdo...):"
5765
5766 #. type: Plain text
5767 #: debconf-devel.7:462
5768 #, no-wrap
5769 msgid ""
5770 " #!/bin/sh\n"
5771 " set -e\n"
5772 " . /usr/share/debconf/confmodule\n"
5773 " db_get mypackage/reboot-now\n"
5774 " if [ \"$RET\" = true ]; then\n"
5775 " \tshutdown -r now\n"
5776 " fi\n"
5777 msgstr ""
5778 " #!/bin/sh\n"
5779 " set -e\n"
5780 " . /usr/share/debconf/confmodule\n"
5781 " db_get mypackage/reboot-now\n"
5782 " if [ \"$RET\" = true ]; then\n"
5783 " \tshutdown -r now\n"
5784 " fi\n"
5785
5786 #. type: Plain text
5787 #: debconf-devel.7:465
5788 msgid ""
5789 "Notice the use of the $RET variable to get at the extended return code from "
5790 "the GET command, which holds the user's answer to the question."
5791 msgstr ""
5792 "Repare na utilização da variável $RET para obter um código de retorno "
5793 "extenso do comando GET, o qual detém a resposta do utilizador para a questão."
5794
5795 #. type: SH
5796 #: debconf-devel.7:465
5797 #, no-wrap
5798 msgid "THE POSTINST SCRIPT"
5799 msgstr "O SCRIPT POSTINST"
5800
5801 #. type: Plain text
5802 #: debconf-devel.7:469
5803 msgid ""
5804 "The last section had an example of a postinst script that uses debconf to "
5805 "get the value of a question, and act on it. Here are some things to keep in "
5806 "mind when writing postinst scripts that use debconf:"
5807 msgstr ""
5808 "A última secção tinha um exemplo de um script postinst que usa debconf para "
5809 "obter um valor de uma questão, e actuar nela. Aqui estão algumas coisas a "
5810 "ter em mente quando escrever scripts postinst que usam debconf:"
5811
5812 #. type: Plain text
5813 #: debconf-devel.7:473
5814 msgid ""
5815 "Avoid asking questions in the postinst. Instead, the config script should "
5816 "ask questions using debconf, so that pre-configuration will work."
5817 msgstr ""
5818 "Evite fazer as questões no pós-instalação. Em vez disso, o script config "
5819 "deve fazer as questões usando debconf, para que a pré-configuração funcione."
5820
5821 #. type: Plain text
5822 #: debconf-devel.7:479
5823 msgid ""
5824 "Always source /usr/share/debconf/confmodule at the top of your postinst, "
5825 "even if you won't be running any db_* commands in it. This is required to "
5826 "make sure the config script gets a chance to run (see HACKS for details)."
5827 msgstr ""
5828 "Use sempre a fonte /usr/share/debconf/confmodule no topo do seu postinst, "
5829 "mesmo que não vá correr nenhuns comandos db_* nele. Isto é necessário para "
5830 "certificar que o script config tem uma hipótese de correr (veja TRUQUES para "
5831 "mais detalhes)."
5832
5833 #. type: Plain text
5834 #: debconf-devel.7:484
5835 msgid ""
5836 "Avoid outputting anything to stdout in your postinst, since that can confuse "
5837 "debconf, and postinst should not be verbose anyway. Output to stderr is ok, "
5838 "if you must."
5839 msgstr ""
5840 "Evite escrever algo para o stdout no seu postinst, pois isso pode confundir "
5841 "o debconf, e o postinst não deve ser detalhado de qualquer modo. A escrita "
5842 "para o stderr é boa ideia, se tiver mesmo que ser."
5843
5844 #. type: Plain text
5845 #: debconf-devel.7:489
5846 msgid ""
5847 "If your postinst launches a daemon, make sure you tell debconf to STOP at "
5848 "the end, since debconf can become a little confused about when your postinst "
5849 "is done otherwise."
5850 msgstr ""
5851 "Se o seu postinst lançar um daemon, certifique-se de dizer ao debconf para "
5852 "parar (STOP) no fim, pois caso contrário o debconf pode ficar um pouco "
5853 "confuso acerca de quando o seu postinst terminou."
5854
5855 #. type: Plain text
5856 #: debconf-devel.7:494
5857 msgid ""
5858 "Make your postinst script accept a first parameter of \"reconfigure\". It "
5859 "can treat it just like \"configure\". This will be used in a later version "
5860 "of debconf to let postinsts know when they are reconfigured."
5861 msgstr ""
5862 "Faça o seu script postinst aceitar um primeiro parâmetro de \"reconfigure\". "
5863 "Ele pode tratá-lo tal como \"configure\". Isto será usado numa versão "
5864 "posterior do debconf para permitir aos postinsts saberem quando são "
5865 "reconfigurados."
5866
5867 #. type: SH
5868 #: debconf-devel.7:494
5869 #, no-wrap
5870 msgid "OTHER SCRIPTS"
5871 msgstr "OUTROS SCRIPTS"
5872
5873 #. type: Plain text
5874 #: debconf-devel.7:502
5875 msgid ""
5876 "Besides the config script and postinst, you can use debconf in any of the "
5877 "other maintainer scripts. Most commonly, you'll be using debconf in your "
5878 "postrm, to call the PURGE command when your package is purged, to clean out "
5879 "its entries in the debconf database. (This is automatically set up for you "
5880 "by B<dh_installdebconf>(1)B<,> by the way.)"
5881 msgstr ""
5882 "À parte dos scripts config e postinst, você pode usar o debconf em qualquer "
5883 "dos outros scripts do maintainer. Mais geralmente, você vai usar debconf no "
5884 "seu postrm, para chamar o comando PURGE quando o seu pacote é purgado, para "
5885 "limpar as suas entradas na base de dados debconf. (Já agora, isto é definido "
5886 "automaticamente para si por B<dh_installdebconf>(1)B<,>.)"
5887
5888 #. type: Plain text
5889 #: debconf-devel.7:510
5890 msgid ""
5891 "A more involved use of debconf would be if you want to use it in the postrm "
5892 "when your package is purged, to ask a question about deleting something. Or "
5893 "maybe you find you need to use it in the preinst or prerm for some reason. "
5894 "All of these uses will work, though they'll probably involve asking "
5895 "questions and acting on the answers in the same program, rather than "
5896 "separating the two activities as is done in the config and postinst scripts."
5897 msgstr ""
5898 "Uma utilização mais envolvida do debconf seria se desejasse usá-lo no postrm "
5899 "quando o seu pacote é purgado, para fazer uma pergunta acerca de apagar "
5900 "algo. Ou talvez você descubra que precisa de usá-lo no preinst ou prerm or "
5901 "alguma razão. Todas estas utilizações irão funcionar, irá provavelmente "
5902 "envolver o fazer perguntas e actuar nas respostas no mesmo programa, em vez "
5903 "de separar as duas actividades como é feito pelos scripts config e postinst."
5904
5905 #. type: Plain text
5906 #: debconf-devel.7:515
5907 msgid ""
5908 "Note that if your package's sole use of debconf is in the postrm, you should "
5909 "make your package's postinst source /usr/share/debconf/confmodule, to give "
5910 "debconf a chance to load up your templates file into its database. Then the "
5911 "templates will be available when your package is being purged."
5912 msgstr ""
5913 "Note que se a única utilização do debconf do seu pacote é o postrm, você "
5914 "deve fazer o postinst do seu pacote usar a fonte /usr/share/debconf/"
5915 "confmodule, para dar uma chance ao debconf de carregar o seu ficheiro "
5916 "templates na base de dados. Então o templates estará disponível quando o seu "
5917 "pacote for purgado."
5918
5919 #. type: Plain text
5920 #: debconf-devel.7:522
5921 msgid ""
5922 "You can also use debconf in other, standalone programs. The issue to watch "
5923 "out for here is that debconf is not intended to be, and must not be used as "
5924 "a registry. This is unix after all, and programs are configured by files in /"
5925 "etc, not by some nebulous debconf database (that is only a cache anyway and "
5926 "might get blown away). So think long and hard before using debconf in a "
5927 "standalone program."
5928 msgstr ""
5929 "Você também pode usar o debconf em outros programas standalone. O problema a "
5930 "observar aqui é que o debconf não se destina a ser, e não deve ser usado "
5931 "como um registo. No fim de contas isto é unix, e os programas são "
5932 "configurados por ficheiros em /etc, e não por alguma base de dados debconf "
5933 "nebulosa (de qualquer modo é apenas uma cache e pode ser derrubada). "
5934 "Portanto pense bem antes de usar o debconf num programa standalone."
5935
5936 #. type: Plain text
5937 #: debconf-devel.7:527
5938 msgid ""
5939 "There are times when it can make sense, as in the apt-setup program which "
5940 "uses debconf to prompt the user in a manner consistent with the rest of the "
5941 "debian install process, and immediately acts on their answers to set up "
5942 "apt's sources.list."
5943 msgstr ""
5944 "Existem alturas em que isso faz sentido, com no programa apt-setup que usa "
5945 "debconf para perguntar ao utilizador num modo consistente com o resto do "
5946 "processo de instalação debian, e actua imediatamente nas suas respostas para "
5947 "configurar o sources.list do apt."
5948
5949 #. type: SH
5950 #: debconf-devel.7:527
5951 #, no-wrap
5952 msgid "LOCALIZATION"
5953 msgstr "LOCALIZAÇÃO"
5954
5955 #. type: Plain text
5956 #: debconf-devel.7:534
5957 msgid ""
5958 "Debconf supports localization of templates files. This is accomplished by "
5959 "adding more fields, with translated text in them. Any of the fields can be "
5960 "translated. For example, you might want to translate the description into "
5961 "Spanish. Just make a field named 'Description-es' that holds the "
5962 "translation. If a translated field is not available, debconf falls back to "
5963 "the normal English field."
5964 msgstr ""
5965 "Debconf suporta a localização de ficheiros templates. Isto é conseguido ao "
5966 "adicionar mais campos, com texto traduzido neles. Qualquer dos campos pode "
5967 "ser traduzido. Por exemplo, você pode querer traduzir a descrição em "
5968 "Espanhol. Apenas crie um campo chamado 'Description-es' que mantém a "
5969 "tradução. Se um campo traduzido não estiver disponível, o debconf regressa "
5970 "ao campo de Inglês normal."
5971
5972 #. type: Plain text
5973 #: debconf-devel.7:540
5974 msgid ""
5975 "Besides the 'Description' field, you should translate the 'Choices' field of "
5976 "a select or multiselect template. Be sure to list the translated choices in "
5977 "the same order as they appear in the main 'Choices' field. You do not need "
5978 "to translate the 'Default' field of a select or multiselect question, and "
5979 "the value of the question will be automatically returned in English."
5980 msgstr ""
5981 "Além do campo 'Description', você deve traduzir o campo 'Choices' de um "
5982 "template de selecção ou multi-selecção. Certifique-se de listar as escolhas "
5983 "traduzidas na mesma ordem que elas aparecem no campo 'Choices' principal. "
5984 "Você não precisa de traduzir o campo 'Default' de uma questão de selecção ou "
5985 "multi-selecção, e o valor da questão será automaticamente devolvido em "
5986 "Inglês."
5987
5988 #. type: Plain text
5989 #: debconf-devel.7:552
5990 msgid ""
5991 "You will find it easier to manage translations if you keep them in separate "
5992 "files; one file per translation. In the past, the B<debconf-getlang>(1) and "
5993 "B<debconf-mergetemplate>(1) programs were used to manage debian/template.ll "
5994 "files. This has been superseded by the B<po-debconf>(7) package, which lets "
5995 "you deal with debconf translations in .po files, just like any other "
5996 "translations. Your translators will thank you for using this new improved "
5997 "mechanism."
5998 msgstr ""
5999 "Você vai descobrir que é mais fácil de gerir traduções se as manter em "
6000 "ficheiros separados; um ficheiro por cada tradução. No passado, os programas "
6001 "B<debconf-getlang>(1) e B<debconf-mergetemplate>(1) eram usados para gerir "
6002 "ficheiros debian/template.ll. Isto foi substituído pelo pacote B<po-"
6003 "debconf>(7)l, o qual permite-lhe lidar com as traduções de debconf em "
6004 "ficheiros .po, tal como quaisquer outras traduções. Os seus tradutores vão "
6005 "agradecer-lhe por usar este mecanismo novo e melhorado."
6006
6007 #. type: Plain text
6008 #: debconf-devel.7:558
6009 msgid ""
6010 "For the details on po-debconf, see its man page. If you're using debhelper, "
6011 "converting to po-debconf is as simple as running the B<debconf-"
6012 "gettextize>(1) command once, and adding a Build-Dependency on po-debconf "
6013 "and on debhelper (E<gt>= 4.1.13)."
6014 msgstr ""
6015 "Para detalhes sobre o po-debconf, veja o seu manual. Se você está a usar "
6016 "debhelper, converter para po-debconf é tão simples como correr o comando "
6017 "B<debconf-gettextize>(1) uma vez, e adicionar uma Dependência de Compilação "
6018 "(Build-Dependency) ao po-debconf e ao debhelper (E<gt>= 4.1.13)."
6019
6020 #. type: SH
6021 #: debconf-devel.7:558
6022 #, no-wrap
6023 msgid "PUTTING IT ALL TOGETHER"
6024 msgstr "JUNTAR TUDO"
6025
6026 #. type: Plain text
6027 #: debconf-devel.7:568
6028 msgid ""
6029 "So you have a config script, a templates file, a postinst script that uses "
6030 "debconf, and so on. Putting these pieces together into a debian package "
6031 "isn't hard. You can do it by hand, or can use B<dh_installdebconf>(1) which "
6032 "will merge your translated templates, copy the files into the right places "
6033 "for you, and can even generate the call to PURGE that should go in your "
6034 "postrm script. Make sure that your package depends on debconf (E<gt>= 0.5), "
6035 "since earlier versions were not compatible with everything described in this "
6036 "manual. And you're done."
6037 msgstr ""
6038 "Então você tem um script config, um ficheiro templates, um script postinst "
6039 "que usa debconf, e etc. Juntar estas peças num pacote debian não é difícil. "
6040 "Pode fazê-lo manualmente, ou pode usar B<dh_installdebconf>(1) o qual irá "
6041 "fundir os seus templates traduzidos, copiar os ficheiros para os lugares "
6042 "correctos para si. e pode até gerar a chamada ao PURGE que deve ir para o "
6043 "seu script postrm. Certifique-se que o seu pacote depende do debconf (E<gt>= "
6044 "0.5), pois as versões anteriores não eram compatíveis com tudo o que é "
6045 "descrito neste manual. E está feito."
6046
6047 #. type: Plain text
6048 #: debconf-devel.7:571
6049 msgid ""
6050 "Well, except for testing, debugging, and actually using debconf for more "
6051 "interesting things than asking a few basic questions. For that, read on.."
6052 msgstr ""
6053 "Bem, excepto para testar, depurar, e realmente usar o debconf para coisas "
6054 "mais interessantes do que fazer algumas perguntas básicas. Para isso "
6055 "continue a ler..."
6056
6057 #. type: SH
6058 #: debconf-devel.7:571
6059 #, no-wrap
6060 msgid "DEBUGGING"
6061 msgstr "DEPURAÇÃO"
6062
6063 #. type: Plain text
6064 #: debconf-devel.7:576
6065 msgid ""
6066 "So you have a package that's supposed to use debconf, but it doesn't quite "
6067 "work. Maybe debconf is just not asking that question you set up. Or maybe "
6068 "something weirder is happening; it spins forever in some kind of loop, or "
6069 "worse. Luckily, debconf has plenty of debugging facilities."
6070 msgstr ""
6071 "Se você tem um pacote que é suposto usar debconf, mas não funciona, talvez o "
6072 "debconf não esteja a perguntar a questão que você definiu. Ou talvez não "
6073 "esteja a acontecer nada de esquisito: ela ficou presa eternamente num tipo "
6074 "de ciclo vicioso, ou pior. Felizmente, o debconf tem bastantes "
6075 "funcionalidades de depuração."
6076
6077 #. type: Plain text
6078 #: debconf-devel.7:583
6079 msgid ""
6080 "The first thing to reach for is the DEBCONF_DEBUG environment variable. If "
6081 "you set and export DEBCONF_DEBUG=developer, debconf will output to stderr a "
6082 "dump of the debconf protocol as your program runs. It'll look something like "
6083 "this -- the typo is made clear:"
6084 msgstr ""
6085 "A primeira coisa a pegar é na variável de ambiente DEBCONF_DEBUG. Se você "
6086 "definir e export DEBCONF_DEBUG=developer, o debconf irá escrever no stderr "
6087 "uma descarga do protocolo debconf quando o seu programa corre. Irá parecer "
6088 "algo como isto -- o erro de escrita é tornado claro:"
6089
6090 #. type: Plain text
6091 #: debconf-devel.7:588
6092 #, no-wrap
6093 msgid ""
6094 " debconf (developer): E<lt>-- input high debconf/frontand\n"
6095 " debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
6096 " debconf (developer): E<lt>-- go\n"
6097 " debconf (developer): --E<gt> 0 ok\n"
6098 msgstr ""
6099 " debconf (developer): E<lt>-- input high debconf/frontand\n"
6100 " debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
6101 " debconf (developer): E<lt>-- go\n"
6102 " debconf (developer): --E<gt> 0 ok\n"
6103
6104 #. type: Plain text
6105 #: debconf-devel.7:592
6106 msgid ""
6107 "It's rather useful to use debconf's readline frontend when you're debugging "
6108 "(in the author's opinion), as the questions don't get in the way, and all "
6109 "the debugging output is easily preserved and logged."
6110 msgstr ""
6111 "É bastante útil usar o frontend readline do debconf quando está a depurar "
6112 "(na opinião do autor), porque as perguntas não interrompem, e toda a "
6113 "informação de depuração é facilmente preservada e registada em log."
6114
6115 #. type: TP
6116 #: debconf-devel.7:593
6117 #, no-wrap
6118 msgid "B<DEBCONF_C_VALUES>"
6119 msgstr "B<DEBCONF_C_VALUES>"
6120
6121 #. type: Plain text
6122 #: debconf-devel.7:599
6123 msgid ""
6124 "If this environment variable is set to 'true', the frontend will display the "
6125 "values in Choices-C fields (if present) of select and multiselect templates "
6126 "rather than the descriptive values."
6127 msgstr ""
6128 "Se esta variável de ambiente for definida para 'true', o frontend irá "
6129 "mostrar os valores nos campos Choices-C (se presentes) de templates de "
6130 "selecção e multi-selecção em vez dos valores descritivos."
6131
6132 #. type: TP
6133 #: debconf-devel.7:600
6134 #, no-wrap
6135 msgid "B<debconf-communicate>"
6136 msgstr "B<debconf-communicate>"
6137
6138 #. type: Plain text
6139 #: debconf-devel.7:606
6140 msgid ""
6141 "Another useful tool is the B<debconf-communicate>(1) program. Fire it up "
6142 "and you can speak the raw debconf protocol to debconf, interactively. This "
6143 "is a great way to try stuff out on the fly."
6144 msgstr ""
6145 "Outra ferramenta útil é o programa B<debconf-communicate>(1).Execute-o e "
6146 "você pode falar o protocolo debconf em cru com o debconf interactivamente, "
6147 "Este é um bom modo de experimentar coisas na hora."
6148
6149 #. type: TP
6150 #: debconf-devel.7:606
6151 #, no-wrap
6152 msgid "B<debconf-show>"
6153 msgstr "B<debconf-show>"
6154
6155 #. type: Plain text
6156 #: debconf-devel.7:612
6157 msgid ""
6158 "If a user is reporting a problem, B<debconf-show>(1) can be used to dump "
6159 "out all the questions owned by your package, displaying their values and "
6160 "whether the user has seen them."
6161 msgstr ""
6162 "Se um utilizador está a reportar um problema, o B<debconf-show>(1) pode ser "
6163 "usado para despejar todas as questões possuídas pelo seu pacote, mostrando "
6164 "todos os valores e se o utilizador as viu."
6165
6166 #. type: TP
6167 #: debconf-devel.7:612
6168 #, no-wrap
6169 msgid "B<.debconfrc>"
6170 msgstr "B<.debconfrc>"
6171
6172 #. type: Plain text
6173 #: debconf-devel.7:623
6174 msgid ""
6175 "To avoid the often tedious build/install/debug cycle, it can be useful to "
6176 "load up your templates with B<debconf-loadtemplate>(1) and run your config "
6177 "script by hand with the B<debconf>(1) command. However, you still have to "
6178 "do that as root, right? Not so good. And ideally you'd like to be able to "
6179 "see what a fresh installation of your package looks like, with a clean "
6180 "debconf database."
6181 msgstr ""
6182 "Para evitar o ciclo tedioso de compilar/instalar/depurar, pode ser útil para "
6183 "carregar o seu templates com B<debconf-loadtemplate>(1) e correr o seu "
6184 "script config manualmente com o comando B<debconf>(1). No entanto, você "
6185 "ainda vai precisar de fazer isso como root, certo? Não é muito bom. E o "
6186 "ideal seria você ser capaz de ver como é que uma instalação fresca do seu "
6187 "pacote fica, com uma base de dados debconf limpa."
6188
6189 #. type: Plain text
6190 #: debconf-devel.7:629
6191 msgid ""
6192 "It turns out that if you set up a ~/.debconfrc file for a normal user, "
6193 "pointing at a personal config.dat and template.dat for the user, you can "
6194 "load up templates and run config scripts all you like, without any root "
6195 "access. If you want to start over with a clean database, just blow away the "
6196 "*.dat files."
6197 msgstr ""
6198 "Acontece que você definiu um ficheiro ~/.debconfrc para um utilizador "
6199 "normal, apontando para um config.dat e template.dat pessoal para o "
6200 "utilizador, você pode carregar os templates e correr os scripts config que "
6201 "quiser, sem nenhum acesso de root. Se deseja começar com uma base de dados "
6202 "limpa, apenas livre-se dos ficheiros *.dat."
6203
6204 #. type: Plain text
6205 #: debconf-devel.7:634
6206 msgid ""
6207 "For details about setting this up, see B<debconf.conf>(5)B<,> and note that /"
6208 "etc/debconf.conf makes a good template for a personal ~/.debconfrc file."
6209 msgstr ""
6210 "Para detalhes de como definir isto, veja B<debconf.conf>(5)B<,> e note que /"
6211 "etc/debconf.conf faz um bom modelo para um ficheiro ~/.debconfrc pessoal."
6212
6213 #. type: SH
6214 #: debconf-devel.7:635
6215 #, no-wrap
6216 msgid "ADVANCED PROGRAMMING WITH DEBCONF"
6217 msgstr "PROGRAMAÇÃO AVANÇADA COM DEBCONF"
6218
6219 #. type: SS
6220 #: debconf-devel.7:636
6221 #, no-wrap
6222 msgid "Config file handling"
6223 msgstr "Manuseamento do ficheiro de configuração"
6224
6225 #. type: Plain text
6226 #: debconf-devel.7:643
6227 msgid ""
6228 "Many of you seem to want to use debconf to help manage config files that are "
6229 "part of your package. Perhaps there is no good default to ship in a "
6230 "conffile, and so you want to use debconf to prompt the user, and write out a "
6231 "config file based on their answers. That seems easy enough to do, but then "
6232 "you consider upgrades, and what to do when someone modifies the config file "
6233 "you generate, and dpkg-reconfigure, and ..."
6234 msgstr ""
6235 "Muita gente parece querer usar o debconf para ajudar a gerir ficheiros de "
6236 "configuração que fazem parte do seu pacote. Talvez não haja uma boa "
6237 "predefinição para lançar um ficheiro de configuração, e assim desejam usar o "
6238 "debconf para questionar o utilizador, e escrever um ficheiro de configuração "
6239 "baseado nas suas respostas. Isso parece bastante fácil de fazer, mas depois "
6240 "considere as actualizações, e o que fazer quando alguém modifica o ficheiro "
6241 "de configuração que você gerou, e o dpkg-reconfigure, e..."
6242
6243 #. type: Plain text
6244 #: debconf-devel.7:651
6245 msgid ""
6246 "There are a lot of ways to do this, and most of them are wrong, and will "
6247 "often earn you annoyed bug reports. Here is one right way to do it. It "
6248 "assumes that your config file is really just a series of shell variables "
6249 "being set, with comments in between, and so you can just source the file to "
6250 "\"load\" it. If you have a more complicated format, reading (and writing) "
6251 "it becomes a bit trickier."
6252 msgstr ""
6253 "Existem muitas maneiras de fazer isto, e a maioria delas estão erradas, e "
6254 "irão geralmente dar-lhe relatórios aborrecidos de bugs. Aqui está uma "
6255 "maneira certa de o fazer. Assume que o seu ficheiro de configuração é "
6256 "realmente apenas uma série de variáveis shell a serem definidas, com "
6257 "comentários pelo meio, e então você pode simplesmente usar a fonte do "
6258 "ficheiro para \"carregá-lo\". Se você tem um formato mais complicado, ler (e "
6259 "escrever) fica mais complicado."
6260
6261 #. type: Plain text
6262 #: debconf-devel.7:653
6263 msgid "Your config script will look something like this:"
6264 msgstr "O seu script config irá parecer algo como isto:"
6265
6266 #. type: Plain text
6267 #: debconf-devel.7:658 debconf-devel.7:680
6268 #, no-wrap
6269 msgid ""
6270 " #!/bin/sh\n"
6271 " CONFIGFILE=/etc/foo.conf\n"
6272 " set -e\n"
6273 " . /usr/share/debconf/confmodule\n"
6274 msgstr ""
6275 " #!/bin/sh\n"
6276 " CONFIGFILE=/etc/foo.conf\n"
6277 " set -e\n"
6278 " . /usr/share/debconf/confmodule\n"
6279
6280 #. type: Plain text
6281 #: debconf-devel.7:662
6282 #, no-wrap
6283 msgid ""
6284 " # Load config file, if it exists.\n"
6285 " if [ -e $CONFIGFILE ]; then\n"
6286 " \t. $CONFIGFILE || true\n"
6287 msgstr ""
6288 " # Carrega ficheiro de configuração, se existir.\n"
6289 " if [ -e $CONFIGFILE ]; then\n"
6290 " \t. $CONFIGFILE || true\n"
6291
6292 #. type: Plain text
6293 #: debconf-devel.7:668
6294 #, no-wrap
6295 msgid ""
6296 " \t# Store values from config file into\n"
6297 " \t# debconf db.\n"
6298 " \tdb_set mypackage/foo \"$FOO\"\n"
6299 " \tdb_set mypackage/bar \"$BAR\"\n"
6300 " fi\n"
6301 msgstr ""
6302 " \t# Armazena valores do ficheiro de configuração na\n"
6303 " \t# base de dados debconf.\n"
6304 " \tdb_set mypackage/foo \"$FOO\"\n"
6305 " \tdb_set mypackage/bar \"$BAR\"\n"
6306 " fi\n"
6307
6308 #. type: Plain text
6309 #: debconf-devel.7:673
6310 #, no-wrap
6311 msgid ""
6312 " # Ask questions.\n"
6313 " db_input medium mypackage/foo || true\n"
6314 " db_input medium mypackage/bar || true\n"
6315 " db_go || true\n"
6316 msgstr ""
6317 " # Faz perguntas.\n"
6318 " db_input medium mypackage/foo || true\n"
6319 " db_input medium mypackage/bar || true\n"
6320 " db_go || true\n"
6321
6322 #. type: Plain text
6323 #: debconf-devel.7:675
6324 msgid "And the postinst will look something like this:"
6325 msgstr "E o postinst irá parecer algo como isto:"
6326
6327 #. type: Plain text
6328 #: debconf-devel.7:689
6329 #, no-wrap
6330 msgid ""
6331 " # Generate config file, if it doesn't exist.\n"
6332 " # An alternative is to copy in a template\n"
6333 " # file from elsewhere.\n"
6334 " if [ ! -e $CONFIGFILE ]; then\n"
6335 " \techo \"# Config file for my package\" E<gt> $CONFIGFILE\n"
6336 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6337 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6338 " fi\n"
6339 msgstr ""
6340 " # Gera ficheiro de configuração, se este não existir.\n"
6341 " # Uma alternativa é copiar um ficheiro template\n"
6342 " # de outro sítio.\n"
6343 " if [ ! -e $CONFIGFILE ]; then\n"
6344 " \techo \"# Config file for my package\" E<gt> $CONFIGFILE\n"
6345 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6346 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6347 " fi\n"
6348
6349 #. type: Plain text
6350 #: debconf-devel.7:699
6351 #, no-wrap
6352 msgid ""
6353 " # Substitute in the values from the debconf db.\n"
6354 " # There are obvious optimizations possible here.\n"
6355 " # The cp before the sed ensures we do not mess up\n"
6356 " # the config file's ownership and permissions.\n"
6357 " db_get mypackage/foo\n"
6358 " FOO=\"$RET\"\n"
6359 " db_get mypackage/bar\n"
6360 " BAR=\"$RET\"\n"
6361 " cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"
6362 msgstr ""
6363 " # Substituto nos valores de debconf db.\n"
6364 " # Existem optimizações óbvias possíveis aqui.\n"
6365 " # O cp antes do sed assegura que não estragamos as\n"
6366 " # permissões e dono do ficheiro de configuração.\n"
6367 " db_get mypackage/foo\n"
6368 " FOO=\"$RET\"\n"
6369 " db_get mypackage/bar\n"
6370 " BAR=\"$RET\"\n"
6371 " cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"
6372
6373 #. type: Plain text
6374 #: debconf-devel.7:706
6375 #, no-wrap
6376 msgid ""
6377 " # If the admin deleted or commented some variables but then set\n"
6378 " # them via debconf, (re-)add them to the conffile.\n"
6379 " test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
6380 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6381 " test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
6382 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6383 msgstr ""
6384 " # Se o administrador apagou o comentou algumas variáveis mas depois\n"
6385 " # definiu-as via debconf, (re-)adiciona-as ao ficheiro de configuração.\n"
6386 " test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
6387 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6388 " test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
6389 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6390
6391 #. type: Plain text
6392 #: debconf-devel.7:711
6393 #, no-wrap
6394 msgid ""
6395 " sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
6396 " -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
6397 " E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
6398 " mv -f $CONFIGFILE.tmp $CONFIGFILE\n"
6399 msgstr ""
6400 " sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
6401 " -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
6402 " E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
6403 " mv -f $CONFIGFILE.tmp $CONFIGFILE\n"
6404
6405 #. type: Plain text
6406 #: debconf-devel.7:719
6407 msgid ""
6408 "Consider how these two scripts handle all the cases. On fresh installs the "
6409 "questions are asked by the config script, and a new config file generated by "
6410 "the postinst. On upgrades and reconfigures, the config file is read in, and "
6411 "the values in it are used to change the values in the debconf database, so "
6412 "the admin's manual changes are not lost. The questions are asked again (and "
6413 "may or may not be displayed). Then the postinst substitutes the values back "
6414 "into the config file, leaving the rest of it unchanged."
6415 msgstr ""
6416 "Considere como estes dois scripts lidam com todos os casos. Em instalações "
6417 "novas as perguntas são feitas pelo script config, e um novo ficheiro de "
6418 "configuração é gerado pelo postinst. Nas actualizações e reconfigurações, o "
6419 "ficheiro de configuração é lido, e os valores nele são usados para alterar "
6420 "os valores na base de dados debconf, portanto as modificações manuais do "
6421 "administrador não são perdidas. As questões são feitas de novo (e podem ser "
6422 "ou não ser mostradas). Depois o postinst substitui os valores de volta ao "
6423 "ficheiro de configuração, deixando o resto inalterado."
6424
6425 #. type: SS
6426 #: debconf-devel.7:719
6427 #, no-wrap
6428 msgid "Letting the user back up"
6429 msgstr "Permitir que o utilizador volte atrás"
6430
6431 #. type: Plain text
6432 #: debconf-devel.7:725
6433 msgid ""
6434 "Few things are more frustrating when using a system like debconf than being "
6435 "asked a question, and answering it, then moving on to another screen with a "
6436 "new question on it, and realizing that hey, you made a mistake, with that "
6437 "last question, and you want to go back to it, and discovering that you can't."
6438 msgstr ""
6439 "Poucas coisas são mais frustrantes que quando se usa um sistema como o "
6440 "debconf onde é-lhe feita uma pergunta, respondida, depois avança-se para "
6441 "outro écran com uma nova pergunta, e depois percebe-se que cometeu um erro "
6442 "na última pergunta, e você quer voltar atrás e descobre que já não pode."
6443
6444 #. type: Plain text
6445 #: debconf-devel.7:731
6446 msgid ""
6447 "Since debconf is driven by your config script, it can't jump back to a "
6448 "previous question on its own but with a little help from you, it can "
6449 "accomplish this feat. The first step is to make your config script let "
6450 "debconf know it is capable of handling the user pressing a back button. You "
6451 "use the CAPB command to do this, passing backup as a parameter."
6452 msgstr ""
6453 "Como o debconf é conduzido pelo seu script config, ele não pode saltar para "
6454 "uma questão anterior por si só, mas com alguma ajuda da sua parte, ele pode "
6455 "conseguir isso. O primeiro passo é fazer com que o seu script config faça o "
6456 "debconf saber que é capaz de lidar com um utilizador a carregar no botão de "
6457 "retroceder. Você usa o comando CAPB para fazer isto, passando backup como "
6458 "parâmetro."
6459
6460 #. type: Plain text
6461 #: debconf-devel.7:735
6462 msgid ""
6463 "Then after each GO command, you must test to see if the user asked to back "
6464 "up (debconf returns a code of 30), and if so jump back to the previous "
6465 "question."
6466 msgstr ""
6467 "Então após cada comando GO, você tem de testar para ver se o utilizador "
6468 "pediu para recuar (o debconf devolve um código de 30), e se sim, saltar de "
6469 "volta para a questão anterior."
6470
6471 #. type: Plain text
6472 #: debconf-devel.7:741
6473 msgid ""
6474 "There are several ways to write the control structures of your program so it "
6475 "can jump back to previous questions when necessary. You can write goto-laden "
6476 "spaghetti code. Or you can create several functions and use recursion. But "
6477 "perhaps the cleanest and easiest way is to construct a state machine. Here "
6478 "is a skeleton of a state machine that you can fill out and expand."
6479 msgstr ""
6480 "Existem várias maneiras de escrever as estruturas de controle do seu "
6481 "programa para que possa saltar para questões anteriores caso necessário. "
6482 "Você pode escrever código goto-laden spaghetti. Ou pode criar várias funções "
6483 "e usar a recursão. Mas talvez o modo mais simples e limpo seja construir uma "
6484 "máquina de estado. Aqui está um exemplo de uma máquina de estado que você "
6485 "pode preencher e expandir."
6486
6487 #. type: Plain text
6488 #: debconf-devel.7:746
6489 #, no-wrap
6490 msgid ""
6491 " #!/bin/sh\n"
6492 " set -e\n"
6493 " . /usr/share/debconf/confmodule\n"
6494 " db_capb backup\n"
6495 msgstr ""
6496 " #!/bin/sh\n"
6497 " set -e\n"
6498 " . /usr/share/debconf/confmodule\n"
6499 " db_capb backup\n"
6500
6501 #. type: Plain text
6502 #: debconf-devel.7:773
6503 #, no-wrap
6504 msgid ""
6505 " STATE=1\n"
6506 " while true; do\n"
6507 " \tcase \"$STATE\" in\n"
6508 " \t1)\n"
6509 " \t\t# Two unrelated questions.\n"
6510 " \t\tdb_input medium my/question || true\n"
6511 " \t\tdb_input medium my/other_question || true\n"
6512 " \t;;\n"
6513 " \t2)\n"
6514 " \t\t# Only ask this question if the\n"
6515 " \t\t# first question was answered in\n"
6516 " \t\t# the affirmative.\n"
6517 " \tdb_get my/question\n"
6518 " \t\tif [ \"$RET\" = \"true\" ]; then\n"
6519 " \t\t\tdb_input medium my/dep_question || true\n"
6520 " \t\tfi\n"
6521 " \t;;\n"
6522 " \t*)\n"
6523 " \t\t# The default case catches when $STATE is greater than the\n"
6524 " \t\t# last implemented state, and breaks out of the loop. This\n"
6525 " \t\t# requires that states be numbered consecutively from 1\n"
6526 " \t\t# with no gaps, as the default case will also be entered\n"
6527 " \t\t# if there is a break in the numbering\n"
6528 " \t\tbreak # exits the enclosing \"while\" loop\n"
6529 " \t;;\n"
6530 " \tesac\n"
6531 msgstr ""
6532 " STATE=1\n"
6533 " while true; do\n"
6534 " \tcase \"$STATE\" in\n"
6535 " \t1)\n"
6536 " \t\t# Duas questões não relacionadas.\n"
6537 " \t\tdb_input medium my/question || true\n"
6538 " \t\tdb_input medium my/other_question || true\n"
6539 " \t;;\n"
6540 " \t2)\n"
6541 " \t\t# Apenas faz esta pergunta se a\n"
6542 " \t\t# primeira questão foi respondida em\n"
6543 " \t\t# afirmativo.\n"
6544 " \tdb_get my/question\n"
6545 " \t\tif [ \"$RET\" = \"true\" ]; then\n"
6546 " \t\t\tdb_input medium my/dep_question || true\n"
6547 " \t\tfi\n"
6548 " \t;;\n"
6549 " \t*)\n"
6550 " \t\t# O caso predefinido é capturado quando $STATE é maior que o\n"
6551 " \t\t# último estado implementado, e sai fora do ciclo. Isto\n"
6552 " \t\t# requer que os estados sejam numerados consecutivamente a partir de 1\n"
6553 " \t\t# sem falhas, pois o caso predefinido também irá ser inserido\n"
6554 " \t\t# se houver uma falha na numeração\n"
6555 " \t\tbreak # sai do delimitador \"enquanto\" em ciclo\n"
6556 " \t;;\n"
6557 " \tesac\n"
6558
6559 #. type: Plain text
6560 #: debconf-devel.7:780
6561 #, no-wrap
6562 msgid ""
6563 " \tif db_go; then\n"
6564 " \t\tSTATE=$((STATE + 1))\n"
6565 " \telse\n"
6566 " \t\tSTATE=$((STATE - 1))\n"
6567 " \tfi\n"
6568 " done\n"
6569 msgstr ""
6570 " \tif db_go; then\n"
6571 " \t\tSTATE=$((STATE + 1))\n"
6572 " \telse\n"
6573 " \t\tSTATE=$((STATE - 1))\n"
6574 " \tfi\n"
6575 " done\n"
6576
6577 #. type: Plain text
6578 #: debconf-devel.7:791
6579 #, no-wrap
6580 msgid ""
6581 " if [ $STATE -eq 0 ]; then\n"
6582 " \t# The user has asked to back up from the first\n"
6583 " \t# question. This case is problematical. Regular\n"
6584 " \t# dpkg and apt package installation isn't capable\n"
6585 " \t# of backing up questions between packages as this\n"
6586 " \t# is written, so this will exit leaving the package\n"
6587 " \t# unconfigured - probably the best way to handle\n"
6588 " \t# the situation.\n"
6589 " \texit 10\n"
6590 " fi\n"
6591 msgstr ""
6592 " if [ $STATE -eq 0 ]; then\n"
6593 " \t# O utilizador pediu para voltar atrás a partir da primeira\n"
6594 " \t# questão. Este caso é problemático. Uma instalação\n"
6595 " \t# de pacote regular do dpkg e apt não é capaz de\n"
6596 " \t# andar para trás nas questões entre pacotes quando estas\n"
6597 " \t# são escritas, portanto isto vai terminar deixando o pacote\n"
6598 " \t# por configurar - provavelmente a melhor maneira de lidar com\n"
6599 " \t# esta situação.\n"
6600 " \texit 10\n"
6601 " fi\n"
6602
6603 #. type: Plain text
6604 #: debconf-devel.7:796
6605 msgid ""
6606 "Note that if all your config script does is ask a few unrelated questions, "
6607 "then there is no need for the state machine. Just ask them all, and GO; "
6608 "debconf will do its best to present them all in one screen, and the user "
6609 "won't need to back up."
6610 msgstr ""
6611 "Note que se tudo o que o seu script config faz é perguntar algumas questões "
6612 "não relacionadas, então não há necessidade duma máquina de estado. Apenas "
6613 "pergunte-as todas e, GO; o debconf fará o seu melhor para apresentá-las "
6614 "todas no mesmo écran, e o utilizador não precisa de voltar a trás."
6615
6616 #. type: SS
6617 #: debconf-devel.7:796
6618 #, no-wrap
6619 msgid "Preventing infinite loops"
6620 msgstr "Prevenindo loops infinitos"
6621
6622 #. type: Plain text
6623 #: debconf-devel.7:800
6624 msgid ""
6625 "One gotcha with debconf comes up if you have a loop in your config script. "
6626 "Suppose you're asking for input and validating it, and looping if it's not "
6627 "valid:"
6628 msgstr ""
6629 "Acontece um problema com o debconf se você tem um ciclo no seu script "
6630 "config. Suponha que está a perguntar por uma entrada e a validá-la, e a usar "
6631 "um looping caso não seja válida:"
6632
6633 #. type: Plain text
6634 #: debconf-devel.7:810
6635 #, no-wrap
6636 msgid ""
6637 " ok=''\n"
6638 " do while [ ! \"$ok\" ];\n"
6639 " \tdb_input low foo/bar || true\n"
6640 " \tdb_go || true\n"
6641 " \tdb_get foo/bar\n"
6642 " \tif [ \"$RET\" ]; then\n"
6643 " \t\tok=1\n"
6644 " \tfi\n"
6645 " done\n"
6646 msgstr ""
6647 " ok=''\n"
6648 " do while [ ! \"$ok\" ];\n"
6649 " \tdb_input low foo/bar || true\n"
6650 " \tdb_go || true\n"
6651 " \tdb_get foo/bar\n"
6652 " \tif [ \"$RET\" ]; then\n"
6653 " \t\tok=1\n"
6654 " \tfi\n"
6655 " done\n"
6656
6657 #. type: Plain text
6658 #: debconf-devel.7:817
6659 msgid ""
6660 "This looks ok at first glance. But consider what happens if the value of foo/"
6661 "bar is \"\" when this loop is entered, and the user has their priority set "
6662 "high, or is using a non-interactive frontend, and so they are not really "
6663 "asked for input. The value of foo/bar is not changed by the db_input, and so "
6664 "it fails the test and loops. And loops ..."
6665 msgstr ""
6666 "isto parece ok à primeira vista. Mas considere o que acontece se o valor de /"
6667 "foo/bar for \"\" quando se entra neste ciclo, e o utilizador tem a sua "
6668 "prioridade definida para alta, ou está a usar um frontend não-interactivo, e "
6669 "então não lhe é realmente pedido uma entrada. O valor de foo/bar não é "
6670 "alterado pelo db_input, e então falha ao testar e volta a repetir o ciclo "
6671 "vicioso..."
6672
6673 #. type: Plain text
6674 #: debconf-devel.7:823
6675 msgid ""
6676 "One fix for this is to make sure that before the loop is entered, the value "
6677 "of foo/bar is set to something that will pass the test in the loop. So for "
6678 "example if the default value of foo/bar is \"1\", then you could RESET foo/"
6679 "bar just before entering the loop."
6680 msgstr ""
6681 "Uma correcção para isto é certificar-se que antes de entrar no ciclo, o "
6682 "valor de foo/bar é definido para algo que passe no teste no ciclo. Então por "
6683 "exemplo se o valor predefinido de foo/bar for \"1\", você pode fazer RESET a "
6684 "foo/bar antes de entrar no ciclo."
6685
6686 #. type: Plain text
6687 #: debconf-devel.7:827
6688 msgid ""
6689 "Another fix is to check the return code of the INPUT command. If it is 30 "
6690 "then the user is not being shown the question you asked them, and you should "
6691 "break out of the loop."
6692 msgstr ""
6693 "Outra correcção é verifica o código de retorno do comando INPUT. Se for 30 "
6694 "então não está a ser mostrada ao utilizador a pergunta que pediu, e deve "
6695 "sair do ciclo."
6696
6697 #. type: SS
6698 #: debconf-devel.7:827
6699 #, no-wrap
6700 msgid "Choosing among related packages"
6701 msgstr "Escolhendo entre pacotes relacionados"
6702
6703 #. type: Plain text
6704 #: debconf-devel.7:832
6705 msgid ""
6706 "Sometimes a set of related packages can be installed, and you want to prompt "
6707 "the user which of the set should be used by default. Examples of such sets "
6708 "are window managers, or ispell dictionary files."
6709 msgstr ""
6710 "Por vezes pode ser instalado um conjunto de pacotes relacionados, e você "
6711 "quer perguntar ao utilizador qual dos conjuntos deve ser usado por "
6712 "predefinição. Exemplos de tais conjuntos são os gestores de janelas, ou "
6713 "ficheiros do dicionário ispell."
6714
6715 #. type: Plain text
6716 #: debconf-devel.7:838
6717 msgid ""
6718 "While it would be possible for each package in the set to simply prompt, "
6719 "\"Should this package be default?\", this leads to a lot of repetitive "
6720 "questions if several of the packages are installed. It's possible with "
6721 "debconf to present a list of all the packages in the set and allow the user "
6722 "to choose between them. Here's how."
6723 msgstr ""
6724 "Enquanto seria possível para cada pacote no conjunto simplesmente perguntar "
6725 "\"Deve este pacote ser predefinido?\", isto levaria a um monte de perguntas "
6726 "repetidas se estiverem a ser instalados vários pacotes. É possível com o "
6727 "debconf apresentar uma lista de todos os pacotes no conjunto e permitir ao "
6728 "utilizador escolher entre eles. Aqui está como."
6729
6730 #. type: Plain text
6731 #: debconf-devel.7:841
6732 msgid ""
6733 "Make all the packages in the set use a shared template. Something like this:"
6734 msgstr ""
6735 "Faz com que todos os pacotes no conjunto usem um template partilhado. Algo "
6736 "como isto:"
6737
6738 #. type: Plain text
6739 #: debconf-devel.7:848
6740 #, no-wrap
6741 msgid ""
6742 " Template: shared/window-manager\n"
6743 " Type: select\n"
6744 " Choices: ${choices}\n"
6745 " Description: Select the default window manager.\n"
6746 " Select the window manager that will be started by\n"
6747 " default when X starts.\n"
6748 msgstr ""
6749 " Template: shared/window-manager\n"
6750 " Type: select\n"
6751 " Choices: ${choices}\n"
6752 " Description: Selecciona o gestor de janelas predefinido.\n"
6753 " Selecciona o gestor de janelas que será iniciado por\n"
6754 " predefinição quando o X arranca.\n"
6755
6756 #. type: Plain text
6757 #: debconf-devel.7:851
6758 msgid ""
6759 "Each package should include a copy of the template. Then it should include "
6760 "some code like this in its config script:"
6761 msgstr ""
6762 "Cada pacote deve incluir uma cópia do template. Depois deve incluir algum "
6763 "código como este no seu script config:"
6764
6765 #. type: Plain text
6766 #: debconf-devel.7:856
6767 #, no-wrap
6768 msgid ""
6769 " db_metaget shared/window-manager owners\n"
6770 " OWNERS=$RET\n"
6771 " db_metaget shared/window-manager choices\n"
6772 " CHOICES=$RET\n"
6773 msgstr ""
6774 " db_metaget shared/window-manager owners\n"
6775 " OWNERS=$RET\n"
6776 " db_metaget shared/window-manager choices\n"
6777 " CHOICES=$RET\n"
6778
6779 #. type: Plain text
6780 #: debconf-devel.7:861
6781 #, no-wrap
6782 msgid ""
6783 " if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
6784 " \tdb_subst shared/window-manager choices $OWNERS\n"
6785 " \tdb_fset shared/window-manager seen false\n"
6786 " fi\n"
6787 msgstr ""
6788 " if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
6789 " \tdb_subst shared/window-manager choices $OWNERS\n"
6790 " \tdb_fset shared/window-manager seen false\n"
6791 " fi\n"
6792
6793 #. type: Plain text
6794 #: debconf-devel.7:864
6795 #, no-wrap
6796 msgid ""
6797 " db_input medium shared/window-manager || true\n"
6798 " db_go || true\n"
6799 msgstr ""
6800 " db_input medium shared/window-manager || true\n"
6801 " db_go || true\n"
6802
6803 #. type: Plain text
6804 #: debconf-devel.7:872
6805 msgid ""
6806 "A bit of an explanation is called for. By the time your config script runs, "
6807 "debconf has already read in all the templates for the packages that are "
6808 "being installed. Since the set of packages share a question, debconf records "
6809 "that fact in the owners field. By a strange coincidence, the format of the "
6810 "owners field is the same as that of the choices field (a comma and space "
6811 "delimited list of values)."
6812 msgstr ""
6813 "É preciso um pouco de explicação. Pela altura em que o seu script config "
6814 "corre, o debconf já leu todos os templates para os pacotes que estão a ser "
6815 "instalados. Como um conjunto de pacotes partilha uma questão, o debconf "
6816 "regista esse facto no campo owners. Por estranha coincidência, o formato do "
6817 "campo owners é o mesmo que aquele do campo choices (uma lista de valores "
6818 "delimitada por vírgulas e espaços)."
6819
6820 #. type: Plain text
6821 #: debconf-devel.7:877
6822 msgid ""
6823 "The METAGET command can be used to get the list of owners and the list of "
6824 "choices. If they are different, then a new package has been installed. So "
6825 "use the SUBST command to change the list of choices to be the same as the "
6826 "list of owners, and ask the question."
6827 msgstr ""
6828 "O comando METAGET pode ser usado para obter a lista de donos e a lista de "
6829 "escolhas. Se forem diferentes, então foi instalado um novo pacote. Então use "
6830 "o comando SUBST para alterar a lista de escolhas para ser o mesmo que a "
6831 "lista de donos, e fazer a pergunta."
6832
6833 #. type: Plain text
6834 #: debconf-devel.7:881
6835 msgid ""
6836 "When a package is removed, you probably want to see if that package is the "
6837 "currently selected choice, and if so, prompt the user to select a different "
6838 "package to replace it."
6839 msgstr ""
6840 "Quando um pacote é removido, provavelmente você quer ver se esse pacote é a "
6841 "escolha actualmente seleccionada, e se for, avisar o utilizado para "
6842 "seleccionar um pacote diferente para o substituir."
6843
6844 #. type: Plain text
6845 #: debconf-devel.7:885
6846 msgid ""
6847 "This can be accomplished by adding something like this to the prerm scripts "
6848 "of all related packages (replacing E<lt>packageE<gt> with the package name):"
6849 msgstr ""
6850 "Isto pode ser conseguido ao adicionar algo como isto aos scripts prerm de "
6851 "todos os pacotes relacionados (substituindo E<lt>packageE<gt> pelo nome do "
6852 "pacote):"
6853
6854 #. type: Plain text
6855 #: debconf-devel.7:890
6856 #, no-wrap
6857 msgid ""
6858 " if [ -e /usr/share/debconf/confmodule ]; then\n"
6859 " \t. /usr/share/debconf/confmodule\n"
6860 " \t# I no longer claim this question.\n"
6861 " \tdb_unregister shared/window-manager\n"
6862 msgstr ""
6863 " if [ -e /usr/share/debconf/confmodule ]; then\n"
6864 " \t. /usr/share/debconf/confmodule\n"
6865 " \t# I no longer claim this question.\n"
6866 " \tdb_unregister shared/window-manager\n"
6867
6868 #. type: Plain text
6869 #: debconf-devel.7:901
6870 #, no-wrap
6871 msgid ""
6872 " \t# See if the shared question still exists.\n"
6873 " \tif db_get shared/window-manager; then\n"
6874 " \t\tdb_metaget shared/window-manager owners\n"
6875 " \t\tdb_subst shared/window-manager choices $RET\n"
6876 " \t\tdb_metaget shared/window-manager value\n"
6877 " \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
6878 " \t\t\tdb_fset shared/window-manager seen false\n"
6879 " \t\t\tdb_input high shared/window-manager || true\n"
6880 " \t\t\tdb_go || true\n"
6881 " \t\tfi\n"
6882 msgstr ""
6883 " \t# Vê se a questão partilhada ainda existe.\n"
6884 " \tif db_get shared/window-manager; then\n"
6885 " \t\tdb_metaget shared/window-manager owners\n"
6886 " \t\tdb_subst shared/window-manager choices $RET\n"
6887 " \t\tdb_metaget shared/window-manager value\n"
6888 " \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
6889 " \t\t\tdb_fset shared/window-manager seen false\n"
6890 " \t\t\tdb_input high shared/window-manager || true\n"
6891 " \t\t\tdb_go || true\n"
6892 " \t\tfi\n"
6893
6894 #. type: Plain text
6895 #: debconf-devel.7:906
6896 #, no-wrap
6897 msgid ""
6898 " \t\t# Now do whatever the postinst script did\n"
6899 " \t\t# to update the window manager symlink.\n"
6900 " \tfi\n"
6901 " fi\n"
6902 msgstr ""
6903 " \t\t# Agora faz o que o script postinst fez\n"
6904 " \t\t# para actualizar o link simbólico do gestor de janelas.\n"
6905 " \tfi\n"
6906 " fi\n"
6907
6908 #. type: SH
6909 #: debconf-devel.7:906
6910 #, no-wrap
6911 msgid "HACKS"
6912 msgstr "TRUQUES"
6913
6914 #. type: Plain text
6915 #: debconf-devel.7:909
6916 msgid ""
6917 "Debconf is currently not fully integrated into dpkg (but I want to change "
6918 "this in the future), and so some messy hacks are currently called for."
6919 msgstr ""
6920 "O debconf não está presentemente totalmente integrado com o dpkg (mas "
6921 "queremos mudar isto no futuro), e então actualmente são precisos alguns "
6922 "truques feiosos."
6923
6924 #. type: Plain text
6925 #: debconf-devel.7:920
6926 msgid ""
6927 "The worst of these involves getting the config script to run. The way that "
6928 "works now is the config script will be run when the package is pre-"
6929 "configured. Then, when the postinst script runs, it starts up debconf again. "
6930 "Debconf notices it is being used by the postinst script, and so it goes off "
6931 "and runs the config script. This can only work if your postinst loads up one "
6932 "of the debconf libraries though, so postinsts always have to take care to do "
6933 "that. We hope to address this later by adding explicit support to dpkg for "
6934 "debconf. The B<debconf>(1) program is a step in this direction."
6935 msgstr ""
6936 "O pior destes involve meter o script config a correr. O modo como funciona "
6937 "agora é que o script config será executado quando o pacote é pré-"
6938 "configurado. Depois, quando o script postinst corre, arranca o debconf outra "
6939 "vez. O debconf percebe que está a ser usado pelo script postinst, e então "
6940 "desliga-se e corre corre o script config. Isto apenas funciona se o seu "
6941 "postinst carregar uma das bibliotecas do debconf, então os postinsts têm "
6942 "sempre que tratar disso. Nós esperamos dirigir-nos a isto mais tarde ao "
6943 "adicionar suporte explícito ao dpkg para debconf. O programa B<debconf>(1) é "
6944 "um passo nesta direcção."
6945
6946 #. type: Plain text
6947 #: debconf-devel.7:931
6948 msgid ""
6949 "A related hack is getting debconf running when a config script, postinst, or "
6950 "other program that uses it starts up. After all, they expect to be able to "
6951 "talk to debconf right away. The way this is accomplished for now is that "
6952 "when such a script loads a debconf library (like /usr/share/debconf/"
6953 "confmodule), and debconf is not already running, it is started up, and a new "
6954 "copy of the script is re-execed. The only noticeable result is that you need "
6955 "to put the line that loads a debconf library at the very top of the script, "
6956 "or weird things will happen. We hope to address this later by changing how "
6957 "debconf is invoked, and turning it into something more like a transient "
6958 "daemon."
6959 msgstr ""
6960 "Um truque relacionado e fazer o debconf correr quando um script config, "
6961 "postinst, ou outro programa que o usa, arranque. Afinal de contas, eles "
6962 "esperam poder falar com o debconf imediatamente. A maneira que isto é "
6963 "conseguido por agora é que quanto um tal script carrega uma biblioteca do "
6964 "debconf (como /usr/share/debconf/confmodule), e o debconf não está já a "
6965 "correr, é arrancado, e uma nova cópia do script é re-executada. O único "
6966 "resultado apreciável é que você precisa de colocar a linha que carrega a "
6967 "biblioteca do debconf no topo do script, ou vão acontecer coisas esquisitas. "
6968 "Nós esperamos dirigir-nos a isto mais tarde ao alterar o modo como o debconf "
6969 "é invocado, e transformá-lo em algo como um daemon de transição."
6970
6971 #. type: Plain text
6972 #: debconf-devel.7:942
6973 msgid ""
6974 "It's rather hackish how debconf figures out what templates files to load, "
6975 "and when it loads them. When the config, preinst, and postinst scripts "
6976 "invoke debconf, it will automatically figure out where the templates file "
6977 "is, and load it. Standalone programs that use debconf will cause debconf to "
6978 "look for templates files in /usr/share/debconf/templates/progname."
6979 "templates. And if a postrm wants to use debconf at purge time, the "
6980 "templates won't be available unless debconf had a chance to load them in its "
6981 "postinst. This is messy, but rather unavoidable. In the future some of these "
6982 "programs may be able to use debconf-loadtemplate by hand though."
6983 msgstr ""
6984 "É também um truque o modo como o debconf percebe que ficheiros templates "
6985 "deve carregar, e quando os carrega. Quando os scripts config, preinst e "
6986 "postinst invocam o debconf, ele descobre automaticamente onde está o "
6987 "ficheiro templates, e carrega-o. Os programas standalone que usam debconf "
6988 "irão fazer com que o debconf procure os ficheiro templates em /usr/share/"
6989 "debconf/templates/nome-do-programa.templates. E se um postrm quer usar "
6990 "debconf durante uma purga, os templates não estarão disponíveis a menos que "
6991 "o debconf tenha uma chance de carregá-los no seu postinst. Isto é uma "
6992 "trapalhada, mas inevitável. No futuro alguns destes programas poderão ser "
6993 "capazes de usar debconf-loadtemplate manualmente."
6994
6995 #. type: Plain text
6996 #: debconf-devel.7:950
6997 msgid ""
6998 "/usr/share/debconf/confmodule's historic behavior of playing with file "
6999 "descriptors and setting up a fd #3 that talks to debconf, can cause all "
7000 "sorts of trouble when a postinst runs a daemon, since the daemon ends up "
7001 "talking to debconf, and debconf can't figure out when the script terminates. "
7002 "The STOP command can work around this. In the future, we are considering "
7003 "making debconf communication happen over a socket or some other mechanism "
7004 "than stdio."
7005 msgstr ""
7006 "O comportamento histórico de /usr/share/debconf/confmodule de jogar com "
7007 "descritores de ficheiros e definindo um fd #3 que fala com debconf, pode "
7008 "causar todo o tipo de problemas quando um postinst corre em daemon, pois o "
7009 "daemon começa a falar com o debconf,e o debconf não consegue perceber quando "
7010 "o script termina. O comando STOP pode contornar isto. No futuro, estamos a "
7011 "considerar fazer com que a comunicação com o debconf aconteça por um socket "
7012 "ou outro mecanismo que não seja o stdio."
7013
7014 #. type: Plain text
7015 #: debconf-devel.7:958
7016 msgid ""
7017 "Debconf sets DEBCONF_RECONFIGURE=1 before running postinst scripts, so a "
7018 "postinst script that needs to avoid some expensive operation when "
7019 "reconfigured can look at that variable. This is a hack because the right "
7020 "thing would be to pass $1 = \"reconfigure\", but doing so without breaking "
7021 "all the postinsts that use debconf is difficult. The migration plan away "
7022 "from this hack is to encourage people to write postinsts that accept "
7023 "\"reconfigure\", and once they all do, begin passing that parameter."
7024 msgstr ""
7025 "Debconf define DEBCONF_RECONFIGURE=1 antes de correr scripts postinst, então "
7026 "um script postinst que precise de evitar alguma operação cara quando "
7027 "reconfigurado pode olhar para essa variável. Isto é um truque porque o "
7028 "correcto seria passar $1 = \"reconfigure\", mas fazê-lo sem quebrar todos os "
7029 "postinsts que usam debconf é difícil. O plano de migração para fugir a este "
7030 "truque é encorajar as pessoas a escrever postinsts que aceitem "
7031 "\"reconfigure\", e quanto todos o fizerem, começar a passar esse parâmetro."
7032
7033 #. type: Plain text
7034 #: debconf-devel.7:961
7035 msgid "B<debconf>(7) is the debconf user's guide."
7036 msgstr "B<debconf>(7) é o guia do utilizador do debconf."
7037
7038 #. type: Plain text
7039 #: debconf-devel.7:964
7040 msgid ""
7041 "The debconf specification in debian policy is the canonical definition of "
7042 "the debconf protocol. /usr/share/doc/debian-policy/debconf_specification.txt."
7043 "gz"
7044 msgstr ""
7045 "A especificação debconf na política debian é a definição canónica do "
7046 "protocolo debconf. /usr/share/doc/debian-policy/debconf_specification.txt.gz"
7047
7048 #. type: Plain text
7049 #: debconf-devel.7:968
7050 msgid ""
7051 "B<debconf.conf>(5) has much useful information, including some info about "
7052 "the backend database."
7053 msgstr ""
7054 "B<debconf.conf>(5) tem muita informação útil, incluindo alguma informação "
7055 "acerca da base de dados backend."
7056
7057 #, fuzzy
7058 #~| msgid ""
7059 #~| "This frontend provides a simple X GUI written with the Qt library. It "
7060 #~| "fits well the KDE desktop. You of course need a DISPLAY to use this "
7061 #~| "frontend and must install libqt-perl. The frontend will fall back to "
7062 #~| "dialog if some of the prerequisites are not met."
7063 #~ msgid ""
7064 #~ "This frontend provides a simple X GUI written with the Qt library. You of "
7065 #~ "course need a DISPLAY to use this frontend and must install libqtgui4-"
7066 #~ "perl. The frontend will fall back to dialog if some of the prerequisites "
7067 #~ "are not met."
7068 #~ msgstr ""
7069 #~ "Este frontend disponibiliza uma GUI X simples escrita com a biblioteca "
7070 #~ "Qt. Adapta-se bem ao ambiente de trabalho KDE. Claro que você precisa de "
7071 #~ "um DISPLAY para usar este frontend e tem de instalar a libqt-perl. O "
7072 #~ "frontend irá cair para dialog se algum dos pre-requisitos não estiver "
7073 #~ "satisfeito."
7074
7075 #~ msgid "B<-a>, B<--all>"
7076 #~ msgstr "B<-a>, B<--all>"
7077
7078 #~ msgid ""
7079 #~ "Reconfigure all installed packages that use debconf. Warning: this may "
7080 #~ "take a long time."
7081 #~ msgstr ""
7082 #~ "Reconfigura todos os pacotes instalados que usam debconf. Aviso: isto "
7083 #~ "pode demorar muito tempo."