Debian Codegraph @

doc/man/po4a/po/ru.po

raw
1 # translation of ru.po to Russian
2 # Copyright (C) 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
3 #
4 # Yuri Kozlov <[email protected]>, 2006, 2008.
5 # Yuri Kozlov <[email protected]>, 2009, 2010, 2011, 2012, 2018.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: debconf 1.5.66\n"
9 "POT-Creation-Date: 2024-01-21 19:23+0000\n"
10 "PO-Revision-Date: 2018-04-29 08:47+0300\n"
11 "Last-Translator: Yuri Kozlov <[email protected]>\n"
12 "Language-Team: Russian <[email protected]>\n"
13 "Language: ru\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "X-Generator: Lokalize 2.0\n"
18 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
21 # type: =head1
22 #. type: SH
23 #: ../../debconf:3 ../../Debconf/Client/ConfModule.pm:3
24 #: ../../debconf-apt-progress:3 ../../debconf-escape:3
25 #: ../../debconf-communicate:3 ../../debconf-copydb:3 ../../debconf-getlang:3
26 #: ../../debconf-get-selections:3 ../../debconf-loadtemplate:3
27 #: ../../debconf-mergetemplate:3 ../../debconf-set-selections:3
28 #: ../../debconf-show:3 ../../dpkg-preconfigure:3 ../../dpkg-reconfigure:3
29 #: debconf.conf.5:2 confmodule.3:2 debconf.7:2 debconf-devel.7:2
30 #, no-wrap
31 msgid "NAME"
32 msgstr "НАЗВАНИЕ"
33
34 # type: textblock
35 #. type: textblock
36 #: ../../debconf:5
37 msgid "debconf - run a debconf-using program"
38 msgstr "debconf - запускает программу, использующую debconf"
39
40 # type: =head1
41 #. type: SH
42 #: ../../debconf:9 ../../Debconf/Client/ConfModule.pm:7
43 #: ../../debconf-apt-progress:7 ../../debconf-escape:7
44 #: ../../debconf-communicate:9 ../../debconf-copydb:17 ../../debconf-getlang:16
45 #: ../../debconf-get-selections:7 ../../debconf-loadtemplate:14
46 #: ../../debconf-mergetemplate:17 ../../debconf-set-selections:7
47 #: ../../debconf-show:7 ../../dpkg-preconfigure:7 ../../dpkg-reconfigure:7
48 #: debconf.conf.5:12 confmodule.3:4
49 #, no-wrap
50 msgid "SYNOPSIS"
51 msgstr "СИНТАКСИС"
52
53 # type: verbatim
54 #. type: verbatim
55 #: ../../debconf:11
56 #, no-wrap
57 msgid ""
58 " debconf [options] command [args]\n"
59 "\n"
60 msgstr ""
61 " debconf [параметры] команда [аргументы]\n"
62 "\n"
63
64 # type: Content of: <refentry><refsect1><title>
65 #. type: SH
66 #: ../../debconf:13 ../../Debconf/Client/ConfModule.pm:20
67 #: ../../debconf-apt-progress:15 ../../debconf-escape:12
68 #: ../../debconf-communicate:13 ../../debconf-copydb:30
69 #: ../../debconf-getlang:21 ../../debconf-get-selections:11
70 #: ../../debconf-loadtemplate:18 ../../debconf-mergetemplate:21
71 #: ../../debconf-set-selections:12 ../../debconf-show:13
72 #: ../../dpkg-preconfigure:13 ../../dpkg-reconfigure:11 debconf.conf.5:4
73 #: confmodule.3:12 debconf.7:4 debconf-devel.7:4
74 #, no-wrap
75 msgid "DESCRIPTION"
76 msgstr "ОПИСАНИЕ"
77
78 # type: textblock
79 #. type: textblock
80 #: ../../debconf:15
81 msgid ""
82 "Debconf is a configuration system for Debian packages. For a debconf "
83 "overview and documentation for sysadmins, see L<debconf(7)> (in the debconf-"
84 "doc package)."
85 msgstr ""
86 "Debconf — это система настройки пакетов в Debian. Описание debconf и "
87 "документацию для системных администраторов можно найти в L<debconf(7)> "
88 "(пакет debconf-doc)."
89
90 # type: textblock
91 #. type: textblock
92 #: ../../debconf:19
93 msgid ""
94 "The B<debconf> program runs a program under debconf's control, setting it up "
95 "to talk with debconf on stdio. The program's output is expected to be "
96 "debconf protocol commands, and it is expected to read result codes on stdin. "
97 "See L<debconf-devel(7)> for details about the debconf protocol."
98 msgstr ""
99 "Программа B<debconf> запускает команду под контролем debconf, настраивая её "
100 "к обмену с debconf через стандартные потоки ввода-вывода (stdio). Ожидается, "
101 "что вывод программы будет состоять из команд протокола debconf, а коды "
102 "результата будут считываться ею со стандартного ввода (stdin). Подробней о "
103 "протоколе debconf смотрите в L<debconf-devel(7)>."
104
105 # type: textblock
106 #. type: textblock
107 #: ../../debconf:24
108 msgid ""
109 "The command to be run under debconf must be specified in a way that will let "
110 "your PATH find it."
111 msgstr ""
112 "Команда для запуска с помощью debconf должна находиться в одном из "
113 "каталогов, указанных в PATH."
114
115 # type: textblock
116 #. type: textblock
117 #: ../../debconf:27
118 msgid ""
119 "This command is not the usual way that debconf is used. It's more typical "
120 "for debconf to be used via L<dpkg-preconfigure(8)> or L<dpkg-reconfigure(8)>."
121 msgstr ""
122 "Такой способ запуска команды через debconf является нетипичным. Обычно, "
123 "debconf запускается из L<dpkg-preconfigure(8)> или L<dpkg-reconfigure(8)>."
124
125 # type: Content of: <refentry><refsect1><title>
126 #. type: =head1
127 #: ../../debconf:30 ../../debconf-apt-progress:43 ../../debconf-copydb:36
128 #: ../../debconf-mergetemplate:45 ../../debconf-set-selections:56
129 #: ../../debconf-show:24 ../../dpkg-preconfigure:20 ../../dpkg-reconfigure:21
130 msgid "OPTIONS"
131 msgstr "ПАРАМЕТРЫ"
132
133 # type: =item
134 #. type: =item
135 #: ../../debconf:34
136 msgid "B<-o>I<package>, B<--owner=>I<package>"
137 msgstr "B<-o>I<пакет>, B<--owner=>I<пакет>"
138
139 # type: textblock
140 #. type: textblock
141 #: ../../debconf:36
142 msgid ""
143 "Tell debconf what package the command it is running is a part of. This is "
144 "necessary to get ownership of registered questions right, and to support "
145 "unregister and purge commands properly."
146 msgstr ""
147 "Указать debconf от имени какого пакета должна выполняться команда. Это "
148 "требуется для получения прав на зарегистрированные вопросы и для надлежащей "
149 "поддержки команд unregister и purge."
150
151 # type: =item
152 #. type: =item
153 #: ../../debconf:40 ../../dpkg-preconfigure:24 ../../dpkg-reconfigure:25
154 msgid "B<-f>I<type>, B<--frontend=>I<type>"
155 msgstr "B<-f>I<интерфейс>, B<--frontend=>I<интерфейс>"
156
157 # type: textblock
158 #. type: textblock
159 #: ../../debconf:42 ../../dpkg-preconfigure:26
160 msgid "Select the frontend to use."
161 msgstr "Указать нужную интерфейсную программу."
162
163 # type: =item
164 #. type: =item
165 #: ../../debconf:44 ../../dpkg-preconfigure:28 ../../dpkg-reconfigure:36
166 msgid "B<-p>I<value>, B<--priority=>I<value>"
167 msgstr "B<-p>I<значение_приоритета>, B<--priority=>I<значение_приоритета>"
168
169 # type: textblock
170 #. type: textblock
171 #: ../../debconf:46
172 msgid "Specify the minimum priority of question that will be displayed."
173 msgstr "Установить минимальный приоритет задаваемых вопросов."
174
175 # type: TP
176 #. type: =item
177 #: ../../debconf:48 ../../dpkg-preconfigure:34 ../../dpkg-reconfigure:42
178 msgid "B<--terse>"
179 msgstr "B<--terse>"
180
181 #. type: textblock
182 #: ../../debconf:50 ../../dpkg-preconfigure:36 ../../dpkg-reconfigure:44
183 msgid "Enables terse output mode. This affects only some frontends."
184 msgstr ""
185 "Включить краткий режим вывода. Влияет только на некоторые интерфейсные "
186 "программы."
187
188 # type: Content of: <refentry><refsect1><title>
189 #. type: =head1
190 #: ../../debconf:54 ../../debconf-apt-progress:107 ../../debconf-copydb:75
191 #: ../../debconf-set-selections:47
192 msgid "EXAMPLES"
193 msgstr "ПРИМЕРЫ"
194
195 # type: textblock
196 #. type: textblock
197 #: ../../debconf:56
198 msgid "To debug a shell script that uses debconf, you might use:"
199 msgstr "Отладка сценария командной строки, использующего debconf:"
200
201 # type: verbatim
202 #. type: verbatim
203 #: ../../debconf:58
204 #, no-wrap
205 msgid ""
206 " DEBCONF_DEBUG=developer debconf my-shell-prog\n"
207 "\n"
208 msgstr ""
209 " DEBCONF_DEBUG=developer debconf моя-shell-программа\n"
210 "\n"
211
212 # type: textblock
213 #. type: textblock
214 #: ../../debconf:60
215 msgid "Or, you might use this:"
216 msgstr "Или так:"
217
218 # type: verbatim
219 #. type: verbatim
220 #: ../../debconf:62
221 #, no-wrap
222 msgid ""
223 " debconf --frontend=readline sh -x my-shell-prog\n"
224 "\n"
225 msgstr ""
226 " debconf --frontend=readline sh -x моя-shell-программа\n"
227 "\n"
228
229 # type: Content of: <refentry><refsect1><title>
230 #. type: SH
231 #: ../../debconf:64 ../../Debconf/Client/ConfModule.pm:154
232 #: ../../debconf-escape:21 ../../debconf-communicate:39
233 #: ../../debconf-copydb:102 ../../debconf-getlang:74
234 #: ../../debconf-loadtemplate:31 ../../debconf-mergetemplate:61
235 #: ../../debconf-set-selections:70 ../../dpkg-preconfigure:59
236 #: ../../dpkg-reconfigure:77 debconf.conf.5:537 confmodule.3:36 debconf.7:376
237 #: debconf-devel.7:958
238 #, no-wrap
239 msgid "SEE ALSO"
240 msgstr "СМОТРИТЕ ТАКЖЕ"
241
242 # type: textblock
243 #. type: textblock
244 #: ../../debconf:66
245 msgid "L<debconf-devel(7)>, L<debconf(7)>"
246 msgstr "L<debconf-devel(7)>, L<debconf(7)>"
247
248 # type: =head1
249 #. type: SH
250 #: ../../debconf:117 ../../Debconf/Client/ConfModule.pm:159
251 #: ../../debconf-escape:72 ../../debconf-communicate:74
252 #: ../../debconf-copydb:175 ../../debconf-getlang:256
253 #: ../../debconf-get-selections:78 ../../debconf-loadtemplate:48
254 #: ../../debconf-mergetemplate:181 ../../debconf-set-selections:226
255 #: ../../debconf-show:152 ../../dpkg-preconfigure:258
256 #: ../../dpkg-reconfigure:309 debconf.conf.5:539 confmodule.3:42 debconf.7:382
257 #: debconf-devel.7:968
258 #, no-wrap
259 msgid "AUTHOR"
260 msgstr "АВТОР"
261
262 # type: textblock
263 #. type: textblock
264 #: ../../debconf:119 ../../Debconf/Client/ConfModule.pm:161
265 #: ../../debconf-apt-progress:658 ../../debconf-communicate:76
266 #: ../../debconf-copydb:177 ../../debconf-getlang:258
267 #: ../../debconf-loadtemplate:50 ../../debconf-mergetemplate:183
268 #: ../../dpkg-preconfigure:260 ../../dpkg-reconfigure:311
269 msgid "Joey Hess <[email protected]>"
270 msgstr "Joey Hess <[email protected]>"
271
272 # type: textblock
273 #. type: textblock
274 #: ../../Debconf/Client/ConfModule.pm:5
275 msgid "Debconf::Client::ConfModule - client module for ConfModules"
276 msgstr "Debconf::Client::ConfModule - клиентский модуль для ConfModules"
277
278 # type: verbatim
279 #. type: verbatim
280 #: ../../Debconf/Client/ConfModule.pm:9
281 #, no-wrap
282 msgid ""
283 " use Debconf::Client::ConfModule ':all';\n"
284 " version('2.0');\n"
285 " my $capb=capb('backup');\n"
286 " input(\"medium\", \"foo/bar\");\n"
287 " my @ret=go();\n"
288 " if ($ret[0] == 30) {\n"
289 " \t# Back button pressed.\n"
290 " \t...\n"
291 " }\n"
292 " ...\n"
293 "\n"
294 msgstr ""
295 " use Debconf::Client::ConfModule ':all';\n"
296 " version('2.0');\n"
297 " my $capb=capb('backup');\n"
298 " input(\"medium\", \"foo/bar\");\n"
299 " my @ret=go();\n"
300 " if ($ret[0] == 30) {\n"
301 " \t# Нажата кнопка Назад.\n"
302 " \t...\n"
303 " }\n"
304 " ...\n"
305 "\n"
306
307 # type: textblock
308 #. type: textblock
309 #: ../../Debconf/Client/ConfModule.pm:22
310 msgid ""
311 "This is a module to ease writing ConfModules for Debian's configuration "
312 "management system. It can communicate with a FrontEnd via the debconf "
313 "protocol (which is documented in full in the debconf_specification in Debian "
314 "policy)."
315 msgstr ""
316 "Этот модуль служит для облегчения написания ConfModules для системы "
317 "управления настройками Debian. Он может взаимодействовать с интерфейсной "
318 "программой по протоколу debconf (который полностью описан в "
319 "debconf_specification в политике Debian)."
320
321 # type: textblock
322 #. type: textblock
323 #: ../../Debconf/Client/ConfModule.pm:27
324 msgid ""
325 "The design is that each command in the protocol is represented by one "
326 "function in this module (with the name lower-cased). Call the function and "
327 "pass in any parameters you want to follow the command. If the function is "
328 "called in scalar context, it will return any textual return code. If it is "
329 "called in list context, an array consisting of the numeric return code and "
330 "the textual return code will be returned."
331 msgstr ""
332 "По замыслу, каждая команда протокола представляется одной функцией в этом "
333 "модуле (с именем из строчных букв). Вызовите функцию и передайте ей любые "
334 "параметры, которые вы хотели бы передать команде. Если функция вызывается в "
335 "скалярном контексте, она возвращает текстовый код возврата. Если функция "
336 "вызывается в списочном контексте, то она возвращает массив, состоящий из "
337 "числового кода возврата и текстового кода возврата."
338
339 # type: textblock
340 #. type: textblock
341 #: ../../Debconf/Client/ConfModule.pm:34
342 msgid ""
343 "This module uses Exporter to export all functions it defines. To import "
344 "everything, simply import \":all\"."
345 msgstr ""
346 "Этот модуль использует Exporter для экспорта всех объявленных функций. Чтобы "
347 "импортировать всё &mdash; просто import \":all\"."
348
349 # type: =item
350 #. type: =item
351 #: ../../Debconf/Client/ConfModule.pm:62
352 msgid "import"
353 msgstr "import"
354
355 # type: textblock
356 #. type: textblock
357 #: ../../Debconf/Client/ConfModule.pm:64
358 msgid ""
359 "Ensure that a FrontEnd is running. It's a little hackish. If "
360 "DEBIAN_HAS_FRONTEND is set, a FrontEnd is assumed to be running. If not, "
361 "one is started up automatically and stdin and out are connected to it. Note "
362 "that this function is always run when the module is loaded in the usual way."
363 msgstr ""
364 "Гарантирует, что интерфейс запущен. Написано слегка грязно. Если установлена "
365 "переменная DEBIAN_HAS_FRONTEND, то предполагается что интерфейс запущен. "
366 "Если нет, то он запускается автоматически и выполняется подключение к его "
367 "вводу и выводу. Заметим, что эта функция всегда выполняется при загрузке "
368 "модуля обычным путём."
369
370 # type: =item
371 #. type: =item
372 #: ../../Debconf/Client/ConfModule.pm:95
373 msgid "stop"
374 msgstr "stop"
375
376 # type: textblock
377 #. type: textblock
378 #: ../../Debconf/Client/ConfModule.pm:97
379 msgid ""
380 "The frontend doesn't send a return code here, so we cannot try to read it or "
381 "we'll block."
382 msgstr ""
383 "В этой ситуации интерфейс не посылает код завершения, поэтому мы не можем "
384 "даже пытаться прочитать его или заблокируемся."
385
386 # type: =item
387 #. type: =item
388 #: ../../Debconf/Client/ConfModule.pm:107
389 msgid "AUTOLOAD"
390 msgstr "AUTOLOAD"
391
392 # type: textblock
393 #. type: textblock
394 #: ../../Debconf/Client/ConfModule.pm:109
395 msgid "Creates handler functions for commands on the fly."
396 msgstr "Создаёт на лету обработчик функций для команд."
397
398 # type: textblock
399 #. type: textblock
400 #: ../../Debconf/Client/ConfModule.pm:156
401 msgid ""
402 "The debconf specification (/usr/share/doc/debian-policy/"
403 "debconf_specification.txt.gz)."
404 msgstr ""
405 "Спецификация debconf (/usr/share/doc/debian-policy/debconf_specification.txt."
406 "gz)."
407
408 # type: textblock
409 #. type: textblock
410 #: ../../debconf-apt-progress:5
411 msgid ""
412 "debconf-apt-progress - install packages using debconf to display a progress "
413 "bar"
414 msgstr ""
415 "debconf-apt-progress - устанавливает пакеты используя debconf для показа "
416 "индикатора выполнения"
417
418 # type: verbatim
419 #. type: verbatim
420 #: ../../debconf-apt-progress:9
421 #, no-wrap
422 msgid ""
423 " debconf-apt-progress [--] command [args ...]\n"
424 " debconf-apt-progress --config\n"
425 " debconf-apt-progress --start\n"
426 " debconf-apt-progress --from waypoint --to waypoint [--] command [args ...]\n"
427 " debconf-apt-progress --stop\n"
428 "\n"
429 msgstr ""
430 " debconf-apt-progress [--] команда [аргументы ...]\n"
431 " debconf-apt-progress --config\n"
432 " debconf-apt-progress --start\n"
433 " debconf-apt-progress --from граница --to граница [--] команда [аргументы ...]\n"
434 " debconf-apt-progress --stop\n"
435 "\n"
436
437 # type: textblock
438 #. type: textblock
439 #: ../../debconf-apt-progress:17
440 msgid ""
441 "B<debconf-apt-progress> installs packages using debconf to display a "
442 "progress bar. The given I<command> should be any command-line apt frontend; "
443 "specifically, it must send progress information to the file descriptor "
444 "selected by the C<APT::Status-Fd> configuration option, and must keep the "
445 "file descriptors nominated by the C<APT::Keep-Fds> configuration option open "
446 "when invoking debconf (directly or indirectly), as those file descriptors "
447 "will be used for the debconf passthrough protocol."
448 msgstr ""
449 "B<debconf-apt-progress> устанавливает пакеты, используя debconf с показом "
450 "индикатора выполнения. Указанная I<команда> должна быть любой интерфейсной "
451 "программой к apt, работающей в режиме командной строки; а именно, она должны "
452 "уметь посылать информацию о ходе выполнения в файловый дескриптор, заданный "
453 "параметром настройки C<APT::Status-Fd>, и должна держать открытыми файловые "
454 "дескрипторы, назначенные в параметре настройки C<APT::Keep-Fds> при вызове "
455 "debconf (явно или неявно), так как эти файловые дескрипторы будут "
456 "использоваться для работы с debconf."
457
458 # type: textblock
459 #. type: textblock
460 #: ../../debconf-apt-progress:25
461 msgid ""
462 "The arguments to the command you supply should generally include B<-y> (for "
463 "B<apt-get> or B<aptitude>) or similar to avoid the apt frontend prompting "
464 "for input. B<debconf-apt-progress> cannot do this itself because the "
465 "appropriate argument may differ between apt frontends."
466 msgstr ""
467 "В передаваемых аргументах команды обычно должен указываться параметр B<-y> "
468 "(для B<apt-get> или B<aptitude>) или подобный ему, для того чтобы интерфейс "
469 "к apt не предлагал вводить данные. B<debconf-apt-progress> не может сделать "
470 "это самостоятельно, так как нужный аргумент может различаться у разных "
471 "интерфейсов apt."
472
473 # type: textblock
474 #. type: textblock
475 #: ../../debconf-apt-progress:30
476 msgid ""
477 "The B<--start>, B<--stop>, B<--from>, and B<--to> options may be used to "
478 "create a progress bar with multiple segments for different stages of "
479 "installation, provided that the caller is a debconf confmodule. The caller "
480 "may also interact with the progress bar itself using the debconf protocol if "
481 "it so desires."
482 msgstr ""
483 "Параметры B<--start>, B<--stop>, B<--from> и B<--to> могут использоваться "
484 "для создания многосегментного индикатора выполнения для разных стадий "
485 "установки при условии, что запускающая сторона это debconf confmodule. "
486 "Также, если требуется, запускающая сторона может самостоятельно "
487 "взаимодействовать с индикатором выполнения через протокол debconf."
488
489 # type: textblock
490 #. type: textblock
491 #: ../../debconf-apt-progress:36
492 msgid ""
493 "debconf locks its config database when it starts up, which makes it "
494 "unfortunately inconvenient to have one instance of debconf displaying the "
495 "progress bar and another passing through questions from packages being "
496 "installed. If you're using a multiple-segment progress bar, you'll need to "
497 "eval the output of the B<--config> option before starting the debconf "
498 "frontend to work around this. See L<the EXAMPLES section/EXAMPLES> below."
499 msgstr ""
500 "При запуске debconf блокирует доступ к своей базе данных config, что к "
501 "сожалению не даёт иметь один экземпляр debconf отображающий индикатор "
502 "выполнения и другой, задающий вопросы из устанавливаемых пакетов. Если вы "
503 "используете многосегментный индикатор, то для того чтобы обойти это "
504 "ограничение требуется обрабатывать результат работы параметра B<--config> "
505 "перед запуском интерфейса debconf. Подробней смотрите в разделе L<ПРИМЕРЫ> "
506 "далее."
507
508 # type: =item
509 #. type: =item
510 #: ../../debconf-apt-progress:47
511 msgid "B<--config>"
512 msgstr "B<--config>"
513
514 # type: textblock
515 #. type: textblock
516 #: ../../debconf-apt-progress:49
517 msgid ""
518 "Print environment variables necessary to start up a progress bar frontend."
519 msgstr ""
520 "Вывести переменные окружения, необходимые для запуска индикатора выполнения "
521 "интерфейса."
522
523 # type: =item
524 #. type: =item
525 #: ../../debconf-apt-progress:51
526 msgid "B<--start>"
527 msgstr "B<--start>"
528
529 # type: textblock
530 #. type: textblock
531 #: ../../debconf-apt-progress:53
532 msgid ""
533 "Start up a progress bar, running from 0 to 100 by default. Use B<--from> and "
534 "B<--to> to use other endpoints."
535 msgstr ""
536 "Запустить индикатор выполнения, по умолчанию отсчитывающий от 0 до 100. "
537 "Чтобы указать другие границы используйте B<--from> и B<--to>."
538
539 # type: =item
540 #. type: =item
541 #: ../../debconf-apt-progress:56
542 msgid "B<--from> I<waypoint>"
543 msgstr "B<--from> I<граница>"
544
545 # type: textblock
546 #. type: textblock
547 #: ../../debconf-apt-progress:58
548 msgid ""
549 "If used with B<--start>, make the progress bar begin at I<waypoint> rather "
550 "than 0."
551 msgstr ""
552 "Если используется вместе со B<--start>, то индикатор выполнения начинает "
553 "отсчёт с I<границы>, а не с 0."
554
555 # type: textblock
556 #. type: textblock
557 #: ../../debconf-apt-progress:61
558 msgid ""
559 "Otherwise, install packages with their progress bar beginning at this "
560 "\"waypoint\". Must be used with B<--to>."
561 msgstr ""
562 "Иначе, при установке пакетов индикатор выполнения начинается со значения "
563 "«границы». Должен использоваться с параметром B<--to>."
564
565 # type: =item
566 #. type: =item
567 #: ../../debconf-apt-progress:64
568 msgid "B<--to> I<waypoint>"
569 msgstr "B<--to> I<граница>"
570
571 # type: textblock
572 #. type: textblock
573 #: ../../debconf-apt-progress:66
574 msgid ""
575 "If used with B<--start>, make the progress bar end at I<waypoint> rather "
576 "than 100."
577 msgstr ""
578 "Если используется вместе со B<--start>, то индикатор выполнения заканчивает "
579 "отсчёт по достижению I<границы>, а не на 100."
580
581 # type: textblock
582 #. type: textblock
583 #: ../../debconf-apt-progress:69
584 msgid ""
585 "Otherwise, install packages with their progress bar ending at this "
586 "\"waypoint\". Must be used with B<--from>."
587 msgstr ""
588 "Иначе, при установке пакетов индикатор выполнения заканчивается на значении "
589 "«границы». Должен использоваться с параметром B<--from>."
590
591 # type: =item
592 #. type: =item
593 #: ../../debconf-apt-progress:72
594 msgid "B<--stop>"
595 msgstr "B<--stop>"
596
597 # type: textblock
598 #. type: textblock
599 #: ../../debconf-apt-progress:74
600 msgid "Stop a running progress bar."
601 msgstr "Остановить запущенный индикатор выполнения."
602
603 # type: =item
604 #. type: =item
605 #: ../../debconf-apt-progress:76
606 msgid "B<--no-progress>"
607 msgstr "B<--no-progress>"
608
609 # type: textblock
610 #. type: textblock
611 #: ../../debconf-apt-progress:78
612 msgid ""
613 "Avoid starting, stopping, or stepping the progress bar. Progress messages "
614 "from apt, media change events, and debconf questions will still be passed "
615 "through to debconf."
616 msgstr ""
617 "Не запускать, останавливать или изменять индикатор выполнения. Сообщения о "
618 "ходе выполнения от apt, события смены носителей и вопросы debconf всё равно "
619 "будут проходить через debconf."
620
621 # type: =item
622 #. type: =item
623 #: ../../debconf-apt-progress:82
624 msgid "B<--dlwaypoint> I<percentage>"
625 msgstr "B<--dlwaypoint> I<процент>"
626
627 # type: textblock
628 #. type: textblock
629 #: ../../debconf-apt-progress:84
630 msgid ""
631 "Specify what percent of the progress bar to use for downloading packages. "
632 "The remainder will be used for installing packages. The default is to use "
633 "15% for downloading and the remaining 85% for installing."
634 msgstr ""
635 "Задать, какой процент заполнения индикатора выполнения отвести на скачивание "
636 "пакетов. Оставшаяся часть будет использована на показ установки пакетов. По "
637 "умолчанию используется 15% на показ скачивания и оставшиеся 85% на установку."
638
639 # type: =item
640 #. type: =item
641 #: ../../debconf-apt-progress:88
642 msgid "B<--logfile> I<file>"
643 msgstr "B<--logfile> I<файл>"
644
645 # type: textblock
646 #. type: textblock
647 #: ../../debconf-apt-progress:90
648 msgid "Send the normal output from apt to the given file."
649 msgstr "Направить результат работы apt в указанный файл."
650
651 # type: =item
652 #. type: =item
653 #: ../../debconf-apt-progress:92
654 msgid "B<--logstderr>"
655 msgstr "B<--logstderr>"
656
657 # type: textblock
658 #. type: textblock
659 #: ../../debconf-apt-progress:94
660 msgid ""
661 "Send the normal output from apt to stderr. If you supply neither B<--"
662 "logfile> nor B<--logstderr>, the normal output from apt will be discarded."
663 msgstr ""
664 "Послать нормальные результаты работы apt в поток ошибок stderr. Если вы не "
665 "укажите B<--logfile> или B<--logstderr>, то нормальные результаты работы apt "
666 "пропадут."
667
668 # type: =item
669 #. type: =item
670 #: ../../debconf-apt-progress:98
671 msgid "B<-->"
672 msgstr "B<-->"
673
674 # type: textblock
675 #. type: textblock
676 #: ../../debconf-apt-progress:100
677 msgid ""
678 "Terminate options. Since you will normally need to give at least the B<-y> "
679 "argument to the command being run, you will usually need to use B<--> to "
680 "prevent that being interpreted as an option to B<debconf-apt-progress> "
681 "itself."
682 msgstr ""
683 "Завершает параметры. Так как обычно нужно указать по крайней мере параметр "
684 "B<-y> для запускаемой команды, требуется использовать B<-->, чтобы отделить "
685 "эти параметры от параметров B<debconf-apt-progress>."
686
687 # type: textblock
688 #. type: textblock
689 #: ../../debconf-apt-progress:109
690 msgid ""
691 "Install the GNOME desktop and an X window system development environment "
692 "within a progress bar:"
693 msgstr ""
694 "Установить рабочий стол GNOME и среду разработки для X window system с "
695 "выводом индикатора выполнения:"
696
697 # type: verbatim
698 #. type: verbatim
699 #: ../../debconf-apt-progress:112
700 #, no-wrap
701 msgid ""
702 " debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
703 "\n"
704 msgstr ""
705 " debconf-apt-progress -- aptitude -y install gnome x-window-system-dev\n"
706 "\n"
707
708 # type: textblock
709 #. type: textblock
710 #: ../../debconf-apt-progress:114
711 msgid ""
712 "Install the GNOME, KDE, and XFCE desktops within a single progress bar, "
713 "allocating 45% of the progress bar for each of GNOME and KDE and the "
714 "remaining 10% for XFCE:"
715 msgstr ""
716 "Установить рабочие столы GNOME, KDE и XFCE с выводом индикатора выполнения, "
717 "отдав по 45% индикатора выполнения GNOME и KDE, а оставшиеся 10% под XFCE:"
718
719 # type: verbatim
720 #. type: verbatim
721 #: ../../debconf-apt-progress:118
722 #, no-wrap
723 msgid ""
724 " #! /bin/sh\n"
725 " set -e\n"
726 " case $1 in\n"
727 " '')\n"
728 " eval \"$(debconf-apt-progress --config)\"\n"
729 " \"$0\" debconf\n"
730 " ;;\n"
731 " debconf)\n"
732 " . /usr/share/debconf/confmodule\n"
733 " debconf-apt-progress --start\n"
734 " debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
735 " debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
736 " debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
737 " debconf-apt-progress --stop\n"
738 " ;;\n"
739 " esac\n"
740 "\n"
741 msgstr ""
742 " #! /bin/sh\n"
743 " set -e\n"
744 " case $1 in\n"
745 " '')\n"
746 " eval \"$(debconf-apt-progress --config)\"\n"
747 " \"$0\" debconf\n"
748 " ;;\n"
749 " debconf)\n"
750 " . /usr/share/debconf/confmodule\n"
751 " debconf-apt-progress --start\n"
752 " debconf-apt-progress --from 0 --to 45 -- apt-get -y install gnome\n"
753 " debconf-apt-progress --from 45 --to 90 -- apt-get -y install kde\n"
754 " debconf-apt-progress --from 90 --to 100 -- apt-get -y install xfce4\n"
755 " debconf-apt-progress --stop\n"
756 " ;;\n"
757 " esac\n"
758 "\n"
759
760 # type: =head1
761 #. type: =head1
762 #: ../../debconf-apt-progress:135
763 msgid "RETURN CODE"
764 msgstr "КОД ВОЗВРАТА"
765
766 # type: textblock
767 #. type: textblock
768 #: ../../debconf-apt-progress:137
769 msgid ""
770 "The exit code of the specified command is returned, unless the user hit the "
771 "cancel button on the progress bar. If the cancel button was hit, a value of "
772 "30 is returned. To avoid ambiguity, if the command returned 30, a value of 3 "
773 "will be returned."
774 msgstr ""
775 "Код, возвращаемый при возврате указанной команды, если пользователь не нажал "
776 "клавишу отмены на индикаторе выполнения. Если кнопка отмены была нажата, то "
777 "возвращается значение 30. Для избежания неоднозначности, если команда "
778 "возвращает 30, то будет возвращаться значение 3."
779
780 # type: =head1
781 #. type: =head1
782 #: ../../debconf-apt-progress:654
783 msgid "AUTHORS"
784 msgstr "АВТОРЫ"
785
786 # type: textblock
787 #. type: textblock
788 #: ../../debconf-apt-progress:656 ../../debconf-escape:74
789 msgid "Colin Watson <[email protected]>"
790 msgstr "Colin Watson <[email protected]>"
791
792 # type: textblock
793 #. type: textblock
794 #: ../../debconf-escape:5
795 msgid "debconf-escape - helper when working with debconf's escape capability"
796 msgstr "debconf-escape - помощник при работе с возможностью debconf escape"
797
798 # type: verbatim
799 #. type: verbatim
800 #: ../../debconf-escape:9
801 #, no-wrap
802 msgid ""
803 " debconf-escape -e < unescaped-text\n"
804 " debconf-escape -u < escaped-text\n"
805 "\n"
806 msgstr ""
807 " debconf-escape -e < неэкранированный_текст\n"
808 " debconf-escape -u < экранированный_текст\n"
809 "\n"
810
811 # type: textblock
812 #. type: textblock
813 #: ../../debconf-escape:14
814 msgid ""
815 "When debconf has the 'escape' capability set, it will expect commands you "
816 "send it to have backslashes and newlines escaped (as C<\\\\> and C<\\n> "
817 "respectively) and will in turn escape backslashes and newlines in its "
818 "replies. This can be used, for example, to substitute multi-line strings "
819 "into templates, or to get multi-line extended descriptions reliably using "
820 "C<METAGET>."
821 msgstr ""
822 "Когда для debconf заявлена возможность «escape», он ожидает, что в командах "
823 "посылаемых вами, будут экранироваться символы обратной косой черты и новой "
824 "строки (в виде C<\\\\> и C<\\n> соответственно) и в свою очередь тоже будет "
825 "экранировать символы обратной косой черты и новой строки в ответах. Этот "
826 "может быть полезно, например, для подстановки многострочных строк в шаблонах "
827 "или для надёжного получения многострочного расширенного описания с помощью "
828 "C<METAGET>."
829
830 # type: textblock
831 #. type: textblock
832 #: ../../debconf-escape:23
833 msgid "L<debconf-devel(7)> (available in the debconf-doc package)"
834 msgstr "L<debconf-devel(7)> (доступна из пакета debconf-doc)"
835
836 # type: textblock
837 #. type: textblock
838 #: ../../debconf-communicate:5
839 msgid "debconf-communicate - communicate with debconf"
840 msgstr "debconf-communicate - программа для взаимодействия с debconf"
841
842 # type: verbatim
843 #. type: verbatim
844 #: ../../debconf-communicate:11
845 #, no-wrap
846 msgid ""
847 " echo commands | debconf-communicate [options] [package]\n"
848 "\n"
849 msgstr ""
850 " echo команды | debconf-communicate [параметры] [пакет]\n"
851 "\n"
852
853 # type: textblock
854 #. type: textblock
855 #: ../../debconf-communicate:15
856 msgid ""
857 "B<debconf-communicate> allows you to communicate with debconf on the fly, "
858 "from the command line. The package argument is the name of the package which "
859 "you are pretending to be as you communicate with debconf, and it may be "
860 "omitted if you are lazy. It reads commands in the form used by the debconf "
861 "protocol from stdin. For documentation on the available commands and their "
862 "usage, see the debconf specification."
863 msgstr ""
864 "B<debconf-communicate> позволяет обращаться к debconf из командной строки. В "
865 "необязательном параметре «пакет» указывается название пакета от имени "
866 "которого производится обращение к debconf. B<debconf-communicate> читает "
867 "команды из стандартного входного потока (stdin), которые задаются формате "
868 "протокола команд debconf. Описание допустимых команд и их использование "
869 "можно найти в спецификации к debconf."
870
871 # type: textblock
872 #. type: textblock
873 #: ../../debconf-communicate:22
874 msgid ""
875 "The commands are executed in sequence. The textual return code of each is "
876 "printed out to standard output."
877 msgstr ""
878 "Команды выполняются последовательно одна за другой. Результат работы каждой "
879 "из них записывается в текстовом виде в стандартный выходной поток."
880
881 # type: textblock
882 #. type: textblock
883 #: ../../debconf-communicate:25
884 msgid ""
885 "The return value of this program is the numeric return code of the last "
886 "executed command."
887 msgstr ""
888 "Данная программа возвращает значение равное числовому коду завершения "
889 "последней выполненной команды."
890
891 # type: Content of: <refentry><refsect1><title>
892 #. type: SH
893 #: ../../debconf-communicate:28 debconf.conf.5:444
894 #, no-wrap
895 msgid "EXAMPLE"
896 msgstr "ПРИМЕР"
897
898 # type: verbatim
899 #. type: verbatim
900 #: ../../debconf-communicate:30
901 #, no-wrap
902 msgid ""
903 " echo get debconf/frontend | debconf-communicate\n"
904 "\n"
905 msgstr ""
906 " echo get debconf/frontend | debconf-communicate\n"
907 "\n"
908
909 # type: textblock
910 #. type: textblock
911 #: ../../debconf-communicate:32
912 msgid "Print out the value of the debconf/frontend question."
913 msgstr "Показывает сохранённый ответ на вопрос о debconf/frontend."
914
915 # type: =head1
916 #. type: =head1
917 #: ../../debconf-communicate:34 ../../debconf-loadtemplate:25
918 #: ../../debconf-set-selections:20
919 msgid "WARNING"
920 msgstr "ПРЕДУПРЕЖДЕНИЕ"
921
922 # type: textblock
923 #. type: textblock
924 #: ../../debconf-communicate:36
925 msgid ""
926 "This program should never be used from a maintainer script of a package that "
927 "uses debconf! It may however, be useful in debugging."
928 msgstr ""
929 "Эта программа никогда не должна вызываться из сценариев сопровождения "
930 "пакета, который использует debconf! Однако она может пригодиться при отладке."
931
932 # type: textblock
933 #. type: textblock
934 #: ../../debconf-communicate:41
935 msgid "L<debconf-loadtemplate(1)>"
936 msgstr "L<debconf-loadtemplate(1)>"
937
938 # type: textblock
939 #. type: textblock
940 #: ../../debconf-copydb:5
941 msgid "debconf-copydb - copy a debconf database"
942 msgstr "debconf-copydb - копирует базу данных debconf"
943
944 # type: verbatim
945 #. type: verbatim
946 #: ../../debconf-copydb:19
947 #, no-wrap
948 msgid ""
949 " debconf-copydb sourcedb destdb [--pattern=pattern] [--owner-pattern=pattern] [--config=Foo:bar]\n"
950 "\n"
951 msgstr ""
952 " debconf-copydb бд_источник бд_приёмник [--pattern=шаблон] [--owner-pattern=шаблон] [--config=Foo:bar]\n"
953 "\n"
954
955 # type: textblock
956 #. type: textblock
957 #: ../../debconf-copydb:32
958 msgid ""
959 "B<debconf-copydb> copies items from an existing debconf database into "
960 "another, possibly new database. The two databases may have different "
961 "formats; if so a conversion will automatically be done."
962 msgstr ""
963 "B<debconf-copydb> копирует элементы из существующей базы данных debconf в "
964 "другую, возможно новую базу данных. Базы данных могут иметь разный формат; "
965 "если это так, то автоматически выполняется конвертирование."
966
967 # type: =item
968 #. type: =item
969 #: ../../debconf-copydb:40
970 msgid "I<sourcedb>"
971 msgstr "I<бд_источник>"
972
973 # type: textblock
974 #. type: textblock
975 #: ../../debconf-copydb:42
976 msgid ""
977 "The name of the source database. Typically it will be defined in your "
978 "debconf.conf (or .debconfrc) file."
979 msgstr ""
980 "Имя базы данных источника. Обычно, база уже описана в файле debconf.conf "
981 "(или .debconfrc)."
982
983 # type: =item
984 #. type: =item
985 #: ../../debconf-copydb:45
986 msgid "I<destdb>"
987 msgstr "I<бд_приёмника>"
988
989 # type: textblock
990 #. type: textblock
991 #: ../../debconf-copydb:47
992 msgid ""
993 "The name of the destination database. It may be defined in debconf.conf or ."
994 "debconfrc, or you might define it on the command line (see below)."
995 msgstr ""
996 "Имя базы данных приёмника. Оно может быть описано в файле debconf.conf или ."
997 "debconfrc или вы можете объявить его в командной строке (смотрите далее)."
998
999 # type: =item
1000 #. type: =item
1001 #: ../../debconf-copydb:51
1002 msgid "B<-p> I<pattern>, B<--pattern> I<pattern>"
1003 msgstr "B<-p> I<шаблон>, B<--pattern> I<шаблон>"
1004
1005 # type: textblock
1006 #. type: textblock
1007 #: ../../debconf-copydb:53
1008 msgid ""
1009 "If this is specified, only items in I<sourcedb> whose names match the "
1010 "pattern will be copied."
1011 msgstr ""
1012 "Если этот параметр указан, будут скопированы только те элементы из "
1013 "I<бд_источника>, чьи имена удовлетворяют шаблону."
1014
1015 # type: =item
1016 #. type: =item
1017 #: ../../debconf-copydb:56
1018 msgid "B<--owner-pattern> I<pattern>"
1019 msgstr "B<--owner-pattern> I<шаблон>"
1020
1021 # type: textblock
1022 #. type: textblock
1023 #: ../../debconf-copydb:58
1024 msgid ""
1025 "If this is specified, only items in I<sourcedb> whose owners match the "
1026 "pattern will be copied."
1027 msgstr ""
1028 "Если этот параметр указан, будут скопированы только те элементы из "
1029 "I<бд_источника>, владельцы которых удовлетворяют шаблону."
1030
1031 # type: =item
1032 #. type: =item
1033 #: ../../debconf-copydb:61
1034 msgid "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"
1035 msgstr "B<-c> I<foo:bar>, B<--config> I<Foo:bar>"
1036
1037 # type: textblock
1038 #. type: textblock
1039 #: ../../debconf-copydb:63
1040 msgid "Set option Foo to bar. This is similar to writing:"
1041 msgstr "Устанавливает параметр Foo в значение bar. Это похоже на написание:"
1042
1043 # type: verbatim
1044 #. type: verbatim
1045 #: ../../debconf-copydb:65
1046 #, no-wrap
1047 msgid ""
1048 " Foo: bar\n"
1049 "\n"
1050 msgstr ""
1051 " Foo: bar\n"
1052 "\n"
1053
1054 # type: textblock
1055 #. type: textblock
1056 #: ../../debconf-copydb:67
1057 msgid ""
1058 "In debconf.conf, except you probably want to leave off the space on the "
1059 "command line (or quote it: \"Foo: bar\"). Generally must be used multiple "
1060 "times, to build up a full configuration stanza. While blank lines are used "
1061 "to separate stanzas in debconf.conf, this program will assume that \"Name:"
1062 "dbname\" denotes the beginning of a new stanza."
1063 msgstr ""
1064 "в файле debconf.conf, возможно, за исключением того, что вы не будете "
1065 "использовать пробел в командной строке (или укажите в кавычках: «Foo: bar»). "
1066 "Вообще, это должно указываться несколько раз, чтобы построить полную строку "
1067 "настройки. Хотя для разделения строк в debconf.conf используются символы "
1068 "новой строки, эта программа предполагает, что «Name:dbname» означает начало "
1069 "новой строки."
1070
1071 # type: verbatim
1072 #. type: verbatim
1073 #: ../../debconf-copydb:77
1074 #, no-wrap
1075 msgid ""
1076 " debconf-copydb configdb backup\n"
1077 "\n"
1078 msgstr ""
1079 " debconf-copydb configdb backup\n"
1080 "\n"
1081
1082 # type: textblock
1083 #. type: textblock
1084 #: ../../debconf-copydb:79
1085 msgid ""
1086 "Copy all of configdb to backup, assuming you already have the backup "
1087 "database defined in debconf.conf."
1088 msgstr ""
1089 "Копирует всё из configdb в backup, предполагается, что база данных backup "
1090 "уже описана в debconf.conf."
1091
1092 # type: verbatim
1093 #. type: verbatim
1094 #: ../../debconf-copydb:82
1095 #, no-wrap
1096 msgid ""
1097 " debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
1098 " \t--config=Name:newdb --config=Driver:File \\\n"
1099 "\t--config=Filename:newdb.dat\n"
1100 "\n"
1101 msgstr ""
1102 " debconf-copydb configdb newdb --pattern='^slrn/' \\\n"
1103 " \t--config=Name:newdb --config=Driver:File \\\n"
1104 "\t--config=Filename:newdb.dat\n"
1105 "\n"
1106
1107 # type: textblock
1108 #. type: textblock
1109 #: ../../debconf-copydb:86
1110 msgid ""
1111 "Copy slrn's data out of configdb, and into newdb. newdb is not defined in "
1112 "the rc file, so the --config switches set up the database on the fly."
1113 msgstr ""
1114 "Копирует данные пакета slrn из configdb в newdb. newdb не определена в файле "
1115 "rc, поэтому ключи --config настраивают базу данных на лету."
1116
1117 # type: verbatim
1118 #. type: verbatim
1119 #: ../../debconf-copydb:89
1120 #, no-wrap
1121 msgid ""
1122 " debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
1123 " \t-c InFd:none --pattern='^foo/'\n"
1124 "\n"
1125 msgstr ""
1126 " debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \\\n"
1127 " \t-c InFd:none --pattern='^foo/'\n"
1128 "\n"
1129
1130 # type: textblock
1131 #. type: textblock
1132 #: ../../debconf-copydb:92
1133 msgid "Spit out all the items in the debconf database related to package foo."
1134 msgstr ""
1135 "Выводит все элементы из базы данных debconf, которые касаются пакета foo на "
1136 "экран."
1137
1138 # type: verbatim
1139 #. type: verbatim
1140 #: ../../debconf-copydb:94
1141 #, no-wrap
1142 msgid ""
1143 " debconf-copydb configdb pipe --config=Name:pipe \\\n"
1144 " --config=Driver:Pipe --config=InFd:none | \\\n"
1145 " \tssh remotehost debconf-copydb pipe configdb \\\n"
1146 "\t\t--config=Name:pipe --config=Driver:Pipe\n"
1147 "\n"
1148 msgstr ""
1149 " debconf-copydb configdb pipe --config=Name:pipe \\\n"
1150 " --config=Driver:Pipe --config=InFd:none | \\\n"
1151 " \tssh remotehost debconf-copydb pipe configdb \\\n"
1152 "\t\t--config=Name:pipe --config=Driver:Pipe\n"
1153 "\n"
1154
1155 # type: textblock
1156 #. type: textblock
1157 #: ../../debconf-copydb:99
1158 msgid ""
1159 "This uses the special purpose pipe driver to copy a database to a remote "
1160 "system."
1161 msgstr ""
1162 "Здесь используется специальный канальный драйвер для копирования базы данных "
1163 "на удалённую систему."
1164
1165 # type: textblock
1166 #. type: textblock
1167 #: ../../debconf-copydb:104
1168 msgid "L<debconf.conf(5)>"
1169 msgstr "L<debconf.conf(5)>"
1170
1171 # type: textblock
1172 #. type: textblock
1173 #: ../../debconf-getlang:5
1174 msgid "debconf-getlang - extract a language from a templates file"
1175 msgstr ""
1176 "debconf-getlang - извлекает строки на указанном языке из файла templates"
1177
1178 # type: verbatim
1179 #. type: verbatim
1180 #: ../../debconf-getlang:18
1181 #, no-wrap
1182 msgid ""
1183 " debconf-getlang lang master [translation]\n"
1184 " debconf-getlang --stats master translation [...]\n"
1185 "\n"
1186 msgstr ""
1187 " debconf-getlang код_языка мастер_файл [файл_перевода]\n"
1188 " debconf-getlang --stats мастер_файл файл_перевода [...]\n"
1189 "\n"
1190
1191 # type: textblock
1192 #. type: textblock
1193 #: ../../debconf-getlang:23
1194 msgid ""
1195 "Note: This utility is deprecated; you should switch to using the po-debconf "
1196 "package."
1197 msgstr ""
1198 "Замечание: эта утилита устарела; вместо неё вы должны использовать пакет po-"
1199 "debconf."
1200
1201 # type: textblock
1202 #. type: textblock
1203 #: ../../debconf-getlang:25
1204 msgid ""
1205 "This program helps make and manage translations of debconf templates. There "
1206 "are basically three situations in which this program might be called:"
1207 msgstr ""
1208 "Эта программа помогает создавать и поддерживать переводы шаблонов debconf. В "
1209 "основном, возникают три ситуации при которых может вызываться эта программа:"
1210
1211 # type: =item
1212 #. type: =item
1213 #: ../../debconf-getlang:30
1214 msgid "A translation is just being started."
1215 msgstr "Перевод только начинается."
1216
1217 # type: textblock
1218 #. type: textblock
1219 #: ../../debconf-getlang:32
1220 msgid ""
1221 "You want to provide the translator with a file they can work on that has the "
1222 "English fields from your templates file, plus blank Field-ll fields for the "
1223 "target language that they can fill in."
1224 msgstr ""
1225 "Вы хотите предоставить переводчику файл с которым он может работать, в "
1226 "котором есть поля на английском из вашего файла templates, плюс пустые поля "
1227 "Field-ll для нового языка, которые нужно заполнить."
1228
1229 # type: textblock
1230 #. type: textblock
1231 #: ../../debconf-getlang:36
1232 msgid ""
1233 "To do this, run the program with first parameter being the code for the "
1234 "language that is being translated to, and the second parameter being the "
1235 "filename of the English templates file."
1236 msgstr ""
1237 "Для этого запустите программу передав ей первым параметром код языка на "
1238 "который будет осуществляться перевод, а вторым параметром файл templates с "
1239 "английским текстом."
1240
1241 # type: =item
1242 #. type: =item
1243 #: ../../debconf-getlang:40
1244 msgid "A translation is well under way."
1245 msgstr "Перевод уже есть."
1246
1247 # type: textblock
1248 #. type: textblock
1249 #: ../../debconf-getlang:42
1250 msgid ""
1251 "You have changed some English text, or added more items to your templates "
1252 "file, and you want to send the translators a file with the English text plus "
1253 "their current translations (or you are the translator, and you want to "
1254 "generate such a file for your own use)."
1255 msgstr ""
1256 "Вы изменили английский текст или добавили несколько элементов в файл "
1257 "templates, и хотите послать переводчикам файл с английским текстом и их "
1258 "имеющиеся переводы (или если вы переводчик и хотите создать такой файл для "
1259 "себя)."
1260
1261 # type: textblock
1262 #. type: textblock
1263 #: ../../debconf-getlang:47
1264 msgid ""
1265 "To accomplish this, run the program with the first parameter being the the "
1266 "code for the language that is being translated to, the second parameter "
1267 "being the filename of the master English templates file, and the third "
1268 "parameter being the filename of the current translated file."
1269 msgstr ""
1270 "Для этого запустите программу с параметром кода языка перевода, во втором "
1271 "параметре укажите имя мастер файла templates с английским текстом, и в "
1272 "третьем параметре имя файла с уже имеющимися переводами."
1273
1274 # type: textblock
1275 #. type: textblock
1276 #: ../../debconf-getlang:52
1277 msgid ""
1278 "When run this way, the program is smart enough to notice fuzzy translations. "
1279 "For example a fuzzy Description will be output as Description-<lang>-fuzzy, "
1280 "and a new, blank Description-<lang> will be added. Translators should "
1281 "remove the -fuzzy fields as they correct the fuzzy translations."
1282 msgstr ""
1283 "При таком запуске программа достаточна умна, чтобы определить неточные "
1284 "переводы. Например, неточный перевод Description будет помечен как "
1285 "Description-<язык>-fuzzy, и будет добавлен новый, чистый Description-<язык>. "
1286 "Переводчики должны удалить суффикс -fuzzy после исправления неточности в "
1287 "переводе."
1288
1289 # type: =item
1290 #. type: =item
1291 #: ../../debconf-getlang:58
1292 msgid "Checking the status of a translation"
1293 msgstr "Проверка состояния перевода"
1294
1295 # type: textblock
1296 #. type: textblock
1297 #: ../../debconf-getlang:60
1298 msgid ""
1299 "To check the status of a translation, use the --status flag, and pass the "
1300 "english template file as the first parameter, and all the other translated "
1301 "templates after that. It will output statistics for each of them. For "
1302 "example:"
1303 msgstr ""
1304 "Для проверки состояния перевода укажите флаг --status, в первом параметре "
1305 "имя файла шаблона с английским текстом , а за ним все файлы с переводами. "
1306 "Будет показана статистика по каждому из них. Пример:"
1307
1308 # type: verbatim
1309 #. type: verbatim
1310 #: ../../debconf-getlang:65
1311 #, no-wrap
1312 msgid ""
1313 " debconf-getlang --stats debian/templates debian/templates.*\n"
1314 "\n"
1315 msgstr ""
1316 " debconf-getlang --stats debian/templates debian/templates.*\n"
1317 "\n"
1318
1319 # type: Content of: <refentry><refsect1><title>
1320 #. type: =head1
1321 #: ../../debconf-getlang:69
1322 msgid "NOTE"
1323 msgstr "ЗАМЕЧАНИЕ"
1324
1325 # type: textblock
1326 #. type: textblock
1327 #: ../../debconf-getlang:71
1328 msgid ""
1329 "Note that the text in the generated templates may be word-wrapped by debconf."
1330 msgstr ""
1331 "Заметим, что debconf может по другому разбить на строки текст в созданных "
1332 "шаблонах."
1333
1334 # type: textblock
1335 #. type: textblock
1336 #: ../../debconf-getlang:76
1337 msgid "L<debconf-mergetemplate(1)>"
1338 msgstr "L<debconf-mergetemplate(1)>"
1339
1340 # type: textblock
1341 #. type: textblock
1342 #: ../../debconf-get-selections:5
1343 msgid "debconf-get-selections - output contents of debconf database"
1344 msgstr "debconf-get-selections - выводит содержимое базы данных debconf"
1345
1346 # type: textblock
1347 #. type: textblock
1348 #: ../../debconf-get-selections:9
1349 msgid "debconf-get-selections [--installer]"
1350 msgstr "debconf-get-selections [--installer]"
1351
1352 # type: textblock
1353 #. type: textblock
1354 #: ../../debconf-get-selections:13
1355 msgid ""
1356 "Output the current debconf database in a format understandable by debconf-"
1357 "set-selections."
1358 msgstr ""
1359 "Выводит содержимое базы данных debconf в формате, который понимает команда "
1360 "debconf-set-selections."
1361
1362 # type: textblock
1363 #. type: textblock
1364 #: ../../debconf-get-selections:16
1365 msgid ""
1366 "To dump the debconf database of the debian-installer, from /var/log/"
1367 "installer/cdebconf, use the --installer parameter."
1368 msgstr ""
1369 "Чтобы получить данные по настройке программы установки debian-installer базы "
1370 "данных debconf из /var/log/installer/cdebconf используйте параметр --"
1371 "installer."
1372
1373 # type: textblock
1374 #. type: textblock
1375 #: ../../debconf-get-selections:80 ../../debconf-set-selections:228
1376 msgid "Petter Reinholdtsen <[email protected]>"
1377 msgstr "Petter Reinholdtsen <[email protected]>"
1378
1379 # type: textblock
1380 #. type: textblock
1381 #: ../../debconf-loadtemplate:5
1382 msgid "debconf-loadtemplate - load template file into debconf database"
1383 msgstr "debconf-loadtemplate - загружает файл шаблона в базу данных debconf"
1384
1385 # type: verbatim
1386 #. type: verbatim
1387 #: ../../debconf-loadtemplate:16
1388 #, no-wrap
1389 msgid ""
1390 " debconf-loadtemplate owner file [file ..]\n"
1391 "\n"
1392 msgstr ""
1393 " debconf-loadtemplate владелец файл [файл ..]\n"
1394 "\n"
1395
1396 # type: textblock
1397 #. type: textblock
1398 #: ../../debconf-loadtemplate:20
1399 msgid ""
1400 "Loads one or more template files into the debconf database. The first "
1401 "parameter specifies the owner of the templates (typically, the owner is the "
1402 "name of a debian package). The remaining parameters are template files to "
1403 "load."
1404 msgstr ""
1405 "Загружает один или более файлов шаблонов в базу данных debconf. Первый "
1406 "параметр указывает владельца шаблонов (обычно, владелец это имя пакета "
1407 "debian). Остальные параметры воспринимаются как файлы для загрузки."
1408
1409 # type: textblock
1410 #. type: textblock
1411 #: ../../debconf-loadtemplate:27
1412 msgid ""
1413 "This program should never be used from a maintainer script of a package that "
1414 "uses debconf! It may however, be useful in debugging, or to seed the debconf "
1415 "database."
1416 msgstr ""
1417 "Эта программа никогда не должна использоваться из сопровождающего сценария "
1418 "пакета, который использует debconf! Однако, она может оказаться полезной для "
1419 "отладки или заполнения базы данных debconf."
1420
1421 # type: textblock
1422 #. type: textblock
1423 #: ../../debconf-loadtemplate:33
1424 msgid "L<debconf-communicate(1)>"
1425 msgstr "L<debconf-communicate(1)>"
1426
1427 # type: textblock
1428 #. type: textblock
1429 #: ../../debconf-mergetemplate:5
1430 msgid "debconf-mergetemplate - merge together multiple debconf template files"
1431 msgstr ""
1432 "debconf-mergetemplate - объединяет вместе несколько debconf файлов шаблонов"
1433
1434 # type: verbatim
1435 #. type: verbatim
1436 #: ../../debconf-mergetemplate:19
1437 #, no-wrap
1438 msgid ""
1439 " debconf-mergetemplate [options] [templates.ll ...] templates\n"
1440 "\n"
1441 msgstr ""
1442 " debconf-mergetemplate [параметры] [templates.ll ...] templates\n"
1443 "\n"
1444
1445 # type: textblock
1446 #. type: textblock
1447 #: ../../debconf-mergetemplate:23
1448 msgid ""
1449 "Note: This utility is deprecated. You should switch to using po-debconf's "
1450 "po2debconf program."
1451 msgstr ""
1452 "Замечание: Эта утилита устарела. Вместо неё вы должны использовать программу "
1453 "po2debconf из пакета po-debconf."
1454
1455 # type: textblock
1456 #. type: textblock
1457 #: ../../debconf-mergetemplate:26
1458 msgid ""
1459 "This program is useful if you have multiple debconf templates files which "
1460 "you want to merge together into one big file. All the specified files will "
1461 "be read in, merged, and output to standard output."
1462 msgstr ""
1463 "Эта программа окажется полезной, если у вас есть несколько debconf templates "
1464 "файлов, которые нужно объединить в один большой файл. Все указанные файлы "
1465 "будут прочитаны, объединены и выведены в стандартный выходной поток."
1466
1467 # type: textblock
1468 #. type: textblock
1469 #: ../../debconf-mergetemplate:30
1470 msgid ""
1471 "This can be especially useful if you are dealing with translated template "
1472 "files. In this case, you might have your main template file, plus several "
1473 "other files provided by the translators. These files will have translated "
1474 "fields in them, and maybe the translators left in the english versions of "
1475 "the fields they translated, for their reference."
1476 msgstr ""
1477 "Это может быть особенно полезно, если вы имеете дело с переводами файлов "
1478 "шаблонов. Здесь вы можете разделить информацию на главный файл шаблона и "
1479 "остальные файлы, предоставленные переводчиками. В этих файлах будут "
1480 "содержаться переведённые поля, а может быть переводчики оставят английскую "
1481 "версию в переведённых полях, чтобы на них ссылаться."
1482
1483 # type: textblock
1484 #. type: textblock
1485 #: ../../debconf-mergetemplate:36
1486 msgid ""
1487 "So, you want to merge together all the translated templates files with your "
1488 "main templates file. Any fields that are unique to the translated files need "
1489 "to be added in to the correct templates, but any fields they have in common "
1490 "should be superseded by the fields in the main file (which might be more up-"
1491 "to-date)."
1492 msgstr ""
1493 "Итак, вы хотите объединить вместе все файлы templates с вашим главным файлом "
1494 "templates. Любые поля, которые являются уникальными в переведённых файлах, "
1495 "нужно добавить в соответствующие шаблоны, а любые общие поля нужно заменить "
1496 "полями из главного файла (который может быть более новым)."
1497
1498 # type: textblock
1499 #. type: textblock
1500 #: ../../debconf-mergetemplate:42
1501 msgid ""
1502 "This program handles that case properly, just list each of the translated "
1503 "templates files, and then your main templates file last."
1504 msgstr ""
1505 "Эта программа правильно обрабатывает этот случай, просто сначала "
1506 "просматривая переведённые файлы шаблонов, а в конце главный файл шаблонов."
1507
1508 # type: =item
1509 #. type: =item
1510 #: ../../debconf-mergetemplate:49
1511 msgid "--outdated"
1512 msgstr "--outdated"
1513
1514 # type: textblock
1515 #. type: textblock
1516 #: ../../debconf-mergetemplate:51
1517 msgid ""
1518 "Merge in even outdated translations. The default is to drop them with a "
1519 "warning message."
1520 msgstr ""
1521 "Объединить даже устаревшие переводы. По умолчанию они удаляются с "
1522 "предупреждающим сообщением."
1523
1524 # type: =item
1525 #. type: =item
1526 #: ../../debconf-mergetemplate:54
1527 msgid "--drop-old-templates"
1528 msgstr "--drop-old-templates"
1529
1530 # type: textblock
1531 #. type: textblock
1532 #: ../../debconf-mergetemplate:56
1533 msgid ""
1534 "If a translation has an entire template that is not in the master file (and "
1535 "thus is probably an old template), drop that entire template."
1536 msgstr ""
1537 "Если перевод содержит целый шаблон, которого нет в мастер файле (и скорее "
1538 "всего это устаревший шаблон), удалять шаблон целиком."
1539
1540 # type: textblock
1541 #. type: textblock
1542 #: ../../debconf-mergetemplate:63
1543 msgid "L<debconf-getlang(1)>"
1544 msgstr "L<debconf-getlang(1)>"
1545
1546 # type: textblock
1547 #. type: textblock
1548 #: ../../debconf-set-selections:5
1549 msgid "debconf-set-selections - insert new values into the debconf database"
1550 msgstr "debconf-set-selections - вставляет новые ответы в базу данных debconf"
1551
1552 # type: verbatim
1553 #. type: verbatim
1554 #: ../../debconf-set-selections:9
1555 #, no-wrap
1556 msgid ""
1557 " debconf-set-selections file\n"
1558 " debconf-get-selections | ssh newhost debconf-set-selections\n"
1559 "\n"
1560 msgstr ""
1561 " debconf-set-selections файл\n"
1562 " debconf-get-selections | ssh другая_машина debconf-set-selections\n"
1563 "\n"
1564
1565 # type: textblock
1566 #. type: textblock
1567 #: ../../debconf-set-selections:14
1568 msgid ""
1569 "B<debconf-set-selections> can be used to pre-seed the debconf database with "
1570 "answers, or to change answers in the database. Each question will be marked "
1571 "as seen to prevent debconf from asking the question interactively."
1572 msgstr ""
1573 "B<debconf-set-selections> может быть использована для автоматической "
1574 "настройки ответов из базы данных debconf или для изменения имеющихся "
1575 "ответов. Каждый вопрос будет помечен как уже заданный, чтобы debconf больше "
1576 "не задавал его пользователю."
1577
1578 # type: textblock
1579 #. type: textblock
1580 #: ../../debconf-set-selections:18
1581 msgid "Reads from a file if a filename is given, otherwise from stdin."
1582 msgstr ""
1583 "Если задано имя, то оно рассматривается как файл для чтения, иначе данные "
1584 "берутся со стандартного входного потока (stdin)."
1585
1586 # type: textblock
1587 #. type: textblock
1588 #: ../../debconf-set-selections:22
1589 msgid ""
1590 "Only use this command to seed debconf values for packages that will be or "
1591 "are installed. Otherwise you can end up with values in the database for "
1592 "uninstalled packages that will not go away, or with worse problems involving "
1593 "shared values. It is recommended that this only be used to seed the database "
1594 "if the originating machine has an identical install."
1595 msgstr ""
1596 "Используйте эту команду для заполнения debconf ответами только для пакетов, "
1597 "которые будут или уже установлены. Иначе всё может закончиться значениями в "
1598 "базе данных для удалённых пакетов, которые нельзя удалить, или всё "
1599 "усугубится, если это разделяемые значения. Программу рекомендуется "
1600 "использовать только для заполнения базы данных новой машины с идентичной "
1601 "установкой."
1602
1603 # type: =head1
1604 #. type: =head1
1605 #: ../../debconf-set-selections:28
1606 msgid "DATA FORMAT"
1607 msgstr "ФОРМАТ ДАННЫХ"
1608
1609 # type: textblock
1610 #. type: textblock
1611 #: ../../debconf-set-selections:30
1612 msgid ""
1613 "The data is a series of lines. Lines beginning with a # character are "
1614 "comments. Blank lines are ignored. All other lines set the value of one "
1615 "question, and should contain four values, each separated by one character of "
1616 "whitespace. The first value is the name of the package that owns the "
1617 "question. The second is the name of the question, the third value is the "
1618 "type of this question, and the fourth value (through the end of the line) "
1619 "is the value to use for the answer of the question."
1620 msgstr ""
1621 "Данные представляют собой набор строк. Строки, начинающиеся с символа # "
1622 "считаются комментариями. Пустые строки игнорируются. Все остальные строки "
1623 "являются ответом на один вопрос, и должны содержать четыре значения, каждое "
1624 "отделяется от другого одним пробельным символом. Первое значение — это имя "
1625 "пакета, которому принадлежит вопрос. Второе — это имя вопроса, третье — это "
1626 "тип вопроса, а четвёртое значение (до конца строки) — это значение "
1627 "используемое для ответа на вопрос."
1628
1629 # type: textblock
1630 #. type: textblock
1631 #: ../../debconf-set-selections:38
1632 msgid ""
1633 "Alternatively, the third value can be \"seen\"; then the preseed line only "
1634 "controls whether the question is marked as seen in debconf's database. Note "
1635 "that preseeding a question's value defaults to marking that question as "
1636 "seen, so to override the default value without marking a question seen, you "
1637 "need two lines."
1638 msgstr ""
1639 "Также третье значение может быть равно «seen»; такая строка помечает вопрос "
1640 "в базе данных debconf как заданный. Заметим, что автозаполнение ответов на "
1641 "вопросы по умолчанию помечает эти вопросы как заданные, поэтому для "
1642 "изменения ответа по умолчанию без пометки вопроса как заданного, вам нужны "
1643 "две строки."
1644
1645 # type: textblock
1646 #. type: textblock
1647 #: ../../debconf-set-selections:44
1648 msgid ""
1649 "Lines can be continued to the next line by ending them with a \"\\\" "
1650 "character."
1651 msgstr ""
1652 "Строки продлеваются на следующую строку, если оканчиваются символом «\\»."
1653
1654 # type: verbatim
1655 #. type: verbatim
1656 #: ../../debconf-set-selections:49
1657 #, no-wrap
1658 msgid ""
1659 " # Force debconf priority to critical.\n"
1660 " debconf debconf/priority select critical\n"
1661 "\n"
1662 msgstr ""
1663 " # Принудительно задать приоритет debconf как критический.\n"
1664 " debconf debconf/priority select critical\n"
1665 "\n"
1666
1667 # type: verbatim
1668 #. type: verbatim
1669 #: ../../debconf-set-selections:52
1670 #, no-wrap
1671 msgid ""
1672 " # Override default frontend to readline, but allow user to select.\n"
1673 " debconf debconf/frontend select readline\n"
1674 " debconf debconf/frontend seen false\n"
1675 "\n"
1676 msgstr ""
1677 " # Изменить интерфейс по умолчанию на readline, но позволить пользователю выбрать.\n"
1678 " debconf debconf/frontend select readline\n"
1679 " debconf debconf/frontend seen false\n"
1680 "\n"
1681
1682 # type: =item
1683 #. type: =item
1684 #: ../../debconf-set-selections:60
1685 msgid "B<--verbose>, B<-v>"
1686 msgstr "B<--verbose>, B<-v>"
1687
1688 # type: textblock
1689 #. type: textblock
1690 #: ../../debconf-set-selections:62
1691 msgid "verbose output"
1692 msgstr "подробный отчёт при работе"
1693
1694 # type: =item
1695 #. type: =item
1696 #: ../../debconf-set-selections:64
1697 msgid "B<--checkonly>, B<-c>"
1698 msgstr "B<--checkonly>, B<-c>"
1699
1700 # type: textblock
1701 #. type: textblock
1702 #: ../../debconf-set-selections:66
1703 msgid "only check the input file format, do not save changes to database"
1704 msgstr ""
1705 "только проверить правильность формата файла, не записывать изменения в базу "
1706 "данных"
1707
1708 # type: textblock
1709 #. type: textblock
1710 #: ../../debconf-set-selections:72
1711 msgid "L<debconf-get-selections(1)> (available in the debconf-utils package)"
1712 msgstr "L<debconf-get-selections(1)> (доступна из пакета debconf-utils)"
1713
1714 # type: textblock
1715 #. type: textblock
1716 #: ../../debconf-show:5
1717 msgid "debconf-show - query the debconf database"
1718 msgstr "debconf-show - выполнить запрос к базе данных debconf"
1719
1720 # type: verbatim
1721 #. type: verbatim
1722 #: ../../debconf-show:9
1723 #, no-wrap
1724 msgid ""
1725 " debconf-show packagename [...] [--db=dbname]\n"
1726 " debconf-show --listowners [--db=dbname]\n"
1727 " debconf-show --listdbs\n"
1728 "\n"
1729 msgstr ""
1730 " debconf-show имя-пакета [...] [--db=имя-базы-данных]\n"
1731 " debconf-show --listowners [--db=имя-базы-данных]\n"
1732 " debconf-show --listdbs\n"
1733 "\n"
1734
1735 # type: textblock
1736 #. type: textblock
1737 #: ../../debconf-show:15
1738 msgid "B<debconf-show> lets you query the debconf database in different ways."
1739 msgstr ""
1740 "B<debconf-show> позволяет выполнить запрос к базе данных debconf различными "
1741 "способами."
1742
1743 # type: textblock
1744 #. type: textblock
1745 #: ../../debconf-show:17
1746 msgid ""
1747 "The most common use is \"debconf-show packagename\", which displays all "
1748 "items in the debconf database owned by a given package, and their current "
1749 "values. Questions that have been asked already are prefixed with an '*'."
1750 msgstr ""
1751 "Наиболее распространённый запрос — «debconf-show имя-пакета», по которому "
1752 "выдаются все элементы базы данных debconf принадлежащие этому пакету и их "
1753 "текущие значения. Вопросы, которые были уже заданы, отмечены символом «*»."
1754
1755 # type: textblock
1756 #. type: textblock
1757 #: ../../debconf-show:21
1758 msgid ""
1759 "This can be useful as a debugging aid, and especially handy in bug reports "
1760 "involving a package's use of debconf."
1761 msgstr ""
1762 "Эта программа может быть полезна при отладке и особенно при отправке отчётов "
1763 "об ошибке в пакетах использующих debconf."
1764
1765 # type: =item
1766 #. type: =item
1767 #: ../../debconf-show:28
1768 msgid "B<--db=>I<dbname>"
1769 msgstr "B<--db=>I<имя-базы-данных>"
1770
1771 # type: textblock
1772 #. type: textblock
1773 #: ../../debconf-show:30
1774 msgid ""
1775 "Specify the database to query. By default, debconf-show queries the main "
1776 "database."
1777 msgstr ""
1778 "Указать базу данных для запроса. По умолчанию debconf-show выполняет запрос "
1779 "к главной базе данных."
1780
1781 # type: =item
1782 #. type: =item
1783 #: ../../debconf-show:33
1784 msgid "B<--listowners>"
1785 msgstr "B<--listowners>"
1786
1787 # type: textblock
1788 #. type: textblock
1789 #: ../../debconf-show:35
1790 msgid ""
1791 "Lists all owners of questions in the database. Generally an owner is "
1792 "equivalent to a debian package name."
1793 msgstr ""
1794 "Запросить список всех владельцев вопросов в базе данных. В большинстве "
1795 "случаев владелец — это имя пакета debian."
1796
1797 # type: =item
1798 #. type: =item
1799 #: ../../debconf-show:38
1800 msgid "B<--listdbs>"
1801 msgstr "B<--listdbs>"
1802
1803 # type: textblock
1804 #. type: textblock
1805 #: ../../debconf-show:40
1806 msgid "Lists all available databases."
1807 msgstr "Показать список доступных баз данных."
1808
1809 # type: textblock
1810 #. type: textblock
1811 #: ../../debconf-show:154
1812 msgid "Joey Hess <[email protected]> and Sylvain Ferriol"
1813 msgstr "Joey Hess <[email protected]> и Sylvain Ferriol"
1814
1815 # type: textblock
1816 #. type: textblock
1817 #: ../../dpkg-preconfigure:5
1818 msgid ""
1819 "dpkg-preconfigure - let packages ask questions prior to their installation"
1820 msgstr "dpkg-preconfigure - позволяет пакетам задать вопросы перед установкой"
1821
1822 # type: verbatim
1823 #. type: verbatim
1824 #: ../../dpkg-preconfigure:9
1825 #, no-wrap
1826 msgid ""
1827 " dpkg-preconfigure [options] package.deb\n"
1828 "\n"
1829 msgstr ""
1830 " dpkg-preconfigure [параметры] пакет.deb\n"
1831 "\n"
1832
1833 # type: verbatim
1834 #. type: verbatim
1835 #: ../../dpkg-preconfigure:11
1836 #, no-wrap
1837 msgid ""
1838 " dpkg-preconfigure --apt\n"
1839 "\n"
1840 msgstr ""
1841 " dpkg-preconfigure --apt\n"
1842 "\n"
1843
1844 # type: textblock
1845 #. type: textblock
1846 #: ../../dpkg-preconfigure:15
1847 msgid ""
1848 "B<dpkg-preconfigure> lets packages ask questions before they are installed. "
1849 "It operates on a set of debian packages, and all packages that use debconf "
1850 "will have their config script run so they can examine the system and ask "
1851 "questions."
1852 msgstr ""
1853 "B<dpkg-preconfigure> позволяет пакетам задать вопросы перед установкой. Она "
1854 "работает с пакетами debian и всеми пакетами, которые будут использовать "
1855 "debconf в своих сценариях config для проверки системы и задания вопросов."
1856
1857 # type: textblock
1858 #. type: textblock
1859 #: ../../dpkg-preconfigure:30
1860 msgid ""
1861 "Set the lowest priority of questions you are interested in. Any questions "
1862 "with a priority below the selected priority will be ignored and their "
1863 "default answers will be used."
1864 msgstr ""
1865 "Установить низший приоритет задаваемых вопросов. Все вопросы с приоритетом "
1866 "ниже указанного будут игнорироваться, а в качестве ответов будут "
1867 "использоваться ответы по умолчанию."
1868
1869 # type: =item
1870 #. type: =item
1871 #: ../../dpkg-preconfigure:38
1872 msgid "B<--apt>"
1873 msgstr "B<--apt>"
1874
1875 # type: textblock
1876 #. type: textblock
1877 #: ../../dpkg-preconfigure:40
1878 msgid ""
1879 "Run in apt mode. It will expect to read a set of package filenames from "
1880 "stdin, rather than getting them as parameters. Typically this is used to "
1881 "make apt run dpkg-preconfigure on all packages before they are installed. "
1882 "To do this, add something like this to /etc/apt/apt.conf:"
1883 msgstr ""
1884 "Работать в режиме apt. Вместо получения списка имён файлов пакетов из "
1885 "параметров он считывается со стандартного входного потока (stdin). Обычно "
1886 "этот режим используется apt, которая запускает dpkg-preconfigure для всех "
1887 "пакетов перед их установкой. Для этого добавьте в /etc/apt/apt.conf:"
1888
1889 # type: verbatim
1890 #. type: verbatim
1891 #: ../../dpkg-preconfigure:45
1892 #, no-wrap
1893 msgid ""
1894 " // Pre-configure all packages before\n"
1895 " // they are installed.\n"
1896 " DPkg::Pre-Install-Pkgs {\n"
1897 " \t\"dpkg-preconfigure --apt --priority=low\";\n"
1898 " };\n"
1899 "\n"
1900 msgstr ""
1901 " // Предварительная настройка всех пакетов перед\n"
1902 " // их установкой.\n"
1903 " DPkg::Pre-Install-Pkgs {\n"
1904 " \t\"dpkg-preconfigure --apt --priority=low\";\n"
1905 " };\n"
1906 "\n"
1907
1908 # type: =item
1909 #. type: =item
1910 #: ../../dpkg-preconfigure:51 ../../dpkg-reconfigure:69
1911 msgid "B<-h>, B<--help>"
1912 msgstr "B<-h>, B<--help>"
1913
1914 # type: textblock
1915 #. type: textblock
1916 #: ../../dpkg-preconfigure:53 ../../dpkg-reconfigure:71
1917 msgid "Display usage help."
1918 msgstr "Показать справку по использованию."
1919
1920 # type: textblock
1921 #. type: textblock
1922 #: ../../dpkg-preconfigure:61 ../../dpkg-reconfigure:79
1923 msgid "L<debconf(7)>"
1924 msgstr "L<debconf(7)>"
1925
1926 # type: textblock
1927 #. type: textblock
1928 #: ../../dpkg-reconfigure:5
1929 msgid "dpkg-reconfigure - reconfigure an already installed package"
1930 msgstr "dpkg-reconfigure - перенастраивает заново уже установленный пакет"
1931
1932 # type: verbatim
1933 #. type: verbatim
1934 #: ../../dpkg-reconfigure:9
1935 #, no-wrap
1936 msgid ""
1937 " dpkg-reconfigure [options] packages\n"
1938 "\n"
1939 msgstr ""
1940 " dpkg-reconfigure [параметры] пакеты\n"
1941 "\n"
1942
1943 # type: textblock
1944 #. type: textblock
1945 #: ../../dpkg-reconfigure:13
1946 msgid ""
1947 "B<dpkg-reconfigure> reconfigures packages after they have already been "
1948 "installed. Pass it the names of a package or packages to reconfigure. It "
1949 "will ask configuration questions, much like when the package was first "
1950 "installed."
1951 msgstr ""
1952 "B<dpkg-reconfigure> перенастраивает уже установленные пакеты. В качестве "
1953 "параметров указываются одно и более названий пакетов, которые нужно "
1954 "перенастроить. Будут заданы вопросы о настройке, их будет больше чем при "
1955 "начальной установке пакета."
1956
1957 # type: textblock
1958 #. type: textblock
1959 #: ../../dpkg-reconfigure:18
1960 msgid ""
1961 "If you just want to see the current configuration of a package, see "
1962 "L<debconf-show(1)> instead."
1963 msgstr ""
1964 "Если вы хотите просто посмотреть текущие настройки пакета, то используйте "
1965 "L<debconf-show(1)>."
1966
1967 # type: textblock
1968 #. type: textblock
1969 #: ../../dpkg-reconfigure:27
1970 msgid ""
1971 "Select the frontend to use. The default frontend can be permanently changed "
1972 "by:"
1973 msgstr ""
1974 "Выбор используемого интерфейса. Интерфейс по умолчанию может быть изменён с "
1975 "помощью команды:"
1976
1977 # type: verbatim
1978 #. type: verbatim
1979 #: ../../dpkg-reconfigure:30
1980 #, no-wrap
1981 msgid ""
1982 " dpkg-reconfigure debconf\n"
1983 "\n"
1984 msgstr ""
1985 " dpkg-reconfigure debconf\n"
1986 "\n"
1987
1988 # type: textblock
1989 #. type: textblock
1990 #: ../../dpkg-reconfigure:32
1991 msgid ""
1992 "Note that if you normally have debconf set to use the noninteractive "
1993 "frontend, dpkg-reconfigure will use the dialog frontend instead, so you "
1994 "actually get to reconfigure the package."
1995 msgstr ""
1996 "Заметим, что если у вас настроен по умолчанию не интерактивный интерфейс, то "
1997 "dpkg-reconfigure будет использовать вместо него диалоговый, чтобы вы "
1998 "действительно смогли перенастроить пакет."
1999
2000 # type: textblock
2001 #. type: textblock
2002 #: ../../dpkg-reconfigure:38
2003 msgid ""
2004 "Specify the minimum priority of question that will be displayed. dpkg-"
2005 "reconfigure normally shows low priority questions no matter what your "
2006 "default priority is. See L<debconf(7)> for a list."
2007 msgstr ""
2008 "Задать минимальный приоритет показываемых вопросов. dpkg-reconfigure "
2009 "показывает вопросы с низшим приоритетом независимо, какой у вас установлен "
2010 "приоритет по умолчанию. Список смотрите в L<debconf(7)>."
2011
2012 # type: =item
2013 #. type: =item
2014 #: ../../dpkg-reconfigure:46
2015 msgid "B<--default-priority>"
2016 msgstr "B<--default-priority>"
2017
2018 # type: textblock
2019 #. type: textblock
2020 #: ../../dpkg-reconfigure:48
2021 msgid ""
2022 "Use whatever the default priority of question is, instead of forcing the "
2023 "priority to low."
2024 msgstr ""
2025 "Задать приоритет вопросов по умолчанию, а не принудительный низший приоритет."
2026
2027 # type: =item
2028 #. type: =item
2029 #: ../../dpkg-reconfigure:51
2030 msgid "B<-u>, B<--unseen-only>"
2031 msgstr "B<-u>, B<--unseen-only>"
2032
2033 # type: textblock
2034 #. type: textblock
2035 #: ../../dpkg-reconfigure:53
2036 msgid ""
2037 "By default, all questions are shown, even if they have already been "
2038 "answered. If this parameter is set though, only questions that have not yet "
2039 "been seen will be asked."
2040 msgstr ""
2041 "По умолчанию задаются все вопросы, даже если на них уже есть ответы. Однако "
2042 "если задан этот параметр, будут показаны только вопросы, которые ещё не были "
2043 "заданы."
2044
2045 # type: =item
2046 #. type: =item
2047 #: ../../dpkg-reconfigure:57
2048 msgid "B<--force>"
2049 msgstr "B<--force>"
2050
2051 # type: textblock
2052 #. type: textblock
2053 #: ../../dpkg-reconfigure:59
2054 msgid ""
2055 "Force dpkg-reconfigure to reconfigure a package even if the package is in an "
2056 "inconsistent or broken state. Use with caution."
2057 msgstr ""
2058 "Заставить dpkg-reconfigure перенастроить пакет, даже если он в "
2059 "противоречивом или нерабочем состоянии. Использовать осторожно."
2060
2061 # type: =item
2062 #. type: =item
2063 #: ../../dpkg-reconfigure:62
2064 msgid "B<--no-reload>"
2065 msgstr "B<--no-reload>"
2066
2067 # type: textblock
2068 #. type: textblock
2069 #: ../../dpkg-reconfigure:64
2070 msgid ""
2071 "Prevent dpkg-reconfigure from reloading templates. Use with caution; this "
2072 "will prevent dpkg-reconfigure from repairing broken templates databases. "
2073 "However, it may be useful in constrained environments where rewriting the "
2074 "templates database is expensive."
2075 msgstr ""
2076 "Запретить dpkg-reconfigure перезагрузку шаблонов. Использовать осторожно, "
2077 "так как это запрещает dpkg-reconfigure восстанавливать испорченные базы "
2078 "данных шаблонов. Однако, это может быть полезно в ограниченной среде, где "
2079 "перезапись базы данных шаблонов является затратной операцией."
2080
2081 # type: TH
2082 #. type: TH
2083 #: debconf.conf.5:1
2084 #, no-wrap
2085 msgid "DEBCONF.CONF"
2086 msgstr "DEBCONF.CONF"
2087
2088 # type: Plain text
2089 #. type: Plain text
2090 #: debconf.conf.5:4
2091 msgid "debconf.conf - debconf configuration file"
2092 msgstr "debconf.conf - файл настройки debconf"
2093
2094 # type: Plain text
2095 #. type: Plain text
2096 #: debconf.conf.5:12
2097 msgid ""
2098 "Debconf is a configuration system for Debian packages. /etc/debconf.conf and "
2099 "~/.debconfrc are configuration files debconf uses to determine which "
2100 "databases it should use. These databases are used for storing two types of "
2101 "information; dynamic config data the user enters into it, and static "
2102 "template data. Debconf offers a flexible, extensible database backend. New "
2103 "drivers can be created with a minimum of effort, and sets of drivers can be "
2104 "combined in various ways."
2105 msgstr ""
2106 "Debconf — это система настройки пакетов Debian. Файлы /etc/debconf.conf и ~/."
2107 "debconfrc являются файлами настройки, которые debconf использует для "
2108 "определения какие базы данных должны быть задействованы. Эти базы данных "
2109 "используются для хранения двух типов информации; динамически настраиваемых "
2110 "данных, которые ввёл пользователь и статических данных шаблонов. Debconf "
2111 "предлагает гибкую, расширяемую среду хранения базы данных. С минимальными "
2112 "затратами могут быть созданы новые драйверы, и их любые комбинации могут "
2113 "объединяться различными путями."
2114
2115 # type: Plain text
2116 #. type: Plain text
2117 #: debconf.conf.5:17
2118 #, no-wrap
2119 msgid ""
2120 " # This is a sample config file that is\n"
2121 " # sufficient to use debconf.\n"
2122 " Config: configdb\n"
2123 " Templates: templatedb\n"
2124 msgstr ""
2125 " # Это пример файла настройки, которого\n"
2126 " # достаточно для использования debconf.\n"
2127 " Config: configdb\n"
2128 " Templates: templatedb\n"
2129
2130 # type: Plain text
2131 #. type: Plain text
2132 #: debconf.conf.5:21
2133 #, no-wrap
2134 msgid ""
2135 " Name: configdb\n"
2136 " Driver: File\n"
2137 " Filename: /var/cache/debconf/config.dat\n"
2138 msgstr ""
2139 " Name: configdb\n"
2140 " Driver: File\n"
2141 " Filename: /var/cache/debconf/config.dat\n"
2142
2143 # type: Plain text
2144 #. type: Plain text
2145 #: debconf.conf.5:26
2146 #, no-wrap
2147 msgid ""
2148 " Name: templatedb\n"
2149 " Driver: File\n"
2150 " Mode: 644\n"
2151 " Filename: /var/cache/debconf/templates.dat\n"
2152 msgstr ""
2153 " Name: templatedb\n"
2154 " Driver: File\n"
2155 " Mode: 644\n"
2156 " Filename: /var/cache/debconf/templates.dat\n"
2157
2158 # type: SH
2159 #. type: SH
2160 #: debconf.conf.5:26
2161 #, no-wrap
2162 msgid "FILE FORMAT"
2163 msgstr "ФОРМАТ ФАЙЛА"
2164
2165 # type: Plain text
2166 #. type: Plain text
2167 #: debconf.conf.5:30
2168 msgid ""
2169 "The format of this file is a series of stanzas, each separated by at least "
2170 "one wholly blank line. Comment lines beginning with a \"#\" character are "
2171 "ignored."
2172 msgstr ""
2173 "Форматом файла является серия строк, отделённых друг от друга как минимум "
2174 "одной полностью пустой строкой. Строки комментариев начинаются с символа «#» "
2175 "и игнорируются."
2176
2177 # type: Plain text
2178 #. type: Plain text
2179 #: debconf.conf.5:33
2180 msgid ""
2181 "The first stanza of the file is special, is used to configure debconf as a "
2182 "whole. Two fields are required to be in this first stanza:"
2183 msgstr ""
2184 "Первая строка файла имеет особое значение, она используется для настройки "
2185 "всего debconf. В первой строке должны быть два поля:"
2186
2187 # type: TP
2188 #. type: TP
2189 #: debconf.conf.5:34
2190 #, no-wrap
2191 msgid "B<Config>"
2192 msgstr "B<Config>"
2193
2194 # type: Plain text
2195 #. type: Plain text
2196 #: debconf.conf.5:37
2197 msgid "Specifies the name of the database from which to load config data."
2198 msgstr "Задаёт имя базы данных, из которой загружаются данные о настройке."
2199
2200 # type: TP
2201 #. type: TP
2202 #: debconf.conf.5:37
2203 #, no-wrap
2204 msgid "B<Templates>"
2205 msgstr "B<Templates>"
2206
2207 # type: Plain text
2208 #. type: Plain text
2209 #: debconf.conf.5:40
2210 msgid "Specifies the name of the database to use for the template cache."
2211 msgstr "Задаёт имя базы данных, которая используется для кэширования шаблонов."
2212
2213 # type: Plain text
2214 #. type: Plain text
2215 #: debconf.conf.5:43
2216 msgid "Additional fields that can be used include:"
2217 msgstr "Могут быть указаны дополнительные поля:"
2218
2219 # type: TP
2220 #. type: TP
2221 #: debconf.conf.5:44
2222 #, no-wrap
2223 msgid "B<Frontend>"
2224 msgstr "B<Frontend>"
2225
2226 # type: Plain text
2227 #. type: Plain text
2228 #: debconf.conf.5:48
2229 msgid ""
2230 "The frontend Debconf should use, overriding any frontend set in the debconf "
2231 "database."
2232 msgstr ""
2233 "Используемая интерфейсная программа Debconf, заменяет любое установленное "
2234 "значение интерфейсной программы базы данных debconf."
2235
2236 # type: TP
2237 #. type: TP
2238 #: debconf.conf.5:48
2239 #, no-wrap
2240 msgid "B<Priority>"
2241 msgstr "B<Priority>"
2242
2243 # type: Plain text
2244 #. type: Plain text
2245 #: debconf.conf.5:52
2246 msgid ""
2247 "The priority Debconf should use, overriding any priority set in the debconf "
2248 "database."
2249 msgstr ""
2250 "Приоритет, который должен использовать Debconf, заменяет любой заданный "
2251 "приоритет, установленный в базе данных debconf."
2252
2253 # type: TP
2254 #. type: TP
2255 #: debconf.conf.5:52
2256 #, no-wrap
2257 msgid "B<Admin-Email>"
2258 msgstr "B<Admin-Email>"
2259
2260 # type: Plain text
2261 #. type: Plain text
2262 #: debconf.conf.5:59
2263 msgid ""
2264 "The email address Debconf should send mail to if it needs to make sure that "
2265 "the admin has seen an important message. Defaults to \"root\", but can be "
2266 "set to any valid email address to send the mail there. If you prefer to "
2267 "never have debconf send you mail, specify a blank address. This can be "
2268 "overridden on the fly with the DEBCONF_ADMIN_EMAIL environment variable."
2269 msgstr ""
2270 "Адрес электронной почты, куда Debconf должен посылать сообщения, если "
2271 "требуется, чтобы администратор получил важные замечания. По умолчанию, всё "
2272 "направляется «root», но может быть задан любой рабочий адрес электронной "
2273 "почты. Если вы предпочитаете выключить отправку почты в debconf, укажите "
2274 "пустой адрес. Он может быть заменён в ходе работы значением переменной "
2275 "окружения DEBCONF_ADMIN_EMAIL."
2276
2277 # type: Plain text
2278 #. type: Plain text
2279 #: debconf.conf.5:59 debconf.conf.5:395
2280 #, no-wrap
2281 msgid "B<Debug>"
2282 msgstr "B<Debug>"
2283
2284 # type: Plain text
2285 #. type: Plain text
2286 #: debconf.conf.5:67
2287 msgid ""
2288 "If set, this will cause debconf to output debugging information to standard "
2289 "error. The value it is set to can be something like \"user\", \"developer\", "
2290 "\"db\", or a regular expression. Typically, rather than setting it "
2291 "permanently in a config file, you will only want to temporarily turn on "
2292 "debugging, and the DEBCONF_DEBUG environment variable can be set instead to "
2293 "accomplish that."
2294 msgstr ""
2295 "Если установлено, то debconf будет выводить отладочную информацию в "
2296 "стандартный поток ошибок. Значениями могут быть что-нибудь типа «user», "
2297 "«developer», «db» или регулярное выражение. Обычно вместо указания в файле "
2298 "настройки, для временного включения режима отладки устанавливайте переменную "
2299 "окружения DEBCONF_DEBUG."
2300
2301 # type: TP
2302 #. type: TP
2303 #: debconf.conf.5:67
2304 #, no-wrap
2305 msgid "B<NoWarnings>"
2306 msgstr "B<NoWarnings>"
2307
2308 # type: Plain text
2309 #. type: Plain text
2310 #: debconf.conf.5:72
2311 msgid ""
2312 "If set, this will make debconf not display warnings about various things. "
2313 "This can be overridden on the fly with the DEBCONF_NOWARNINGS environment "
2314 "variable."
2315 msgstr ""
2316 "Если установлено, то debconf не будет выводить предупреждения о различных "
2317 "событиях. Такое поведение можно изменить на лету с помощью переменной "
2318 "окружения DEBCONF_NOWARNINGS."
2319
2320 # type: TP
2321 #. type: TP
2322 #: debconf.conf.5:72
2323 #, no-wrap
2324 msgid "B<Log>"
2325 msgstr "B<Log>"
2326
2327 # type: Plain text
2328 #. type: Plain text
2329 #: debconf.conf.5:77
2330 msgid ""
2331 "Makes debconf log debugging information as it runs, to the syslog. The value "
2332 "it is set to controls that is logged. See Debug, above for an explanation of "
2333 "the values that can be set to control what is logged."
2334 msgstr ""
2335 "Заставить debconf сохранять отладочную информацию в syslog. Значение "
2336 "контролирует, что протоколировать. Смотрите описание Debug ранее, какие "
2337 "значения могут быть заданы для протоколирования."
2338
2339 # type: TP
2340 #. type: TP
2341 #: debconf.conf.5:77
2342 #, no-wrap
2343 msgid "B<Terse>"
2344 msgstr "B<Terse>"
2345
2346 # type: Plain text
2347 #. type: Plain text
2348 #: debconf.conf.5:82
2349 msgid ""
2350 "If set to \"true\", makes some debconf frontends use a special terse display "
2351 "mode that outputs as little as possible. Defaults to false. Terse mode may "
2352 "be temporarily set via the DEBCONF_TERSE environment variable."
2353 msgstr ""
2354 "Если установлено в «true», то некоторые интерфейсные программы debconf "
2355 "активируют специальный краткий режим вывода, чтобы выдавать как можно меньше "
2356 "информации. По умолчанию false. Краткий режим может быть временно включён с "
2357 "помощью переменной окружения DEBCONF_TERSE."
2358
2359 # type: Plain text
2360 #. type: Plain text
2361 #: debconf.conf.5:87
2362 #, no-wrap
2363 msgid ""
2364 "For example, the first stanza of a file might look like this:\n"
2365 " Config: configdb\n"
2366 " Templates: templatedb\n"
2367 msgstr ""
2368 "Например, первая строка может выглядеть так:\n"
2369 " Config: configdb\n"
2370 " Templates: templatedb\n"
2371
2372 # type: Plain text
2373 #. type: Plain text
2374 #: debconf.conf.5:91
2375 #, no-wrap
2376 msgid ""
2377 "Each remaining stanza in the file sets up a database. A database stanza\n"
2378 "begins by naming the database:\n"
2379 " Name: configdb\n"
2380 msgstr ""
2381 "Остальные строки в файле настраивают базу данных. Строка базы данных\n"
2382 "начинается с имени базы:\n"
2383 " Name: configdb\n"
2384
2385 # type: Plain text
2386 #. type: Plain text
2387 #: debconf.conf.5:95
2388 #, no-wrap
2389 msgid ""
2390 "Then it indicates what database driver should be used for this database.\n"
2391 "See DRIVERS, below, for information about what drivers are available.\n"
2392 " Driver: File\n"
2393 msgstr ""
2394 "Затем задаётся какой драйвер базы данных должен использоваться для базы.\n"
2395 "Доступные драйверы описаны далее в разделе ДРАЙВЕРЫ.\n"
2396 " Driver: File\n"
2397
2398 # type: Plain text
2399 #. type: Plain text
2400 #: debconf.conf.5:100
2401 #, no-wrap
2402 msgid ""
2403 "You can indicate that the database is not essential to the proper\n"
2404 "functioning of debconf by saying it is not required. This will make debconf\n"
2405 "muddle on if the database fails for some reason.\n"
2406 " Required: false\n"
2407 msgstr ""
2408 "Вы можете указать, что база данных неважна для нормальной работы\n"
2409 "debconf сделав её необязательной. Debconf будет действовать без плана,\n"
2410 "если база данных недоступна по какой-то причине.\n"
2411 " Required: false\n"
2412
2413 # type: Plain text
2414 #. type: Plain text
2415 #: debconf.conf.5:104
2416 #, no-wrap
2417 msgid ""
2418 "You can mark any database as readonly and debconf will not write anything\n"
2419 "to it.\n"
2420 " Readonly: true\n"
2421 msgstr ""
2422 "Вы можете пометить любую базу данных как доступную только для чтения и\n"
2423 "debconf не будет ничего в неё писать.\n"
2424 " Readonly: true\n"
2425
2426 # type: Plain text
2427 #. type: Plain text
2428 #: debconf.conf.5:107
2429 msgid ""
2430 "You can also limit what types of data can go into the database with Accept- "
2431 "and Reject- lines; see ACCESS CONTROLS, below."
2432 msgstr ""
2433 "Также вы можете ограничить типы данных, которые будут храниться в базе с "
2434 "помощью строк Accept- и Reject-; описание смотрите далее в разделе "
2435 "УПРАВЛЕНИЕ ДОСТУПОМ."
2436
2437 # type: Plain text
2438 #. type: Plain text
2439 #: debconf.conf.5:112
2440 #, no-wrap
2441 msgid ""
2442 "The remainder of each database stanza is used to provide configuration\n"
2443 "specific to that driver. For example, the Text driver needs to know\n"
2444 "a directory to put the database in, so you might say:\n"
2445 " Filename: /var/cache/debconf/config.dat\n"
2446 msgstr ""
2447 "Остальная часть строки каждой базы данных используется для указания\n"
2448 "специальных для каждого драйвера параметров. Например, драйверу Text\n"
2449 "требуется указать каталог где лежит база данных, для этого нужно указать:\n"
2450 " Filename: /var/cache/debconf/config.dat\n"
2451
2452 # type: SH
2453 #. type: SH
2454 #: debconf.conf.5:112
2455 #, no-wrap
2456 msgid "DRIVERS"
2457 msgstr "ДРАЙВЕРЫ"
2458
2459 # type: Plain text
2460 #. type: Plain text
2461 #: debconf.conf.5:119
2462 msgid ""
2463 "A number of drivers are available, and more can be written with little "
2464 "difficulty. Drivers come in two general types. First there are real drivers "
2465 "-- drivers that actually access and store data in some kind of database, "
2466 "which might be on the local filesystem, or on a remote system. Then there "
2467 "are meta-drivers that combine other drivers together to form more "
2468 "interesting systems. Let's start with the former."
2469 msgstr ""
2470 "Уже созданы несколько драйверов, нужные можно написать с небольшими "
2471 "усилиями. Драйверы бывают двух типов. Первый, настоящие драйверы — драйверы, "
2472 "которые на самом деле обеспечивают доступ и хранение данных в какой-то базе "
2473 "данных, которая может располагаться на локальной файловой системе или на "
2474 "удалённой машине. Второй -- мета драйверы, которые объединяют другие "
2475 "драйверы вместе образуя более интересные системы. Начнём с первых."
2476
2477 # type: TP
2478 #. type: TP
2479 #: debconf.conf.5:120
2480 #, no-wrap
2481 msgid "B<File>"
2482 msgstr "B<File>"
2483
2484 # type: Plain text
2485 #. type: Plain text
2486 #: debconf.conf.5:127
2487 msgid ""
2488 "This database driver allows debconf to store a whole database in a single "
2489 "flat text file. This makes it easy to archive, transfer between machines, "
2490 "and edit. It is one of the more compact database formats in terms of disk "
2491 "space used. It is also one of the slowest."
2492 msgstr ""
2493 "Данный драйвер базы данных позволяет debconf хранить всю информацию в одном "
2494 "простом текстовом файле. Это позволяет легко архивировать, переносить с "
2495 "машины на машину и редактировать базу данных. Это один из наиболее "
2496 "компактных форматов базы данных в смысле занимаемого места на диске. Он "
2497 "также является одним из самых медленных."
2498
2499 # type: Plain text
2500 #. type: Plain text
2501 #: debconf.conf.5:130
2502 msgid ""
2503 "On the downside, the entire file has to be read in each time debconf starts "
2504 "up, and saving it is also slow."
2505 msgstr ""
2506 "Отрицательные качества: при запуске debconf этот файл должен быть прочитан "
2507 "целиком и его сохранение медленно."
2508
2509 # type: Plain text
2510 #. type: Plain text
2511 #: debconf.conf.5:132 debconf.conf.5:168 debconf.conf.5:238 debconf.conf.5:309
2512 msgid "The following things are configurable for this driver."
2513 msgstr "Настройки драйвера:"
2514
2515 # type: TP
2516 #. type: TP
2517 #: debconf.conf.5:133
2518 #, no-wrap
2519 msgid "B<Filename>"
2520 msgstr "B<Filename>"
2521
2522 # type: Plain text
2523 #. type: Plain text
2524 #: debconf.conf.5:136
2525 msgid "The file to use as the database. This is a required field."
2526 msgstr "Имя файла базы данных. Обязательное поле."
2527
2528 # type: TP
2529 #. type: TP
2530 #: debconf.conf.5:136 debconf.conf.5:203
2531 #, no-wrap
2532 msgid "B<Mode>"
2533 msgstr "B<Mode>"
2534
2535 # type: Plain text
2536 #. type: Plain text
2537 #: debconf.conf.5:140
2538 msgid ""
2539 "The permissions to create the file with if it does not exist. Defaults to "
2540 "600, since the file could contain passwords in some circumstances."
2541 msgstr ""
2542 "Права доступа с которыми нужно создать файл, если он не существует. По "
2543 "умолчанию — 600, так как в файл могут хранятся пароли в некоторых случаях."
2544
2545 # type: TP
2546 #. type: TP
2547 #: debconf.conf.5:140 debconf.conf.5:176 debconf.conf.5:310
2548 #, no-wrap
2549 msgid "B<Format>"
2550 msgstr "B<Format>"
2551
2552 # type: Plain text
2553 #. type: Plain text
2554 #: debconf.conf.5:144 debconf.conf.5:180
2555 msgid ""
2556 "The format of the file. See FORMATS below. Defaults to using a rfc-822 like "
2557 "format."
2558 msgstr ""
2559 "Формат файла. Смотрите раздел ФОРМАТЫ далее. По умолчанию используется "
2560 "rfc-822 подобный формат."
2561
2562 # type: Plain text
2563 #. type: Plain text
2564 #: debconf.conf.5:144 debconf.conf.5:180 debconf.conf.5:371
2565 #, no-wrap
2566 msgid "B<Backup>"
2567 msgstr "B<Backup>"
2568
2569 # type: Plain text
2570 #. type: Plain text
2571 #: debconf.conf.5:148 debconf.conf.5:184
2572 msgid ""
2573 "Whether a backup should be made of the old file before changing it. "
2574 "Defaults to true."
2575 msgstr ""
2576 "Нужно ли делать резервную копию перед изменением. По умолчанию включено."
2577
2578 # type: Plain text
2579 #. type: Plain text
2580 #: debconf.conf.5:151 debconf.conf.5:187 debconf.conf.5:209
2581 msgid "As example stanza setting up a database using this driver:"
2582 msgstr "Пример строки с настройками базы данных, использующей этот драйвер:"
2583
2584 # type: Plain text
2585 #. type: Plain text
2586 #: debconf.conf.5:155
2587 #, no-wrap
2588 msgid ""
2589 " Name: mydb\n"
2590 " Driver: File\n"
2591 " Filename: /var/cache/debconf/mydb.dat\n"
2592 msgstr ""
2593 " Name: mydb\n"
2594 " Driver: File\n"
2595 " Filename: /var/cache/debconf/mydb.dat\n"
2596
2597 # type: TP
2598 #. type: TP
2599 #: debconf.conf.5:156
2600 #, no-wrap
2601 msgid "B<DirTree>"
2602 msgstr "B<DirTree>"
2603
2604 # type: Plain text
2605 #. type: Plain text
2606 #: debconf.conf.5:166
2607 msgid ""
2608 "This database driver allows debconf to store data in a hierarchical "
2609 "directory structure. The names of the various debconf templates and "
2610 "questions are used as-is to form directories with files in them. This format "
2611 "for the database is the easiest to browse and fiddle with by hand. It has "
2612 "very good load and save speeds. It also typically occupies the most space, "
2613 "since a lot of small files and subdirectories do take up some additional "
2614 "room."
2615 msgstr ""
2616 "Этот драйвер базы данных позволяет debconf хранить данные в виде "
2617 "иерархической структуры каталогов. Имена различных шаблонов debconf и "
2618 "вопросов используются как есть для образования каталогов с файлами в них. "
2619 "Такой формат базы данных самый лёгкий для просмотра и изменения вручную. Он "
2620 "имеет хорошую скорость загрузки и записи. Для него также типично занимать "
2621 "много места, так как он содержит множество маленьких файлов и подкаталогов, "
2622 "которые занимают дополнительное пространство."
2623
2624 # type: TP
2625 #. type: TP
2626 #: debconf.conf.5:169
2627 #, no-wrap
2628 msgid "B<Directory>"
2629 msgstr "B<Directory>"
2630
2631 # type: Plain text
2632 #. type: Plain text
2633 #: debconf.conf.5:172
2634 msgid "The directory to put the files in. Required."
2635 msgstr "Каталог размещения файлов. Обязателен."
2636
2637 # type: TP
2638 #. type: TP
2639 #: debconf.conf.5:172
2640 #, no-wrap
2641 msgid "B<Extension>"
2642 msgstr "B<Extension>"
2643
2644 # type: Plain text
2645 #. type: Plain text
2646 #: debconf.conf.5:176
2647 msgid ""
2648 "An extension to add to the names of files. Must be set to a non-empty "
2649 "string; defaults to \".dat\""
2650 msgstr ""
2651 "Расширение, которое прибавляется к именам файлов. Должна указываться не "
2652 "пустая строка; по умолчанию — «.dat»"
2653
2654 # type: Plain text
2655 #. type: Plain text
2656 #: debconf.conf.5:192
2657 #, no-wrap
2658 msgid ""
2659 " Name: mydb\n"
2660 " Driver: DirTree\n"
2661 " Directory: /var/cache/debconf/mydb\n"
2662 " Extension: .txt\n"
2663 msgstr ""
2664 " Name: mydb\n"
2665 " Driver: DirTree\n"
2666 " Directory: /var/cache/debconf/mydb\n"
2667 " Extension: .txt\n"
2668
2669 # type: TP
2670 #. type: TP
2671 #: debconf.conf.5:193
2672 #, no-wrap
2673 msgid "B<PackageDir>"
2674 msgstr "B<PackageDir>"
2675
2676 # type: Plain text
2677 #. type: Plain text
2678 #: debconf.conf.5:200
2679 msgid ""
2680 "This database driver is a compromise between the File and DirTree databases. "
2681 "It uses a directory, in which there is (approximately) one file per package "
2682 "that uses debconf. This is fairly fast, while using little more room than "
2683 "the File database driver."
2684 msgstr ""
2685 "Данный драйвер базы данных является компромиссным между File и DirTree. "
2686 "Здесь используется каталог, в котором располагаются (приблизительно) один "
2687 "файл на каждый пакет, использующий debconf. Он довольно быстр, хотя и "
2688 "использует немного больше места, чем драйвер базы данных File."
2689
2690 # type: Plain text
2691 #. type: Plain text
2692 #: debconf.conf.5:203
2693 msgid ""
2694 "This driver is configurable in the same ways as is the DirTree driver, plus:"
2695 msgstr ""
2696 "Данный драйвер настраивается теми же параметрами как и драйвер DirTree, а "
2697 "также:"
2698
2699 # type: Plain text
2700 #. type: Plain text
2701 #: debconf.conf.5:207
2702 msgid ""
2703 "The permissions to create files with. Defaults to 600, since the files could "
2704 "contain passwords in some circumstances."
2705 msgstr ""
2706 "Права доступа с которыми нужно создать файл. По умолчанию — 600, так как в "
2707 "файл могут сохраняться пароли в некоторых случаях."
2708
2709 # type: Plain text
2710 #. type: Plain text
2711 #: debconf.conf.5:213
2712 #, no-wrap
2713 msgid ""
2714 " Name: mydb\n"
2715 " Driver: PackageDir\n"
2716 " Directory: /var/cache/debconf/mydb\n"
2717 msgstr ""
2718 " Name: mydb\n"
2719 " Driver: PackageDir\n"
2720 " Directory: /var/cache/debconf/mydb\n"
2721
2722 # type: TP
2723 #. type: TP
2724 #: debconf.conf.5:214
2725 #, no-wrap
2726 msgid "B<LDAP>"
2727 msgstr "B<LDAP>"
2728
2729 # type: Plain text
2730 #. type: Plain text
2731 #: debconf.conf.5:218
2732 msgid ""
2733 "WARNING: This database driver is currently experimental. Use with caution."
2734 msgstr ""
2735 "ПРЕДУПРЕЖДЕНИЕ: Данный драйвер базы данных является экспериментальным. "
2736 "Используйте с осторожностью."
2737
2738 # type: Plain text
2739 #. type: Plain text
2740 #: debconf.conf.5:226
2741 msgid ""
2742 "This database driver accesses a LDAP directory for debconf configuration "
2743 "data. Due to the nature of the beast, LDAP directories should typically be "
2744 "accessed in read-only mode. This is because multiple accesses can take "
2745 "place, and it's generally better for data consistency if nobody tries to "
2746 "modify the data while this is happening. Of course, write access is "
2747 "supported for those cases where you do want to update the config data in the "
2748 "directory."
2749 msgstr ""
2750 "Данный драйвер базы данных позволяет использовать каталоги LDAP для хранения "
2751 "данных debconf. По своей природе каталоги LDAP обычно доступны только для "
2752 "чтения. Это результат влияния множественного одновременного доступа, и это "
2753 "обычно лучше для целостности данных, если никто не пытается изменять данные "
2754 "одновременно. Естественно, поддерживается режим записи для тех случаев когда "
2755 "вам нужно обновить данные настройки в каталоге."
2756
2757 # type: Plain text
2758 #. type: Plain text
2759 #: debconf.conf.5:229
2760 msgid ""
2761 "For information about setting up a LDAP server for debconf, read /usr/share/"
2762 "doc/debconf-doc/README.LDAP (from the debconf-doc package)."
2763 msgstr ""
2764 "О том как настроить LDAP сервер для debconf читайте в /usr/share/doc/debconf-"
2765 "doc/README.LDAP (из пакета debconf-doc)."
2766
2767 # type: Plain text
2768 #. type: Plain text
2769 #: debconf.conf.5:232
2770 msgid ""
2771 "To use this database driver, you must have the libnet-ldap-perl package "
2772 "installed. Debconf suggests that package, but does not depend on it."
2773 msgstr ""
2774 "Чтобы использовать данный драйвер базы данных вы должны установить пакет "
2775 "libnet-ldap-perl. Debconf предлагает данный пакет, но не зависит от него."
2776
2777 # type: Plain text
2778 #. type: Plain text
2779 #: debconf.conf.5:236
2780 msgid ""
2781 "Please carefully consider the security implications of using a remote "
2782 "debconf database. Unless you trust the source, and you trust the intervening "
2783 "network, it is not a very safe thing to do."
2784 msgstr ""
2785 "Внимательно отнеситесь к вопросам безопасности при использовании удалённой "
2786 "базы данных debconf. Если вы не доверяете источнику или сети доставки, "
2787 "безопасней не использовать данный драйвер."
2788
2789 # type: TP
2790 #. type: TP
2791 #: debconf.conf.5:239
2792 #, no-wrap
2793 msgid "B<server>"
2794 msgstr "B<server>"
2795
2796 # type: Plain text
2797 #. type: Plain text
2798 #: debconf.conf.5:242
2799 msgid "The host name or IP address of an LDAP server to connect to."
2800 msgstr "Имя узла или IP адрес LDAP сервера, к которому нужно подключаться."
2801
2802 # type: TP
2803 #. type: TP
2804 #: debconf.conf.5:242
2805 #, no-wrap
2806 msgid "B<port>"
2807 msgstr "B<port>"
2808
2809 # type: Plain text
2810 #. type: Plain text
2811 #: debconf.conf.5:246
2812 msgid ""
2813 "The port on which to connect to the LDAP server. If none is given, the "
2814 "default port is used."
2815 msgstr ""
2816 "Порт LDAP сервера, к которому нужно подключаться. Если не задан, то "
2817 "используется значение порта по умолчанию."
2818
2819 # type: TP
2820 #. type: TP
2821 #: debconf.conf.5:246
2822 #, no-wrap
2823 msgid "B<basedn>"
2824 msgstr "B<basedn>"
2825
2826 # type: Plain text
2827 #. type: Plain text
2828 #: debconf.conf.5:251
2829 msgid ""
2830 "The DN under which all config items will be stored. Each config item will be "
2831 "assumed to live in a DN of cn=E<lt>item nameE<gt>,E<lt>Base DNE<gt>. If this "
2832 "structure is not followed, all bets are off."
2833 msgstr ""
2834 "DN, под которым хранятся все элементы настройки. Предполагается, что каждый "
2835 "элемент расположен в DN как cn=E<lt>имя элементаE<gt>,E<lt>корневой элемент "
2836 "DNE<gt>. Если такая структура не соблюдается, тады ой."
2837
2838 # type: TP
2839 #. type: TP
2840 #: debconf.conf.5:251
2841 #, no-wrap
2842 msgid "B<binddn>"
2843 msgstr "B<binddn>"
2844
2845 # type: Plain text
2846 #. type: Plain text
2847 #: debconf.conf.5:255
2848 msgid ""
2849 "The DN to bind to the directory as. Anonymous bind will be used if none is "
2850 "specified."
2851 msgstr ""
2852 "DN для подключения к каталогу. Если указано none, то используется анонимное "
2853 "подключение."
2854
2855 # type: TP
2856 #. type: TP
2857 #: debconf.conf.5:255
2858 #, no-wrap
2859 msgid "B<bindpasswd>"
2860 msgstr "B<bindpasswd>"
2861
2862 # type: Plain text
2863 #. type: Plain text
2864 #: debconf.conf.5:259
2865 msgid ""
2866 "The password to use in an authenticated bind (used with binddn, above). If "
2867 "not specified, anonymous bind will be used."
2868 msgstr ""
2869 "Пароль для использования в аутентификационном подключении (используется "
2870 "вместе с binddn, описанном ранее). Если не указан, то используется анонимное "
2871 "подключение."
2872
2873 # type: Plain text
2874 #. type: Plain text
2875 #: debconf.conf.5:265
2876 msgid ""
2877 "This option should not be used in the general case. Anonymous binding should "
2878 "be sufficient most of the time for read-only access. Specifying a bind DN "
2879 "and password should be reserved for the occasional case where you wish to "
2880 "update the debconf configuration data."
2881 msgstr ""
2882 "Этот параметр не должен использоваться в общем случае. Анонимное подключение "
2883 "должно использоваться большую часть времени для доступа только на чтение. "
2884 "Указание DN подключения и пароля должно быть зарезервировано для редких "
2885 "случаев, когда вы хотите обновить данные о настройке debconf."
2886
2887 # type: TP
2888 #. type: TP
2889 #: debconf.conf.5:266
2890 #, no-wrap
2891 msgid "B<keybykey>"
2892 msgstr "B<keybykey>"
2893
2894 # type: Plain text
2895 #. type: Plain text
2896 #: debconf.conf.5:272
2897 msgid ""
2898 "Enable access to individual LDAP entries, instead of fetching them all at "
2899 "once in the beginning. This is very useful if you want to monitor your LDAP "
2900 "logs for specific debconf keys requested. In this way, you could also write "
2901 "custom handling code on the LDAP server part."
2902 msgstr ""
2903 "Включить доступ к отдельным записям в LDAP, а не получать их все сразу в "
2904 "начале. Это очень полезно при мониторинге журналов LDAP при запросе "
2905 "определённых ключей debconf. В этом случае вы также можете записать "
2906 "пользовательский код обработки на серверной части LDAP."
2907
2908 # type: Plain text
2909 #. type: Plain text
2910 #: debconf.conf.5:279
2911 msgid ""
2912 "Note that when this option is enabled, the connection to the LDAP server is "
2913 "kept active during the whole Debconf run. This is a little different from "
2914 "the all-in-one behavior where two brief connections are made to LDAP; in the "
2915 "beginning to retrieve all the entries, and in the end to save eventual "
2916 "changes."
2917 msgstr ""
2918 "Заметим, что когда этот параметр включён, соединение с сервером LDAP "
2919 "остаётся активным на всё время работы Debconf. Это слегка отличается от "
2920 "поведения при получении всего за один раз, где производятся два подключения "
2921 "к LDAP: в начале при получении всех записей, и в конце для записи "
2922 "произошедших изменений."
2923
2924 # type: Plain text
2925 #. type: Plain text
2926 #: debconf.conf.5:284
2927 msgid ""
2928 "An example stanza setting up a database using this driver, assuming the "
2929 "remote database is on example.com and can be accessed anonymously:"
2930 msgstr ""
2931 "Пример строки с настройками базы данных, использующей этот драйвер; "
2932 "предполагается, что используется удалённая база данных на example.com и она "
2933 "доступна анонимно:"
2934
2935 # type: Plain text
2936 #. type: Plain text
2937 #: debconf.conf.5:291
2938 #, no-wrap
2939 msgid ""
2940 " Name: ldapdb\n"
2941 " Driver: LDAP\n"
2942 " Readonly: true\n"
2943 " Server: example.com\n"
2944 " BaseDN: cn=debconf,dc=example,dc=com\n"
2945 " KeyByKey: 0\n"
2946 msgstr ""
2947 " Name: ldapdb\n"
2948 " Driver: LDAP\n"
2949 " Readonly: true\n"
2950 " Server: example.com\n"
2951 " BaseDN: cn=debconf,dc=example,dc=com\n"
2952 " KeyByKey: 0\n"
2953
2954 # type: Plain text
2955 #. type: Plain text
2956 #: debconf.conf.5:294
2957 msgid ""
2958 "Another example, this time the LDAP database is on localhost, and can be "
2959 "written to:"
2960 msgstr ""
2961 "Другой пример: база данных LDAP установлена на локальной машине(localhost) и "
2962 "в неё разрешена запись:"
2963
2964 # type: Plain text
2965 #. type: Plain text
2966 #: debconf.conf.5:301
2967 #, no-wrap
2968 msgid ""
2969 " Name: ldapdb\n"
2970 " Driver: LDAP\n"
2971 " Server: localhost\n"
2972 " BaseDN: cn=debconf,dc=domain,dc=com\n"
2973 " BindPasswd: secret\n"
2974 " KeyByKey: 1\n"
2975 msgstr ""
2976 " Name: ldapdb\n"
2977 " Driver: LDAP\n"
2978 " Server: localhost\n"
2979 " BaseDN: cn=debconf,dc=domain,dc=com\n"
2980 " BindPasswd: secret\n"
2981 " KeyByKey: 1\n"
2982
2983 # type: TP
2984 #. type: TP
2985 #: debconf.conf.5:302
2986 #, no-wrap
2987 msgid "B<Pipe>"
2988 msgstr "B<Pipe>"
2989
2990 # type: Plain text
2991 #. type: Plain text
2992 #: debconf.conf.5:307
2993 msgid ""
2994 "This special-purpose database driver reads and writes the database from "
2995 "standard input/output. It may be useful for people with special needs."
2996 msgstr ""
2997 "Специальный драйвер базы данных для чтения и записи базы данных со "
2998 "стандартного ввода/вывода. Он может быть полезным в нестандартных ситуациях."
2999
3000 # type: Plain text
3001 #. type: Plain text
3002 #: debconf.conf.5:314
3003 msgid ""
3004 "The format to read and write. See FORMATS below. Defaults to using a rfc-822 "
3005 "like format."
3006 msgstr ""
3007 "Формат чтения и записи. Смотрите раздел ФОРМАТЫ далее. По умолчанию "
3008 "используется rfc-822 подобный формат."
3009
3010 # type: TP
3011 #. type: TP
3012 #: debconf.conf.5:314
3013 #, no-wrap
3014 msgid "B<Infd>"
3015 msgstr "B<Infd>"
3016
3017 # type: Plain text
3018 #. type: Plain text
3019 #: debconf.conf.5:318
3020 msgid ""
3021 "File descriptor number to read from. Defaults to reading from stdin. If set "
3022 "to \"none\", the database will not read any data on startup."
3023 msgstr ""
3024 "Номер файлового дескриптора чтения. По умолчанию для чтения используется "
3025 "stdin. Если указано значение «none», то из базы данных при запуске чтение "
3026 "данных проводиться не будет."
3027
3028 # type: TP
3029 #. type: TP
3030 #: debconf.conf.5:318
3031 #, no-wrap
3032 msgid "B<Outfd>"
3033 msgstr "B<Outfd>"
3034
3035 # type: Plain text
3036 #. type: Plain text
3037 #: debconf.conf.5:322
3038 msgid ""
3039 "File descriptor number to write to. Defaults to writing to stdout. If set to "
3040 "\"none\", the database will be thrown away on shutdown."
3041 msgstr ""
3042 "Номер файлового дескриптора записи. По умолчанию для записи используется "
3043 "stdout. Если указано значение «none», то база данных при выходе будет "
3044 "выброшена."
3045
3046 # type: Plain text
3047 #. type: Plain text
3048 #: debconf.conf.5:326
3049 msgid "That's all of the real drivers, now moving on to meta-drivers.."
3050 msgstr "Это все реальные драйверы, теперь переходим к мета-драйверам."
3051
3052 # type: TP
3053 #. type: TP
3054 #: debconf.conf.5:326 debconf.conf.5:354
3055 #, no-wrap
3056 msgid "B<Stack>"
3057 msgstr "B<Stack>"
3058
3059 # type: Plain text
3060 #. type: Plain text
3061 #: debconf.conf.5:335
3062 msgid ""
3063 "This driver stacks up a number of other databases (of any type), and allows "
3064 "them to be accessed as one. When debconf asks for a value, the first "
3065 "database on the stack that contains the value returns it. If debconf writes "
3066 "something to the database, the write normally goes to the first driver on "
3067 "the stack that has the item debconf is modifying, and if none do, the new "
3068 "item is added to the first writable database on the stack."
3069 msgstr ""
3070 "Данный драйвер объединяет в стек несколько разных баз данных (любых типов), "
3071 "и позволяет обращаться к ним как к одной. Когда у debconf запрашивают "
3072 "значение, то возвращается значение из первой базы данных стека, которая его "
3073 "содержит. Если debconf записывает что-то в базу данных, то запись обычно "
3074 "производится первым драйвером стека, который содержит изменяемое debconf "
3075 "значение, и если такого нет, то новое значение добавляется в первую "
3076 "доступную для записи базу данных стека."
3077
3078 # type: Plain text
3079 #. type: Plain text
3080 #: debconf.conf.5:343
3081 msgid ""
3082 "Things become more interesting if one of the databases on the stack is "
3083 "readonly. Consider a stack of the databases foo, bar, and baz, where foo and "
3084 "baz are both readonly. Debconf wants to change an item, and this item is "
3085 "only present in baz, which is readonly. The stack driver is smart enough to "
3086 "realize that won't work, and it will copy the item from baz to bar, and the "
3087 "write will take place in bar. Now the item in baz is shadowed by the item in "
3088 "bar, and it will not longer be visible to debconf."
3089 msgstr ""
3090 "Более интересной становится ситуация, если одна из баз данных стека доступна "
3091 "только для чтения. Рассмотрим стек с базами данных foo, bar и baz, где foo и "
3092 "baz доступны только для чтения. Debconf хочет изменить значение, и это "
3093 "значение имеется только в baz, но она доступна только для чтения. Драйвер "
3094 "stack достаточно сообразителен, чтобы не пытаться туда писать, и копирует "
3095 "элемент из baz в bar, и сохраняет изменения bar. Теперь значение в baz "
3096 "перекрыто значением из bar, и более не видно для debconf."
3097
3098 # type: Plain text
3099 #. type: Plain text
3100 #: debconf.conf.5:350
3101 msgid ""
3102 "This kind of thing is particularly useful if you want to point many systems "
3103 "at a central, readonly database, while still allowing things to be "
3104 "overridden on each system. When access controls are added to the picture, "
3105 "stacks allow you to do many other interesting things, like redirect all "
3106 "passwords to one database while a database underneath it handles everything "
3107 "else."
3108 msgstr ""
3109 "Такое поведение полезно, если вы хотите настроить много систем из "
3110 "центральной, доступной только на чтение базы данных, но хотите заменить "
3111 "некоторые значения для каждой системы. Если рассматривать ещё и контроль "
3112 "доступа, то стеки позволяют выполнять много других интересных вещей, типа "
3113 "перенаправления всех паролей в одну базу данных, в то время как близлежащая "
3114 "база данных хранит что-то ещё."
3115
3116 # type: Plain text
3117 #. type: Plain text
3118 #: debconf.conf.5:352
3119 msgid "Only one piece of configuration is needed to set up a stack:"
3120 msgstr "Только один параметр настройки требуется для настройки стека:"
3121
3122 # type: Plain text
3123 #. type: Plain text
3124 #: debconf.conf.5:358
3125 msgid ""
3126 "This is where you specify a list of other databases, by name, to tell it "
3127 "what makes up the stack."
3128 msgstr ""
3129 "В ней нужно указать список других баз данных, по имени, чтобы показать из "
3130 "чего состоит стек."
3131
3132 # type: Plain text
3133 #. type: Plain text
3134 #: debconf.conf.5:361 debconf.conf.5:387
3135 msgid "For example:"
3136 msgstr "Например:"
3137
3138 # type: Plain text
3139 #. type: Plain text
3140 #: debconf.conf.5:365
3141 #, no-wrap
3142 msgid ""
3143 " Name: megadb\n"
3144 " Driver: stack\n"
3145 " Stack: passworddb, configdb, companydb\n"
3146 msgstr ""
3147 " Name: megadb\n"
3148 " Driver: stack\n"
3149 " Stack: passworddb, configdb, companydb\n"
3150
3151 # type: Plain text
3152 #. type: Plain text
3153 #: debconf.conf.5:368
3154 msgid ""
3155 "WARNING: The stack driver is not very well tested yet. Use at your own risk."
3156 msgstr ""
3157 "ПРЕДУПРЕЖДЕНИЕ: Драйвер stack пока не был хорошо протестирован. Используйте "
3158 "на свой страх и риск."
3159
3160 # type: Plain text
3161 #. type: Plain text
3162 #: debconf.conf.5:374
3163 msgid ""
3164 "This driver passes all requests on to another database driver. But it also "
3165 "copies all write requests to a backup database driver."
3166 msgstr ""
3167 "Данный драйвер передаёт все запросы другому драйверу базы данных. Но он "
3168 "также копирует все запросы на запись драйверу резервной базы данных."
3169
3170 # type: Plain text
3171 #. type: Plain text
3172 #: debconf.conf.5:376 debconf.conf.5:400
3173 msgid "You must specify the following fields to set up this driver:"
3174 msgstr "Для настройки драйвера вы должны указать следующие поля:"
3175
3176 # type: TP
3177 #. type: TP
3178 #: debconf.conf.5:378 debconf.conf.5:402
3179 #, no-wrap
3180 msgid "B<Db>"
3181 msgstr "B<Db>"
3182
3183 # type: Plain text
3184 #. type: Plain text
3185 #: debconf.conf.5:381 debconf.conf.5:405
3186 msgid "The database to read from and write to."
3187 msgstr "База данных для чтения и записи."
3188
3189 # type: TP
3190 #. type: TP
3191 #: debconf.conf.5:381
3192 #, no-wrap
3193 msgid "B<Backupdb>"
3194 msgstr "B<Backupdb>"
3195
3196 # type: Plain text
3197 #. type: Plain text
3198 #: debconf.conf.5:384
3199 msgid "The name of the database to send copies of writes to."
3200 msgstr "Имя базы данных, куда посылаются копии запросов на запись."
3201
3202 # type: Plain text
3203 #. type: Plain text
3204 #: debconf.conf.5:392
3205 #, no-wrap
3206 msgid ""
3207 " Name: backup\n"
3208 " Driver: Backup\n"
3209 " Db: mydb\n"
3210 " Backupdb: mybackupdb\n"
3211 msgstr ""
3212 " Name: backup\n"
3213 " Driver: Backup\n"
3214 " Db: mydb\n"
3215 " Backupdb: mybackupdb\n"
3216
3217 # type: Plain text
3218 #. type: Plain text
3219 #: debconf.conf.5:398
3220 msgid ""
3221 "This driver passes all requests on to another database driver, outputting "
3222 "verbose debugging output about the request and the result."
3223 msgstr ""
3224 "Этот драйвер передаёт все запросы другому драйверу базы данных, выводя "
3225 "подробную информацию для отладки о запросе и результате."
3226
3227 # type: SH
3228 #. type: SH
3229 #: debconf.conf.5:407
3230 #, no-wrap
3231 msgid "ACCESS CONTROLS"
3232 msgstr "УПРАВЛЕНИЕ ДОСТУПОМ"
3233
3234 # type: Plain text
3235 #. type: Plain text
3236 #: debconf.conf.5:411
3237 msgid ""
3238 "When you set up a database, you can also use some fields to specify access "
3239 "controls. You can specify that a database only accepts passwords, for "
3240 "example, or make a database only accept things with \"foo\" in their name."
3241 msgstr ""
3242 "При настройке базы данных, помимо прочего вы можете использовать некоторые "
3243 "поля для управления доступом. Вы можете указать, например, что база данных "
3244 "хранит только пароли, или сделать, чтобы база данных хранила только данные в "
3245 "имени которых есть выражение «foo»."
3246
3247 # type: TP
3248 #. type: TP
3249 #: debconf.conf.5:411
3250 #, no-wrap
3251 msgid "B<Readonly>"
3252 msgstr "B<Readonly>"
3253
3254 # type: Plain text
3255 #. type: Plain text
3256 #: debconf.conf.5:416
3257 msgid ""
3258 "As was mentioned earlier, this access control, if set to \"true\", makes a "
3259 "database readonly. Debconf will read values from it, but will never write "
3260 "anything to it."
3261 msgstr ""
3262 "Как уже упоминалось, данное управление доступом, если установлено в «true», "
3263 "то база данных становится доступной только для чтения. Debconf будет читать "
3264 "значения из неё, но не никогда не будет что-либо писать."
3265
3266 # type: TP
3267 #. type: TP
3268 #: debconf.conf.5:416
3269 #, no-wrap
3270 msgid "B<Accept-Name>"
3271 msgstr "B<Accept-Name>"
3272
3273 # type: Plain text
3274 #. type: Plain text
3275 #: debconf.conf.5:422
3276 msgid ""
3277 "The text in this field is a perl-compatible regular expression that is "
3278 "matched against the names of items as they are requested from the database. "
3279 "Only if an items name matches the regular expression, will the database "
3280 "allow debconf to access or modify it."
3281 msgstr ""
3282 "Текст в этом поле должен быть perl-совместимым регулярным выражением, с "
3283 "которым сравниваются имена при запросе данных из базы. База данных позволяет "
3284 "debconf получить доступ или изменять данные, только если имена элементов "
3285 "подпадают под регулярное выражение."
3286
3287 # type: TP
3288 #. type: TP
3289 #: debconf.conf.5:422
3290 #, no-wrap
3291 msgid "B<Reject-Name>"
3292 msgstr "B<Reject-Name>"
3293
3294 # type: Plain text
3295 #. type: Plain text
3296 #: debconf.conf.5:426
3297 msgid ""
3298 "Like Accept-Name, except any item name matching this regular expression will "
3299 "be rejected."
3300 msgstr ""
3301 "Подобно Accept-Name, за исключением того, что любое подпадающее под "
3302 "регулярное выражение имя будет отклонено."
3303
3304 # type: TP
3305 #. type: TP
3306 #: debconf.conf.5:426
3307 #, no-wrap
3308 msgid "B<Accept-Type>"
3309 msgstr "B<Accept-Type>"
3310
3311 # type: Plain text
3312 #. type: Plain text
3313 #: debconf.conf.5:431
3314 msgid ""
3315 "Another regular expression, this matches against the type of the item that "
3316 "is being accessed. Only if the type matches the regex will access be granted."
3317 msgstr ""
3318 "Другое регулярное выражение, с ним сравнивается тип элемента, к которому "
3319 "осуществляется доступ. Доступ будет разрешён только если тип подпадает под "
3320 "регулярное выражение."
3321
3322 # type: TP
3323 #. type: TP
3324 #: debconf.conf.5:431
3325 #, no-wrap
3326 msgid "B<Reject-Type>"
3327 msgstr "B<Reject-Type>"
3328
3329 # type: Plain text
3330 #. type: Plain text
3331 #: debconf.conf.5:435
3332 msgid ""
3333 "Like Accept-Type, except any type matching this regular expression will be "
3334 "rejected."
3335 msgstr ""
3336 "Подобно Accept-Type, за исключением того, что любой подпадающий под "
3337 "регулярное выражение тип будет отклонён."
3338
3339 # type: SH
3340 #. type: SH
3341 #: debconf.conf.5:435
3342 #, no-wrap
3343 msgid "FORMATS"
3344 msgstr "ФОРМАТЫ"
3345
3346 # type: Plain text
3347 #. type: Plain text
3348 #: debconf.conf.5:439
3349 msgid ""
3350 "Some of the database drivers use format modules to control the actual format "
3351 "in which the database is stored on disk. These formats are currently "
3352 "supported:"
3353 msgstr ""
3354 "Некоторые драйверы баз данных используют модули формата для управления "
3355 "реальным форматом, в котором база данных хранится на диске. Поддерживаемые "
3356 "форматы:"
3357
3358 # type: TP
3359 #. type: TP
3360 #: debconf.conf.5:439
3361 #, no-wrap
3362 msgid "B<822>"
3363 msgstr "B<822>"
3364
3365 # type: Plain text
3366 #. type: Plain text
3367 #: debconf.conf.5:444
3368 msgid ""
3369 "This is a file format loosely based upon the rfc-822 format for email "
3370 "message headers. Similar formats are used throughout Debian; in the dpkg "
3371 "status file, and so on."
3372 msgstr ""
3373 "Данный формат файла основан на формате rfc-822 заголовков почтовых "
3374 "сообщений. Похожие форматы широко используются в Debian; например в файле "
3375 "status программы dpkg и т.д."
3376
3377 # type: Plain text
3378 #. type: Plain text
3379 #: debconf.conf.5:446
3380 msgid "Here is a more complicated example of a debconf.conf file."
3381 msgstr "Вот более сложный пример файла debconf.conf."
3382
3383 # type: Plain text
3384 #. type: Plain text
3385 #: debconf.conf.5:452
3386 #, no-wrap
3387 msgid ""
3388 " # This stanza is used for general debconf setup.\n"
3389 " Config: stack\n"
3390 " Templates: templates\n"
3391 " Log: developer\n"
3392 " Debug: developer\n"
3393 msgstr ""
3394 " # Эта строка используется для общей настройки debconf.\n"
3395 " Config: stack\n"
3396 " Templates: templates\n"
3397 " Log: developer\n"
3398 " Debug: developer\n"
3399
3400 # type: Plain text
3401 #. type: Plain text
3402 #: debconf.conf.5:457
3403 #, no-wrap
3404 msgid ""
3405 " # This is my own local database.\n"
3406 " Name: mydb\n"
3407 " Driver: DirTree\n"
3408 " Directory: /var/cache/debconf/config\n"
3409 msgstr ""
3410 " # Это моя собственная локальная база данных.\n"
3411 " Name: mydb\n"
3412 " Driver: DirTree\n"
3413 " Directory: /var/cache/debconf/config\n"
3414
3415 # type: Plain text
3416 #. type: Plain text
3417 #: debconf.conf.5:469
3418 #, no-wrap
3419 msgid ""
3420 " # This is another database that I use to hold\n"
3421 " # only X server configuration.\n"
3422 " Name: X\n"
3423 " Driver: File\n"
3424 " Filename: /etc/X11/debconf.dat\n"
3425 " Mode: 644\n"
3426 " # It's sorta hard to work out what questions\n"
3427 " # belong to X; it should be using a deeper\n"
3428 " # tree structure so I could just match on ^X/\n"
3429 " # Oh well.\n"
3430 " Accept-Name: xserver|xfree86|xbase\n"
3431 msgstr ""
3432 " # Это другая база данных, которую я использую только для\n"
3433 " # хранения настройки X сервера.\n"
3434 " Name: X\n"
3435 " Driver: File\n"
3436 " Filename: /etc/X11/debconf.dat\n"
3437 " Mode: 644\n"
3438 " # Это сложно -- определить какие вопросы\n"
3439 " # принадлежат X; здесь должна использоваться сложная\n"
3440 " # древовидная структура, чтобы я мог просто сравнить с выражением ^X/\n"
3441 " # Уф.\n"
3442 " Accept-Name: xserver|xfree86|xbase\n"
3443
3444 # type: Plain text
3445 #. type: Plain text
3446 #: debconf.conf.5:485
3447 #, no-wrap
3448 msgid ""
3449 " # This is our company's global, read-only\n"
3450 " # (for me!) debconf database.\n"
3451 " Name: company\n"
3452 " Driver: LDAP\n"
3453 " Server: debconf.foo.com\n"
3454 " BaseDN: cn=debconf,dc=foo,dc=com\n"
3455 " BindDN: uid=admin,dc=foo,dc=com\n"
3456 " BindPasswd: secret\n"
3457 " Readonly: true\n"
3458 " # I don't want any passwords that might be\n"
3459 " # floating around in there.\n"
3460 " Reject-Type: password\n"
3461 " # If this db is not accessible for whatever\n"
3462 " # reason, carry on anyway.\n"
3463 " Required: false\n"
3464 msgstr ""
3465 " # Это наша глобальная база данных debconf всей компании,\n"
3466 " # доступная только на чтение (для меня!).\n"
3467 " Name: company\n"
3468 " Driver: LDAP\n"
3469 " Server: debconf.foo.com\n"
3470 " BaseDN: cn=debconf,dc=foo,dc=com\n"
3471 " BindDN: uid=admin,dc=foo,dc=com\n"
3472 " BindPasswd: secret\n"
3473 " Readonly: true\n"
3474 " # Я не хочу, чтобы пароли брались\n"
3475 " # откуда-то ещё.\n"
3476 " Reject-Type: password\n"
3477 " # Если эта db недоступна по какой-то причине --\n"
3478 " # продолжать работать.\n"
3479 " Required: false\n"
3480
3481 # type: Plain text
3482 #. type: Plain text
3483 #: debconf.conf.5:493
3484 #, no-wrap
3485 msgid ""
3486 " # I use this database to hold\n"
3487 " # passwords safe and secure.\n"
3488 " Name: passwords\n"
3489 " Driver: File\n"
3490 " Filename: /etc/debconf/passwords\n"
3491 " Mode: 600\n"
3492 " Accept-Type: password\n"
3493 msgstr ""
3494 " # Я использую эту базу данных для хранения\n"
3495 " # паролей невредимыми и в безопасности.\n"
3496 " Name: passwords\n"
3497 " Driver: File\n"
3498 " Filename: /etc/debconf/passwords\n"
3499 " Mode: 600\n"
3500 " Accept-Type: password\n"
3501
3502 # type: Plain text
3503 #. type: Plain text
3504 #: debconf.conf.5:506
3505 #, no-wrap
3506 msgid ""
3507 " # Let's put them all together\n"
3508 " # in a database stack.\n"
3509 " Name: stack\n"
3510 " Driver: Stack\n"
3511 " Stack: passwords, X, mydb, company\n"
3512 " # So, all passwords go to the password database.\n"
3513 " # Most X configuration stuff goes to the X\n"
3514 " # database, and anything else goes to my main\n"
3515 " # database. Values are looked up in each of those\n"
3516 " # in turn, and if none has a particular value, it\n"
3517 " # is looked up in the company-wide LDAP database\n"
3518 " # (unless it's a password).\n"
3519 msgstr ""
3520 " # Сложим все их вместе\n"
3521 " # в стек базы данных.\n"
3522 " Name: stack\n"
3523 " Driver: Stack\n"
3524 " Stack: passwords, X, mydb, company\n"
3525 " # Итак, все пароли хранятся в базе данных паролей.\n"
3526 " # Большинство настроек X берутся из базы данных X,\n"
3527 " # а всё остальное берётся из моей главной базы\n"
3528 " # данных. Значения ищутся в каждой из них по очереди,\n"
3529 " # и если значение не находится, то просматривается\n"
3530 " # LDAP база данных компании\n"
3531 " # (за исключением значений паролей).\n"
3532
3533 # type: Plain text
3534 #. type: Plain text
3535 #: debconf.conf.5:514
3536 #, no-wrap
3537 msgid ""
3538 " # A database is also used to hold templates. We\n"
3539 " # don't need to make this as fancy.\n"
3540 " Name: templates\n"
3541 " Driver: File\n"
3542 " Mode: 644\n"
3543 " Format: 822\n"
3544 " Filename: /var/cache/debconf/templates\n"
3545 msgstr ""
3546 " # В базе данных также хранятся шаблоны. Тут\n"
3547 " # нам не нужно ничего изобретать.\n"
3548 " Name: templates\n"
3549 " Driver: File\n"
3550 " Mode: 644\n"
3551 " Format: 822\n"
3552 " Filename: /var/cache/debconf/templates\n"
3553
3554 # type: Content of: <refentry><refsect1><title>
3555 #. type: SH
3556 #: debconf.conf.5:514 confmodule.3:22
3557 #, no-wrap
3558 msgid "NOTES"
3559 msgstr "ЗАМЕЧАНИЯ"
3560
3561 # type: Plain text
3562 #. type: Plain text
3563 #: debconf.conf.5:517
3564 msgid ""
3565 "If you use something like ${HOME} in this file, it will be replaced with the "
3566 "value of the named environment variable."
3567 msgstr ""
3568 "Если вы задействуете что-то типа ${HOME} в этом файле, то оно будет заменено "
3569 "значением с именем переменной окружения."
3570
3571 # type: Plain text
3572 #. type: Plain text
3573 #: debconf.conf.5:521
3574 msgid ""
3575 "Environment variables can also be used to override the databases on the fly, "
3576 "see B<debconf>(7)"
3577 msgstr ""
3578 "Переменные окружения также могут использоваться для изменения базы данных на "
3579 "лету, смотрите B<debconf>(7)."
3580
3581 # type: Plain text
3582 #. type: Plain text
3583 #: debconf.conf.5:524
3584 msgid ""
3585 "The field names (the part of the line before the colon) is case-insensitive. "
3586 "The values, though, are case sensitive."
3587 msgstr ""
3588 "Имена полей (часть строки перед двоеточием) не зависят от регистра символов. "
3589 "Но значения зависят от регистра символов."
3590
3591 # type: SH
3592 #. type: SH
3593 #: debconf.conf.5:524
3594 #, no-wrap
3595 msgid "PLANNED ENHANCEMENTS"
3596 msgstr "ПЛАНИРУЕМЫЕ УЛУЧШЕНИЯ"
3597
3598 # type: Plain text
3599 #. type: Plain text
3600 #: debconf.conf.5:533
3601 msgid ""
3602 "More drivers and formats. Some ideas include: A SQL driver, with the "
3603 "capability to access a remote database. A DHCP driver, that makes available "
3604 "some special things like hostname, IP address, and DNS servers. A driver "
3605 "that pulls values out of public DNS records TXT fields. A format that is "
3606 "compatible with the output of cdebconf. An override driver, which can "
3607 "override the value field or flags of all requests that pass through it."
3608 msgstr ""
3609 "Ещё драйверов и форматов. Есть идея включить: драйвер SQL с возможностью "
3610 "доступа к удалённой базе данных, драйвер DHCP, который сделает доступными "
3611 "некоторые специальные вещи типа имени машины, IP адрес и DNS серверы, "
3612 "драйвер, который стягивает значения из публичных DNS записей полей TXT, "
3613 "формат, совместимый с выводом cdebconf, драйвер override, который сможет "
3614 "заменять значения поля или флагов во всех запросах, переданных через него."
3615
3616 # type: Content of: <refentry><refsect1><title>
3617 #. type: SH
3618 #: debconf.conf.5:533
3619 #, no-wrap
3620 msgid "FILES"
3621 msgstr "ФАЙЛЫ"
3622
3623 # type: Plain text
3624 #. type: Plain text
3625 #: debconf.conf.5:535
3626 msgid "/etc/debconf.conf"
3627 msgstr "/etc/debconf.conf"
3628
3629 # type: Plain text
3630 #. type: Plain text
3631 #: debconf.conf.5:537
3632 msgid "~/.debconfrc"
3633 msgstr "~/.debconfrc"
3634
3635 # type: Plain text
3636 #. type: Plain text
3637 #: debconf.conf.5:539
3638 msgid "B<debconf>(7)"
3639 msgstr "B<debconf>(7)"
3640
3641 # type: Plain text
3642 #. type: Plain text
3643 #: debconf.conf.5:540 confmodule.3:43 debconf.7:383 debconf-devel.7:969
3644 msgid "Joey Hess E<lt>[email protected]<gt>"
3645 msgstr "Joey Hess E<lt>[email protected]<gt>"
3646
3647 # type: TH
3648 #. type: TH
3649 #: confmodule.3:1
3650 #, no-wrap
3651 msgid "CONFMODULE"
3652 msgstr "CONFMODULE"
3653
3654 # type: Plain text
3655 #. type: Plain text
3656 #: confmodule.3:4
3657 msgid "confmodule - communicate with Debian configuration system FrontEnd."
3658 msgstr "confmodule - связь с интерфейсом системы настройки Debian."
3659
3660 # type: Plain text
3661 #. type: Plain text
3662 #: confmodule.3:12
3663 #, no-wrap
3664 msgid ""
3665 " #!/bin/sh -e\n"
3666 " . /usr/share/debconf/confmodule\n"
3667 " db_version 2.0\n"
3668 " db_capb 'backup'\n"
3669 " CAPB=$RET\n"
3670 " db_input 'foo/bar' || true\n"
3671 " db_go || true\n"
3672 msgstr ""
3673 " #!/bin/sh -e\n"
3674 " . /usr/share/debconf/confmodule\n"
3675 " db_version 2.0\n"
3676 " db_capb 'backup'\n"
3677 " CAPB=$RET\n"
3678 " db_input 'foo/bar' || true\n"
3679 " db_go || true\n"
3680
3681 # type: Plain text
3682 #. type: Plain text
3683 #: confmodule.3:22
3684 msgid ""
3685 "This is a library of shell functions that eases communication with Debian's "
3686 "configuration management system. It can communicate with a FrontEnd via the "
3687 "debconf protocol. The design is that each command in the protocol is "
3688 "represented by one function in this module. The functionname is the same as "
3689 "the command, except it is prefixed with \"db_\" and is lower-case. Call the "
3690 "function and pass in any parameters you want to follow the command. Any "
3691 "textual return code from the FrontEnd will be returned to you in the $RET "
3692 "variable, while the numeric return code from the FrontEnd will be returned "
3693 "as a return code (and so those return codes must be captured or ignored)."
3694 msgstr ""
3695 "Это библиотека функций на языке оболочки командной строки, которая позволяет "
3696 "легко взаимодействовать с системой управления настройкой Debian. Она может "
3697 "взаимодействовать с интерфейсной программой через debconf протокол. "
3698 "Конструкция библиотеки такова, что каждая команда в протоколе представлена "
3699 "одной функцией. Имя функции совпадает с названием команды, если не считать "
3700 "префикс «db_» и записи строчными буквами. При вызове функции передаются "
3701 "любые параметры, те же что и у команды. Любой текстовый возвращаемый "
3702 "интерфейсной программой код будет возвращён в переменной $RET, а числовой "
3703 "возвращаемый интерфейсной программой код будет возвращён как код завершения "
3704 "(и эти возвращаемые коды должны быть сохранены или проигнорированы)."
3705
3706 # type: Plain text
3707 #. type: Plain text
3708 #: confmodule.3:29
3709 #, no-wrap
3710 msgid ""
3711 "Once this library is loaded, any text you later output will go to standard\n"
3712 "error, rather than standard output. This is a good thing in general, because\n"
3713 "text sent to standard output is interpreted by the FrontEnd as commands. If\n"
3714 "you do want to send a command directly to the FrontEnd, you must output it\n"
3715 "to file descriptor 3, like this:\n"
3716 " echo GET foo/bar E<gt>&3\n"
3717 msgstr ""
3718 "После того, как библиотека загружена, все последующие выходные данные\n"
3719 "будут перенаправлены в стандартный поток ошибок, а не в стандартный выходной\n"
3720 "поток. В общем, это хорошо, так как текст посылаемый в стандартный вывод,\n"
3721 "воспринимается интерфейсной программой как команды. Если вы хотите послать\n"
3722 "команду интерфейсной программе напрямую, то нужно выдать её в файловый\n"
3723 "дескриптор 3, например:\n"
3724 " echo GET foo/bar E<gt>&3\n"
3725
3726 # type: Plain text
3727 #. type: Plain text
3728 #: confmodule.3:36
3729 msgid ""
3730 "The library checks to make sure it is actually speaking to a FrontEnd by "
3731 "examining the DEBIAN_HAS_FRONTEND variable. If it is set, a FrontEnd is "
3732 "assumed to be running. If not, the library turns into one, and runs a copy "
3733 "of the script that loaded the library connected to it. This means that if "
3734 "you source this library, you should do so very near to the top of your "
3735 "script, because everything before the sourcing of the library may well be "
3736 "run again."
3737 msgstr ""
3738 "Библиотека проверяет, что запущена именно интерфейсная программа, "
3739 "просматривая переменную окружения DEBIAN_HAS_FRONTEND. Если она установлена, "
3740 "то предполагается, что запущена интерфейсная программа. Если нет, то "
3741 "библиотека запускает одну из интерфейсных программ и выполняет копию "
3742 "сценария, который загрузил библиотеку, подключая его к интерфейсной "
3743 "программе. Это означает, что если источник библиотека, то вы должны "
3744 "выполнить её в сценарии как можно раньше, так как всё до загрузки библиотеки "
3745 "может выполниться ещё раз."
3746
3747 # type: Plain text
3748 #. type: Plain text
3749 #: confmodule.3:42
3750 msgid ""
3751 "B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
3752 "debconf_specification in the debian-policy package"
3753 msgstr ""
3754 "B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-reconfigure>(8), "
3755 "debconf_specification из пакета debian-policy"
3756
3757 # type: TH
3758 #. type: TH
3759 #: debconf.7:1
3760 #, no-wrap
3761 msgid "DEBCONF"
3762 msgstr "DEBCONF"
3763
3764 # type: Plain text
3765 #. type: Plain text
3766 #: debconf.7:4
3767 msgid "debconf - Debian package configuration system"
3768 msgstr "debconf - система настройки пакетов в Debian"
3769
3770 # type: Plain text
3771 #. type: Plain text
3772 #: debconf.7:8
3773 msgid ""
3774 "Debconf is a configuration system for Debian packages. There is a rarely-"
3775 "used command named debconf, documented in B<debconf>(1)"
3776 msgstr ""
3777 "Debconf — это система настройки пакетов в Debian. Она содержит редко "
3778 "используемую команду debconf, описанную в B<debconf>(1)"
3779
3780 # type: Plain text
3781 #. type: Plain text
3782 #: debconf.7:16
3783 msgid ""
3784 "Debconf provides a consistent interface for configuring packages, allowing "
3785 "you to choose from several user interface frontends. It supports "
3786 "preconfiguring packages before they are installed, which allows large "
3787 "installs and upgrades to ask you for all the necessary information up front, "
3788 "and then go do the work while you do something else. It lets you, if you're "
3789 "in a hurry, skip over less important questions and information while "
3790 "installing a package (and revisit it later)."
3791 msgstr ""
3792 "Debconf предоставляет единообразный интерфейс для настройки пакетов, "
3793 "позволяя вам выбирать из нескольких пользовательских программ настройки. Она "
3794 "поддерживает предварительную настройку пакетов перед их установкой, что "
3795 "позволяет выполнять большие объёмы установок и обновлений, выяснив в начале "
3796 "всю необходимую информацию, и затем продолжить работу, в то время как вы "
3797 "можете заняться чем-то другим. Она позволяет, если вы торопитесь, пропускать "
3798 "менее важные вопросы и информацию при установке пакета (и вернуться к этому "
3799 "позже)."
3800
3801 # type: SH
3802 #. type: SH
3803 #: debconf.7:16
3804 #, no-wrap
3805 msgid "Preconfiguring packages"
3806 msgstr "Предварительная настройка пакетов"
3807
3808 # type: Plain text
3809 #. type: Plain text
3810 #: debconf.7:22
3811 msgid ""
3812 "Debconf can configure packages before they are even installed onto your "
3813 "system. This is useful because it lets all the questions the packages are "
3814 "going to ask be asked at the beginning of an install, so the rest of the "
3815 "install can proceed while you are away getting a cup of coffee."
3816 msgstr ""
3817 "С помощью Debconf можно выполнить настройку пакетов перед тем как они будут "
3818 "установлены в систему. Хорошо, когда можно ответить на все вопросы пакетов в "
3819 "начале установки и пойти пить кофе пока производится установка."
3820
3821 # type: Plain text
3822 #. type: Plain text
3823 #: debconf.7:27
3824 msgid ""
3825 "If you use apt (version 0.5 or above), and you have apt-utils installed, "
3826 "each package apt installs will be automatically preconfigured. This is "
3827 "controlled via I</etc/apt/apt.conf.d/70debconf>"
3828 msgstr ""
3829 "Если вы используете apt (версии 0.5 или выше) и установлен пакет apt-utils, "
3830 "то каждый пакет при установке с помощью apt будет предварительно "
3831 "настраиваться. Это управляется через I</etc/apt/apt.conf.d/70debconf>"
3832
3833 # type: Plain text
3834 #. type: Plain text
3835 #: debconf.7:33
3836 msgid ""
3837 "Sometimes you might want to preconfigure a package by hand, when you're not "
3838 "installing it with apt. You can use B<dpkg-preconfigure>(8) to do that, "
3839 "just pass it the filenames of the packages you want to preconfigure. You "
3840 "will need apt-utils installed for that to work."
3841 msgstr ""
3842 "Иногда может понадобиться предварительно настроить пакет вручную, в случае "
3843 "если не используется apt для установки. Для этого вы можете использовать "
3844 "B<dpkg-preconfigure>(8), просто указав при запуске имена файла пакетов, "
3845 "которые нужно предварительно настроить. Для этого должен быть установлен "
3846 "пакет apt-utils."
3847
3848 # type: SH
3849 #. type: SH
3850 #: debconf.7:33
3851 #, no-wrap
3852 msgid "Reconfiguring packages"
3853 msgstr "Изменение настроек пакетов"
3854
3855 # type: Plain text
3856 #. type: Plain text
3857 #: debconf.7:40
3858 msgid ""
3859 "Suppose you installed the package, and answered debconf's questions, but now "
3860 "that you've used it awhile, you realize you want to go back and change some "
3861 "of your answers. In the past, reinstalling a package was often the thing to "
3862 "do when you got in this situation, but when you reinstall the package, "
3863 "debconf seems to remember you have answered the questions, and doesn't ask "
3864 "them again (this is a feature)."
3865 msgstr ""
3866 "Предположим вы установили пакет и ответили на вопросы debconf, но после "
3867 "недолгого использования решили, что хотите изменить некоторые ответы на "
3868 "вопросы. Раньше, переустановка пакета помогала в этом, но теперь при "
3869 "переустановке пакета окажется, что debconf запомнил ответы на вопросы и не "
3870 "задаст их снова (это особенность)."
3871
3872 # type: Plain text
3873 #. type: Plain text
3874 #: debconf.7:44
3875 #, no-wrap
3876 msgid ""
3877 "Luckily, debconf makes it easy to reconfigure any package that uses it.\n"
3878 "Suppose you want to reconfigure debconf itself. Just run, as root:\n"
3879 " dpkg-reconfigure debconf\n"
3880 msgstr ""
3881 "К счастью, debconf позволяет легко перенастроить любой пакет его использующий.\n"
3882 "Предположим, вы хотите перенастроить сам debconf. Просто запустите суперпользователем:\n"
3883 " dpkg-reconfigure debconf\n"
3884
3885 # type: Plain text
3886 #. type: Plain text
3887 #: debconf.7:49
3888 msgid ""
3889 "This will ask all the questions you saw when debconf was first installed. "
3890 "It may ask you other questions as well, since it asks even low priority "
3891 "questions that may have been skipped when the package was installed. You "
3892 "can use it on any other package that uses debconf, as well."
3893 msgstr ""
3894 "Вам будут заданы все вопросы, которые вы видели при установке debconf. Также "
3895 "могут появиться дополнительные вопросы, так как задаются вопросы с более "
3896 "низким приоритетом, которые могли быть пропущены при установке пакета. Вы "
3897 "можете перенастроить любой пакет, который использует debconf."
3898
3899 # type: SH
3900 #. type: SH
3901 #: debconf.7:49
3902 #, no-wrap
3903 msgid "Frontends"
3904 msgstr "Интерфейсы"
3905
3906 # type: Plain text
3907 #. type: Plain text
3908 #: debconf.7:53
3909 msgid ""
3910 "One of debconf's unique features is that the interface it presents to you is "
3911 "only one of many, that can be swapped in at will. There are many debconf "
3912 "frontends available:"
3913 msgstr ""
3914 "Одним из уникальных свойств debconf является то, что при желании можно "
3915 "использовать любой из многих интерфейсов. Доступные интерфейсы debconf:"
3916
3917 # type: TP
3918 #. type: TP
3919 #: debconf.7:53
3920 #, no-wrap
3921 msgid "B<dialog>"
3922 msgstr "B<диалоговый>"
3923
3924 # type: Plain text
3925 #. type: Plain text
3926 #: debconf.7:60
3927 msgid ""
3928 "The default frontend, this uses the B<whiptail>(1) or B<dialog>(1) "
3929 "programs to display questions to you. It works in text mode."
3930 msgstr ""
3931 "Интерфейс по умолчанию, использует программы B<whiptail>(1) или B<dialog>(1) "
3932 "для показа вопросов. Работает в текстовом режиме."
3933
3934 # type: TP
3935 #. type: TP
3936 #: debconf.7:60
3937 #, no-wrap
3938 msgid "B<readline>"
3939 msgstr "B<из командной строки>"
3940
3941 # type: Plain text
3942 #. type: Plain text
3943 #: debconf.7:72
3944 msgid ""
3945 "The most traditional frontend, this looks quite similar to how Debian "
3946 "configuration always has been: a series of questions, printed out at the "
3947 "console using plain text, and prompts done using the readline library. It "
3948 "even supports tab completion. The libterm-readline-gnu-perl package is "
3949 "strongly recommended if you chose to use this frontend; the default readline "
3950 "module does not support prompting with default values. At the minimum, "
3951 "you'll need the perl-modules package installed to use this frontend."
3952 msgstr ""
3953 "Наиболее традиционный интерфейс, он подобен тому, как всегда выполнялась "
3954 "настройка Debian: серия вопросов, вывод на консоль простым текстом, и "
3955 "приглашение, использующее библиотеку readline. Он даже поддерживает "
3956 "автодополнение по tab. Настоятельно рекомендуется пакет libterm-readline-gnu-"
3957 "perl, если вы выбрали этот интерфейс; модуль readline по умолчанию не "
3958 "поддерживает вывод значений по умолчанию. Как минимум, вам нужно установить "
3959 "пакет perl-modules для использования этого интерфейса."
3960
3961 # type: Plain text
3962 #. type: Plain text
3963 #: debconf.7:77
3964 msgid ""
3965 "This frontend has some special hotkeys. Pageup (or ctrl-u) will go back to "
3966 "the previous question (if that is supported by the package that is using "
3967 "debconf), and pagedown (or ctrl-v) will skip forward to the next question."
3968 msgstr ""
3969 "Этот интерфейс поддерживает несколько специальных горячих клавиш. С помощью "
3970 "Pageup (или ctrl-u) можно вернуться к предыдущему вопросу (если это "
3971 "поддерживается пакетом, который использует debconf), и по pagedown (or ctrl-"
3972 "v) можно перейти к следующему вопросу."
3973
3974 # type: Plain text
3975 #. type: Plain text
3976 #: debconf.7:80
3977 msgid ""
3978 "This is the best frontend for remote admin work over a slow connection, or "
3979 "for those who are comfortable with unix."
3980 msgstr ""
3981 "Это самый лучший интерфейс для удалённого администрирования через медленное "
3982 "соединение, или для тех кому больше нравится работать с unix."
3983
3984 # type: TP
3985 #. type: TP
3986 #: debconf.7:81
3987 #, no-wrap
3988 msgid "B<noninteractive>"
3989 msgstr "B<пакетный>"
3990
3991 # type: Plain text
3992 #. type: Plain text
3993 #: debconf.7:90
3994 msgid ""
3995 "This is the anti-frontend. It never interacts with you at all, and makes the "
3996 "default answers be used for all questions. It might mail error messages to "
3997 "root, but that's it; otherwise it is completely silent and unobtrusive, a "
3998 "perfect frontend for automatic installs. If you are using this front-end, "
3999 "and require non-default answers to questions, you will need to preseed the "
4000 "debconf database; see the section below on Unattended Package Installation "
4001 "for more details."
4002 msgstr ""
4003 "Это анти-интерфейс. Он вообще не взаимодействует с вами и для всех вопросов "
4004 "использует ответы по умолчанию. Изредка он может посылать по почте сообщения "
4005 "суперпользователю о пакете, но это всё; он молчалив и скромен, идеальный "
4006 "интерфейс для автоматической установки. Если вы используете этот интерфейс, "
4007 "и вам нужны ответы не по умолчанию, то нужно заранее ввести их в базу данных "
4008 "debconf; подробности смотрите в разделе далее «Установка пакета без "
4009 "обслуживания»."
4010
4011 # type: TP
4012 #. type: TP
4013 #: debconf.7:90
4014 #, no-wrap
4015 msgid "B<gnome>"
4016 msgstr "B<gnome>"
4017
4018 # type: Plain text
4019 #. type: Plain text
4020 #: debconf.7:96
4021 msgid ""
4022 "This is a modern X GUI using the gtk and gnome libraries. Of course, it "
4023 "requires a valid DISPLAY to work; debconf will fall back to other frontends "
4024 "if it can't work. Note that this frontend requires you have the libgtk3-perl "
4025 "package installed."
4026 msgstr ""
4027 "Это современный графический X-интерфейс, использующий библиотеки gtk и "
4028 "gnome. Естественно, для работы требуется правильное значение DISPLAY, иначе "
4029 "debconf перейдёт на другие интерфейсы. Заметим, что этому интерфейсу "
4030 "требуется установленный пакет libgtk3-perl."
4031
4032 #. type: TP
4033 #: debconf.7:96
4034 #, no-wrap
4035 msgid "B<kde>"
4036 msgstr "B<kde>"
4037
4038 #. type: Plain text
4039 #: debconf.7:102
4040 #, fuzzy
4041 #| msgid ""
4042 #| "This frontend provides a simple X GUI written with the Qt library. It "
4043 #| "fits well the KDE desktop. You of course need a DISPLAY to use this "
4044 #| "frontend and must install libqt-perl. The frontend will fall back to "
4045 #| "dialog if some of the prerequisites are not met."
4046 msgid ""
4047 "This frontend provides a modern X GUI based on the KDE Platform. You of "
4048 "course need a DISPLAY to use this frontend and you must install debconf-kde-"
4049 "helper package. The frontend will fall back to dialog if some of the "
4050 "prerequisites are not met."
4051 msgstr ""
4052 "Этот интерфейс предоставляет простой графический интерфейс для X, "
4053 "использующий библиотеку Qt. Он хорошо подходит для рабочего стола KDE. "
4054 "Естественно, для этого требуется установленная переменная DISPLAY и пакет "
4055 "libqt-perl. Интерфейс переключится на диалоговый, если чего-то не хватит."
4056
4057 # type: TP
4058 #. type: TP
4059 #: debconf.7:102
4060 #, no-wrap
4061 msgid "B<editor>"
4062 msgstr "B<из текстового редактора>"
4063
4064 # type: Plain text
4065 #. type: Plain text
4066 #: debconf.7:110
4067 msgid ""
4068 "This is for those fanatics who have to do everything in a text editor. It "
4069 "runs your editor on a file that looks something like a typical unix config "
4070 "file, and you edit the file to communicate with debconf. Debconf's author "
4071 "prefers to not comment regarding the circumstances that led to this frontend "
4072 "being written."
4073 msgstr ""
4074 "Для фанатиков, любящих всё делать из текстового редактора. Он запускает ваш "
4075 "редактор с файлом, который выглядит как обычный файл настройки unix, и вы "
4076 "редактируете файл для связи с debconf. Автор debconf предпочитает не "
4077 "комментировать обстоятельства, которые сподвигли к написанию этого "
4078 "интерфейса."
4079
4080 # type: TP
4081 #. type: TP
4082 #: debconf.7:110
4083 #, no-wrap
4084 msgid "B<web>"
4085 msgstr "B<веб-интерфейс>"
4086
4087 # type: Plain text
4088 #. type: Plain text
4089 #: debconf.7:120
4090 msgid ""
4091 "This frontend acts as a web server, that you connect to with your web "
4092 "browser, to browse the questions and answer them. It has a lot of promise, "
4093 "but is a little rough so far. When this frontend starts up, it will print "
4094 "out the location you should point your web browser to. You have to run the "
4095 "web browser on the same machine you are configuring, for security reasons."
4096 msgstr ""
4097 "Этот интерфейс работает как веб сервер, к которому вы подключаетесь с "
4098 "помощью веб браузера для получения вопросов и ответов на них. Это звучит "
4099 "многообещающе, но пока немного не доделано. При запуске интерфейса, он "
4100 "выводит адрес, который вы должны указать в веб-браузере. С целью "
4101 "безопасности запускайте веб-браузер на той же машине, которую настраиваете."
4102
4103 # type: Plain text
4104 #. type: Plain text
4105 #: debconf.7:126
4106 msgid ""
4107 "Do keep in mind that this is not a very secure frontend. Anyone who has "
4108 "access to the computer being configured can currently access the web server "
4109 "and configure things while this frontend is running. So this is more of a "
4110 "proof of concept than anything."
4111 msgstr ""
4112 "Помните, что это очень небезопасный интерфейс. Любой, кто получит доступ к "
4113 "компьютеру во время настройки может подключиться к веб-серверу и выполнить "
4114 "настройку во время работы интерфейса. Поэтому это не более чем "
4115 "доказательство концепции."
4116
4117 # type: Plain text
4118 #. type: Plain text
4119 #: debconf.7:133
4120 #, no-wrap
4121 msgid ""
4122 "You can change the default frontend debconf uses by reconfiguring\n"
4123 "debconf. On the other hand, if you just want to change the frontend\n"
4124 "for a minute, you can set the DEBIAN_FRONTEND environment variable to\n"
4125 "the name of the frontend to use. For example:\n"
4126 " DEBIAN_FRONTEND=readline apt-get install slrn\n"
4127 msgstr ""
4128 "Вы можете изменить интерфейс по умолчанию debconf выполнив перенастройку\n"
4129 "debconf. С другой стороны, если вы просто хотите изменить интерфейс\n"
4130 "ненадолго, вы можете установить в переменной окружения DEBIAN_FRONTEND\n"
4131 "название нужного интерфейса. Пример:\n"
4132 " DEBIAN_FRONTEND=readline apt-get install slrn\n"
4133
4134 # type: Plain text
4135 #. type: Plain text
4136 #: debconf.7:141
4137 msgid ""
4138 "The B<dpkg-reconfigure>(8) and B<dpkg-preconfigure>(8) commands also let "
4139 "you pass I<--frontend=> to them, followed by the frontend you want them to "
4140 "use."
4141 msgstr ""
4142 "Команды B<dpkg-reconfigure>(8) и B<dpkg-preconfigure>(8) также позволяют "
4143 "задать интерфейс с помощью параметра I<--frontend=>."
4144
4145 # type: Plain text
4146 #. type: Plain text
4147 #: debconf.7:145
4148 msgid ""
4149 "Note that not all frontends will work in all circumstances. If a frontend "
4150 "fails to start up for some reason, debconf will print out a message "
4151 "explaining why, and fall back to the next-most similar frontend."
4152 msgstr ""
4153 "Заметим, что не все интерфейсы работают во всех случаях. Если интерфейс не "
4154 "удалось запустить по какой-то причине, debconf покажет сообщение объясняющее "
4155 "почему, и перейдёт к запуску другого похожего интерфейса."
4156
4157 # type: SH
4158 #. type: SH
4159 #: debconf.7:145
4160 #, no-wrap
4161 msgid "Priorities"
4162 msgstr "Приоритеты"
4163
4164 # type: Plain text
4165 #. type: Plain text
4166 #: debconf.7:152
4167 msgid ""
4168 "Another nice feature of debconf is that the questions it asks you are "
4169 "prioritized. If you don't want to be bothered about every little thing, you "
4170 "can set up debconf to only ask you the most important questions. On the "
4171 "other hand, if you are a control freak, you can make it show you all "
4172 "questions. Each question has a priority. In increasing order of importance:"
4173 msgstr ""
4174 "Другим замечательным свойством debconf является то, что задаваемые вопросы "
4175 "имеют приоритет. Если вы не хотите беспокоиться о каждом пустяке, то можете "
4176 "указать debconf задавать наиболее важные вопросы. С другой стороны, если вы "
4177 "фанат контроля, то можете сделать так, что будут показываться все вопросы. "
4178 "Каждый вопрос имеет приоритет. В порядке увеличения важности:"
4179
4180 # type: TP
4181 #. type: TP
4182 #: debconf.7:152 debconf-devel.7:294
4183 #, no-wrap
4184 msgid "B<low>"
4185 msgstr "B<low>"
4186
4187 # type: Plain text
4188 #. type: Plain text
4189 #: debconf.7:156
4190 msgid ""
4191 "Very trivial questions that have defaults that will work in the vast "
4192 "majority of cases."
4193 msgstr ""
4194 "Очень простые вопросы, для которых значения по умолчанию подойдут в "
4195 "большинстве случаев."
4196
4197 # type: TP
4198 #. type: TP
4199 #: debconf.7:156 debconf-devel.7:298
4200 #, no-wrap
4201 msgid "B<medium>"
4202 msgstr "B<medium>"
4203
4204 # type: Plain text
4205 #. type: Plain text
4206 #: debconf.7:159
4207 msgid "Normal questions that have reasonable defaults."
4208 msgstr "Обычные вопросы с разумными значениями по умолчанию."
4209
4210 # type: TP
4211 #. type: TP
4212 #: debconf.7:159 debconf-devel.7:301
4213 #, no-wrap
4214 msgid "B<high>"
4215 msgstr "B<high>"
4216
4217 # type: Plain text
4218 #. type: Plain text
4219 #: debconf.7:162
4220 msgid "Questions that don't have a reasonable default."
4221 msgstr "Вопросы без разумных значений по умолчанию."
4222
4223 # type: TP
4224 #. type: TP
4225 #: debconf.7:162 debconf-devel.7:304
4226 #, no-wrap
4227 msgid "B<critical>"
4228 msgstr "B<critical>"
4229
4230 # type: Plain text
4231 #. type: Plain text
4232 #: debconf.7:165
4233 msgid "Questions that you really, really need to see (or else)."
4234 msgstr "Вопросы, которые нужно, действительно нужно посмотреть (а не то...)."
4235
4236 # type: Plain text
4237 #. type: Plain text
4238 #: debconf.7:175
4239 msgid ""
4240 "Only questions with a priority equal to or greater than the priority you "
4241 "choose will be shown to you. You can set the priority value by reconfiguring "
4242 "debconf, or temporarily by passing I<--priority=> followed by the value to "
4243 "the B<dpkg-reconfigure>(8) and B<dpkg-preconfigure>(8) commands, or by "
4244 "setting the DEBIAN_PRIORITY environment variable."
4245 msgstr ""
4246 "Будут показаны только вопросы с выбранным вами приоритетом и выше. Вы можете "
4247 "установить значение приоритета с помощью перенастройки debconf, или "
4248 "временно, передав I<--priority=> значение командам B<dpkg-reconfigure>(8) и "
4249 "B<dpkg-preconfigure>(8), или установив переменную окружения DEBIAN_PRIORITY."
4250
4251 # type: SH
4252 #. type: SH
4253 #: debconf.7:175
4254 #, no-wrap
4255 msgid "Backend Database"
4256 msgstr "Среда хранения базы данных"
4257
4258 # type: Plain text
4259 #. type: Plain text
4260 #: debconf.7:187
4261 msgid ""
4262 "Debconf uses a rather flexible and potentially complicated backend database "
4263 "for storing data such as the answers to questions. The file B</etc/debconf."
4264 "conf> is used to configure this database. If you need to set up something "
4265 "complicated, like make debconf read a remote database to get defaults, with "
4266 "local overrides, read the B<debconf.conf>(5) man page for all the gory "
4267 "details. Generally, the backend database is located in B</var/cache/debconf/"
4268 "> ."
4269 msgstr ""
4270 "Debconf использует чрезвычайно гибкую и потенциально сложную среду базы "
4271 "данных для хранения вопросов и ответов. Для настройки базы данных "
4272 "используется файл B</etc/debconf.conf>. Если вам нужно сделать более сложную "
4273 "настройку, например заставить debconf читать значения по умолчанию из "
4274 "удалённой базы данных, сохраняя локальные замены, обратитесь к справочной "
4275 "странице B<debconf.conf>(5). Как правило база данных расположена в каталоге "
4276 "B</var/cache/debconf/>."
4277
4278 # type: SH
4279 #. type: SH
4280 #: debconf.7:187
4281 #, no-wrap
4282 msgid "Unattended Package Installation"
4283 msgstr "Установка пакета без обслуживания"
4284
4285 # type: Plain text
4286 #. type: Plain text
4287 #: debconf.7:194
4288 msgid ""
4289 "If you have many machines to manage you will sometimes find yourself in the "
4290 "position of needing to perform an unattended installation or upgrade of "
4291 "packages on many systems, when the default answers to some configuration "
4292 "questions are not acceptable. There are many ways to approach this; all "
4293 "involve setting up a database and making debconf use it to get the answers "
4294 "you want."
4295 msgstr ""
4296 "Если вы обслуживаете много машин, то в какой-то момент вам потребуется "
4297 "выполнить установку или обновление пакетов на многих системах, но ответы о "
4298 "настройке по умолчанию вас не устраивают. Есть много способов сделать это; "
4299 "во всех нужно будет настроить базу данных и заставить debconf использовать "
4300 "её, чтобы получить ответы нужные вам."
4301
4302 # type: Plain text
4303 #. type: Plain text
4304 #: debconf.7:198
4305 msgid ""
4306 "You should really read B<debconf.conf>(5) before this section, as you need "
4307 "to understand how debconf's databases work."
4308 msgstr ""
4309 "Вам определённо следует прочитать B<debconf.conf>(5) перед этим разделом, "
4310 "так как вы должны понимать как работают базы данных debconf."
4311
4312 # type: Plain text
4313 #. type: Plain text
4314 #: debconf.7:205
4315 msgid ""
4316 "The easiest way to set up the database is to install the packages on one "
4317 "machine and answer their questions as usual. Or you might just use B<dpkg-"
4318 "preconfigure>(8) to configure a set of packages without actually installing "
4319 "them. Or you might even decide to write a plain text debconf database by "
4320 "hand or something."
4321 msgstr ""
4322 "Самый простой путь настроить базу данных &mdash; установить пакеты на одну "
4323 "машину, отвечая на все вопросы как обычно. Или вы можете просто использовать "
4324 "B<dpkg-preconfigure>(8) для настройки списка пакетов без их реальной "
4325 "установки. Также вы можете даже решиться на написание текстового файла базы "
4326 "данных debconf вручную или каким-то другим способом."
4327
4328 # type: Plain text
4329 #. type: Plain text
4330 #: debconf.7:209
4331 msgid ""
4332 "Once you have the database, you need to figure out how to make the remote "
4333 "systems use it. This depends of course on the configuration of those systems "
4334 "and what database types they are set up to use."
4335 msgstr ""
4336 "После того как есть база данных, вам нужно выяснить как её задействовать с "
4337 "удалённой машины. Это естественно зависит от настройки этих систем и какой "
4338 "тип базы данных на них настроен."
4339
4340 # type: Plain text
4341 #. type: Plain text
4342 #: debconf.7:213
4343 msgid ""
4344 "If you are using the LDAP debconf database, an entire network of debian "
4345 "machines can also have any or all package installation questions answered "
4346 "automatically by a single LDAP server."
4347 msgstr ""
4348 "Если вы пользуетесь LDAP базой данных debconf, то вся сеть машин debian "
4349 "может брать все ответы на вопросы любого или всех пакетов с одного сервера "
4350 "LDAP."
4351
4352 # type: Plain text
4353 #. type: Plain text
4354 #: debconf.7:222
4355 msgid ""
4356 "But perhaps you're using something a little bit easier to set up like, say, "
4357 "the default debconf database configuration, or you just don't want your "
4358 "remote systems to use LDAP all the time. In this case the best approach is "
4359 "to temporarily configure the remote systems to stack your database "
4360 "underneath their own existing databases, so they pull default values out of "
4361 "it. Debconf offers two environment variables, DEBCONF_DB_FALLBACK and "
4362 "DEBCONF_DB_OVERRIDE, to make it easy to do this on the fly. Here is a sample "
4363 "use:"
4364 msgstr ""
4365 "Но возможно вы будете использовать что-то более лёгкое в настройке, скажем, "
4366 "настройку базы данных debconf по умолчанию, или просто не хотите, чтобы "
4367 "удалённые системы постоянно использовали LDAP. В этом случае самое лучшее — "
4368 "временно поместить на удалённых системах вашу базу данных в стек ниже "
4369 "существующих баз данных, так чтобы из неё брались значения по умолчанию. "
4370 "Debconf предлагает две переменные окружения, DEBCONF_DB_FALLBACK и "
4371 "DEBCONF_DB_OVERRIDE, для лёгкого выполнения этого на лету. Пример:"
4372
4373 # type: Plain text
4374 #. type: Plain text
4375 #: debconf.7:226
4376 #, no-wrap
4377 msgid ""
4378 " cat /var/cache/debconf/config.dat | \\e\n"
4379 " ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
4380 " DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"
4381 msgstr ""
4382 " cat /var/cache/debconf/config.dat | \\e\n"
4383 " ssh root@target \"DEBIAN_FRONTEND=noninteractive \\e\n"
4384 " DEBCONF_DB_FALLBACK=Pipe apt-get upgrade\"\n"
4385
4386 # type: Plain text
4387 #. type: Plain text
4388 #: debconf.7:232
4389 msgid ""
4390 "This makes the debconf on the remote host read in the data that is piped "
4391 "across the ssh connection and interpret it as a plain text format debconf "
4392 "database. It then uses that database as a fallback database -- a read-only "
4393 "database that is queried for answers to questions if the system's main "
4394 "debconf database lacks answers."
4395 msgstr ""
4396 "Это заставляет debconf на удалённой машине прочитать данные, которые были "
4397 "переданы по каналу через соединение ssh и рассматривать их как базу данных "
4398 "debconf формата простого текста. Затем он использует эту базу данных как "
4399 "резервную: базу данных только для чтения, из которой берутся ответы на "
4400 "вопросы, если их нет в системной главной базе данных debconf."
4401
4402 # type: Plain text
4403 #. type: Plain text
4404 #: debconf.7:234
4405 msgid "Here's another way to use the DEBCONF_DB_FALLBACK environment variable:"
4406 msgstr ""
4407 "Вот другой способ использования переменной окружения DEBCONF_DB_FALLBACK:"
4408
4409 # type: Plain text
4410 #. type: Plain text
4411 #: debconf.7:237
4412 #, no-wrap
4413 msgid ""
4414 " ssh -R 389:ldap:389 root@target \\e\n"
4415 " \t\"DEBCONF_DB_FALLBACK='LDAP{host:localhost}' apt-get upgrade\"\n"
4416 msgstr ""
4417 " ssh -R 389:ldap:389 root@target \\e\n"
4418 " \t\"DEBCONF_DB_FALLBACK='LDAP{host:localhost}' apt-get upgrade\"\n"
4419
4420 # type: Plain text
4421 #. type: Plain text
4422 #: debconf.7:242
4423 msgid ""
4424 "Here ssh is used to set up a tunneled LDAP connection and run debconf. "
4425 "Debconf is told to use the LDAP server as the fallback database. Note the "
4426 "use of \"{host:localhost}\" to configure how debconf accesses the LDAP "
4427 "database by providing the \"host\" field with a value of \"localhost\"."
4428 msgstr ""
4429 "Здесь используется ssh для настройки туннеля до LDAP и запуска debconf. Для "
4430 "debconf указывается использовать сервер LDAP в качестве резервной базы "
4431 "данных. Заметим, что для настройки доступа debconf к базе данных LDAP "
4432 "используется «{host:localhost}» , то есть поле «host» имеет значение "
4433 "«localhost»."
4434
4435 # type: Plain text
4436 #. type: Plain text
4437 #: debconf.7:244
4438 msgid "Here's another method:"
4439 msgstr "Другой метод:"
4440
4441 # type: Plain text
4442 #. type: Plain text
4443 #: debconf.7:247
4444 #, no-wrap
4445 msgid ""
4446 " scp config.dat root@target:\n"
4447 " ssh root@target \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\n"
4448 msgstr ""
4449 " scp config.dat root@target:\n"
4450 " ssh root@target \"DEBCONF_DB_FALLBACK='File{/root/config.dat}' apt-get upgrade\n"
4451
4452 # type: Plain text
4453 #. type: Plain text
4454 #: debconf.7:252
4455 msgid ""
4456 "Here you copy the database over with scp, and then ssh over and make debconf "
4457 "use the file you copied over. This illustrates a shorthand you can use in "
4458 "the DEBCONF_DB_FALLBACK parameters -- if a field name is left off, it "
4459 "defaults to \"filename\"."
4460 msgstr ""
4461 "Здесь вы копируете базу данных с помощью scp, и затем через ssh debconf "
4462 "использует скопированный файл. Здесь показано как можно использовать "
4463 "сокращённую запись параметров DEBCONF_DB_FALLBACK — если поле имени "
4464 "отсутствует, то по умолчанию используется «имя файла»."
4465
4466 # type: Plain text
4467 #. type: Plain text
4468 #: debconf.7:261
4469 msgid ""
4470 "There is only one problem with these uses of the DEBCONF_DB_FALLBACK "
4471 "parameter: While the fallback database can provide answers to questions the "
4472 "other debconf databases have never seen, it is only queried as a fallback; "
4473 "after the other databases. If you need to instead temporarily override an "
4474 "existing value on the remote host, you should instead use the "
4475 "DEBCONF_DB_OVERRIDE variable. Like DEBCONF_DB_FALLBACK, it sets up a "
4476 "temporary database, but this database is consulted before any others, and "
4477 "can be used to override existing values."
4478 msgstr ""
4479 "Есть только одна проблема при использовании параметра DEBCONF_DB_FALLBACK: "
4480 "резервная база данных предоставляет ответы на вопросы, на которые не нашлось "
4481 "ответов в других базах данных, она служит только как резервная; после других "
4482 "баз данных. Если вам нужно вместо временной заменить существующие значения "
4483 "на удалённом узле, вы должны использовать переменную DEBCONF_DB_OVERRIDE. "
4484 "Подобно DEBCONF_DB_FALLBACK, она указывает на временную базу данных, но эта "
4485 "база данных просматривается раньше всех остальных, и может использоваться "
4486 "для замены существующих значений."
4487
4488 # type: SH
4489 #. type: SH
4490 #: debconf.7:261
4491 #, no-wrap
4492 msgid "Developing for Debconf"
4493 msgstr "Разработка с Debconf"
4494
4495 # type: Plain text
4496 #. type: Plain text
4497 #: debconf.7:266
4498 msgid ""
4499 "Package developers and others who want to develop packages that use debconf "
4500 "should read B<debconf-devel>(7) ."
4501 msgstr ""
4502 "Разработчикам пакетов и всем, кто хочет разрабатывать пакеты, использующие "
4503 "debconf, нужно прочитать B<debconf-devel>(7)."
4504
4505 # type: Plain text
4506 #. type: Plain text
4507 #: debconf.7:274
4508 msgid ""
4509 "Briefly, debconf communicates with maintainer scripts or other programs via "
4510 "standard input and output, using a simple line-oriented command language "
4511 "similar to that used by common internet protocols such as SMTP. Programs use "
4512 "this protocol to ask debconf to display questions to the user, and retrieve "
4513 "the user's answers. The questions themselves are defined in a separate file, "
4514 "called the \"templates file\", which has a format not unlike a debian "
4515 "control file."
4516 msgstr ""
4517 "Вкратце, debconf связывается с сценариями сопровождающего или другими "
4518 "программами через стандартные ввод и вывод, используя простой командный "
4519 "язык, одна команда на строку протокола, похожий на распространённые "
4520 "протоколы интернет типа SMTP. Программы через протокол просят debconf "
4521 "показать вопросы пользователю и получить ответы. Сами вопросы хранятся в "
4522 "отдельном файле, называемом «файл templates», который имеет формат почти не "
4523 "отличающийся от формата debian файла control."
4524
4525 # type: Plain text
4526 #. type: Plain text
4527 #: debconf.7:278
4528 msgid ""
4529 "Debian packages which use debconf typically provide both a templates file "
4530 "and a \"config\" script (run to preconfigure the package) in the control "
4531 "metadata section of the package."
4532 msgstr ""
4533 "Пакеты Debian, которые используют debconf, обычно предоставляют и файл "
4534 "templates и сценарий «config» (запускается во время предварительной "
4535 "настройки пакета), хранящиеся в управляющем разделе метаданных пакета."
4536
4537 # type: SH
4538 #. type: SH
4539 #: debconf.7:278
4540 #, no-wrap
4541 msgid "ENVIRONMENT"
4542 msgstr "ПЕРЕМЕННЫЕ ОКРУЖЕНИЯ"
4543
4544 # type: TP
4545 #. type: TP
4546 #: debconf.7:279
4547 #, no-wrap
4548 msgid "B<DEBIAN_FRONTEND>"
4549 msgstr "B<DEBIAN_FRONTEND>"
4550
4551 # type: Plain text
4552 #. type: Plain text
4553 #: debconf.7:282
4554 msgid "Used to temporarily change the frontend debconf uses. See above."
4555 msgstr ""
4556 "Используется для временного изменения интерфейса debconf. Смотрите ранее."
4557
4558 # type: TP
4559 #. type: TP
4560 #: debconf.7:282
4561 #, no-wrap
4562 msgid "B<DEBIAN_PRIORITY>"
4563 msgstr "B<DEBIAN_PRIORITY>"
4564
4565 # type: Plain text
4566 #. type: Plain text
4567 #: debconf.7:286
4568 msgid ""
4569 "Used to temporarily change the minimum priority of question debconf will "
4570 "display. See above."
4571 msgstr ""
4572 "Используется для временного изменения минимального приоритета задаваемых "
4573 "вопросов debconf. Описание смотрите ранее."
4574
4575 # type: TP
4576 #. type: TP
4577 #: debconf.7:286 debconf-devel.7:576
4578 #, no-wrap
4579 msgid "B<DEBCONF_DEBUG>"
4580 msgstr "B<DEBCONF_DEBUG>"
4581
4582 # type: Plain text
4583 #. type: Plain text
4584 #: debconf.7:292
4585 msgid ""
4586 "Turns on debugging output on standard error. May be set to a facility name "
4587 "or a regular expression which matches a facility name (such as '.*' to "
4588 "output all debug info). The facility names include:"
4589 msgstr ""
4590 "Отправлять отладочный вывод в стандартный поток ошибок. Может быть задано "
4591 "имя функции(facility) или регулярное выражение описывающее нужные функции "
4592 "(типа «.*», которое заставляет выводить всю отладочную информацию). Имена "
4593 "функций:"
4594
4595 # type: TP
4596 #. type: TP
4597 #: debconf.7:292
4598 #, no-wrap
4599 msgid "B<user>"
4600 msgstr "B<user>"
4601
4602 # type: Plain text
4603 #. type: Plain text
4604 #: debconf.7:295
4605 msgid "Debugging info of interest to a debconf user."
4606 msgstr "Отладочная информация, интересная пользователю debconf."
4607
4608 # type: TP
4609 #. type: TP
4610 #: debconf.7:295
4611 #, no-wrap
4612 msgid "B<developer>"
4613 msgstr "B<developer>"
4614
4615 # type: Plain text
4616 #. type: Plain text
4617 #: debconf.7:298
4618 msgid "Debugging info of interest to a package developer."
4619 msgstr "Отладочная информация, интересная разработчику пакета."
4620
4621 # type: TP
4622 #. type: TP
4623 #: debconf.7:298
4624 #, no-wrap
4625 msgid "B<db>"
4626 msgstr "B<db>"
4627
4628 # type: Plain text
4629 #. type: Plain text
4630 #: debconf.7:301
4631 msgid "Debugging info about the backend database."
4632 msgstr "Отладочная информация о среде хранения базы данных."
4633
4634 # type: TP
4635 #. type: TP
4636 #: debconf.7:302
4637 #, no-wrap
4638 msgid "B<DEBCONF_NOWARNINGS>"
4639 msgstr "B<DEBCONF_NOWARNINGS>"
4640
4641 # type: Plain text
4642 #. type: Plain text
4643 #: debconf.7:306
4644 msgid ""
4645 "Set to \"yes\" to disable some warnings that debconf may display. Does not "
4646 "suppress display of fatal errors."
4647 msgstr ""
4648 "Установите в «yes», чтобы выключить некоторые предупреждения, которые может "
4649 "выдавать debconf. Критические ошибки всё равно выводятся."
4650
4651 # type: TP
4652 #. type: TP
4653 #: debconf.7:306
4654 #, no-wrap
4655 msgid "B<DEBCONF_TERSE>"
4656 msgstr "B<DEBCONF_TERSE>"
4657
4658 # type: Plain text
4659 #. type: Plain text
4660 #: debconf.7:310
4661 msgid ""
4662 "Set to \"yes\" to enable terse mode, in which debconf frontends cut down on "
4663 "the verbiage as much as possible."
4664 msgstr ""
4665 "Установите в «yes», чтобы включить краткий режим вывода, в котором "
4666 "интерфейсы debconf сокращают свой поток сообщений насколько возможно."
4667
4668 # type: TP
4669 #. type: TP
4670 #: debconf.7:310
4671 #, no-wrap
4672 msgid "B<DEBCONF_DB_FALLBACK>"
4673 msgstr "B<DEBCONF_DB_FALLBACK>"
4674
4675 # type: Plain text
4676 #. type: Plain text
4677 #: debconf.7:320
4678 msgid ""
4679 "Stack a database after the normally used databases, so that it is used as a "
4680 "fallback to get configuration information from. See \"Unattended Package "
4681 "Installation\" above. If the value of the variable is the name of an "
4682 "existing database in debconf.conf, then that database will be used. "
4683 "Otherwise, the environment variable can be used to configure a database on "
4684 "the fly, by telling the type of database, and optionally passing field:value "
4685 "settings, inside curly braces after the type. Spaces are used to separate "
4686 "fields, so you cannot specify a field value containing whitespace."
4687 msgstr ""
4688 "База данных, использующаяся после всех обычных баз, поэтому она может "
4689 "использоваться как резервная для получения настройки. Смотрите ранее "
4690 "«Установка пакета без обслуживания». Если значение переменной — имя "
4691 "существующей базы данных в debconf.conf, то будет использоваться эта база "
4692 "данных. Иначе, переменная окружения может быть использована для настройки "
4693 "базы данных на лету, с помощью задания типа базы данных и необязательного "
4694 "передаваемых настроек поле:значение внутри фигурных скобок после типа. Для "
4695 "разделения полей используются пробелы, поэтому вы не можете указывать "
4696 "значение поля с пробелами."
4697
4698 # type: Plain text
4699 #. type: Plain text
4700 #: debconf.7:323
4701 #, no-wrap
4702 msgid ""
4703 "Thus, this uses the fallbackdb in debconf.conf:\n"
4704 " DEBCONF_DB_FALLBACK=fallbackdb\n"
4705 msgstr ""
4706 "Соответственно, здесь используется fallbackdb из debconf.conf:\n"
4707 " DEBCONF_DB_FALLBACK=fallbackdb\n"
4708
4709 # type: Plain text
4710 #. type: Plain text
4711 #: debconf.7:327
4712 #, no-wrap
4713 msgid ""
4714 "While this sets up a new database of type File, and tells it a filename to\n"
4715 "use and turns off backups:\n"
4716 " DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no}\n"
4717 msgstr ""
4718 "А здесь устанавливается новая база данных с типом File, указывается имя файла\n"
4719 "для неё и выключается резервное копия:\n"
4720 " DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no}\n"
4721
4722 # type: Plain text
4723 #. type: Plain text
4724 #: debconf.7:330
4725 #, no-wrap
4726 msgid ""
4727 "And as a shorthand, this sets up a database of type File with a filename:\n"
4728 " DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"
4729 msgstr ""
4730 "И для краткости, здесь устанавливается база данных с типом File и именем файла:\n"
4731 " DEBCONF_DB_FALLBACK=File{/root/config.dat}\n"
4732
4733 # type: Plain text
4734 #. type: Plain text
4735 #: debconf.7:333
4736 msgid ""
4737 "Note that if a fallback database is set up on the fly, it will be read-only "
4738 "by default."
4739 msgstr ""
4740 "Заметим, что если резервная база данных устанавливается на лету, то по "
4741 "умолчанию она доступна только для чтения."
4742
4743 # type: TP
4744 #. type: TP
4745 #: debconf.7:333
4746 #, no-wrap
4747 msgid "B<DEBCONF_DB_OVERRIDE>"
4748 msgstr "B<DEBCONF_DB_OVERRIDE>"
4749
4750 # type: Plain text
4751 #. type: Plain text
4752 #: debconf.7:338
4753 msgid ""
4754 "Stack a database before the normally used databases, so that it can override "
4755 "values from them. The value of the variable works the same as does the value "
4756 "of DEBCONF_DB_FALLBACK."
4757 msgstr ""
4758 "База данных, использующаяся перед всеми обычными базами, поэтому она может "
4759 "изменить их значения. Значение переменной задаётся так же как и для "
4760 "переменной DEBCONF_DB_FALLBACK."
4761
4762 # type: TP
4763 #. type: TP
4764 #: debconf.7:338
4765 #, no-wrap
4766 msgid "B<DEBCONF_DB_REPLACE>"
4767 msgstr "B<DEBCONF_DB_REPLACE>"
4768
4769 # type: Plain text
4770 #. type: Plain text
4771 #: debconf.7:343
4772 msgid ""
4773 "Use a given database instead of the normally used databases. This may be "
4774 "useful for testing with a separate database without having to create a "
4775 "separate debconf.conf, or to avoid locking the normal databases."
4776 msgstr ""
4777 "Использовать указанную базу данных вместо обычных. Это может быть полезно "
4778 "для тестирования с отдельной базой данных без создания отдельного файла "
4779 "debconf.conf, или чтобы избежать блокировки обычных баз данных."
4780
4781 # type: TP
4782 #. type: TP
4783 #: debconf.7:343
4784 #, no-wrap
4785 msgid "B<DEBCONF_SYSTEMRC>"
4786 msgstr "B<DEBCONF_SYSTEMRC>"
4787
4788 # type: Plain text
4789 #. type: Plain text
4790 #: debconf.7:349
4791 msgid ""
4792 "If this environment variable is set, debconf will ignore a user's ~/."
4793 "debconfrc file, and use the system one instead. If it is set to the name of "
4794 "a regular file, debconf will use that file in preference to the system "
4795 "configuration files."
4796 msgstr ""
4797 "Если эта переменная окружения установлена, debconf будет игнорировать "
4798 "пользовательский файл ~/.debconfrc, и использовать вместо него системный. "
4799 "Если в ней задано имя обычного файла, то debconf будет использовать этот "
4800 "файл вместо системных файлов настройки."
4801
4802 # type: TP
4803 #. type: TP
4804 #: debconf.7:349
4805 #, no-wrap
4806 msgid "B<DEBCONF_FORCE_DIALOG>"
4807 msgstr "B<DEBCONF_FORCE_DIALOG>"
4808
4809 # type: Plain text
4810 #. type: Plain text
4811 #: debconf.7:353
4812 msgid ""
4813 "If this environment variable is set, debconf will use dialog in preference "
4814 "to whiptail for the dialog frontend."
4815 msgstr ""
4816 "Если эта переменная окружения установлена, то debconf будет использовать "
4817 "dialog вместо whiptail для интерфейса dialog."
4818
4819 # type: TP
4820 #. type: TP
4821 #: debconf.7:353
4822 #, no-wrap
4823 msgid "B<DEBCONF_FORCE_XDIALOG>"
4824 msgstr "B<DEBCONF_FORCE_XDIALOG>"
4825
4826 # type: Plain text
4827 #. type: Plain text
4828 #: debconf.7:357
4829 msgid ""
4830 "If this environment variable is set, debconf will use Xdialog in preference "
4831 "to whiptail for the dialog frontend."
4832 msgstr ""
4833 "Если эта переменная окружения установлена, то debconf будет использовать "
4834 "Xdialog вместо whiptail для интерфейса dialog."
4835
4836 # type: TP
4837 #. type: TP
4838 #: debconf.7:357
4839 #, no-wrap
4840 msgid "B<DEBCONF_NONINTERACTIVE_SEEN>"
4841 msgstr "B<DEBCONF_NONINTERACTIVE_SEEN>"
4842
4843 # type: Plain text
4844 #. type: Plain text
4845 #: debconf.7:361
4846 msgid ""
4847 "Set to \"true\" to cause the seen flag to be set for questions asked in the "
4848 "noninteractive frontend."
4849 msgstr ""
4850 "Установка в «true» вызовет установку флага seen для вопросов заданных "
4851 "неинтерактивным интерфейсом."
4852
4853 # type: Content of: <refentry><refsect1><title>
4854 #. type: SH
4855 #: debconf.7:361
4856 #, no-wrap
4857 msgid "BUGS"
4858 msgstr "ОШИБКИ"
4859
4860 # type: Plain text
4861 #. type: Plain text
4862 #: debconf.7:363
4863 msgid "Probably quite a few, there's a lot of code here."
4864 msgstr "Вероятно имеются как и в любом другом коде большого размера."
4865
4866 # type: Plain text
4867 #. type: Plain text
4868 #: debconf.7:365
4869 msgid ""
4870 "If you do file a bug report, be sure to include the following information:"
4871 msgstr ""
4872 "При отправке отчёта об ошибке проверьте, что включили следующую информацию:"
4873
4874 # type: TP
4875 #. type: TP
4876 #: debconf.7:365 debconf.7:368 debconf.7:371 debconf-devel.7:469
4877 #: debconf-devel.7:473 debconf-devel.7:479 debconf-devel.7:484
4878 #: debconf-devel.7:489
4879 #, no-wrap
4880 msgid "B<*>"
4881 msgstr "B<*>"
4882
4883 # type: Plain text
4884 #. type: Plain text
4885 #: debconf.7:368
4886 msgid "The debconf frontend you were using when the problem occurred"
4887 msgstr "Название интерфейса debconf при работе с которым возникла ошибка"
4888
4889 # type: Plain text
4890 #. type: Plain text
4891 #: debconf.7:371
4892 msgid "What you did to trigger the problem."
4893 msgstr "Что вы сделали что возникла ошибка."
4894
4895 # type: Plain text
4896 #. type: Plain text
4897 #: debconf.7:376
4898 msgid ""
4899 "The full text of any error messages. If you can reproduce the bug, do so "
4900 "with DEBCONF_DEBUG='.*' set and exported. This speeds up debugging a lot."
4901 msgstr ""
4902 "Полный текст любых сообщений об ошибках. Если вы можете повторить эту "
4903 "ошибку, сделайте это с установленной переменной DEBCONF_DEBUG='.*'. Это "
4904 "намного ускорит отладку."
4905
4906 # type: Plain text
4907 #. type: Plain text
4908 #: debconf.7:382
4909 msgid ""
4910 "B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
4911 "reconfigure>(8), B<debconf>(1),"
4912 msgstr ""
4913 "B<debconf.conf>(5), B<debconf-devel>(7), B<dpkg-preconfigure>(8), B<dpkg-"
4914 "reconfigure>(8), B<debconf>(1),"
4915
4916 # type: TH
4917 #. type: TH
4918 #: debconf-devel.7:1
4919 #, no-wrap
4920 msgid "DEBCONF-DEVEL"
4921 msgstr "DEBCONF-DEVEL"
4922
4923 # type: Plain text
4924 #. type: Plain text
4925 #: debconf-devel.7:4
4926 msgid "debconf - developers guide"
4927 msgstr "debconf - руководство разработчика"
4928
4929 # type: Plain text
4930 #. type: Plain text
4931 #: debconf-devel.7:6
4932 msgid "This is a guide for developing packages that use debconf."
4933 msgstr ""
4934 "Данное руководство помогает при разработке пакетов, использующих debconf."
4935
4936 # type: Plain text
4937 #. type: Plain text
4938 #: debconf-devel.7:9
4939 msgid ""
4940 "This manual assumes that you are familiar with debconf as a user, and are "
4941 "familiar with the basics of debian package construction."
4942 msgstr ""
4943 "Предполагается, что вы знакомы с debconf как пользователь, а также знакомы с "
4944 "основами создания пакетов debian."
4945
4946 # type: Plain text
4947 #. type: Plain text
4948 #: debconf-devel.7:18
4949 msgid ""
4950 "This manual begins by explaining two new files that are added to debian "
4951 "packages that use debconf. Then it explains how the debconf protocol works, "
4952 "and points you at some libraries that will let your programs speak the "
4953 "protocol. It discusses other maintainer scripts that debconf is typically "
4954 "used in: the postinst and postrm scripts. Then moves on to more advanced "
4955 "topics like shared debconf templates, debugging, and some common techniques "
4956 "and pitfalls of programming with debconf. It closes with a discussion of "
4957 "debconf's current shortcomings."
4958 msgstr ""
4959 "Это руководство начинается с описания двух новых файлов, которые добавляются "
4960 "в пакеты debian, если они используют debconf. Затем объясняется работа "
4961 "протокола debconf и описываются некоторые библиотеки, которые позволят вашим "
4962 "программам работать с ним. В частности обсуждаются другие сценарии для "
4963 "сопровождения, которые обычно используются с debconf: сценарии postinst и "
4964 "postrm. Далее рассматриваются более сложные темы, например, общие шаблоны "
4965 "debconf, отладка и некоторые основные приёмы и ловушки при программировании "
4966 "с debconf. Завершает руководство описание имеющихся недостатков debconf."
4967
4968 # type: SH
4969 #. type: SH
4970 #: debconf-devel.7:18
4971 #, no-wrap
4972 msgid "THE CONFIG SCRIPT"
4973 msgstr "СЦЕНАРИЙ НАСТРОЙКИ"
4974
4975 # type: Plain text
4976 #. type: Plain text
4977 #: debconf-devel.7:23
4978 msgid ""
4979 "Debconf adds an additional maintainer script, the config script, to the set "
4980 "of maintainer scripts that can be in debian packages (the postinst, preinst, "
4981 "postrm, and prerm). The config script is responsible for asking any "
4982 "questions necessary to configure the package."
4983 msgstr ""
4984 "Debconf добавляет дополнительный сценарий сопровождения, сценарий config, "
4985 "который служит для настройки сопровождающих сценариев, имеющихся в пакетах "
4986 "debian (postinst, preinst, postrm и prerm). Сценарий config отвечает за "
4987 "выдачу всех вопросов настройки пакета."
4988
4989 # type: Plain text
4990 #. type: Plain text
4991 #: debconf-devel.7:28
4992 msgid ""
4993 "Note: It is a little confusing that dpkg refers to running a package's "
4994 "postinst script as \"configuring\" the package, since a package that uses "
4995 "debconf is often fully pre-configured, by its config script, before the "
4996 "postinst ever runs. Oh well."
4997 msgstr ""
4998 "Замечание: часто смущает тот факт, что dpkg ссылается на запущенный сценарий "
4999 "пакета postinst как на «настроечный», хотя пакет, который использует debconf "
5000 "часто полностью настроен своим сценарием config ещё до того как postinst "
5001 "даже будет запущен. Такие дела."
5002
5003 # type: Plain text
5004 #. type: Plain text
5005 #: debconf-devel.7:34
5006 msgid ""
5007 "Like the postinst, the config script is passed two parameters when it is "
5008 "run. The first tells what action is being performed, and the second is the "
5009 "version of the package that is currently installed. So, like in a postinst, "
5010 "you can use dpkg --compare-versions on $2 to make some behavior happen only "
5011 "on upgrade from a particular version of a package, and things like that."
5012 msgstr ""
5013 "Как и postinst, сценарию config передаётся два параметра при запуске. В "
5014 "первом задаётся действие, которое нужно выполнить, а во втором — версия "
5015 "установленного в данный момент пакета. Как и в postinst, вы можете применить "
5016 "dpkg --compare-versions к $2, чтобы выполнить данную команду только при "
5017 "обновлении с определённой версии пакета и тому подобных операций."
5018
5019 # type: Plain text
5020 #. type: Plain text
5021 #: debconf-devel.7:36
5022 msgid "The config script can be run in one of three ways:"
5023 msgstr "Сценарий config может быть запущен в трёх случаях:"
5024
5025 # type: TP
5026 #. type: TP
5027 #: debconf-devel.7:36
5028 #, no-wrap
5029 msgid "B<1>"
5030 msgstr "B<1>"
5031
5032 # type: Plain text
5033 #. type: Plain text
5034 #: debconf-devel.7:40
5035 msgid ""
5036 "If a package is pre-configured, with dpkg-preconfigure, its config script is "
5037 "run, and is passed the parameters \"configure\", and installed-version."
5038 msgstr ""
5039 "Во время предварительной настройки пакета из dpkg-preconfigure, который "
5040 "запускает сценарий config с параметрами «configure» и номером установленной "
5041 "версии."
5042
5043 # type: TP
5044 #. type: TP
5045 #: debconf-devel.7:40
5046 #, no-wrap
5047 msgid "B<2>"
5048 msgstr "B<2>"
5049
5050 # type: Plain text
5051 #. type: Plain text
5052 #: debconf-devel.7:47
5053 msgid ""
5054 "When a package's postinst is run, debconf will try to run the config script "
5055 "then too, and it will be passed the same parameters it was passed when it is "
5056 "pre-configured. This is necessary because the package might not have been "
5057 "pre-configured, and the config script still needs to get a chance to run. "
5058 "See HACKS for details."
5059 msgstr ""
5060 "При запуске postinst из пакета, debconf также попытается запустить сценарий "
5061 "config и передать те же параметры, что и в случае с предварительной "
5062 "настройкой пакета. Это необходимо, так как пакет может не быть "
5063 "предварительно настроен, и сценарию config даётся ещё одна попытка "
5064 "отработать. Подробней смотрите в разделе ХАКИ."
5065
5066 # type: TP
5067 #. type: TP
5068 #: debconf-devel.7:47
5069 #, no-wrap
5070 msgid "B<3>"
5071 msgstr "B<3>"
5072
5073 # type: Plain text
5074 #. type: Plain text
5075 #: debconf-devel.7:52
5076 msgid ""
5077 "If a package is reconfigured, with dpkg-reconfigure, its config script it "
5078 "run, and is passed the parameters \"reconfigure\" and installed-version."
5079 msgstr ""
5080 "При повторной настройке пакета с помощью dpkg-reconfigure, где сценарий "
5081 "config запускается с параметрами «reconfigure» и номером установленной "
5082 "версии."
5083
5084 # type: Plain text
5085 #. type: Plain text
5086 #: debconf-devel.7:58
5087 msgid ""
5088 "Note that since a typical package install or upgrade using apt runs steps 1 "
5089 "and 2, the config script will typically be run twice. It should do nothing "
5090 "the second time (to ask questions twice in a row is annoying), and it should "
5091 "definitely be idempotent. Luckily, debconf avoids repeating questions by "
5092 "default, so this is generally easy to accomplish."
5093 msgstr ""
5094 "Заметим, что так как типичная установка или обновление с помощью apt "
5095 "попадают под случаи 1 и 2, сценарий config обычно запускается дважды. Он "
5096 "ничего не должен делать во второй раз (отвечать на вопросы второй раз подряд "
5097 "раздражает), и определённо должен быть идемпотентен. К счастью, debconf "
5098 "избегает повторения вопросов по умолчанию, поэтому это легко достигается."
5099
5100 # type: Plain text
5101 #. type: Plain text
5102 #: debconf-devel.7:64
5103 msgid ""
5104 "Note that the config script is run before the package is unpacked. It should "
5105 "only use commands that are in essential packages. The only dependency of "
5106 "your package that is guaranteed to be met when its config script is run is a "
5107 "dependency (possibly versioned) on debconf itself."
5108 msgstr ""
5109 "Заметим, что сценарий config запускается перед распаковкой пакета. В нём "
5110 "должны использоваться только команды из пакетов первой необходимости. "
5111 "Единственная зависимость пакета, которая будет удовлетворена до запуска "
5112 "сценария config — это сам debconf (возможно указать версию)."
5113
5114 # type: Plain text
5115 #. type: Plain text
5116 #: debconf-devel.7:70
5117 msgid ""
5118 "The config script should not need to modify the filesystem at all. It just "
5119 "examines the state of the system, and asks questions, and debconf stores the "
5120 "answers to be acted on later by the postinst script. Conversely, the "
5121 "postinst script should almost never use debconf to ask questions, but should "
5122 "instead act on the answers to questions asked by the config script."
5123 msgstr ""
5124 "Сценарию config ничего не нужно изменять в файловой системе. Он должен "
5125 "просто проверить состояние системы и задать вопросы, а debconf сохранит "
5126 "ответы, которые требуют действий позже из сценария postinst. И наоборот, "
5127 "сценарий postinst не должен использовать debconf для задания вопросов, а "
5128 "вместо этого должен полагаться на ответы, полученные при работе сценария "
5129 "config."
5130
5131 # type: SH
5132 #. type: SH
5133 #: debconf-devel.7:70
5134 #, no-wrap
5135 msgid "THE TEMPLATES FILE"
5136 msgstr "ФАЙЛ TEMPLATES"
5137
5138 # type: Plain text
5139 #. type: Plain text
5140 #: debconf-devel.7:73
5141 msgid ""
5142 "A package that uses debconf probably wants to ask some questions. These "
5143 "questions are stored, in template form, in the templates file."
5144 msgstr ""
5145 "Пакету, использующему debconf, вероятно требуется задать некоторые вопросы. "
5146 "Эти вопросы хранятся в форме шаблона в файле templates."
5147
5148 # type: Plain text
5149 #. type: Plain text
5150 #: debconf-devel.7:78
5151 msgid ""
5152 "Like the config script, the templates file is put in the control.tar.gz "
5153 "section of a deb. Its format is similar to a debian control file; a set of "
5154 "stanzas separated by blank lines, with each stanza having a RFC822-like form:"
5155 msgstr ""
5156 "Как и сценарий config, файл templates находится в секции control.tar.gz deb "
5157 "файла. Его формат похож на формат debian файла control; секции строк, "
5158 "разделённые символами новой строки, каждая строка задана в RFC822-подобной "
5159 "форме:"
5160
5161 # type: Plain text
5162 #. type: Plain text
5163 #: debconf-devel.7:94
5164 #, no-wrap
5165 msgid ""
5166 " Template: foo/bar\n"
5167 " Type: string\n"
5168 " Default: foo\n"
5169 " Description: This is a sample string question.\n"
5170 " This is its extended description.\n"
5171 " .\n"
5172 " Notice that:\n"
5173 " - Like in a debian package description, a dot\n"
5174 " on its own line sets off a new paragraph.\n"
5175 " - Most text is word-wrapped, but doubly-indented\n"
5176 " text is left alone, so you can use it for lists\n"
5177 " of items, like this list. Be careful, since\n"
5178 " it is not word-wrapped, if it's too wide\n"
5179 " it will look bad. Using it for short items\n"
5180 " is best (so this is a bad example).\n"
5181 msgstr ""
5182 " Template: foo/bar\n"
5183 " Type: string\n"
5184 " Default: foo\n"
5185 " Description: Это пример строки вопроса.\n"
5186 " Это её дополнительное описание.\n"
5187 " .\n"
5188 " Заметим что:\n"
5189 " - как и в описании пакета debian точка\n"
5190 " в отдельной строке начинает новый параграф.\n"
5191 " - для большого текста выполняется перенос на новую строку, но текст\n"
5192 " с двойным отступом выводится как есть,\n"
5193 " вы можете использовать это для показа списков\n"
5194 " как сделано здесь. Осторожно, так как\n"
5195 " перенос не выполняется, это очень плохо сказывается на слишком\n"
5196 " длинных строках. Используйте это для коротких элементов\n"
5197 " (поэтому это плохой пример).\n"
5198
5199 # type: Plain text
5200 #. type: Plain text
5201 #: debconf-devel.7:99
5202 #, no-wrap
5203 msgid ""
5204 " Template: foo/baz\n"
5205 " Type: boolean\n"
5206 " Description: Clear enough, no?\n"
5207 " This is another question, of boolean type.\n"
5208 msgstr ""
5209 " Template: foo/baz\n"
5210 " Type: boolean\n"
5211 " Description: Вроде всё просто?\n"
5212 " Это другой вопрос, логического типа.\n"
5213
5214 # type: Plain text
5215 #. type: Plain text
5216 #: debconf-devel.7:103
5217 msgid ""
5218 "For some real-life examples of templates files, see /var/lib/dpkg/info/"
5219 "debconf.templates, and other .templates files in that directory."
5220 msgstr ""
5221 "Несколько рабочих примеров для файлов templates можно найти в /var/lib/dpkg/"
5222 "info/debconf.templates и других файлах .templates в этом каталоге."
5223
5224 # type: Plain text
5225 #. type: Plain text
5226 #: debconf-devel.7:105
5227 msgid "Let's look at each of the fields in turn.."
5228 msgstr "Давайте рассмотрим каждое из полей по очереди.."
5229
5230 # type: TP
5231 #. type: TP
5232 #: debconf-devel.7:105
5233 #, no-wrap
5234 msgid "B<Template>"
5235 msgstr "B<Template>"
5236
5237 # type: Plain text
5238 #. type: Plain text
5239 #: debconf-devel.7:111
5240 msgid ""
5241 "The name of the template, in the 'Template' field, is generally prefixed "
5242 "with the name of the package. After that the namespace is wide open; you can "
5243 "use a simple flat layout like the one above, or set up \"subdirectories\" "
5244 "containing related questions."
5245 msgstr ""
5246 "Название шаблона в поле «Template» обычно начинается с названия пакета. "
5247 "Далее можно использовать что угодно; вы можете использовать простую схему "
5248 "как в предыдущем примере или настроить «подкаталоги», содержащие похожие "
5249 "вопросы."
5250
5251 # type: TP
5252 #. type: TP
5253 #: debconf-devel.7:111
5254 #, no-wrap
5255 msgid "B<Type>"
5256 msgstr "B<Type>"
5257
5258 # type: Plain text
5259 #. type: Plain text
5260 #: debconf-devel.7:115
5261 msgid ""
5262 "The type of the template determines what kind of widget is displayed to the "
5263 "user. The currently supported types are:"
5264 msgstr ""
5265 "Тип шаблона, который определяет какого вида будет показан элемент. "
5266 "Поддерживаются:"
5267
5268 # type: TP
5269 #. type: TP
5270 #: debconf-devel.7:116
5271 #, no-wrap
5272 msgid "B<string>"
5273 msgstr "B<string>"
5274
5275 # type: Plain text
5276 #. type: Plain text
5277 #: debconf-devel.7:119
5278 msgid ""
5279 "Results in a free-form input field that the user can type any string into."
5280 msgstr ""
5281 "Поле ввода произвольных данных, в которое пользователь может ввести любую "
5282 "строку."
5283
5284 # type: TP
5285 #. type: TP
5286 #: debconf-devel.7:119
5287 #, no-wrap
5288 msgid "B<password>"
5289 msgstr "B<password>"
5290
5291 # type: Plain text
5292 #. type: Plain text
5293 #: debconf-devel.7:124
5294 msgid ""
5295 "Prompts the user for a password. Use this with caution; be aware that the "
5296 "password the user enters will be written to debconf's database. You should "
5297 "probably clean that value out of the database as soon as is possible."
5298 msgstr ""
5299 "Предлагает пользователю ввести пароль. Используйте с осторожностью; этот "
5300 "пароль будет сохранён в базу данных debconf. Вероятно, вы должны удалить это "
5301 "значение из базы как можно быстрее."
5302
5303 # type: TP
5304 #. type: TP
5305 #: debconf-devel.7:124
5306 #, no-wrap
5307 msgid "B<boolean>"
5308 msgstr "B<boolean>"
5309
5310 # type: Plain text
5311 #. type: Plain text
5312 #: debconf-devel.7:127
5313 msgid "A true/false choice."
5314 msgstr "Выбор true/false."
5315
5316 # type: TP
5317 #. type: TP
5318 #: debconf-devel.7:127
5319 #, no-wrap
5320 msgid "B<select>"
5321 msgstr "B<select>"
5322
5323 # type: Plain text
5324 #. type: Plain text
5325 #: debconf-devel.7:132
5326 msgid ""
5327 "A choice between one of a number of values. The choices must be specified in "
5328 "a field named 'Choices'. Separate the possible values with commas and "
5329 "spaces, like this:"
5330 msgstr ""
5331 "Выбор одного из указанных значений. Значения должны быть заданы в поле "
5332 "«Choices». Разделителями значений могут быть запятые и пробелы:"
5333
5334 # type: Plain text
5335 #. type: Plain text
5336 #: debconf-devel.7:134
5337 #, no-wrap
5338 msgid " Choices: yes, no, maybe\n"
5339 msgstr " Choices: да, нет, может_быть\n"
5340
5341 # type: TP
5342 #. type: TP
5343 #: debconf-devel.7:135
5344 #, no-wrap
5345 msgid "B<multiselect>"
5346 msgstr "B<multiselect>"
5347
5348 # type: Plain text
5349 #. type: Plain text
5350 #: debconf-devel.7:139
5351 msgid ""
5352 "Like the select data type, except the user can choose any number of items "
5353 "from the choices list (or choose none of them)."
5354 msgstr ""
5355 "Как и в типе данных select, выбор из списка, кроме того, что пользователь "
5356 "может выбрать сразу несколько значений из списка (или ни одного из них)."
5357
5358 # type: TP
5359 #. type: TP
5360 #: debconf-devel.7:139
5361 #, no-wrap
5362 msgid "B<note>"
5363 msgstr "B<note>"
5364
5365 # type: Plain text
5366 #. type: Plain text
5367 #: debconf-devel.7:147
5368 msgid ""
5369 "Rather than being a question per se, this datatype indicates a note that can "
5370 "be displayed to the user. It should be used only for important notes that "
5371 "the user really should see, since debconf will go to great pains to make "
5372 "sure the user sees it; halting the install for them to press a key. It's "
5373 "best to use these only for warning about very serious problems, and the "
5374 "error datatype is often more suitable."
5375 msgstr ""
5376 "Вместо вопроса как такового, этот тип данных задаёт примечание, которое "
5377 "может быть показано пользователю. Данный тип должен использоваться только "
5378 "для важных сообщений, которые пользователи обязательно должны увидеть, так "
5379 "как debconf обязательно сделает так, чтобы пользователь увидел это; "
5380 "установка остановится, пока не будет нажата клавиша. Данный тип лучше "
5381 "использовать только для предупреждений о серьёзных проблемах."
5382
5383 # type: TP
5384 #. type: TP
5385 #: debconf-devel.7:147
5386 #, no-wrap
5387 msgid "B<error>"
5388 msgstr "B<error>"
5389
5390 # type: Plain text
5391 #. type: Plain text
5392 #: debconf-devel.7:152
5393 msgid ""
5394 "This datatype is used for error messages, such as input validation errors. "
5395 "Debconf will show a question of this type even if the priority is too high "
5396 "or the user has already seen it."
5397 msgstr ""
5398 "Этот тип данных используется для сообщений об ошибках, таких как ошибки "
5399 "ввода данных. Debconf покажет вопрос этого типа даже если приоритет самый "
5400 "высокий и пользователь уже видел этот вопрос."
5401
5402 # type: TP
5403 #. type: TP
5404 #: debconf-devel.7:152
5405 #, no-wrap
5406 msgid "B<title>"
5407 msgstr "B<title>"
5408
5409 # type: Plain text
5410 #. type: Plain text
5411 #: debconf-devel.7:155
5412 msgid "This datatype is used for titles, to be set with the SETTITLE command."
5413 msgstr ""
5414 "Этот тип данных используется для заголовков, которые устанавливаются "
5415 "командой SETTITLE."
5416
5417 # type: TP
5418 #. type: TP
5419 #: debconf-devel.7:155
5420 #, no-wrap
5421 msgid "B<text>"
5422 msgstr "B<text>"
5423
5424 # type: Plain text
5425 #. type: Plain text
5426 #: debconf-devel.7:162
5427 msgid ""
5428 "This datatype can be used for fragments of text, such as labels, that can be "
5429 "used for cosmetic reasons in the displays of some frontends. Other frontends "
5430 "will not use it at all. There is no point in using this datatype yet, since "
5431 "no frontends support it well. It may even be removed in the future."
5432 msgstr ""
5433 "Данный тип данных может быть использован для показа частей текста, например "
5434 "ярлыков, которые могут использоваться в косметических целях отображения "
5435 "некоторыми интерфейсами. Некоторые интерфейсы вообще не используют этот тип. "
5436 "Пока нет общих принципов по использованию его, так как нет интерфейсов, "
5437 "которые поддерживают его хорошо. Может в будущем он будет вообще удалён."
5438
5439 # type: TP
5440 #. type: TP
5441 #: debconf-devel.7:163
5442 #, no-wrap
5443 msgid "B<Default>"
5444 msgstr "B<Default>"
5445
5446 # type: Plain text
5447 #. type: Plain text
5448 #: debconf-devel.7:171
5449 msgid ""
5450 "The 'Default' field tells debconf what the default value should be. For "
5451 "multiselect, it can be a list of choices, separated by commas and spaces, "
5452 "similar to the 'Choices' field. For select, it should be one of the choices. "
5453 "For boolean, it is \"true\" or \"false\", while it can be anything for a "
5454 "string, and it is ignored for passwords."
5455 msgstr ""
5456 "Поле «Default» указывает debconf, какое должно быть значение по умолчанию. "
5457 "Для multiselect это может быть список значений, разделённых запятыми или "
5458 "пробелами, как в поле «Choices». Для select — это одно значение из списка. "
5459 "Для boolean — это «true» или «false», хотя может использоваться любая "
5460 "строка, и она игнорируется для паролей."
5461
5462 # type: Plain text
5463 #. type: Plain text
5464 #: debconf-devel.7:178
5465 msgid ""
5466 "Don't make the mistake of thinking that the default field contains the "
5467 "\"value\" of the question, or that it can be used to change the value of the "
5468 "question. It does not, and cannot, it just provides a default value for the "
5469 "first time the question is displayed. To provide a default that changes on "
5470 "the fly, you'd have to use the SET command to change the value of a question."
5471 msgstr ""
5472 "Не подумайте, что поле значения по умолчанию содержит «ответ» на вопрос, или "
5473 "что он может быть использован для замены ответа на вопрос. Это не так, и не "
5474 "может быть так, он только предоставляет ответ по умолчанию при первом показе "
5475 "вопроса. Чтобы изменить значение по умолчанию на лету, используйте команду "
5476 "SET."
5477
5478 # type: TP
5479 #. type: TP
5480 #: debconf-devel.7:179
5481 #, no-wrap
5482 msgid "B<Description>"
5483 msgstr "B<Description>"
5484
5485 # type: Plain text
5486 #. type: Plain text
5487 #: debconf-devel.7:187
5488 msgid ""
5489 "The 'Description' field, like the description of a Debian package, has two "
5490 "parts: A short description and an extended description. Note that some "
5491 "debconf frontends don't display the long description, or might only display "
5492 "it if the user asks for help. So the short description should be able to "
5493 "stand on its own."
5494 msgstr ""
5495 "Поле «Description» подобно полю описания в пакете Debian, имеет две части: "
5496 "короткое описание и расширенное описание. Заметим, что некоторые интерфейсы "
5497 "к debconf не отображают длинное описание, или могут показать его, только "
5498 "если пользователь попросит показать помощь. Поэтому короткое описание должно "
5499 "отображать всю суть вопроса."
5500
5501 # type: Plain text
5502 #. type: Plain text
5503 #: debconf-devel.7:193
5504 msgid ""
5505 "If you can't think up a long description, then first, think some more. Post "
5506 "to debian-devel. Ask for help. Take a writing class! That extended "
5507 "description is important. If after all that you still can't come up with "
5508 "anything, leave it blank. There is no point in duplicating the short "
5509 "description."
5510 msgstr ""
5511 "Если вы не можете придумать длинного описания, то сначала подумайте ещё "
5512 "немного. Напишите в debian-devel. Попросите помочь. Возьмите урок по "
5513 "написанию! Длинное описание очень важно. Если после всего этого ничего не "
5514 "приходит в голову, оставьте поле пустым. Нет смысла дублировать то, что уже "
5515 "написано в коротком описании."
5516
5517 # type: Plain text
5518 #. type: Plain text
5519 #: debconf-devel.7:198
5520 msgid ""
5521 "Text in the extended description will be word-wrapped, unless it is prefixed "
5522 "by additional whitespace (beyond the one required space). You can break it "
5523 "up into separate paragraphs by putting \" .\" on a line by itself between "
5524 "them."
5525 msgstr ""
5526 "Текст в расширенном описании будет переноситься по словам, если он не "
5527 "начинается с дополнительного пробельного символа (после первого "
5528 "обязательного пробела). Вы можете разбить его на параграфы поместив « .» в "
5529 "пустой строке между параграфами."
5530
5531 # type: SH
5532 #. type: SH
5533 #: debconf-devel.7:199
5534 #, no-wrap
5535 msgid "QUESTIONS"
5536 msgstr "ВОПРОСЫ"
5537
5538 # type: Plain text
5539 #. type: Plain text
5540 #: debconf-devel.7:211
5541 msgid ""
5542 "A question is an instantiated template. By asking debconf to display a "
5543 "question, your config script can interact with the user. When debconf loads "
5544 "a templates file (this happens whenever a config or postinst script is run), "
5545 "it automatically instantiates a question from each template. It is actually "
5546 "possible to instantiate several independent questions from the same template "
5547 "(using the REGISTER command), but that is rarely necessary. Templates are "
5548 "static data that comes from the templates file, while questions are used to "
5549 "store dynamic data, like the current value of the question, whether a user "
5550 "has seen a question, and so on. Keep the distinction between a template and "
5551 "a question in mind, but don't worry too much about it."
5552 msgstr ""
5553 "Вопрос — это проиллюстрированный шаблон. Прося debconf показать вопрос, "
5554 "таким образом ваш сценарий config может взаимодействовать с пользователем. "
5555 "Когда debconf загружает файл templates (это происходит при запуске сценария "
5556 "config или postinst), он автоматически показывает вопрос каждого шаблона. На "
5557 "самом деле можно показать несколько независимых вопросов из одного шаблона "
5558 "(с помощью команды REGISTER), но это требуется редко. Шаблоны — это "
5559 "статические данные из файла templates, а вопросы используются для хранения "
5560 "динамических данных, таких как имеющийся ответ на вопрос, видел ли "
5561 "пользователь уже этот вопрос и тому подобное. Помните об этом различии между "
5562 "шаблоном и вопросом, но не стоит сильно забивать этим голову."
5563
5564 # type: SH
5565 #. type: SH
5566 #: debconf-devel.7:211
5567 #, no-wrap
5568 msgid "SHARED TEMPLATES"
5569 msgstr "ОБЩИЕ ШАБЛОНЫ"
5570
5571 # type: Plain text
5572 #. type: Plain text
5573 #: debconf-devel.7:218
5574 msgid ""
5575 "It's actually possible to have a template and a question that are shared "
5576 "among a set of packages. All the packages have to provide an identical copy "
5577 "of the template in their templates files. This can be useful if a bunch of "
5578 "packages need to ask the same question, and you only want to bother the user "
5579 "with it once. Shared templates are generally put in the shared/ pseudo-"
5580 "directory in the debconf template namespace."
5581 msgstr ""
5582 "Фактически, есть возможность иметь один шаблон и вопрос сразу для нескольких "
5583 "пакетов. Все пакеты могут предоставлять идентичную копию шаблона в своих "
5584 "файлах templates. Это может быть полезно, если набору пакетов требуется "
5585 "задать один и тот же вопрос, а вы хотите побеспокоить пользователя только "
5586 "один раз. Общие шаблоны обычно помещаются в псевдокаталог shared/ в "
5587 "пространстве имён шаблонов debconf."
5588
5589 # type: SH
5590 #. type: SH
5591 #: debconf-devel.7:218
5592 #, no-wrap
5593 msgid "THE DEBCONF PROTOCOL"
5594 msgstr "ПРОТОКОЛ DEBCONF"
5595
5596 # type: Plain text
5597 #. type: Plain text
5598 #: debconf-devel.7:224
5599 msgid ""
5600 "Config scripts communicate with debconf using the debconf protocol. This is "
5601 "a simple line-oriented protocol, similar to common internet protocols such "
5602 "as SMTP. The config script sends debconf a command by writing the command to "
5603 "standard output. Then it can read debconf's reply from standard input."
5604 msgstr ""
5605 "Сценарии config взаимодействуют с debconf по протоколу debconf. Это простой "
5606 "однострочный протокол, похожий на основные протоколы интернета, типа SMTP. "
5607 "Сценарий config посылает debconf команду, записывая эту команду в "
5608 "стандартный вывод. Затем, он может прочитать ответ debconf со стандартного "
5609 "ввода."
5610
5611 # type: Plain text
5612 #. type: Plain text
5613 #: debconf-devel.7:230
5614 msgid ""
5615 "Debconf's reply can be broken down into two parts: A numeric result code "
5616 "(the first word of the reply), and an optional extended result code (the "
5617 "remainder of the reply). The numeric code uses 0 to indicate success, and "
5618 "other numbers to indicate various kinds of failure. For full details, see "
5619 "the table in Debian policy's debconf specification document."
5620 msgstr ""
5621 "Ответы debconf можно разделить на две части: числовой код результата (первое "
5622 "слово в ответе) и необязательный расширенный код результата (оставшаяся "
5623 "часть ответа). В числовом коде значение 0 соответствует успешному "
5624 "выполнению, а другие числа указывают на различного вида неудачи. Подробней "
5625 "смотрите таблицу в политике Debian, раздел спецификации debconf."
5626
5627 # type: Plain text
5628 #. type: Plain text
5629 #: debconf-devel.7:235
5630 msgid ""
5631 "The extended return code is generally free form and unspecified, so you "
5632 "should generally ignore it, and should certainly not try to parse it in a "
5633 "program to work out what debconf is doing. The exception is commands like "
5634 "GET, that cause a value to be returned in the extended return code."
5635 msgstr ""
5636 "Расширенный код результата имеет любой вид и никак не стандартизован, "
5637 "поэтому нужно игнорировать его и не пытаться использовать в своей программе "
5638 "для выяснения что делает debconf. Исключение составляют команды типа GET, "
5639 "которая создаёт значение для возврата в расширенном коде результата."
5640
5641 # type: Plain text
5642 #. type: Plain text
5643 #: debconf-devel.7:239
5644 msgid ""
5645 "Generally you'll want to use a language-specific library that handles the "
5646 "nuts and bolts of setting up these connections to debconf and communicating "
5647 "with it."
5648 msgstr ""
5649 "Обычно вы будете использовать библиотеку, которая работает на низком уровне "
5650 "для установления связи с debconf и взаимодействия с ним."
5651
5652 # type: Plain text
5653 #. type: Plain text
5654 #: debconf-devel.7:242
5655 msgid ""
5656 "For now, here are the commands in the protocol. This is not the definitive "
5657 "definition, see Debian policy's debconf specification document for that."
5658 msgstr ""
5659 "А теперь обсудим команды протокола. Это не полное описание, за ним "
5660 "обращайтесь к документу о политике Debian, раздел спецификации debconf."
5661
5662 # type: TP
5663 #. type: TP
5664 #: debconf-devel.7:242
5665 #, no-wrap
5666 msgid "B<VERSION number>"
5667 msgstr "B<VERSION номер>"
5668
5669 # type: Plain text
5670 #. type: Plain text
5671 #: debconf-devel.7:250
5672 msgid ""
5673 "You generally don't need to use this command. It exchanges with debconf the "
5674 "protocol version number that is being used. The current protocol version is "
5675 "2.0, and versions in the 2.x series will be backwards-compatible. You may "
5676 "specify the protocol version number you are speaking and debconf will return "
5677 "the version of the protocol it speaks in the extended result code. If the "
5678 "version you specify is too low, debconf will reply with numeric code 30."
5679 msgstr ""
5680 "Обычно не нужно использовать эту команду. Она позволяет договориться с "
5681 "debconf о том, какая версия протокола должна быть использована. Текущая "
5682 "версия протокола — 2.0, а версии ветки 2.x обратно совместимы. Вы можете "
5683 "указать номер версии протокола и debconf вернёт версию протокола в "
5684 "расширенном коде результата. Если указанная вами версия слишком стара, "
5685 "debconf вернёт числовой код 30."
5686
5687 # type: TP
5688 #. type: TP
5689 #: debconf-devel.7:250
5690 #, no-wrap
5691 msgid "B<CAPB capabilities>"
5692 msgstr "B<CAPB возможности>"
5693
5694 # type: Plain text
5695 #. type: Plain text
5696 #: debconf-devel.7:257
5697 msgid ""
5698 "You generally don't need to use this command. It exchanges with debconf a "
5699 "list of supported capabilities (separated by spaces). Capabilities that both "
5700 "you and debconf support will be used, and debconf will reply with all the "
5701 "capabilities it supports."
5702 msgstr ""
5703 "Обычно не нужно использовать эту команду. Она позволяет обменяться с debconf "
5704 "списком поддерживаемых возможностей (разделяются пробелами). Будут "
5705 "использованы возможности, которые поддерживаются вами и debconf, а debconf "
5706 "вернёт список всех поддерживаемых им возможностей."
5707
5708 # type: Plain text
5709 #. type: Plain text
5710 #: debconf-devel.7:267
5711 msgid ""
5712 "If 'escape' is found among your capabilities, debconf will expect commands "
5713 "you send it to have backslashes and newlines escaped (as \\e\\e and \\en "
5714 "respectively) and will in turn escape backslashes and newlines in its "
5715 "replies. This can be used, for example, to substitute multi-line strings "
5716 "into templates, or to get multi-line extended descriptions reliably using "
5717 "METAGET. In this mode, you must escape input text yourself (you can use "
5718 "B<debconf-escape>(1) to help with this if you want), but the confmodule "
5719 "libraries will unescape replies for you."
5720 msgstr ""
5721 "Если среди ваших возможностей будет «escape», то debconf будет ожидать, что "
5722 "в посылаемых вами командах символы обратный слеш и новой строки экранированы "
5723 "(\\e\\e и \\en соответственно), а в своих ответах будет также это делать. "
5724 "Это может быть использовано, например, для подстановки многострочных строк в "
5725 "шаблонах, или для получения многострочных расширенных описаний, "
5726 "использующихся в METAGET. В этом режиме вы должны сами экранировать входной "
5727 "текст (для этого вы можете использовать команду B<debconf-escape>(1), если "
5728 "хотите), а библиотеки confmodule будут снимать экранирования в ответах за "
5729 "вас."
5730
5731 # type: TP
5732 #. type: TP
5733 #: debconf-devel.7:268
5734 #, no-wrap
5735 msgid "B<SETTITLE question>"
5736 msgstr "B<SETTITLE вопрос>"
5737
5738 # type: Plain text
5739 #. type: Plain text
5740 #: debconf-devel.7:275
5741 msgid ""
5742 "This sets the title debconf displays to the user, using the short "
5743 "description of the template for the specified question. The template should "
5744 "be of type title. You rarely need to use this command since debconf can "
5745 "automatically generate a title based on your package's name."
5746 msgstr ""
5747 "Устанавливает заголовок, который debconf показывает пользователю, используя "
5748 "короткое описание шаблона указанного вопроса. Шаблон должен быть типа title. "
5749 "Обычно редко используется, так как debconf может автоматически генерировать "
5750 "заголовок на основе имени пакета."
5751
5752 # type: Plain text
5753 #. type: Plain text
5754 #: debconf-devel.7:278
5755 msgid ""
5756 "Setting the title from a template means they are stored in the same place as "
5757 "the rest of the debconf questions, and allows them to be translated."
5758 msgstr ""
5759 "Установка заголовка из шаблона означает, что они хранятся в том же месте что "
5760 "и все вопросы debconf, и их можно переводить на другие языки."
5761
5762 # type: TP
5763 #. type: TP
5764 #: debconf-devel.7:279
5765 #, no-wrap
5766 msgid "B<TITLE string>"
5767 msgstr "B<TITLE строка>"
5768
5769 # type: Plain text
5770 #. type: Plain text
5771 #: debconf-devel.7:284
5772 msgid ""
5773 "This sets the title debconf displays to the user to the specified string. "
5774 "Use of the SETTITLE command is normally to be preferred as it allows for "
5775 "translation of the title."
5776 msgstr ""
5777 "Устанавливает заголовок, который debconf показывает пользователю, используя "
5778 "заданную строку. Использование команды SETTITLE предпочтительно, так как "
5779 "позволяет переводить заголовок на другие языки."
5780
5781 # type: TP
5782 #. type: TP
5783 #: debconf-devel.7:284
5784 #, no-wrap
5785 msgid "B<INPUT priority question>"
5786 msgstr "B<INPUT приоритет вопрос>"
5787
5788 # type: Plain text
5789 #. type: Plain text
5790 #: debconf-devel.7:291
5791 msgid ""
5792 "Ask debconf to prepare to display a question to the user. The question is "
5793 "not actually displayed until a GO command is issued; this lets several INPUT "
5794 "commands be given in series, to build up a set of questions, which might all "
5795 "be asked on a single screen."
5796 msgstr ""
5797 "Просит debconf подготовить к показу вопрос пользователю. Вопрос не "
5798 "показывается до тех пор пока не будет дана команда GO; это позволяет "
5799 "последовательно задать несколько команд INPUT для накопления набора "
5800 "вопросов, которые могут быть заданы все разом на одном экране."
5801
5802 # type: Plain text
5803 #. type: Plain text
5804 #: debconf-devel.7:294
5805 msgid ""
5806 "The priority field tells debconf how important it is that this question be "
5807 "shown to the user. The priority values are:"
5808 msgstr ""
5809 "Поле приоритета говорит debconf насколько важен вопрос, который будет "
5810 "показан пользователю. Значения приоритета:"
5811
5812 # type: Plain text
5813 #. type: Plain text
5814 #: debconf-devel.7:298
5815 msgid ""
5816 "Very trivial items that have defaults that will work in the vast majority of "
5817 "cases; only control freaks see these."
5818 msgstr ""
5819 "Очень простые элементы со значениями по умолчанию, которые работают в "
5820 "подавляющем большинстве случаев; только параноики увидят их."
5821
5822 # type: Plain text
5823 #. type: Plain text
5824 #: debconf-devel.7:301
5825 msgid "Normal items that have reasonable defaults."
5826 msgstr "Обычные элементы с корректными значениями по умолчанию."
5827
5828 # type: Plain text
5829 #. type: Plain text
5830 #: debconf-devel.7:304
5831 msgid "Items that don't have a reasonable default."
5832 msgstr "Элементы, у которых нет приемлемых значений по умолчанию."
5833
5834 # type: Plain text
5835 #. type: Plain text
5836 #: debconf-devel.7:307
5837 msgid "Items that will probably break the system without user intervention."
5838 msgstr ""
5839 "Элементы, которые вероятно сломают систему, если не будет вмешательства "
5840 "пользователя."
5841
5842 # type: Plain text
5843 #. type: Plain text
5844 #: debconf-devel.7:312
5845 msgid ""
5846 "Debconf decides if the question is actually displayed, based on its "
5847 "priority, and whether the user has seen it before, and which frontend is "
5848 "being used. If the question will not be displayed, debconf replies with code "
5849 "30."
5850 msgstr ""
5851 "Debconf сам решает нужно ли вообще показывать вопрос, основываясь на этом "
5852 "приоритете и том, видел ли уже пользователь этот вопрос и какой интерфейс "
5853 "используется для показа. Если вопрос не будет показан, debconf возвращает "
5854 "код 30."
5855
5856 # type: TP
5857 #. type: TP
5858 #: debconf-devel.7:313
5859 #, no-wrap
5860 msgid "B<GO>"
5861 msgstr "B<GO>"
5862
5863 # type: Plain text
5864 #. type: Plain text
5865 #: debconf-devel.7:318
5866 msgid ""
5867 "Tells debconf to display the accumulated set of questions (from INPUT "
5868 "commands) to the user."
5869 msgstr ""
5870 "Указывает debconf показать накопленные вопросы (переданные ранее командами "
5871 "INPUT) пользователю."
5872
5873 # type: Plain text
5874 #. type: Plain text
5875 #: debconf-devel.7:321
5876 msgid ""
5877 "If the backup capability is supported and the user indicates they want to "
5878 "back up a step, debconf replies with code 30."
5879 msgstr ""
5880 "Если поддерживается возможность backup и пользователь потребовал вернуться "
5881 "на шаг назад, то debconf возвратит код 30."
5882
5883 # type: TP
5884 #. type: TP
5885 #: debconf-devel.7:322
5886 #, no-wrap
5887 msgid "B<CLEAR>"
5888 msgstr "B<CLEAR>"
5889
5890 # type: Plain text
5891 #. type: Plain text
5892 #: debconf-devel.7:326
5893 msgid ""
5894 "Clears the accumulated set of questions (from INPUT commands) without "
5895 "displaying them."
5896 msgstr "Очистить накопленные вопросы (из команд INPUT) и не показывать их."
5897
5898 # type: TP
5899 #. type: TP
5900 #: debconf-devel.7:326
5901 #, no-wrap
5902 msgid "B<BEGINBLOCK>"
5903 msgstr "B<BEGINBLOCK>"
5904
5905 # type: TP
5906 #. type: TP
5907 #: debconf-devel.7:328
5908 #, no-wrap
5909 msgid "B<ENDBLOCK>"
5910 msgstr "B<ENDBLOCK>"
5911
5912 # type: Plain text
5913 #. type: Plain text
5914 #: debconf-devel.7:336
5915 msgid ""
5916 "Some debconf frontends can display a number of questions to the user at "
5917 "once. Maybe in the future a frontend will even be able to group these "
5918 "questions into blocks on screen. BEGINBLOCK and ENDBLOCK can be placed "
5919 "around a set of INPUT commands to indicate blocks of questions (and blocks "
5920 "can even be nested). Since no debconf frontend is so sophisticated yet, "
5921 "these commands are ignored for now."
5922 msgstr ""
5923 "Некоторые интерфейсы debconf могут показывать пользователю сразу несколько "
5924 "вопросов одновременно. Может быть в будущем интерфейсы даже смогут "
5925 "группировать такие вопросы по блокам на экране. BEGINBLOCK и ENDBLOCK могут "
5926 "указываться вокруг набора команд INPUT, чтобы обозначить блоки вопросов (и "
5927 "блоки могут быть вложенными). Так как пока ни один интерфейс к debconf не "
5928 "поддерживает их, в данный момент эти команды игнорируются."
5929
5930 # type: TP
5931 #. type: TP
5932 #: debconf-devel.7:336
5933 #, no-wrap
5934 msgid "B<STOP>"
5935 msgstr "B<STOP>"
5936
5937 # type: Plain text
5938 #. type: Plain text
5939 #: debconf-devel.7:340
5940 msgid ""
5941 "This command tells debconf that you're done talking to it. Often debconf can "
5942 "detect termination of your program and this command is not necessary."
5943 msgstr ""
5944 "Эта команда указывает debconf на завершения взаимодействия с ним. Часто "
5945 "debconf может сам обнаружить завершение вашей программы и эта команда не "
5946 "обязательна."
5947
5948 # type: TP
5949 #. type: TP
5950 #: debconf-devel.7:340
5951 #, no-wrap
5952 msgid "B<GET question>"
5953 msgstr "B<GET вопрос>"
5954
5955 # type: Plain text
5956 #. type: Plain text
5957 #: debconf-devel.7:345
5958 msgid ""
5959 "After using INPUT and GO to display a question, you can use this command to "
5960 "get the value the user entered. The value is returned in the extended result "
5961 "code."
5962 msgstr ""
5963 "После отработки INPUT и GO для показа вопроса, вы можете использовать эту "
5964 "команду для получения значения введённого пользователем. Значение "
5965 "возвращается в виде расширенного кода результата."
5966
5967 # type: TP
5968 #. type: TP
5969 #: debconf-devel.7:345
5970 #, no-wrap
5971 msgid "B<SET question value>"
5972 msgstr "B<SET вопрос ответ>"
5973
5974 # type: Plain text
5975 #. type: Plain text
5976 #: debconf-devel.7:349
5977 msgid ""
5978 "This sets the value of a question, and it can be used to override the "
5979 "default value with something your program calculates on the fly."
5980 msgstr ""
5981 "Задаёт ответ на вопрос; это можно использовать для замены ответа по "
5982 "умолчанию чем-то, что ваша программа вычислила во время работы."
5983
5984 # type: TP
5985 #. type: TP
5986 #: debconf-devel.7:349
5987 #, no-wrap
5988 msgid "B<RESET question>"
5989 msgstr "B<RESET вопрос>"
5990
5991 # type: Plain text
5992 #. type: Plain text
5993 #: debconf-devel.7:353
5994 msgid ""
5995 "This resets the question to its default value (as is specified in the "
5996 "'Default' field of its template)."
5997 msgstr ""
5998 "Сбрасывает ответ на вопрос в значение по умолчанию (как указано в поле "
5999 "«Default» в шаблоне)."
6000
6001 # type: TP
6002 #. type: TP
6003 #: debconf-devel.7:353
6004 #, no-wrap
6005 msgid "B<SUBST question key value>"
6006 msgstr "B<SUBST вопрос ключ значение>"
6007
6008 # type: Plain text
6009 #. type: Plain text
6010 #: debconf-devel.7:362
6011 msgid ""
6012 "Questions can have substitutions embedded in their 'Description' and "
6013 "'Choices' fields (use of substitutions in 'Choices' fields is a bit of a "
6014 "hack though; a better mechanism will eventually be developed). These "
6015 "substitutions look like \"${key}\". When the question is displayed, the "
6016 "substitutions are replaced with their values. This command can be used to "
6017 "set the value of a substitution. This is useful if you need to display some "
6018 "message to the user that you can't hard-code in the templates file."
6019 msgstr ""
6020 "Вопросы могут содержать подстановки в полях «Description» и «Choices» (хотя "
6021 "использование подстановок в полях «Choices» считается хаком; со временем "
6022 "будет разработан лучший способ). Эти подстановки выглядят как \"${ключ}\". "
6023 "Когда вопрос отображается, подстановки заменяются на нужные значения. Эта "
6024 "команда может быть использована для задания значения подстановки. Это "
6025 "полезно, если вам требуется показать какое-то сообщение пользователю, "
6026 "которое нельзя однозначно записать в файл templates."
6027
6028 # type: Plain text
6029 #. type: Plain text
6030 #: debconf-devel.7:365
6031 msgid ""
6032 "Do not try to use SUBST to change the default value of a question; it won't "
6033 "work since there is a SET command explicitly for that purpose."
6034 msgstr ""
6035 "Не пытайтесь использовать SUBST для замены ответа по умолчанию на вопрос; "
6036 "это не сработает, так как для этого служит команда SET."
6037
6038 # type: TP
6039 #. type: TP
6040 #: debconf-devel.7:365
6041 #, no-wrap
6042 msgid "B<FGET question flag>"
6043 msgstr "B<FGET вопрос флаг>"
6044
6045 # type: Plain text
6046 #. type: Plain text
6047 #: debconf-devel.7:369
6048 msgid ""
6049 "Questions can have flags associated with them. The flags can have a value of "
6050 "\"true\" or \"false\". This command returns the value of a flag."
6051 msgstr ""
6052 "Вопросы могут иметь связанные с ними флаги. Флаги могут иметь значение "
6053 "«true» или «false». Эта команда возвращает значение флага."
6054
6055 # type: TP
6056 #. type: TP
6057 #: debconf-devel.7:369
6058 #, no-wrap
6059 msgid "B<FSET question flag value>"
6060 msgstr "B<FSET вопрос флаг значение>"
6061
6062 # type: Plain text
6063 #. type: Plain text
6064 #: debconf-devel.7:374
6065 msgid ""
6066 "This sets the value of a question's flag. The value must be either \"true\" "
6067 "or \"false\"."
6068 msgstr ""
6069 "Устанавливает значение флага вопроса. Значение должно быть или «true» или "
6070 "«false»."
6071
6072 # type: Plain text
6073 #. type: Plain text
6074 #: debconf-devel.7:380
6075 msgid ""
6076 "One common flag is the \"seen\" flag. It is normally only set if a user has "
6077 "already seen a question. Debconf usually only displays questions to users if "
6078 "they have the seen flag set to \"false\" (or if it is reconfiguring a "
6079 "package). Sometimes you want the user to see a question again -- in these "
6080 "cases you can set the seen flag to false to force debconf to redisplay it."
6081 msgstr ""
6082 "Распространённым флагом является флаг «seen». Обычно он устанавливается "
6083 "только если пользователь уже видел вопрос. Debconf обычно показывает только "
6084 "те вопросы пользователю, у которых флаг seen установлен в «false» (или если "
6085 "происходит процесс перенастройки пакета). Иногда вам нужно чтобы "
6086 "пользователь увидел вопрос снова — в этом случае вы можете установить флаг "
6087 "seen в значение «false», чтобы заставить debconf показать вопрос ещё раз."
6088
6089 # type: TP
6090 #. type: TP
6091 #: debconf-devel.7:381
6092 #, no-wrap
6093 msgid "B<METAGET question field>"
6094 msgstr "B<METAGET вопрос поле>"
6095
6096 # type: Plain text
6097 #. type: Plain text
6098 #: debconf-devel.7:385
6099 msgid ""
6100 "This returns the value of any field of a question's associated template (the "
6101 "Description, for example)."
6102 msgstr ""
6103 "Возвращает значение любого поля вопроса из соответствующего шаблона "
6104 "(например, Description)."
6105
6106 # type: TP
6107 #. type: TP
6108 #: debconf-devel.7:385
6109 #, no-wrap
6110 msgid "B<REGISTER template question>"
6111 msgstr "B<REGISTER шаблон вопрос>"
6112
6113 # type: Plain text
6114 #. type: Plain text
6115 #: debconf-devel.7:391
6116 msgid ""
6117 "This creates a new question that is bound to a template. By default each "
6118 "template has an associated question with the same name. However, any number "
6119 "of questions can really be associated with a template, and this lets you "
6120 "create more such questions."
6121 msgstr ""
6122 "Создаёт новый вопрос, который привязывается к шаблону. По умолчанию, каждый "
6123 "шаблон имеет соответствующий вопрос с тем же именем. Однако, с шаблоном "
6124 "можно связать любое число вопросов, и это позволяет создать много таких "
6125 "вопросов."
6126
6127 # type: TP
6128 #. type: TP
6129 #: debconf-devel.7:391
6130 #, no-wrap
6131 msgid "B<UNREGISTER question>"
6132 msgstr "B<UNREGISTER вопрос>"
6133
6134 # type: Plain text
6135 #. type: Plain text
6136 #: debconf-devel.7:394
6137 msgid "This removes a question from the database."
6138 msgstr "Удаляет вопрос из базы данных."
6139
6140 # type: TP
6141 #. type: TP
6142 #: debconf-devel.7:394
6143 #, no-wrap
6144 msgid "B<PURGE>"
6145 msgstr "B<PURGE>"
6146
6147 # type: Plain text
6148 #. type: Plain text
6149 #: debconf-devel.7:398
6150 msgid ""
6151 "Call this in your postrm when your package is purged. It removes all of your "
6152 "package's questions from debconf's database."
6153 msgstr ""
6154 "Вызывайте эту команду из сценария postrm при вычистке пакета. Она удалит все "
6155 "вопросы пакета из базы данных debconf."
6156
6157 # type: TP
6158 #. type: TP
6159 #: debconf-devel.7:398
6160 #, no-wrap
6161 msgid "B<X_LOADTEMPLATEFILE /path/to/templates [owner]>"
6162 msgstr "B<X_LOADTEMPLATEFILE /путь/к/templates [владелец]>"
6163
6164 # type: Plain text
6165 #. type: Plain text
6166 #: debconf-devel.7:402
6167 msgid ""
6168 "This extension loads the specified template file into debconf's database. "
6169 "The owner defaults to the package that is being configured with debconf."
6170 msgstr ""
6171 "Это расширение загружает указанный файл template в базу данных debconf. По "
6172 "умолчанию, владельцем считается пакет, который в данный момент настраивается "
6173 "debconf."
6174
6175 # type: Plain text
6176 #. type: Plain text
6177 #: debconf-devel.7:404
6178 msgid "Here is a simple example of the debconf protocol in action."
6179 msgstr "Вот простой пример протокола debconf в действии."
6180
6181 # type: Plain text
6182 #. type: Plain text
6183 #: debconf-devel.7:418
6184 #, no-wrap
6185 msgid ""
6186 " INPUT medium debconf/frontend\n"
6187 " 30 question skipped\n"
6188 " FSET debconf/frontend seen false\n"
6189 " 0 false\n"
6190 " INPUT high debconf/frontend\n"
6191 " 0 question will be asked\n"
6192 " GO\n"
6193 " [ Here debconf displays a question to the user. ]\n"
6194 " 0 ok\n"
6195 " GET no/such/question\n"
6196 " 10 no/such/question doesn't exist\n"
6197 " GET debconf/frontend\n"
6198 " 0 Dialog\n"
6199 msgstr ""
6200 " INPUT medium debconf/frontend\n"
6201 " 30 question skipped\n"
6202 " FSET debconf/frontend seen false\n"
6203 " 0 false\n"
6204 " INPUT high debconf/frontend\n"
6205 " 0 question will be asked\n"
6206 " GO\n"
6207 " [ Здесь debconf показывает вопрос пользователю. ]\n"
6208 " 0 ok\n"
6209 " GET no/such/question\n"
6210 " 10 no/such/question doesn't exist\n"
6211 " GET debconf/frontend\n"
6212 " 0 Dialog\n"
6213
6214 # type: SH
6215 #. type: SH
6216 #: debconf-devel.7:418
6217 #, no-wrap
6218 msgid "LIBRARIES"
6219 msgstr "БИБЛИОТЕКИ"
6220
6221 # type: Plain text
6222 #. type: Plain text
6223 #: debconf-devel.7:422
6224 msgid ""
6225 "Setting things up so you can talk to debconf, and speaking the debconf "
6226 "protocol by hand is a little too much work, so some thin libraries exist to "
6227 "relieve this minor drudgery."
6228 msgstr ""
6229 "Настройка окружения для работы с debconf и общение с debconf по протоколу "
6230 "вручную требует слишком больших затрат, поэтому для этого существуют "
6231 "промежуточные библиотеки, которые освобождают человека от этой монотонной "
6232 "работы."
6233
6234 # type: Plain text
6235 #. type: Plain text
6236 #: debconf-devel.7:430
6237 msgid ""
6238 "For shell programming, there is the /usr/share/debconf/confmodule library, "
6239 "which you can source at the top of a shell script, and talk to debconf in a "
6240 "fairly natural way, using lower-case versions of the debconf protocol "
6241 "commands, that are prefixed with \"db_\" (ie, \"db_input\" and \"db_go\"). "
6242 "For details, see B<confmodule>(3) ."
6243 msgstr ""
6244 "Для программирования на языке оболочки командной строки существует "
6245 "библиотека /usr/share/debconf/confmodule, которую вы можете указать в начале "
6246 "сценария оболочки, и общаться с debconf в довольно естественной манере, "
6247 "используя команды debconf протокола записанные строчными буквами, которые "
6248 "начинаются с «db_» (то есть, «db_input» и «db_go»). Подробней смотрите в "
6249 "B<confmodule>(3)."
6250
6251 # type: Plain text
6252 #. type: Plain text
6253 #: debconf-devel.7:434
6254 msgid ""
6255 "Perl programmers can use the B<Debconf::Client::ConfModule>(3pm) perl "
6256 "module, and python programmers can use the debconf python module."
6257 msgstr ""
6258 "Программисты на perl могут использовать модуль B<Debconf::Client::"
6259 "ConfModule>(3pm), а программисты на python могут использовать модуль debconf."
6260
6261 # type: Plain text
6262 #. type: Plain text
6263 #: debconf-devel.7:438
6264 msgid ""
6265 "The rest of this manual will use the /usr/share/debconf/confmodule library "
6266 "in example shell scripts. Here is an example config script using that "
6267 "library, that just asks a question:"
6268 msgstr ""
6269 "В последующих примерах сценариев оболочки руководства будет использована "
6270 "библиотека /usr/share/debconf/confmodule. Вот пример сценария config, "
6271 "который задаёт вопрос с помощью этой библиотеки:"
6272
6273 # type: Plain text
6274 #. type: Plain text
6275 #: debconf-devel.7:445
6276 #, no-wrap
6277 msgid ""
6278 " #!/bin/sh\n"
6279 " set -e\n"
6280 " . /usr/share/debconf/confmodule\n"
6281 " db_set mypackage/reboot-now false\n"
6282 " db_input high mypackage/reboot-now || true\n"
6283 " db_go || true\n"
6284 msgstr ""
6285 " #!/bin/sh\n"
6286 " set -e\n"
6287 " . /usr/share/debconf/confmodule\n"
6288 " db_set mypackage/reboot-now false\n"
6289 " db_input high mypackage/reboot-now || true\n"
6290 " db_go || true\n"
6291
6292 # type: Plain text
6293 #. type: Plain text
6294 #: debconf-devel.7:450
6295 msgid ""
6296 "Notice the uses of \"|| true\" to prevent the script from dying if debconf "
6297 "decides it can't display a question, or the user tries to back up. In those "
6298 "situations, debconf returns a non-zero exit code, and since this shell "
6299 "script is set -e, an untrapped exit code would make it abort."
6300 msgstr ""
6301 "Заметим, что использование \"|| true\" предотвращает сценарий от завершения "
6302 "работы, если debconf решит, что не может показать вопрос, или когда "
6303 "пользователь решит вернуться к предыдущему вопросу. В таких ситуациях "
6304 "debconf возвращает ненулевой код возврата, и так как в сценарии оболочки "
6305 "указана set -e, неотловленный код выхода прервёт его работу."
6306
6307 # type: Plain text
6308 #. type: Plain text
6309 #: debconf-devel.7:454
6310 msgid ""
6311 "And here is a corresponding postinst script, that uses the user's answer to "
6312 "the question to see if the system should be rebooted (a rather absurd "
6313 "example..):"
6314 msgstr ""
6315 "А вот соответствующий сценарий postinst, который использует пользовательский "
6316 "ответ на вопрос, должна ли система быть перезагружена (слегка абсурдный "
6317 "пример..):"
6318
6319 # type: Plain text
6320 #. type: Plain text
6321 #: debconf-devel.7:462
6322 #, no-wrap
6323 msgid ""
6324 " #!/bin/sh\n"
6325 " set -e\n"
6326 " . /usr/share/debconf/confmodule\n"
6327 " db_get mypackage/reboot-now\n"
6328 " if [ \"$RET\" = true ]; then\n"
6329 " \tshutdown -r now\n"
6330 " fi\n"
6331 msgstr ""
6332 " #!/bin/sh\n"
6333 " set -e\n"
6334 " . /usr/share/debconf/confmodule\n"
6335 " db_get mypackage/reboot-now\n"
6336 " if [ \"$RET\" = true ]; then\n"
6337 " \tshutdown -r now\n"
6338 " fi\n"
6339
6340 # type: Plain text
6341 #. type: Plain text
6342 #: debconf-devel.7:465
6343 msgid ""
6344 "Notice the use of the $RET variable to get at the extended return code from "
6345 "the GET command, which holds the user's answer to the question."
6346 msgstr ""
6347 "Заметим, что используемая переменная $RET получает расширенный код возврата "
6348 "от команды GET, который содержит ответ пользователя на вопрос."
6349
6350 # type: SH
6351 #. type: SH
6352 #: debconf-devel.7:465
6353 #, no-wrap
6354 msgid "THE POSTINST SCRIPT"
6355 msgstr "СЦЕНАРИЙ POSTINST"
6356
6357 # type: Plain text
6358 #. type: Plain text
6359 #: debconf-devel.7:469
6360 msgid ""
6361 "The last section had an example of a postinst script that uses debconf to "
6362 "get the value of a question, and act on it. Here are some things to keep in "
6363 "mind when writing postinst scripts that use debconf:"
6364 msgstr ""
6365 "В последнем разделе был приведён пример сценария postinst, который "
6366 "использует debconf для получения ответа на вопрос и выполняет "
6367 "соответствующие действия. Есть несколько вещей о которых нужно помнить при "
6368 "написании сценариев postinst, использующих debconf:"
6369
6370 # type: Plain text
6371 #. type: Plain text
6372 #: debconf-devel.7:473
6373 msgid ""
6374 "Avoid asking questions in the postinst. Instead, the config script should "
6375 "ask questions using debconf, so that pre-configuration will work."
6376 msgstr ""
6377 "Не задавайте вопросов из сценария postinst. Вопросы должен задавать сценарий "
6378 "config с помощью debconf, для того чтобы работал механизм предварительной "
6379 "настройки."
6380
6381 # type: Plain text
6382 #. type: Plain text
6383 #: debconf-devel.7:479
6384 msgid ""
6385 "Always source /usr/share/debconf/confmodule at the top of your postinst, "
6386 "even if you won't be running any db_* commands in it. This is required to "
6387 "make sure the config script gets a chance to run (see HACKS for details)."
6388 msgstr ""
6389 "Всегда включайте /usr/share/debconf/confmodule в самом начале сценария "
6390 "postinst, даже если не будет использоваться никаких команд db_*. Это нужно "
6391 "для того, чтобы дать шанс запуститься сценарию config (подробней смотрите в "
6392 "разделе ХАКИ)."
6393
6394 # type: Plain text
6395 #. type: Plain text
6396 #: debconf-devel.7:484
6397 msgid ""
6398 "Avoid outputting anything to stdout in your postinst, since that can confuse "
6399 "debconf, and postinst should not be verbose anyway. Output to stderr is ok, "
6400 "if you must."
6401 msgstr ""
6402 "Избегайте вывода чего-либо в stdout из сценария postinst, так как это "
6403 "debconf может неправильно понять и вообще, сценарий postinst не должен быть "
6404 "слишком разговорчивым. Если очень нужно — выводите в stderr."
6405
6406 # type: Plain text
6407 #. type: Plain text
6408 #: debconf-devel.7:489
6409 msgid ""
6410 "If your postinst launches a daemon, make sure you tell debconf to STOP at "
6411 "the end, since debconf can become a little confused about when your postinst "
6412 "is done otherwise."
6413 msgstr ""
6414 "Если сценарий postinst запускается в режиме демона, убедитесь, что вы "
6415 "послали debconf команду STOP в конце работы, так как debconf не сможет "
6416 "отловить момент когда postinst закончил с ним работать."
6417
6418 # type: Plain text
6419 #. type: Plain text
6420 #: debconf-devel.7:494
6421 msgid ""
6422 "Make your postinst script accept a first parameter of \"reconfigure\". It "
6423 "can treat it just like \"configure\". This will be used in a later version "
6424 "of debconf to let postinsts know when they are reconfigured."
6425 msgstr ""
6426 "Пишите сценарий postinst так, чтобы он принимал первым параметром "
6427 "«reconfigure». Он может трактовать его как «configure». Это будет "
6428 "использовано в следующих версиях debconf, чтобы указать сценариям postinst "
6429 "когда они должны выполнять перенастройку."
6430
6431 # type: SH
6432 #. type: SH
6433 #: debconf-devel.7:494
6434 #, no-wrap
6435 msgid "OTHER SCRIPTS"
6436 msgstr "ДРУГИЕ СЦЕНАРИИ"
6437
6438 # type: Plain text
6439 #. type: Plain text
6440 #: debconf-devel.7:502
6441 msgid ""
6442 "Besides the config script and postinst, you can use debconf in any of the "
6443 "other maintainer scripts. Most commonly, you'll be using debconf in your "
6444 "postrm, to call the PURGE command when your package is purged, to clean out "
6445 "its entries in the debconf database. (This is automatically set up for you "
6446 "by B<dh_installdebconf>(1)B<,> by the way.)"
6447 msgstr ""
6448 "Кроме сценариев config и postinst, вы можете использовать debconf в любом "
6449 "сценарии сопровождения пакета. Наиболее часто вы будете использовать debconf "
6450 "в сценарии postrm, чтобы вызвать команду PURGE при удалении пакета для "
6451 "удаления всех записей о пакете из базы данных debconf (кстати, это "
6452 "настраивается автоматически с помощью B<dh_installdebconf>(1))."
6453
6454 # type: Plain text
6455 #. type: Plain text
6456 #: debconf-devel.7:510
6457 msgid ""
6458 "A more involved use of debconf would be if you want to use it in the postrm "
6459 "when your package is purged, to ask a question about deleting something. Or "
6460 "maybe you find you need to use it in the preinst or prerm for some reason. "
6461 "All of these uses will work, though they'll probably involve asking "
6462 "questions and acting on the answers in the same program, rather than "
6463 "separating the two activities as is done in the config and postinst scripts."
6464 msgstr ""
6465 "Также debconf может быть использован в сценарии postrm при вычистке пакета "
6466 "чтобы задать вопрос об удалении чего-либо. Или может быть по какой-то "
6467 "причине вам может потребоваться использовать его в preinst или prerm. Везде "
6468 "он будет работать, хотя это вероятно приведёт к выдаче одинаковых вопросов и "
6469 "реакции на ответы в программе, а не к двум разным действиям, как это "
6470 "происходит со сценариями config и postinst."
6471
6472 # type: Plain text
6473 #. type: Plain text
6474 #: debconf-devel.7:515
6475 msgid ""
6476 "Note that if your package's sole use of debconf is in the postrm, you should "
6477 "make your package's postinst source /usr/share/debconf/confmodule, to give "
6478 "debconf a chance to load up your templates file into its database. Then the "
6479 "templates will be available when your package is being purged."
6480 msgstr ""
6481 "Заметим, что если ваш пакет использует debconf только в сценарии postrm, вы "
6482 "должны добавить вызов /usr/share/debconf/confmodule в начало сценария "
6483 "postinst, чтобы дать debconf шанс загрузить файл templates в свою базу "
6484 "данных. Затем templates будет доступен во время вычистке пакета."
6485
6486 # type: Plain text
6487 #. type: Plain text
6488 #: debconf-devel.7:522
6489 msgid ""
6490 "You can also use debconf in other, standalone programs. The issue to watch "
6491 "out for here is that debconf is not intended to be, and must not be used as "
6492 "a registry. This is unix after all, and programs are configured by files in /"
6493 "etc, not by some nebulous debconf database (that is only a cache anyway and "
6494 "might get blown away). So think long and hard before using debconf in a "
6495 "standalone program."
6496 msgstr ""
6497 "Также вы можете использовать debconf просто в работе программ. Но не "
6498 "забывайте, что debconf не предназначен для этого, и не должен использоваться "
6499 "как своеобразный реестр. Это всё-таки unix, и настройки программ хранятся в "
6500 "файлах в каталоге /etc, а не в какой-то мутной базе данных debconf (которая "
6501 "в конечном счёте просто кэш и может сломаться). Так что тридцать раз "
6502 "подумайте перед тем как использовать debconf в простых программах."
6503
6504 # type: Plain text
6505 #. type: Plain text
6506 #: debconf-devel.7:527
6507 msgid ""
6508 "There are times when it can make sense, as in the apt-setup program which "
6509 "uses debconf to prompt the user in a manner consistent with the rest of the "
6510 "debian install process, and immediately acts on their answers to set up "
6511 "apt's sources.list."
6512 msgstr ""
6513 "Есть ситуации когда это имеет смысл, например в программе apt-setup, которая "
6514 "использует debconf для того чтобы пользователь завершил процесс установки "
6515 "debian в похожем интерфейсе, и сразу же применяет эти ответы для настройки "
6516 "файла sources.list программы apt."
6517
6518 # type: SH
6519 #. type: SH
6520 #: debconf-devel.7:527
6521 #, no-wrap
6522 msgid "LOCALIZATION"
6523 msgstr "ЛОКАЛИЗАЦИЯ"
6524
6525 # type: Plain text
6526 #. type: Plain text
6527 #: debconf-devel.7:534
6528 msgid ""
6529 "Debconf supports localization of templates files. This is accomplished by "
6530 "adding more fields, with translated text in them. Any of the fields can be "
6531 "translated. For example, you might want to translate the description into "
6532 "Spanish. Just make a field named 'Description-es' that holds the "
6533 "translation. If a translated field is not available, debconf falls back to "
6534 "the normal English field."
6535 msgstr ""
6536 "Debconf поддерживает локализацию файлов templates. Это достигается "
6537 "добавлением дополнительных полей с переведённым текстом. Любые поля можно "
6538 "переводить. Например, есть желание перевести описание на испанский. Просто "
6539 "создайте поле с именем «Description-es», в котором есть перевод. Если "
6540 "переведённое поле недоступно, debconf использует обычный английский вариант."
6541
6542 # type: Plain text
6543 #. type: Plain text
6544 #: debconf-devel.7:540
6545 msgid ""
6546 "Besides the 'Description' field, you should translate the 'Choices' field of "
6547 "a select or multiselect template. Be sure to list the translated choices in "
6548 "the same order as they appear in the main 'Choices' field. You do not need "
6549 "to translate the 'Default' field of a select or multiselect question, and "
6550 "the value of the question will be automatically returned in English."
6551 msgstr ""
6552 "Помимо поля «Description», вы можете перевести поле «Choices» из шаблона "
6553 "select или multiselect. Убедитесь, что переведённые значения в списке "
6554 "расположены в том же порядке что и в основном поле «Choices». Вам не нужно "
6555 "переводить поле «Default» из вопроса select или multiselect, ответ на вопрос "
6556 "будет автоматически возвращён на английский."
6557
6558 # type: Plain text
6559 #. type: Plain text
6560 #: debconf-devel.7:552
6561 msgid ""
6562 "You will find it easier to manage translations if you keep them in separate "
6563 "files; one file per translation. In the past, the B<debconf-getlang>(1) and "
6564 "B<debconf-mergetemplate>(1) programs were used to manage debian/template.ll "
6565 "files. This has been superseded by the B<po-debconf>(7) package, which lets "
6566 "you deal with debconf translations in .po files, just like any other "
6567 "translations. Your translators will thank you for using this new improved "
6568 "mechanism."
6569 msgstr ""
6570 "Вы обнаружите, что для облегчения управления переводами лучше хранить их в "
6571 "отдельных файлах; один файл на перевод. Раньше для управления файлами debian/"
6572 "template.ll использовались программы B<debconf-getlang>(1) и B<debconf-"
6573 "mergetemplate>(1). Теперь эту функцию выполняет пакет B<po-debconf>(7), "
6574 "который позволяет работать с переводами debconf в .po файлах как с любыми "
6575 "другими переводами. Ваши переводчики будут благодарны вам за использование "
6576 "этого нового усовершенствованного механизма."
6577
6578 # type: Plain text
6579 #. type: Plain text
6580 #: debconf-devel.7:558
6581 msgid ""
6582 "For the details on po-debconf, see its man page. If you're using debhelper, "
6583 "converting to po-debconf is as simple as running the B<debconf-"
6584 "gettextize>(1) command once, and adding a Build-Dependency on po-debconf "
6585 "and on debhelper (E<gt>= 4.1.13)."
6586 msgstr ""
6587 "Подробней о po-debconf смотрите в его справочной странице. Если вы "
6588 "используете debhelper, переведите его в po-debconf просто запустив один раз "
6589 "команду B<debconf-gettextize>(1) и добавьте зависимость в Build-Dependency "
6590 "от po-debconf и от debhelper (E<gt>= 4.1.13)."
6591
6592 # type: SH
6593 #. type: SH
6594 #: debconf-devel.7:558
6595 #, no-wrap
6596 msgid "PUTTING IT ALL TOGETHER"
6597 msgstr "СОБЕРЁМ ВСЁ ВМЕСТЕ"
6598
6599 # type: Plain text
6600 #. type: Plain text
6601 #: debconf-devel.7:568
6602 msgid ""
6603 "So you have a config script, a templates file, a postinst script that uses "
6604 "debconf, and so on. Putting these pieces together into a debian package "
6605 "isn't hard. You can do it by hand, or can use B<dh_installdebconf>(1) which "
6606 "will merge your translated templates, copy the files into the right places "
6607 "for you, and can even generate the call to PURGE that should go in your "
6608 "postrm script. Make sure that your package depends on debconf (E<gt>= 0.5), "
6609 "since earlier versions were not compatible with everything described in this "
6610 "manual. And you're done."
6611 msgstr ""
6612 "Итак, у вас есть сценарий config, файл templates, сценарий postinst, "
6613 "использующие debconf и так далее. Поместить все эти части в пакет debian "
6614 "несложно. Вы можете сделать это вручную или с помощью "
6615 "B<dh_installdebconf>(1), которая объединяет переведённые шаблоны, копирует "
6616 "файлы в нужные места, и даже генерирует вызов PURGE, который должен быть в "
6617 "сценарии postrm. Убедитесь, что ваш пакет зависит от debconf (E<gt>= 0.5), "
6618 "так как более ранние версии несовместимы с всем описанным в руководстве. Всё."
6619
6620 # type: Plain text
6621 #. type: Plain text
6622 #: debconf-devel.7:571
6623 msgid ""
6624 "Well, except for testing, debugging, and actually using debconf for more "
6625 "interesting things than asking a few basic questions. For that, read on.."
6626 msgstr ""
6627 "Да, за исключением тестирования, отладки и реального использования debconf "
6628 "для более интересных вещей чем простое задание вопросов. Об этом читайте "
6629 "далее.."
6630
6631 # type: SH
6632 #. type: SH
6633 #: debconf-devel.7:571
6634 #, no-wrap
6635 msgid "DEBUGGING"
6636 msgstr "ОТЛАДКА"
6637
6638 # type: Plain text
6639 #. type: Plain text
6640 #: debconf-devel.7:576
6641 msgid ""
6642 "So you have a package that's supposed to use debconf, but it doesn't quite "
6643 "work. Maybe debconf is just not asking that question you set up. Or maybe "
6644 "something weirder is happening; it spins forever in some kind of loop, or "
6645 "worse. Luckily, debconf has plenty of debugging facilities."
6646 msgstr ""
6647 "Итак, у вас есть пакет, который предположительно использует debconf, но он "
6648 "не совсем работает. Может быть debconf не только задаёт вопросы при "
6649 "настройке. Или может быть что-то странное случается; он крутится в каком-то "
6650 "вечном цикле или хуже. К счастью, debconf обладает множеством средств "
6651 "отладки."
6652
6653 # type: Plain text
6654 #. type: Plain text
6655 #: debconf-devel.7:583
6656 msgid ""
6657 "The first thing to reach for is the DEBCONF_DEBUG environment variable. If "
6658 "you set and export DEBCONF_DEBUG=developer, debconf will output to stderr a "
6659 "dump of the debconf protocol as your program runs. It'll look something like "
6660 "this -- the typo is made clear:"
6661 msgstr ""
6662 "Наипервейшая вещь — это переменная окружения DEBCONF_DEBUG. Если вы сделаете "
6663 "export DEBCONF_DEBUG=developer, то debconf будет выводить в stderr дамп "
6664 "протокола debconf при работе. Это выглядит как-то так(сразу видно опечатку):"
6665
6666 # type: Plain text
6667 #. type: Plain text
6668 #: debconf-devel.7:588
6669 #, no-wrap
6670 msgid ""
6671 " debconf (developer): E<lt>-- input high debconf/frontand\n"
6672 " debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
6673 " debconf (developer): E<lt>-- go\n"
6674 " debconf (developer): --E<gt> 0 ok\n"
6675 msgstr ""
6676 " debconf (developer): E<lt>-- input high debconf/frontand\n"
6677 " debconf (developer): --E<gt> 10 \"debconf/frontand\" doesn't exist\n"
6678 " debconf (developer): E<lt>-- go\n"
6679 " debconf (developer): --E<gt> 0 ok\n"
6680
6681 # type: Plain text
6682 #. type: Plain text
6683 #: debconf-devel.7:592
6684 msgid ""
6685 "It's rather useful to use debconf's readline frontend when you're debugging "
6686 "(in the author's opinion), as the questions don't get in the way, and all "
6687 "the debugging output is easily preserved and logged."
6688 msgstr ""
6689 "Для отладки довольно полезно использовать интерфейс debconf readline(по "
6690 "мнению автора), поскольку вопросы не мешают и весь отладочный вывод легко "
6691 "сохранить."
6692
6693 # type: TP
6694 #. type: TP
6695 #: debconf-devel.7:593
6696 #, no-wrap
6697 msgid "B<DEBCONF_C_VALUES>"
6698 msgstr "B<DEBCONF_C_VALUES>"
6699
6700 # type: Plain text
6701 #. type: Plain text
6702 #: debconf-devel.7:599
6703 msgid ""
6704 "If this environment variable is set to 'true', the frontend will display the "
6705 "values in Choices-C fields (if present) of select and multiselect templates "
6706 "rather than the descriptive values."
6707 msgstr ""
6708 "Если значение данной переменной окружения равно «true», то интерфейсная "
6709 "программа будет показывать значения шаблонов Choices-C (если есть) выбора и "
6710 "множественного выбора, вместо описательных значений."
6711
6712 # type: TP
6713 #. type: TP
6714 #: debconf-devel.7:600
6715 #, no-wrap
6716 msgid "B<debconf-communicate>"
6717 msgstr "B<debconf-communicate>"
6718
6719 # type: Plain text
6720 #. type: Plain text
6721 #: debconf-devel.7:606
6722 msgid ""
6723 "Another useful tool is the B<debconf-communicate>(1) program. Fire it up "
6724 "and you can speak the raw debconf protocol to debconf, interactively. This "
6725 "is a great way to try stuff out on the fly."
6726 msgstr ""
6727 "Другим полезным инструментом является программа B<debconf-communicate>(1). "
6728 "Просто запустите её и вы сможете интерактивно вводить команды протокола "
6729 "debconf непосредственно в debconf. Это отличный способ попробовать команды "
6730 "на лету."
6731
6732 # type: TP
6733 #. type: TP
6734 #: debconf-devel.7:606
6735 #, no-wrap
6736 msgid "B<debconf-show>"
6737 msgstr "B<debconf-show>"
6738
6739 # type: Plain text
6740 #. type: Plain text
6741 #: debconf-devel.7:612
6742 msgid ""
6743 "If a user is reporting a problem, B<debconf-show>(1) can be used to dump "
6744 "out all the questions owned by your package, displaying their values and "
6745 "whether the user has seen them."
6746 msgstr ""
6747 "Если пользователь сообщил о проблеме, можно использовать B<debconf-show>(1), "
6748 "чтобы скопировать все вопросы пакета, показать их ответы и узнать какие из "
6749 "них видел пользователь."
6750
6751 # type: TP
6752 #. type: TP
6753 #: debconf-devel.7:612
6754 #, no-wrap
6755 msgid "B<.debconfrc>"
6756 msgstr "B<.debconfrc>"
6757
6758 # type: Plain text
6759 #. type: Plain text
6760 #: debconf-devel.7:623
6761 msgid ""
6762 "To avoid the often tedious build/install/debug cycle, it can be useful to "
6763 "load up your templates with B<debconf-loadtemplate>(1) and run your config "
6764 "script by hand with the B<debconf>(1) command. However, you still have to "
6765 "do that as root, right? Not so good. And ideally you'd like to be able to "
6766 "see what a fresh installation of your package looks like, with a clean "
6767 "debconf database."
6768 msgstr ""
6769 "Чтобы избежать утомительного цикла сборка/установка/отладка, можно загрузить "
6770 "файл templates с помощью B<debconf-loadtemplate>(1) и запустить сценарий "
6771 "config вручную с помощью команды B<debconf>(1). Однако, вам по прежнему "
6772 "требуются права суперпользователя? Не очень здорово. И в идеале вы хотели бы "
6773 "увидеть как проходит новая установка, с чистой базой данных debconf."
6774
6775 # type: Plain text
6776 #. type: Plain text
6777 #: debconf-devel.7:629
6778 msgid ""
6779 "It turns out that if you set up a ~/.debconfrc file for a normal user, "
6780 "pointing at a personal config.dat and template.dat for the user, you can "
6781 "load up templates and run config scripts all you like, without any root "
6782 "access. If you want to start over with a clean database, just blow away the "
6783 "*.dat files."
6784 msgstr ""
6785 "Оказывается, если вы настроите файл ~/.debconfrc для обычного пользователя, "
6786 "указав в нём личный config.dat и template.dat, то сможете загружать файлы "
6787 "templates и запускать сценарий config как хочется, без полномочий "
6788 "суперпользователя. Если нужно ещё раз запуститься с чистой базой данных, "
6789 "просто удалите файлы *.dat."
6790
6791 # type: Plain text
6792 #. type: Plain text
6793 #: debconf-devel.7:634
6794 msgid ""
6795 "For details about setting this up, see B<debconf.conf>(5)B<,> and note that /"
6796 "etc/debconf.conf makes a good template for a personal ~/.debconfrc file."
6797 msgstr ""
6798 "Подробности настройки смотрите в B<debconf.conf>(5)B<,> и заметим, что файл /"
6799 "etc/debconf.conf отлично подойдёт как шаблон для личного файла ~/.debconfrc."
6800
6801 # type: SH
6802 #. type: SH
6803 #: debconf-devel.7:635
6804 #, no-wrap
6805 msgid "ADVANCED PROGRAMMING WITH DEBCONF"
6806 msgstr "УГЛУБЛЁННОЕ ПРОГРАММИРОВАНИЕ С DEBCONF"
6807
6808 # type: SS
6809 #. type: SS
6810 #: debconf-devel.7:636
6811 #, no-wrap
6812 msgid "Config file handling"
6813 msgstr "Работа с файлами настройки"
6814
6815 # type: Plain text
6816 #. type: Plain text
6817 #: debconf-devel.7:643
6818 msgid ""
6819 "Many of you seem to want to use debconf to help manage config files that are "
6820 "part of your package. Perhaps there is no good default to ship in a "
6821 "conffile, and so you want to use debconf to prompt the user, and write out a "
6822 "config file based on their answers. That seems easy enough to do, but then "
6823 "you consider upgrades, and what to do when someone modifies the config file "
6824 "you generate, and dpkg-reconfigure, and ..."
6825 msgstr ""
6826 "Многие из вас хотели бы использовать debconf для управления файлами "
6827 "настройки пакета. Возможно в файлах настройки недостаточно настроек по "
6828 "умолчанию и поэтому вы бы хотели использовать debconf для опроса "
6829 "пользователя и основываясь на его ответах создавать файл настройки. Кажется, "
6830 "что этого легко достичь, но когда вы задумаетесь об обновлении, или когда "
6831 "кто-то ещё изменит файл настройки, созданный вами и про dpkg-reconfigure "
6832 "и ..."
6833
6834 # type: Plain text
6835 #. type: Plain text
6836 #: debconf-devel.7:651
6837 msgid ""
6838 "There are a lot of ways to do this, and most of them are wrong, and will "
6839 "often earn you annoyed bug reports. Here is one right way to do it. It "
6840 "assumes that your config file is really just a series of shell variables "
6841 "being set, with comments in between, and so you can just source the file to "
6842 "\"load\" it. If you have a more complicated format, reading (and writing) "
6843 "it becomes a bit trickier."
6844 msgstr ""
6845 "Есть много способов сделать это и большинство из них неправильные, а вы "
6846 "будете получать раздражающие отчёты об ошибках. Есть один правильный путь "
6847 "достижения этого. В нём предполагается, что ваш файл настройки состоит из "
6848 "простого набора устанавливаемых переменных оболочки с комментариями, и "
6849 "поэтому вы можете просто выполнить файл для его «загрузки». Если у вас более "
6850 "сложный формат, чтение (и запись) становятся более сложными."
6851
6852 # type: Plain text
6853 #. type: Plain text
6854 #: debconf-devel.7:653
6855 msgid "Your config script will look something like this:"
6856 msgstr "Ваш сценарий config будет выглядеть так:"
6857
6858 # type: Plain text
6859 #. type: Plain text
6860 #: debconf-devel.7:658 debconf-devel.7:680
6861 #, no-wrap
6862 msgid ""
6863 " #!/bin/sh\n"
6864 " CONFIGFILE=/etc/foo.conf\n"
6865 " set -e\n"
6866 " . /usr/share/debconf/confmodule\n"
6867 msgstr ""
6868 " #!/bin/sh\n"
6869 " CONFIGFILE=/etc/foo.conf\n"
6870 " set -e\n"
6871 " . /usr/share/debconf/confmodule\n"
6872
6873 # type: Plain text
6874 #. type: Plain text
6875 #: debconf-devel.7:662
6876 #, no-wrap
6877 msgid ""
6878 " # Load config file, if it exists.\n"
6879 " if [ -e $CONFIGFILE ]; then\n"
6880 " \t. $CONFIGFILE || true\n"
6881 msgstr ""
6882 " # Загрузить файл настройки, если он существует.\n"
6883 " if [ -e $CONFIGFILE ]; then\n"
6884 " \t. $CONFIGFILE || true\n"
6885
6886 # type: Plain text
6887 #. type: Plain text
6888 #: debconf-devel.7:668
6889 #, no-wrap
6890 msgid ""
6891 " \t# Store values from config file into\n"
6892 " \t# debconf db.\n"
6893 " \tdb_set mypackage/foo \"$FOO\"\n"
6894 " \tdb_set mypackage/bar \"$BAR\"\n"
6895 " fi\n"
6896 msgstr ""
6897 " \t# Сохранить значения из файла настройки в\n"
6898 " \t# базу данных debconf.\n"
6899 " \tdb_set mypackage/foo \"$FOO\"\n"
6900 " \tdb_set mypackage/bar \"$BAR\"\n"
6901 " fi\n"
6902
6903 # type: Plain text
6904 #. type: Plain text
6905 #: debconf-devel.7:673
6906 #, no-wrap
6907 msgid ""
6908 " # Ask questions.\n"
6909 " db_input medium mypackage/foo || true\n"
6910 " db_input medium mypackage/bar || true\n"
6911 " db_go || true\n"
6912 msgstr ""
6913 " # Задать вопросы.\n"
6914 " db_input medium mypackage/foo || true\n"
6915 " db_input medium mypackage/bar || true\n"
6916 " db_go || true\n"
6917
6918 # type: Plain text
6919 #. type: Plain text
6920 #: debconf-devel.7:675
6921 msgid "And the postinst will look something like this:"
6922 msgstr "А сценарий postinst будет выглядеть так:"
6923
6924 # type: Plain text
6925 #. type: Plain text
6926 #: debconf-devel.7:689
6927 #, no-wrap
6928 msgid ""
6929 " # Generate config file, if it doesn't exist.\n"
6930 " # An alternative is to copy in a template\n"
6931 " # file from elsewhere.\n"
6932 " if [ ! -e $CONFIGFILE ]; then\n"
6933 " \techo \"# Config file for my package\" E<gt> $CONFIGFILE\n"
6934 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6935 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6936 " fi\n"
6937 msgstr ""
6938 " # Сгенерировать файл настройки, если он не существует.\n"
6939 " # Или скопировать из файла шаблона\n"
6940 " # откуда-то ещё.\n"
6941 " if [ ! -e $CONFIGFILE ]; then\n"
6942 " \techo \"# Config file for my package\" E<gt> $CONFIGFILE\n"
6943 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6944 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6945 " fi\n"
6946
6947 # type: Plain text
6948 #. type: Plain text
6949 #: debconf-devel.7:699
6950 #, no-wrap
6951 msgid ""
6952 " # Substitute in the values from the debconf db.\n"
6953 " # There are obvious optimizations possible here.\n"
6954 " # The cp before the sed ensures we do not mess up\n"
6955 " # the config file's ownership and permissions.\n"
6956 " db_get mypackage/foo\n"
6957 " FOO=\"$RET\"\n"
6958 " db_get mypackage/bar\n"
6959 " BAR=\"$RET\"\n"
6960 " cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"
6961 msgstr ""
6962 " # Выполнить подстановку значений из базы данных debconf.\n"
6963 " # Здесь явно возможна оптимизация.\n"
6964 " # Команда cp перед sed проверяет, что мы не испортили\n"
6965 " # права доступа и владельца файла настройки.\n"
6966 " db_get mypackage/foo\n"
6967 " FOO=\"$RET\"\n"
6968 " db_get mypackage/bar\n"
6969 " BAR=\"$RET\"\n"
6970 " cp -a -f $CONFIGFILE $CONFIGFILE.tmp\n"
6971
6972 # type: Plain text
6973 #. type: Plain text
6974 #: debconf-devel.7:706
6975 #, no-wrap
6976 msgid ""
6977 " # If the admin deleted or commented some variables but then set\n"
6978 " # them via debconf, (re-)add them to the conffile.\n"
6979 " test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
6980 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6981 " test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
6982 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6983 msgstr ""
6984 " # Если администратор удалил или закомментировал какие-то переменные, но\n"
6985 " # после задал их через debconf, добавим(пересоздадим) их в файле\n"
6986 " # настройки.\n"
6987 " test -z \"$FOO\" || grep -Eq '^ *FOO=' $CONFIGFILE || \\e\n"
6988 " \techo \"FOO=\" E<gt>E<gt> $CONFIGFILE\n"
6989 " test -z \"$BAR\" || grep -Eq '^ *BAR=' $CONFIGFILE || \\e\n"
6990 " \techo \"BAR=\" E<gt>E<gt> $CONFIGFILE\n"
6991
6992 # type: Plain text
6993 #. type: Plain text
6994 #: debconf-devel.7:711
6995 #, no-wrap
6996 msgid ""
6997 " sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
6998 " -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
6999 " E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
7000 " mv -f $CONFIGFILE.tmp $CONFIGFILE\n"
7001 msgstr ""
7002 " sed -e \"s/^ *FOO=.*/FOO=\\e\"$FOO\\e\"/\" \\e\n"
7003 " -e \"s/^ *BAR=.*/BAR=\\e\"$BAR\\e\"/\" \\e\n"
7004 " E<lt> $CONFIGFILE E<gt> $CONFIGFILE.tmp\n"
7005 " mv -f $CONFIGFILE.tmp $CONFIGFILE\n"
7006
7007 # type: Plain text
7008 #. type: Plain text
7009 #: debconf-devel.7:719
7010 msgid ""
7011 "Consider how these two scripts handle all the cases. On fresh installs the "
7012 "questions are asked by the config script, and a new config file generated by "
7013 "the postinst. On upgrades and reconfigures, the config file is read in, and "
7014 "the values in it are used to change the values in the debconf database, so "
7015 "the admin's manual changes are not lost. The questions are asked again (and "
7016 "may or may not be displayed). Then the postinst substitutes the values back "
7017 "into the config file, leaving the rest of it unchanged."
7018 msgstr ""
7019 "Рассмотрим как эти два сценария обрабатывают все возможные ситуации. При "
7020 "начальной установке сценарий config задаёт вопросы и новый файл настройки "
7021 "генерируется сценарием postinst. При обновлении или перенастройке файл "
7022 "настройки читается и его значения используются для изменения значений в базе "
7023 "данных debconf, поэтому значения, изменённые администратором, не теряются. "
7024 "Вопросы задаются снова (могут показываться, а могут и нет). Затем сценарий "
7025 "postinst выполняет подстановку значений обратно в файл настройки, не изменяя "
7026 "всего остального."
7027
7028 # type: SS
7029 #. type: SS
7030 #: debconf-devel.7:719
7031 #, no-wrap
7032 msgid "Letting the user back up"
7033 msgstr "Позволить пользователю возвращаться назад"
7034
7035 # type: Plain text
7036 #. type: Plain text
7037 #: debconf-devel.7:725
7038 msgid ""
7039 "Few things are more frustrating when using a system like debconf than being "
7040 "asked a question, and answering it, then moving on to another screen with a "
7041 "new question on it, and realizing that hey, you made a mistake, with that "
7042 "last question, and you want to go back to it, and discovering that you can't."
7043 msgstr ""
7044 "Некоторые вещи ещё сильнее разочаровывают при использовании систем типа "
7045 "debconf: после заданного вопроса и ответа на него, переходишь к другому "
7046 "экрану с новым вопросом, и отвечая понимаешь, что совершил ошибку в "
7047 "последнем вопросе и хочешь вернуться обратно и обнаруживаешь, что не можешь "
7048 "сделать этого."
7049
7050 # type: Plain text
7051 #. type: Plain text
7052 #: debconf-devel.7:731
7053 msgid ""
7054 "Since debconf is driven by your config script, it can't jump back to a "
7055 "previous question on its own but with a little help from you, it can "
7056 "accomplish this feat. The first step is to make your config script let "
7057 "debconf know it is capable of handling the user pressing a back button. You "
7058 "use the CAPB command to do this, passing backup as a parameter."
7059 msgstr ""
7060 "Так как debconf управляется вашим сценарием config, он не может прыгнуть "
7061 "обратно на предыдущий вопрос сам, но с небольшой вашей помощью, он сможет "
7062 "выполнить этот подвиг. Первый шаг — в сценарии config дать понять debconf, "
7063 "что сценарий config способен обрабатывать нажатие кнопки назад "
7064 "пользователем. Для этого используйте команду CAPB, передав backup в качестве "
7065 "параметра."
7066
7067 # type: Plain text
7068 #. type: Plain text
7069 #: debconf-devel.7:735
7070 msgid ""
7071 "Then after each GO command, you must test to see if the user asked to back "
7072 "up (debconf returns a code of 30), and if so jump back to the previous "
7073 "question."
7074 msgstr ""
7075 "Затем, после каждой команды GO вы должны выполнять тест, чтобы увидеть "
7076 "просил ли пользователь вернуться назад (debconf возвратит код 30), и, если "
7077 "это произошло, возвратиться к предыдущему вопросу."
7078
7079 # type: Plain text
7080 #. type: Plain text
7081 #: debconf-devel.7:741
7082 msgid ""
7083 "There are several ways to write the control structures of your program so it "
7084 "can jump back to previous questions when necessary. You can write goto-laden "
7085 "spaghetti code. Or you can create several functions and use recursion. But "
7086 "perhaps the cleanest and easiest way is to construct a state machine. Here "
7087 "is a skeleton of a state machine that you can fill out and expand."
7088 msgstr ""
7089 "Есть несколько способов написания управляющих структур в вашей программе для "
7090 "возвращения к предыдущему вопросу при необходимости. Вы можете написать код, "
7091 "использующий кучу команд перехода goto. Или вы можете создать несколько "
7092 "функций и использовать рекурсию. Но возможно самым понятным и простым "
7093 "является создание конечного автомата. Вот скелет конечного автомата, который "
7094 "можно заполнить и расширить."
7095
7096 # type: Plain text
7097 #. type: Plain text
7098 #: debconf-devel.7:746
7099 #, no-wrap
7100 msgid ""
7101 " #!/bin/sh\n"
7102 " set -e\n"
7103 " . /usr/share/debconf/confmodule\n"
7104 " db_capb backup\n"
7105 msgstr ""
7106 " #!/bin/sh\n"
7107 " set -e\n"
7108 " . /usr/share/debconf/confmodule\n"
7109 " db_capb backup\n"
7110
7111 # type: Plain text
7112 #. type: Plain text
7113 #: debconf-devel.7:773
7114 #, no-wrap
7115 msgid ""
7116 " STATE=1\n"
7117 " while true; do\n"
7118 " \tcase \"$STATE\" in\n"
7119 " \t1)\n"
7120 " \t\t# Two unrelated questions.\n"
7121 " \t\tdb_input medium my/question || true\n"
7122 " \t\tdb_input medium my/other_question || true\n"
7123 " \t;;\n"
7124 " \t2)\n"
7125 " \t\t# Only ask this question if the\n"
7126 " \t\t# first question was answered in\n"
7127 " \t\t# the affirmative.\n"
7128 " \tdb_get my/question\n"
7129 " \t\tif [ \"$RET\" = \"true\" ]; then\n"
7130 " \t\t\tdb_input medium my/dep_question || true\n"
7131 " \t\tfi\n"
7132 " \t;;\n"
7133 " \t*)\n"
7134 " \t\t# The default case catches when $STATE is greater than the\n"
7135 " \t\t# last implemented state, and breaks out of the loop. This\n"
7136 " \t\t# requires that states be numbered consecutively from 1\n"
7137 " \t\t# with no gaps, as the default case will also be entered\n"
7138 " \t\t# if there is a break in the numbering\n"
7139 " \t\tbreak # exits the enclosing \"while\" loop\n"
7140 " \t;;\n"
7141 " \tesac\n"
7142 msgstr ""
7143 " STATE=1\n"
7144 " while true; do\n"
7145 " \tcase \"$STATE\" in\n"
7146 " \t1)\n"
7147 " \t\t# Два несвязных вопроса.\n"
7148 " \t\tdb_input medium my/question || true\n"
7149 " \t\tdb_input medium my/other_question || true\n"
7150 " \t;;\n"
7151 " \t2)\n"
7152 " \t\t# Задавать этот вопрос, только если\n"
7153 " \t\t# на первый был получен\n"
7154 " \t\t# положительный ответ.\n"
7155 " \tdb_get my/question\n"
7156 " \t\tif [ \"$RET\" = \"true\" ]; then\n"
7157 " \t\t\tdb_input medium my/dep_question || true\n"
7158 " \t\tfi\n"
7159 " \t;;\n"
7160 " \t*)\n"
7161 " \t\t# Действие по умолчанию возникает, когда $STATE больше чем последнее\n"
7162 " \t\t# введённое состояние и прерывает цикл. Для\n"
7163 " \t\t# этого требуется, чтобы состояния были пронумерованы последовательно с 1\n"
7164 " \t\t# без перерывов, так как в этом случае возникает событие по умолчанию\n"
7165 " \t\tbreak # выход из обёртывающего цикла \"while\"\n"
7166 " \t;;\n"
7167 " \tesac\n"
7168
7169 # type: Plain text
7170 #. type: Plain text
7171 #: debconf-devel.7:780
7172 #, no-wrap
7173 msgid ""
7174 " \tif db_go; then\n"
7175 " \t\tSTATE=$((STATE + 1))\n"
7176 " \telse\n"
7177 " \t\tSTATE=$((STATE - 1))\n"
7178 " \tfi\n"
7179 " done\n"
7180 msgstr ""
7181 " \tif db_go; then\n"
7182 " \t\tSTATE=$((STATE + 1))\n"
7183 " \telse\n"
7184 " \t\tSTATE=$((STATE - 1))\n"
7185 " \tfi\n"
7186 " done\n"
7187
7188 # type: Plain text
7189 #. type: Plain text
7190 #: debconf-devel.7:791
7191 #, no-wrap
7192 msgid ""
7193 " if [ $STATE -eq 0 ]; then\n"
7194 " \t# The user has asked to back up from the first\n"
7195 " \t# question. This case is problematical. Regular\n"
7196 " \t# dpkg and apt package installation isn't capable\n"
7197 " \t# of backing up questions between packages as this\n"
7198 " \t# is written, so this will exit leaving the package\n"
7199 " \t# unconfigured - probably the best way to handle\n"
7200 " \t# the situation.\n"
7201 " \texit 10\n"
7202 " fi\n"
7203 msgstr ""
7204 " if [ $STATE -eq 0 ]; then\n"
7205 " \t# Пользователь хочет выйти из первого вопроса.\n"
7206 " \t# Это проблематичный случай. Обычная установка\n"
7207 " \t# пакетов с помощью dpkg и apt не даёт\n"
7208 " \t# вернуться к вопросам между пакетами как здесь написано,\n"
7209 " \t# поэтому завершить работу, оставив пакет ненастроенным,\n"
7210 " \t# вероятно, лучший путь обработки этой ситуации.\n"
7211 " \texit 10\n"
7212 " fi\n"
7213
7214 # type: Plain text
7215 #. type: Plain text
7216 #: debconf-devel.7:796
7217 msgid ""
7218 "Note that if all your config script does is ask a few unrelated questions, "
7219 "then there is no need for the state machine. Just ask them all, and GO; "
7220 "debconf will do its best to present them all in one screen, and the user "
7221 "won't need to back up."
7222 msgstr ""
7223 "Заметим, что если ваш сценарий config задаёт несколько несвязных между собой "
7224 "вопросов, то конечный автомат не нужен. Просто задайте их все и GO; debconf "
7225 "покажет их все на одном экране, и пользователю не нужно возвращаться назад."
7226
7227 # type: SS
7228 #. type: SS
7229 #: debconf-devel.7:796
7230 #, no-wrap
7231 msgid "Preventing infinite loops"
7232 msgstr "Предотвращение бесконечных циклов"
7233
7234 # type: Plain text
7235 #. type: Plain text
7236 #: debconf-devel.7:800
7237 msgid ""
7238 "One gotcha with debconf comes up if you have a loop in your config script. "
7239 "Suppose you're asking for input and validating it, and looping if it's not "
7240 "valid:"
7241 msgstr ""
7242 "Это может произойти с debconf, если в сценарии config есть цикл. "
7243 "Предположим, вы задаёте вопрос и проверяете ответ, и всё это в цикле пока "
7244 "ответ не станет правильным:"
7245
7246 # type: Plain text
7247 #. type: Plain text
7248 #: debconf-devel.7:810
7249 #, no-wrap
7250 msgid ""
7251 " ok=''\n"
7252 " do while [ ! \"$ok\" ];\n"
7253 " \tdb_input low foo/bar || true\n"
7254 " \tdb_go || true\n"
7255 " \tdb_get foo/bar\n"
7256 " \tif [ \"$RET\" ]; then\n"
7257 " \t\tok=1\n"
7258 " \tfi\n"
7259 " done\n"
7260 msgstr ""
7261 " ok=''\n"
7262 " do while [ ! \"$ok\" ];\n"
7263 " \tdb_input low foo/bar || true\n"
7264 " \tdb_go || true\n"
7265 " \tdb_get foo/bar\n"
7266 " \tif [ \"$RET\" ]; then\n"
7267 " \t\tok=1\n"
7268 " \tfi\n"
7269 " done\n"
7270
7271 # type: Plain text
7272 #. type: Plain text
7273 #: debconf-devel.7:817
7274 msgid ""
7275 "This looks ok at first glance. But consider what happens if the value of foo/"
7276 "bar is \"\" when this loop is entered, and the user has their priority set "
7277 "high, or is using a non-interactive frontend, and so they are not really "
7278 "asked for input. The value of foo/bar is not changed by the db_input, and so "
7279 "it fails the test and loops. And loops ..."
7280 msgstr ""
7281 "На первый взгляд всё выглядит хорошо. Но посмотрим что произойдёт, если "
7282 "значение foo/bar будет \"\" в начале цикла, а пользователь установил "
7283 "приоритет на высокий, или использует не интерактивный интерфейс, и поэтому "
7284 "вопрос на самом деле задан не будет. Значение foo/bar не изменяется в "
7285 "db_input, и тест не проходит и повторяется. И всё зацикливается …"
7286
7287 # type: Plain text
7288 #. type: Plain text
7289 #: debconf-devel.7:823
7290 msgid ""
7291 "One fix for this is to make sure that before the loop is entered, the value "
7292 "of foo/bar is set to something that will pass the test in the loop. So for "
7293 "example if the default value of foo/bar is \"1\", then you could RESET foo/"
7294 "bar just before entering the loop."
7295 msgstr ""
7296 "Одним вариантом исправления является задание значения foo/bar перед входом в "
7297 "цикл. Например, если значение по умолчанию foo/bar равно «1», то вы можете "
7298 "выполнить RESET foo/bar перед входом в цикл."
7299
7300 # type: Plain text
7301 #. type: Plain text
7302 #: debconf-devel.7:827
7303 msgid ""
7304 "Another fix is to check the return code of the INPUT command. If it is 30 "
7305 "then the user is not being shown the question you asked them, and you should "
7306 "break out of the loop."
7307 msgstr ""
7308 "В другом варианте можно проверить код завершения команды INPUT. Если он "
7309 "равен 30, то пользователю вопрос показан не был, и вы должны прервать цикл."
7310
7311 # type: SS
7312 #. type: SS
7313 #: debconf-devel.7:827
7314 #, no-wrap
7315 msgid "Choosing among related packages"
7316 msgstr "Выбор из похожих пакетов"
7317
7318 # type: Plain text
7319 #. type: Plain text
7320 #: debconf-devel.7:832
7321 msgid ""
7322 "Sometimes a set of related packages can be installed, and you want to prompt "
7323 "the user which of the set should be used by default. Examples of such sets "
7324 "are window managers, or ispell dictionary files."
7325 msgstr ""
7326 "Иногда может выполняться установка похожих по функциональности пакетов, и вы "
7327 "хотели бы предложить пользователю выбрать пакет, который должен "
7328 "использоваться по умолчанию. Примером таких наборов могут быть оконные "
7329 "менеджеры или файлы словарей ispell."
7330
7331 # type: Plain text
7332 #. type: Plain text
7333 #: debconf-devel.7:838
7334 msgid ""
7335 "While it would be possible for each package in the set to simply prompt, "
7336 "\"Should this package be default?\", this leads to a lot of repetitive "
7337 "questions if several of the packages are installed. It's possible with "
7338 "debconf to present a list of all the packages in the set and allow the user "
7339 "to choose between them. Here's how."
7340 msgstr ""
7341 "Хотя можно для каждого пакета задавать простой вопрос «Использовать этот "
7342 "пакет по умолчанию?», но это приведёт к большому числу повторяющихся "
7343 "вопросов, если устанавливается несколько пакетов. С помощью debconf возможно "
7344 "создать список всех пакетов и позволить пользователю сделать из него выбор. "
7345 "Посмотрим как это делается."
7346
7347 # type: Plain text
7348 #. type: Plain text
7349 #: debconf-devel.7:841
7350 msgid ""
7351 "Make all the packages in the set use a shared template. Something like this:"
7352 msgstr ""
7353 "Сделайте так, чтобы все пакеты в наборе использовали общий шаблон. Например:"
7354
7355 # type: Plain text
7356 #. type: Plain text
7357 #: debconf-devel.7:848
7358 #, no-wrap
7359 msgid ""
7360 " Template: shared/window-manager\n"
7361 " Type: select\n"
7362 " Choices: ${choices}\n"
7363 " Description: Select the default window manager.\n"
7364 " Select the window manager that will be started by\n"
7365 " default when X starts.\n"
7366 msgstr ""
7367 " Template: shared/window-manager\n"
7368 " Type: select\n"
7369 " Choices: ${choices}\n"
7370 " Description: Выбор оконного менеджера по умолчанию.\n"
7371 " Определяет выбранный оконный менеджер, который запускается\n"
7372 " по умолчанию при запуске X.\n"
7373
7374 # type: Plain text
7375 #. type: Plain text
7376 #: debconf-devel.7:851
7377 msgid ""
7378 "Each package should include a copy of the template. Then it should include "
7379 "some code like this in its config script:"
7380 msgstr ""
7381 "Каждый пакет должен содержать копию этого шаблона. Также нужно включить код "
7382 "в свой сценарий config, примерно такой:"
7383
7384 # type: Plain text
7385 #. type: Plain text
7386 #: debconf-devel.7:856
7387 #, no-wrap
7388 msgid ""
7389 " db_metaget shared/window-manager owners\n"
7390 " OWNERS=$RET\n"
7391 " db_metaget shared/window-manager choices\n"
7392 " CHOICES=$RET\n"
7393 msgstr ""
7394 " db_metaget shared/window-manager owners\n"
7395 " OWNERS=$RET\n"
7396 " db_metaget shared/window-manager choices\n"
7397 " CHOICES=$RET\n"
7398
7399 # type: Plain text
7400 #. type: Plain text
7401 #: debconf-devel.7:861
7402 #, no-wrap
7403 msgid ""
7404 " if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
7405 " \tdb_subst shared/window-manager choices $OWNERS\n"
7406 " \tdb_fset shared/window-manager seen false\n"
7407 " fi\n"
7408 msgstr ""
7409 " if [ \"$OWNERS\" != \"$CHOICES\" ]; then\n"
7410 " \tdb_subst shared/window-manager choices $OWNERS\n"
7411 " \tdb_fset shared/window-manager seen false\n"
7412 " fi\n"
7413
7414 # type: Plain text
7415 #. type: Plain text
7416 #: debconf-devel.7:864
7417 #, no-wrap
7418 msgid ""
7419 " db_input medium shared/window-manager || true\n"
7420 " db_go || true\n"
7421 msgstr ""
7422 " db_input medium shared/window-manager || true\n"
7423 " db_go || true\n"
7424
7425 # type: Plain text
7426 #. type: Plain text
7427 #: debconf-devel.7:872
7428 msgid ""
7429 "A bit of an explanation is called for. By the time your config script runs, "
7430 "debconf has already read in all the templates for the packages that are "
7431 "being installed. Since the set of packages share a question, debconf records "
7432 "that fact in the owners field. By a strange coincidence, the format of the "
7433 "owners field is the same as that of the choices field (a comma and space "
7434 "delimited list of values)."
7435 msgstr ""
7436 "Объяснение. Во время запуска сценария config, debconf уже прочитал все "
7437 "шаблоны для устанавливаемых пакетов. Так как эти пакеты используют общий "
7438 "вопрос, debconf записывает этот факт в поле владельцев. По странному "
7439 "совпадению формат поля владельцев такой же как и у поля выбора (запятая и "
7440 "пробел являются разделителями в списке значений)."
7441
7442 # type: Plain text
7443 #. type: Plain text
7444 #: debconf-devel.7:877
7445 msgid ""
7446 "The METAGET command can be used to get the list of owners and the list of "
7447 "choices. If they are different, then a new package has been installed. So "
7448 "use the SUBST command to change the list of choices to be the same as the "
7449 "list of owners, and ask the question."
7450 msgstr ""
7451 "Команда METAGET может использоваться для получения списка владельцев и "
7452 "списка выбора. Если они различаются, то это значит, что был установлен новый "
7453 "пакет. Поэтому используется команда SUBST для замены списка выбора на список "
7454 "владельцев и задаётся вопрос."
7455
7456 # type: Plain text
7457 #. type: Plain text
7458 #: debconf-devel.7:881
7459 msgid ""
7460 "When a package is removed, you probably want to see if that package is the "
7461 "currently selected choice, and if so, prompt the user to select a different "
7462 "package to replace it."
7463 msgstr ""
7464 "При удалении пакета вы вероятно хотите проверить не является этот пакет "
7465 "выбранным в списке, и если так, то попросить пользователя выбрать другой "
7466 "пакет по умолчанию на замену."
7467
7468 # type: Plain text
7469 #. type: Plain text
7470 #: debconf-devel.7:885
7471 msgid ""
7472 "This can be accomplished by adding something like this to the prerm scripts "
7473 "of all related packages (replacing E<lt>packageE<gt> with the package name):"
7474 msgstr ""
7475 "Это можно выполнить добавив следующее в сценарии prerm всех похожих пакетов "
7476 "(заменив E<lt>packageE<gt> именем пакета):"
7477
7478 # type: Plain text
7479 #. type: Plain text
7480 #: debconf-devel.7:890
7481 #, no-wrap
7482 msgid ""
7483 " if [ -e /usr/share/debconf/confmodule ]; then\n"
7484 " \t. /usr/share/debconf/confmodule\n"
7485 " \t# I no longer claim this question.\n"
7486 " \tdb_unregister shared/window-manager\n"
7487 msgstr ""
7488 " if [ -e /usr/share/debconf/confmodule ]; then\n"
7489 " \t. /usr/share/debconf/confmodule\n"
7490 " \t# больше не задавать этот вопрос.\n"
7491 " \tdb_unregister shared/window-manager\n"
7492
7493 # type: Plain text
7494 #. type: Plain text
7495 #: debconf-devel.7:901
7496 #, no-wrap
7497 msgid ""
7498 " \t# See if the shared question still exists.\n"
7499 " \tif db_get shared/window-manager; then\n"
7500 " \t\tdb_metaget shared/window-manager owners\n"
7501 " \t\tdb_subst shared/window-manager choices $RET\n"
7502 " \t\tdb_metaget shared/window-manager value\n"
7503 " \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
7504 " \t\t\tdb_fset shared/window-manager seen false\n"
7505 " \t\t\tdb_input high shared/window-manager || true\n"
7506 " \t\t\tdb_go || true\n"
7507 " \t\tfi\n"
7508 msgstr ""
7509 " \t# Проверить, что общий вопрос ещё существует.\n"
7510 " \tif db_get shared/window-manager; then\n"
7511 " \t\tdb_metaget shared/window-manager owners\n"
7512 " \t\tdb_subst shared/window-manager choices $RET\n"
7513 " \t\tdb_metaget shared/window-manager value\n"
7514 " \t\tif [ \"E<lt>packageE<gt>\" = \"$RET\" ] ; then\n"
7515 " \t\t\tdb_fset shared/window-manager seen false\n"
7516 " \t\t\tdb_input high shared/window-manager || true\n"
7517 " \t\t\tdb_go || true\n"
7518 " \t\tfi\n"
7519
7520 # type: Plain text
7521 #. type: Plain text
7522 #: debconf-devel.7:906
7523 #, no-wrap
7524 msgid ""
7525 " \t\t# Now do whatever the postinst script did\n"
7526 " \t\t# to update the window manager symlink.\n"
7527 " \tfi\n"
7528 " fi\n"
7529 msgstr ""
7530 " \t\t# Теперь сделать тоже что делает сценарий postinst\n"
7531 " \t\t# для обновления символической ссылки оконного менеджера.\n"
7532 " \tfi\n"
7533 " fi\n"
7534
7535 # type: SH
7536 #. type: SH
7537 #: debconf-devel.7:906
7538 #, no-wrap
7539 msgid "HACKS"
7540 msgstr "ХАКИ"
7541
7542 # type: Plain text
7543 #. type: Plain text
7544 #: debconf-devel.7:909
7545 msgid ""
7546 "Debconf is currently not fully integrated into dpkg (but I want to change "
7547 "this in the future), and so some messy hacks are currently called for."
7548 msgstr ""
7549 "В настоящее время debconf не полностью интегрирован с dpkg (но я хочу "
7550 "изменить это в будущем), и поэтому сейчас вызывается для некоторых "
7551 "неприятных хаков."
7552
7553 # type: Plain text
7554 #. type: Plain text
7555 #: debconf-devel.7:920
7556 msgid ""
7557 "The worst of these involves getting the config script to run. The way that "
7558 "works now is the config script will be run when the package is pre-"
7559 "configured. Then, when the postinst script runs, it starts up debconf again. "
7560 "Debconf notices it is being used by the postinst script, and so it goes off "
7561 "and runs the config script. This can only work if your postinst loads up one "
7562 "of the debconf libraries though, so postinsts always have to take care to do "
7563 "that. We hope to address this later by adding explicit support to dpkg for "
7564 "debconf. The B<debconf>(1) program is a step in this direction."
7565 msgstr ""
7566 "Худшие из них требуют запуска сценария config. Для этого в настоящий момент "
7567 "приходится запускать сценарий config во время предварительной настройки "
7568 "пакета. Также, при запуске сценария postinst, снова запускается debconf. "
7569 "Debconf понимает, что запускается из сценария postinst и поэтому "
7570 "останавливается и запускает сценарий config. Это работает, только если ваш "
7571 "postinst загружает хотя бы одну из библиотек debconf, поэтому postinst "
7572 "всегда делает это. Мы надеемся вернуться к этому позже добавив явную "
7573 "поддержку в dpkg для debconf. Программа B<debconf>(1) — это шаг в данном "
7574 "направлении."
7575
7576 # type: Plain text
7577 #. type: Plain text
7578 #: debconf-devel.7:931
7579 msgid ""
7580 "A related hack is getting debconf running when a config script, postinst, or "
7581 "other program that uses it starts up. After all, they expect to be able to "
7582 "talk to debconf right away. The way this is accomplished for now is that "
7583 "when such a script loads a debconf library (like /usr/share/debconf/"
7584 "confmodule), and debconf is not already running, it is started up, and a new "
7585 "copy of the script is re-execed. The only noticeable result is that you need "
7586 "to put the line that loads a debconf library at the very top of the script, "
7587 "or weird things will happen. We hope to address this later by changing how "
7588 "debconf is invoked, and turning it into something more like a transient "
7589 "daemon."
7590 msgstr ""
7591 "Похожий хак — запуск debconf когда сценарии config, postinst или другие "
7592 "программы используют его при запуске. Не смотря ни на что, они ожидают что "
7593 "будут сразу общаться с debconf. Сейчас это выполняется, так что когда такой "
7594 "сценарий загружает библиотеку debconf (типа /usr/share/debconf/confmodule), "
7595 "а debconf ещё не запущен, он запускается, и новая копия сценария выполняется "
7596 "заново. Заметный результат в том, что вам нужно указывать строку загрузки "
7597 "библиотеки debconf как можно ближе к началу сценария, или могут случиться "
7598 "непонятные вещи. Мы надеемся вернуться к этой проблеме позже изменив вызов "
7599 "debconf, и превратить его в что-то подобное отдельного демона."
7600
7601 # type: Plain text
7602 #. type: Plain text
7603 #: debconf-devel.7:942
7604 msgid ""
7605 "It's rather hackish how debconf figures out what templates files to load, "
7606 "and when it loads them. When the config, preinst, and postinst scripts "
7607 "invoke debconf, it will automatically figure out where the templates file "
7608 "is, and load it. Standalone programs that use debconf will cause debconf to "
7609 "look for templates files in /usr/share/debconf/templates/progname."
7610 "templates. And if a postrm wants to use debconf at purge time, the "
7611 "templates won't be available unless debconf had a chance to load them in its "
7612 "postinst. This is messy, but rather unavoidable. In the future some of these "
7613 "programs may be able to use debconf-loadtemplate by hand though."
7614 msgstr ""
7615 "Сравнимо с хаком и то, как debconf выясняет какие файл шаблонов загружены и "
7616 "когда их загружать. Когда сценарии config, preinst и postinst вызывают "
7617 "debconf, он автоматически выясняет где файл templates и загружает его. "
7618 "Отдельные программы, использующие debconf, заставляют debconf искать файл "
7619 "шаблонов в /usr/share/debconf/templates/имя_программы.templates. И если "
7620 "postrm хочет использовать debconf при вычистке, шаблоны будут недоступны "
7621 "если только у debconf не будет шанса загрузить их в postinst. Не неприятно, "
7622 "но неизбежно. Хотя в будущем некоторые из таких программ смогут использовать "
7623 "debconf-loadtemplate вручную."
7624
7625 # type: Plain text
7626 #. type: Plain text
7627 #: debconf-devel.7:950
7628 msgid ""
7629 "/usr/share/debconf/confmodule's historic behavior of playing with file "
7630 "descriptors and setting up a fd #3 that talks to debconf, can cause all "
7631 "sorts of trouble when a postinst runs a daemon, since the daemon ends up "
7632 "talking to debconf, and debconf can't figure out when the script terminates. "
7633 "The STOP command can work around this. In the future, we are considering "
7634 "making debconf communication happen over a socket or some other mechanism "
7635 "than stdio."
7636 msgstr ""
7637 "Исторически сложившееся поведение /usr/share/debconf/confmodule играть с "
7638 "файловыми дескрипторами и устанавливать fd #3 через который происходит "
7639 "общение с debconf, может вызывать весь набор проблем при запуске из postinst "
7640 "демона, так как демон завершает общение с debconf, а debconf не может "
7641 "определить когда завершился сценарий. Команда STOP помогает обойти это. В "
7642 "будущем, мы рассмотрим создание связи с debconf через сокет или другой "
7643 "механизм отличный от stdio."
7644
7645 # type: Plain text
7646 #. type: Plain text
7647 #: debconf-devel.7:958
7648 msgid ""
7649 "Debconf sets DEBCONF_RECONFIGURE=1 before running postinst scripts, so a "
7650 "postinst script that needs to avoid some expensive operation when "
7651 "reconfigured can look at that variable. This is a hack because the right "
7652 "thing would be to pass $1 = \"reconfigure\", but doing so without breaking "
7653 "all the postinsts that use debconf is difficult. The migration plan away "
7654 "from this hack is to encourage people to write postinsts that accept "
7655 "\"reconfigure\", and once they all do, begin passing that parameter."
7656 msgstr ""
7657 "Debconf устанавливает DEBCONF_RECONFIGURE=1 перед запуском сценариев "
7658 "postinst, поэтому сценарий postinst, которому требуется избежать некоторой "
7659 "затратной операции перед перенастройкой, может проверить наличие этой "
7660 "переменной. Это хак, так как правильно сделать это — передать $1 = "
7661 "«reconfigure», но этого делать нельзя, так как будут работать неправильно "
7662 "все сценарии postinst, использующие debconf. Разработан план перехода на "
7663 "приём сценариями postinst значения «reconfigure», и как только все сделают "
7664 "это, начнётся передача этого параметра."
7665
7666 # type: Plain text
7667 #. type: Plain text
7668 #: debconf-devel.7:961
7669 msgid "B<debconf>(7) is the debconf user's guide."
7670 msgstr "В B<debconf>(7) содержится руководство пользователя debconf."
7671
7672 # type: Plain text
7673 #. type: Plain text
7674 #: debconf-devel.7:964
7675 msgid ""
7676 "The debconf specification in debian policy is the canonical definition of "
7677 "the debconf protocol. /usr/share/doc/debian-policy/debconf_specification.txt."
7678 "gz"
7679 msgstr ""
7680 "Описание debconf в политике debian является спецификацией протокола "
7681 "debconf. /usr/share/doc/debian-policy/debconf_specification.txt.gz"
7682
7683 # type: Plain text
7684 #. type: Plain text
7685 #: debconf-devel.7:968
7686 msgid ""
7687 "B<debconf.conf>(5) has much useful information, including some info about "
7688 "the backend database."
7689 msgstr ""
7690 "B<debconf.conf>(5) содержит много полезной информации, включая описание "
7691 "среды хранения базы данных."
7692
7693 #, fuzzy
7694 #~| msgid ""
7695 #~| "This frontend provides a simple X GUI written with the Qt library. It "
7696 #~| "fits well the KDE desktop. You of course need a DISPLAY to use this "
7697 #~| "frontend and must install libqt-perl. The frontend will fall back to "
7698 #~| "dialog if some of the prerequisites are not met."
7699 #~ msgid ""
7700 #~ "This frontend provides a simple X GUI written with the Qt library. You of "
7701 #~ "course need a DISPLAY to use this frontend and must install libqtgui4-"
7702 #~ "perl. The frontend will fall back to dialog if some of the prerequisites "
7703 #~ "are not met."
7704 #~ msgstr ""
7705 #~ "Этот интерфейс предоставляет простой графический интерфейс для X, "
7706 #~ "использующий библиотеку Qt. Он хорошо подходит для рабочего стола KDE. "
7707 #~ "Естественно, для этого требуется установленная переменная DISPLAY и пакет "
7708 #~ "libqt-perl. Интерфейс переключится на диалоговый, если чего-то не хватит."
7709
7710 # type: =item
7711 #~ msgid "B<-a>, B<--all>"
7712 #~ msgstr "B<-a>, B<--all>"
7713
7714 # type: textblock
7715 #~ msgid ""
7716 #~ "Reconfigure all installed packages that use debconf. Warning: this may "
7717 #~ "take a long time."
7718 #~ msgstr ""
7719 #~ "Перенастроить все пакеты, которые используют debconf. Предупреждение: это "
7720 #~ "может занять много времени."