1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
1 files changed, 97 insertions, 176 deletions
diff --git a/perl-install/share/po/ru.po b/perl-install/share/po/ru.po index 26c437c49..12f2aa0cf 100644 --- a/perl-install/share/po/ru.po +++ b/perl-install/share/po/ru.po @@ -9,13 +9,13 @@ msgid "" msgstr "" "Project-Id-Version: DrakX-ru\n" "POT-Creation-Date: 2005-02-24 14:10+0100\n" -"PO-Revision-Date: 2005-03-23 17:03+0200\n" -"Last-Translator: Pavel Maryanov <acid_jack@ukr.net>\n" -"Language-Team: Russian <mdk@lafox.net>\n" +"PO-Revision-Date: 2005-03-27 14:04+0300\n" +"Last-Translator: Alice Lafox <alice@lafox.net>\n" +"Language-Team: russian <mdk@lafox.net>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.9\n" +"X-Generator: KBabel 1.3.1\n" #: ../move/move.pm:292 #, c-format @@ -450,8 +450,7 @@ msgstr "Xorg %s с аппаратным 3D-ускорением" #: Xconfig/card.pm:411 #, c-format msgid "Your card can have 3D hardware acceleration support with Xorg %s." -msgstr "" -"Ваша видеокарта может иметь аппаратную поддержку 3D-ускорения в Xorg %s." +msgstr "Ваша видеокарта может иметь аппаратную поддержку 3D-ускорения в Xorg %s." #: Xconfig/card.pm:417 #, c-format @@ -684,8 +683,7 @@ msgstr "Хотите протестировать настройки?" #: Xconfig/test.pm:31 #, c-format msgid "Warning: testing this graphic card may freeze your computer" -msgstr "" -"Предупреждение: тестирование этой видеокарты может подвесить ваш компьютер" +msgstr "Предупреждение: тестирование этой видеокарты может подвесить ваш компьютер" #: Xconfig/test.pm:69 #, c-format @@ -931,10 +929,8 @@ msgstr "Укажите объем RAM в MB" #: any.pm:272 #, c-format -msgid "" -"Option ``Restrict command line options'' is of no use without a password" -msgstr "" -"Опция ``Ограничить параметры командной строки'' не используется без пароля" +msgid "Option ``Restrict command line options'' is of no use without a password" +msgstr "Опция ``Ограничить параметры командной строки'' не используется без пароля" #: any.pm:273 any.pm:606 authentication.pm:176 #, c-format @@ -1191,8 +1187,7 @@ msgstr "Укажите имя пользователя, пожалуйста" #: any.pm:609 #, c-format -msgid "" -"The user name must contain only lower cased letters, numbers, `-' and `_'" +msgid "The user name must contain only lower cased letters, numbers, `-' and `_'" msgstr "" "Имя пользователя должно содержать только буквы в нижнем регистре, \n" "цифры , `-' и `_'" @@ -1390,8 +1385,7 @@ msgstr "" #: any.pm:941 #, c-format -msgid "" -"You can export using NFS or SMB. Please select which you would like to use." +msgid "You can export using NFS or SMB. Please select which you would like to use." msgstr "" "Вы можете экспортировать при помощи NFS или SMB. Пожалуйста, выберите, " "который из них вы желаете использовать." @@ -1462,8 +1456,7 @@ msgstr "Локальный файл:" #: authentication.pm:51 #, c-format -msgid "" -"Use local for all authentication and information user tell in local file" +msgid "Use local for all authentication and information user tell in local file" msgstr "" "Использовать локальную авторизацию и информацию пользователя из локального " "файла" @@ -1518,8 +1511,7 @@ msgstr "Active Directory с SFU:" #: authentication.pm:55 authentication.pm:56 #, c-format -msgid "" -"Kerberos is a secure system for providing network authentication services." +msgid "Kerberos is a secure system for providing network authentication services." msgstr "" "Kerberos это защищенная система для предоставления сетевых сервисов " "авторизации." @@ -2183,8 +2175,7 @@ msgstr "Желаете сохранить изменения /etc/fstab" #: diskdrake/interactive.pm:294 install_steps_interactive.pm:329 #, c-format msgid "You need to reboot for the partition table modifications to take place" -msgstr "" -"Вам нужно перезагрузиться, чтобы изменения таблицы разделов вступили в силу" +msgstr "Вам нужно перезагрузиться, чтобы изменения таблицы разделов вступили в силу" #: diskdrake/interactive.pm:307 help.pm:530 #, c-format @@ -2363,10 +2354,8 @@ msgstr "Удалить файл loopback?" #: diskdrake/interactive.pm:590 #, c-format -msgid "" -"After changing type of partition %s, all data on this partition will be lost" -msgstr "" -"После изменения типа раздела %s, все данные в этом разделе будут потеряны" +msgid "After changing type of partition %s, all data on this partition will be lost" +msgstr "После изменения типа раздела %s, все данные в этом разделе будут потеряны" #: diskdrake/interactive.pm:602 #, c-format @@ -2431,8 +2420,7 @@ msgstr "Для всех данных в этом разделе должна б #: diskdrake/interactive.pm:738 #, c-format msgid "After resizing partition %s, all data on this partition will be lost" -msgstr "" -"После изменения размера раздела %s все данные в этом разделе будут потеряны" +msgstr "После изменения размера раздела %s все данные в этом разделе будут потеряны" #: diskdrake/interactive.pm:743 #, c-format @@ -2552,8 +2540,7 @@ msgstr "Таблица разделов устройства %s будет за #: diskdrake/interactive.pm:1096 #, c-format msgid "After formatting partition %s, all data on this partition will be lost" -msgstr "" -"После форматирования раздела %s, все данные на этом разделе будут потеряны" +msgstr "После форматирования раздела %s, все данные на этом разделе будут потеряны" #: diskdrake/interactive.pm:1112 #, c-format @@ -2834,8 +2821,7 @@ msgstr "Еще один" #: diskdrake/smbnfs_gtk.pm:177 #, c-format -msgid "" -"Please enter your username, password and domain name to access this host." +msgid "Please enter your username, password and domain name to access this host." msgstr "" "Пожалуйста, введите свои имя пользователя, пароль и имя домена, чтобы " "получить доступ к хосту" @@ -3342,7 +3328,7 @@ msgstr "" "Здесь вы можете выбрать альтернативный драйвер (OSS или ALSA) для своей " "звуковой карты (%s)" -#. -PO: here the first %s is either "OSS" or "ALSA", +#. -PO: here the first %s is either "OSS" or "ALSA", #. -PO: the second %s is the name of the current driver #. -PO: and the third %s is the name of the default driver #: harddrake/sound.pm:241 @@ -6632,8 +6618,7 @@ msgstr "чтобы сохранить %s" msgid "" "You can not select this package as there is not enough space left to install " "it" -msgstr "" -"Вы не можете выбрать этот пакет, т.к. для его установки не хватает места" +msgstr "Вы не можете выбрать этот пакет, т.к. для его установки не хватает места" #: install_steps_gtk.pm:347 #, c-format @@ -6955,8 +6940,7 @@ msgstr "" #: install_steps_interactive.pm:393 #, c-format msgid "Looking for available packages and rebuilding rpm database..." -msgstr "" -"Выполняется поиск доступных пакетов и перестраивается база данных rpm..." +msgstr "Выполняется поиск доступных пакетов и перестраивается база данных rpm..." #: install_steps_interactive.pm:394 install_steps_interactive.pm:452 #, c-format @@ -7109,8 +7093,7 @@ msgstr "" #: install_steps_interactive.pm:820 #, c-format -msgid "" -"Contacting Mandrakelinux web site to get the list of available mirrors..." +msgid "Contacting Mandrakelinux web site to get the list of available mirrors..." msgstr "" "Выполняется подключение к веб-сайту Mandrakelinux для получения списка " "доступных пакетов..." @@ -7118,8 +7101,7 @@ msgstr "" #: install_steps_interactive.pm:839 #, c-format msgid "Contacting the mirror to get the list of available packages..." -msgstr "" -"Выполняется подключение к зеркалу для получения списка доступных пакетов..." +msgstr "Выполняется подключение к зеркалу для получения списка доступных пакетов..." #: install_steps_interactive.pm:843 #, c-format @@ -7345,10 +7327,8 @@ msgstr "Установка Mandrakelinux %s" #. -PO: This string must fit in a 80-char wide text screen #: install_steps_newt.pm:34 #, c-format -msgid "" -" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen " -msgstr "" -" <Tab>/<Alt-Tab> между элементами | <Space> выбор | <F12> следующий экран " +msgid " <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen " +msgstr " <Tab>/<Alt-Tab> между элементами | <Space> выбор | <F12> следующий экран " #: interactive.pm:184 #, c-format @@ -10571,8 +10551,7 @@ msgstr "Выберите модем для настройки:" #: network/netconnect.pm:568 #, c-format msgid "Please choose which serial port your modem is connected to." -msgstr "" -"Пожалуйста, выберите, к какому последовательному порту подключен ваш модем." +msgstr "Пожалуйста, выберите, к какому последовательному порту подключен ваш модем." #: network/netconnect.pm:599 #, c-format @@ -12120,8 +12099,7 @@ msgstr "Удалить выбранный сервер" #: printer/printerdrake.pm:411 #, c-format msgid "Enter IP address and port of the host whose printers you want to use." -msgstr "" -"Введите IP адрес и порт хоста, принтеры которого вы хотите использовать." +msgstr "Введите IP адрес и порт хоста, принтеры которого вы хотите использовать." #: printer/printerdrake.pm:412 #, c-format @@ -12239,8 +12217,7 @@ msgstr "" #: printer/printerdrake.pm:621 #, c-format -msgid "" -"Printer auto-detection (Local, TCP/Socket, SMB printers, and device URI)" +msgid "Printer auto-detection (Local, TCP/Socket, SMB printers, and device URI)" msgstr "" "Автоопределение принтера (локальные, TCP/Socket, SMB-принтеры, и URI " "устройства)" @@ -12347,8 +12324,7 @@ msgstr "" #: printer/printerdrake.pm:707 #, c-format -msgid "" -"There are no printers found which are directly connected to your machine" +msgid "There are no printers found which are directly connected to your machine" msgstr "Не найдены принтеры, непосредственно подключенные к вашей машине." #: printer/printerdrake.pm:710 @@ -12783,8 +12759,7 @@ msgstr "" #: printer/printerdrake.pm:1313 #, c-format -msgid "" -"Alternatively, you can specify a device name/file name in the input line" +msgid "Alternatively, you can specify a device name/file name in the input line" msgstr "" "В качестве альтернативы вы можете ввести название устройства/имя файла в " "строке ввода данных" @@ -13268,8 +13243,7 @@ msgstr "" #: printer/printerdrake.pm:2110 #, c-format msgid "What is your choice (choose \"None\" for non-HP printers)? " -msgstr "" -"Каков ваш выбор (выберите \"Никакой (None)\" для отличных от HP принтеров)? " +msgstr "Каков ваш выбор (выберите \"Никакой (None)\" для отличных от HP принтеров)? " #: printer/printerdrake.pm:2111 printer/printerdrake.pm:2112 #: printer/printerdrake.pm:2138 printer/printerdrake.pm:2144 @@ -13309,8 +13283,7 @@ msgstr "На %s можно будет только печатать." #: printer/printerdrake.pm:2160 #, c-format msgid "Could not remove your old HPOJ configuration file %s for your %s! " -msgstr "" -"Не удалось удалить ваш старый конфигурационный файл HPOJ %s для вашего: %s!" +msgstr "Не удалось удалить ваш старый конфигурационный файл HPOJ %s для вашего: %s!" #: printer/printerdrake.pm:2162 #, c-format @@ -13386,8 +13359,7 @@ msgstr "Введите Имя принтера и Комментарии" #: printer/printerdrake.pm:2678 printer/printerdrake.pm:3965 #, c-format msgid "Name of printer should contain only letters, numbers and the underscore" -msgstr "" -"Имя принтера должно содержать только буквы, цифры и символ подчеркивания" +msgstr "Имя принтера должно содержать только буквы, цифры и символ подчеркивания" #: printer/printerdrake.pm:2684 printer/printerdrake.pm:3970 #, c-format @@ -13900,8 +13872,7 @@ msgstr "" msgid "" "Here is a list of the available printing options for the current printer:\n" "\n" -msgstr "" -"Здесь представлен список опций печати, доступных для данного принтера:\n" +msgstr "Здесь представлен список опций печати, доступных для данного принтера:\n" #: printer/printerdrake.pm:3755 printer/printerdrake.pm:3765 #, c-format @@ -14508,8 +14479,7 @@ msgstr "" #: printer/printerdrake.pm:4355 #, c-format msgid "2. All printing requests are immediately sent to a remote CUPS server. " -msgstr "" -"2. Все запросы на печать немедленно отправляются на удаленный сервер CUPS. " +msgstr "2. Все запросы на печать немедленно отправляются на удаленный сервер CUPS. " #: printer/printerdrake.pm:4356 #, c-format @@ -14593,8 +14563,7 @@ msgstr "Вывести все доступные удаленные принте #: printer/printerdrake.pm:4705 #, c-format msgid "Refresh printer list (to display all available remote CUPS printers)" -msgstr "" -"Обновить список принтеров (отобразить все доступные удаленные принтеры CUPS)" +msgstr "Обновить список принтеров (отобразить все доступные удаленные принтеры CUPS)" #: printer/printerdrake.pm:4716 #, c-format @@ -14989,8 +14958,7 @@ msgstr "Включить/отключить проверку безопасно #: security/help.pm:90 #, c-format -msgid "" -" Enabling su only from members of the wheel group or allow su from any user." +msgid " Enabling su only from members of the wheel group or allow su from any user." msgstr "" "Разрешает su только для членов группы wheel или разрешает su для любого " "пользователя." @@ -15111,8 +15079,7 @@ msgstr "если установлено yes, проверяет контроль #: security/help.pm:123 #, c-format msgid "if set to yes, check additions/removals of suid root files." -msgstr "" -"если установлено yes, проверяет добавления/удаления битов suid root файлов." +msgstr "если установлено yes, проверяет добавления/удаления битов suid root файлов." #: security/help.pm:124 #, c-format @@ -15133,8 +15100,7 @@ msgstr "если установлено yes, запускает проверки #: security/help.pm:127 #, c-format -msgid "" -"if set, send the mail report to this email address else send it to root." +msgid "if set, send the mail report to this email address else send it to root." msgstr "" "если установлено, отправляет письмо с отчетом на этот адрес, иначе " "отправляет его root'у." @@ -15323,8 +15289,7 @@ msgstr "Нет возраста пароля для" #: security/l10n.pm:38 #, c-format msgid "Set password expiration and account inactivation delays" -msgstr "" -"Установить сроки действия паролей и длительности неактивности аккаунтов" +msgstr "Установить сроки действия паролей и длительности неактивности аккаунтов" #: security/l10n.pm:39 #, c-format @@ -15561,8 +15526,7 @@ msgstr "Использовать libsafe для серверов" #: security/level.pm:63 #, c-format -msgid "" -"A library which defends against buffer overflow and format string attacks." +msgid "A library which defends against buffer overflow and format string attacks." msgstr "Библиотека, защищающая от атак переполнения буфера и формата строки." #: security/level.pm:64 @@ -15573,8 +15537,7 @@ msgstr "Администратор безопасности (логин или e #: services.pm:19 #, c-format msgid "Launch the ALSA (Advanced Linux Sound Architecture) sound system" -msgstr "" -"Запустить звуковую систему ALSA (Расширенная звуковая архитектура Linux)" +msgstr "Запустить звуковую систему ALSA (Расширенная звуковая архитектура Linux)" #: services.pm:20 #, c-format @@ -15649,8 +15612,7 @@ msgstr "" #: services.pm:35 #, c-format -msgid "" -"Apache is a World Wide Web server. It is used to serve HTML files and CGI." +msgid "Apache is a World Wide Web server. It is used to serve HTML files and CGI." msgstr "" "Apache является сервером всемирной паутины. Он используется для обслуживания " "файлов HTML и CGI." @@ -15915,8 +15877,7 @@ msgstr "Запускает сервер шрифтов X (это обязате #: services.pm:115 services.pm:157 #, c-format msgid "Choose which services should be automatically started at boot time" -msgstr "" -"Выберите, какие сервисы должны быть автоматически запущены во время загрузки" +msgstr "Выберите, какие сервисы должны быть автоматически запущены во время загрузки" #: services.pm:127 #, c-format @@ -16146,8 +16107,7 @@ msgstr "" #: share/advertising/05.pl:18 #, c-format -msgid "" -"\t* <b>Proprietary drivers</b> (such as drivers for NVIDIA®, ATI™, etc.)." +msgid "\t* <b>Proprietary drivers</b> (such as drivers for NVIDIA®, ATI™, etc.)." msgstr "" "\t* <b>Коммерческие драйвера</b> (такие, как драйвера под NVIDIA®, ATI™, и т." "д.)." @@ -16247,8 +16207,7 @@ msgstr "<b>Продукты Mandrakesoft</b>" msgid "" "<b>Mandrakesoft</b> has developed a wide range of <b>Mandrakelinux</b> " "products." -msgstr "" -"<b>Mandrakesoft</b> разработал широкий круг продуктов <b>Mandrakelinux</b>." +msgstr "<b>Mandrakesoft</b> разработал широкий круг продуктов <b>Mandrakelinux</b>." #: share/advertising/09.pl:17 #, c-format @@ -16328,8 +16287,7 @@ msgstr "" #: share/advertising/11.pl:16 #, c-format msgid "\t* <b>Corporate Desktop</b>, The Mandrakelinux Desktop for Businesses." -msgstr "" -"\t* <b>Corporate Desktop</b>, Рабочий стол Mandrakelinux для предприятий." +msgstr "\t* <b>Corporate Desktop</b>, Рабочий стол Mandrakelinux для предприятий." #: share/advertising/11.pl:17 #, c-format @@ -16339,8 +16297,7 @@ msgstr "\t* <b>Corporate Server</b>, Серверное решение Mandrakel #: share/advertising/11.pl:18 #, c-format msgid "\t* <b>Multi-Network Firewall</b>, The Mandrakelinux Security Solution." -msgstr "" -"\t* <b>Multi-Network Firewall</b>, Решение Mandrakelinux для безопасности." +msgstr "\t* <b>Multi-Network Firewall</b>, Решение Mandrakelinux для безопасности." #: share/advertising/12.pl:13 #, c-format @@ -16451,8 +16408,7 @@ msgstr "<b>Kontact</b>" #: share/advertising/15.pl:15 #, c-format -msgid "" -"Discovery includes <b>Kontact</b>, the new KDE <b>groupware solution</b>." +msgid "Discovery includes <b>Kontact</b>, the new KDE <b>groupware solution</b>." msgstr "" "В Discovery поставляется <b>Kontact</b>, новое <b>groupware решение</b> от " "KDE." @@ -16594,8 +16550,7 @@ msgstr "<b>Среды разработки</b>" #: share/advertising/19.pl:15 share/advertising/22.pl:15 #, c-format -msgid "" -"PowerPack gives you the best tools to <b>develop</b> your own applications." +msgid "PowerPack gives you the best tools to <b>develop</b> your own applications." msgstr "" "PowerPack предоставляет вам лучшие утилиты для <b>разработки</b> ваших " "собственных приложений." @@ -16626,8 +16581,7 @@ msgstr "<b>Редакторы для разработки</b>" #: share/advertising/20.pl:15 #, c-format msgid "PowerPack will let you choose between those <b>popular editors</b>:" -msgstr "" -"PowerPack предоставит выбор между следующими <b>известными редакторами</b>:" +msgstr "PowerPack предоставит выбор между следующими <b>известными редакторами</b>:" #: share/advertising/20.pl:16 #, c-format @@ -16647,8 +16601,7 @@ msgstr "" #: share/advertising/20.pl:18 #, c-format -msgid "" -"\t* <b>Vim</b>: an advanced text editor with more features than standard Vi." +msgid "\t* <b>Vim</b>: an advanced text editor with more features than standard Vi." msgstr "" "\t* <b>Vim</b>: расширенный текстовый редактор со множеством дополнительных " "возможностей " @@ -16746,8 +16699,7 @@ msgstr "\t* Прием и передача вашей <b>почты</b>." #: share/advertising/23.pl:17 #, c-format msgid "\t* Share your <b>agendas</b> and your <b>address books</b>." -msgstr "" -"\t* Разделять доступ к вашим <b>планам</b> и вашим <b>адресным книгам</b>." +msgstr "\t* Разделять доступ к вашим <b>планам</b> и вашим <b>адресным книгам</b>." #: share/advertising/23.pl:18 #, c-format @@ -16761,16 +16713,14 @@ msgstr "<b>Серверы</b>" #: share/advertising/24.pl:15 #, c-format -msgid "" -"Empower your business network with <b>premier server solutions</b> including:" +msgid "Empower your business network with <b>premier server solutions</b> including:" msgstr "" "Усильте мощь своей бизнес сети с помощью <b>передовых серверных решений</b>, " "куда входят:" #: share/advertising/24.pl:16 #, c-format -msgid "" -"\t* <b>Samba</b>: File and print services for Microsoft® Windows® clients." +msgid "\t* <b>Samba</b>: File and print services for Microsoft® Windows® clients." msgstr "" "\t* <b>Samba</b>: Сервис печати и совместного использования файлов для " "клиентов MS-Windows" @@ -16800,8 +16750,7 @@ msgstr "" #: share/advertising/24.pl:20 #, c-format -msgid "" -"\t* <b>ProFTPD</b>: The highly configurable GPL-licensed FTP server software." +msgid "\t* <b>ProFTPD</b>: The highly configurable GPL-licensed FTP server software." msgstr "" "\t* <b>ProFTPD</b>: полностью настраиваемое программное обеспечение для FTP " "сервера под лицензией GPL" @@ -16811,8 +16760,7 @@ msgstr "" msgid "" "\t* <b>Postfix</b> and <b>Sendmail</b>: The popular and powerful mail " "servers." -msgstr "" -"\t* <b>Postfix</b> и <b>Sendmail</b>: Популярные и мощные почтовые сервера." +msgstr "\t* <b>Postfix</b> и <b>Sendmail</b>: Популярные и мощные почтовые сервера." #: share/advertising/25.pl:13 #, c-format @@ -16915,8 +16863,7 @@ msgstr "" #: share/advertising/28.pl:17 #, c-format -msgid "" -"Take advantage of <b>valuable benefits</b> by joining Mandrakeclub, such as:" +msgid "Take advantage of <b>valuable benefits</b> by joining Mandrakeclub, such as:" msgstr "" "Получите выгоду от <b>множества привилегий</b>, вступив в Mandrakeclub, " "например:" @@ -16979,16 +16926,14 @@ msgstr "" #: share/advertising/29.pl:18 #, c-format msgid "\t* <b>Perfect</b> system security (automated software updates)." -msgstr "" -"\t* <b>Отличная</b> система безопасности (автоматическое обновление ПО)." +msgstr "\t* <b>Отличная</b> система безопасности (автоматическое обновление ПО)." #: share/advertising/29.pl:19 #, c-format msgid "" "\t* <b>Notification</b> of updates (by e-mail or by an applet on the " "desktop)." -msgstr "" -"\t* <b>Сообщения</b> об обновлениях (по e-mail или через апплет на десктопе)." +msgstr "\t* <b>Сообщения</b> об обновлениях (по e-mail или через апплет на десктопе)." #: share/advertising/29.pl:20 #, c-format @@ -16997,10 +16942,8 @@ msgstr "\t* Гибкие <b>запланированные</b> обновлен #: share/advertising/29.pl:21 #, c-format -msgid "" -"\t* Management of <b>all your Mandrakelinux systems</b> with one account." -msgstr "" -"\t* Управление <b>всеми вашими системами Mandrakelinux</b> с одного аккаунта." +msgid "\t* Management of <b>all your Mandrakelinux systems</b> with one account." +msgstr "\t* Управление <b>всеми вашими системами Mandrakelinux</b> с одного аккаунта." #: share/advertising/30.pl:13 #, c-format @@ -17703,8 +17646,7 @@ msgstr "Мастер первого запуска" #: standalone/drakTermServ:325 standalone/drakTermServ:326 #, c-format msgid "%s defined as dm, adding gdm user to /etc/passwd$$CLIENT$$" -msgstr "" -"%s определен как dm, добавляется gdm пользователь в /etc/passwd$$CLIENT$$" +msgstr "%s определен как dm, добавляется gdm пользователь в /etc/passwd$$CLIENT$$" #: standalone/drakTermServ:332 #, c-format @@ -18768,8 +18710,7 @@ msgstr "" #: standalone/drakbackup:475 #, c-format msgid "Valid user list changed, rewriting config file." -msgstr "" -"Изменен действительный пользовательский список, перезаписывается config файл." +msgstr "Изменен действительный пользовательский список, перезаписывается config файл." #: standalone/drakbackup:477 #, c-format @@ -18986,10 +18927,8 @@ msgstr "" #: standalone/drakbackup:1127 #, c-format -msgid "" -"Error during sending file via FTP. Please correct your FTP configuration." -msgstr "" -"Ошибка при отправке файла по FTP. Пожалуйста, исправьте свою настройку FTP." +msgid "Error during sending file via FTP. Please correct your FTP configuration." +msgstr "Ошибка при отправке файла по FTP. Пожалуйста, исправьте свою настройку FTP." #: standalone/drakbackup:1129 #, c-format @@ -19046,8 +18985,7 @@ msgstr "" #: standalone/drakbackup:1421 #, c-format -msgid "" -"These options can backup and restore all files in your /etc directory.\n" +msgid "These options can backup and restore all files in your /etc directory.\n" msgstr "" "Эти опции могут зарезервировать и восстановить все файлы в вашем каталоге /" "etc.\n" @@ -19459,8 +19397,7 @@ msgstr "Пожалуйста проверьте чтобы демон cron бы #: standalone/drakbackup:2157 #, c-format -msgid "" -"If your machine is not on all the time, you might want to install anacron." +msgid "If your machine is not on all the time, you might want to install anacron." msgstr "" "Если ваша машина не включена все время, вам возможно будет удобно установить " "anacron." @@ -19468,8 +19405,7 @@ msgstr "" #: standalone/drakbackup:2158 #, c-format msgid "Note that currently all 'net' media also use the hard drive." -msgstr "" -"Заметьте, что сейчас все 'сетевые' носители также используют жесткий диск." +msgstr "Заметьте, что сейчас все 'сетевые' носители также используют жесткий диск." #: standalone/drakbackup:2205 #, c-format @@ -19494,8 +19430,7 @@ msgstr "SMTP сервер для отправки почты:" #: standalone/drakbackup:2222 #, c-format msgid "Delete Hard Drive tar files after backup to other media." -msgstr "" -"Удалить tar-файлы с жесткого диска после резервирования на другой носитель." +msgstr "Удалить tar-файлы с жесткого диска после резервирования на другой носитель." #: standalone/drakbackup:2262 #, c-format @@ -19535,8 +19470,7 @@ msgstr "Укажите где создавать резервные копии, #: standalone/drakbackup:2329 #, c-format msgid "Hard Drive used to prepare backups for all media" -msgstr "" -"Используется жесткий диск для создания резервных копий для всех носителей" +msgstr "Используется жесткий диск для создания резервных копий для всех носителей" #: standalone/drakbackup:2329 #, c-format @@ -20761,8 +20695,7 @@ msgstr ""
if ($after && !$next) {
($best, $after) = ($node, 0);
} else {
$best ||= $node;
}
}
});
if (defined $best) {
$select->($best);
} else {
$starting_word = '';
}
$timeout = Gtk->timeout_add($forgetTime, sub { $timeout = $starting_word = ''; 0 });
}
1;
});
$tree->set_row_height($tree->style->font->ascent + $tree->style->font->descent + 1);
$tree, sub {
my $v = may_apply($e->{format}, $_[0]);
$select->($wleaves{$v} || return);
};
}
sub create_list {
my ($e, $may_go_to_next, $changed) = @_;
my $l = $e->{list};
my $list = new Gtk::List();
$list->set_selection_mode('browse');
my $select = sub {
$list->select_item($_[0]);
};
my $tips = new Gtk::Tooltips;
my $toselect;
map_index {
my $item = new Gtk::ListItem(may_apply($e->{format}, $_));
$item->signal_connect(key_press_event => sub {
my ($w, $event) = @_;
my $c = chr($event->{keyval} & 0xff);
$may_go_to_next->($event) if $event->{keyval} < 0x100 ? $c eq ' ' : $c eq "\r" || $c eq "\x8d";
1;
});
$list->append_items($item);
$item->show;
if ($e->{help}) {
$tips->set_tip($item,
ref($e->{help}) eq 'HASH' ? $e->{help}{$_} :
ref($e->{help}) eq 'CODE' ? $e->{help}($_) : $e->{help});
}
$item->grab_focus if ${$e->{val}} && $_ eq ${$e->{val}};
} @$l;
#- signal_connect'ed after append_items otherwise it is called and destroys the default value
$list->signal_connect(select_child => sub {
my ($w, $row) = @_;
${$e->{val}} = $l->[$list->child_position($row)];
&$changed;
});
$list, sub {
my ($v) = @_;
eval {
$select->(find_index { $_ eq $v } @$l);
};
};
}
sub ask_from_entries_refW {
my ($o, $common, $l, $l2) = @_;
my $ignore = 0; #-to handle recursivity
my $mainw = my_gtk->new($common->{title}, %$o);
$mainw->sync; # for XPM's creation
#-the widgets
my (@widgets, @widgets_always, @widgets_advanced, $advanced, $advanced_pack, $has_scroll, $total_size);
my $tooltips = new Gtk::Tooltips;
my $set_all = sub {
$ignore = 1;
$_->{set}->(${$_->{e}{val}}) foreach @widgets_always, @widgets_advanced;
$_->{w}->set_sensitive(!$_->{e}{disabled}()) foreach @widgets_always, @widgets_advanced;
$ignore = 0;
};
my $get_all = sub {
${$_->{e}{val}} = $_->{get}->() foreach @widgets_always, @widgets_advanced;
};
my $update = sub {
my ($f) = @_;
return if $ignore;
$get_all->();
$f->();
$set_all->();
};
my $create_widget = sub {
my ($e, $ind) = @_;
my $may_go_to_next = sub {
my ($w, $event) = @_;
if (!$event || ($event->{keyval} & 0x7f) == 0xd) {
$w->signal_emit_stop("key_press_event") if $event;
if ($ind == $#widgets) {
@widgets == 1 ? $mainw->{ok}->clicked : $mainw->{ok}->grab_focus;
} else {
$widgets[$ind+1]{w}->grab_focus;
}
}
};
my $changed = sub { $update->(sub { $common->{callbacks}{changed}($ind) }) };
my ($w, $real_w, $set, $get, $expand, $size);
if ($e->{type} eq 'iconlist') {
$w = new Gtk::Button;
$set = sub {
gtkdestroy($e->{icon});
my $f = $e->{icon2f}->($_[0]);
$e->{icon} = -e $f ?
gtkpng($f) :
new Gtk::Label(may_apply($e->{format}, $_[0]));
$w->add($e->{icon});
$e->{icon}->show;
};
$w->signal_connect(clicked => sub {
$set->(${$e->{val}} = next_val_in_array(${$e->{val}}, $e->{list}));
$changed->();
});
$real_w = gtkpack_(new Gtk::HBox(0,10), 1, new Gtk::HBox(0,0), 0, $w, 1, new Gtk::HBox(0,0), );
} elsif ($e->{type} eq 'bool') {
$w = Gtk::CheckButton->new($e->{text});
$w->signal_connect(clicked => $changed);
$set = sub { $w->set_active($_[0]) };
$get = sub { $w->get_active };
} elsif ($e->{type} eq 'button') {
$w = Gtk::Button->new('');
$w->signal_connect(clicked => sub {
$get_all->();
$mainw->{rwindow}->hide;
$e->{clicked}();
$mainw->{rwindow}->show;
$set_all->();
});
$set = sub { $w->child->set(may_apply($e->{format}, $_[0])) };
} elsif ($e->{type} eq 'range') {
my $adj = create_adjustment(${$e->{val}}, $e->{min}, $e->{max});
$adj->signal_connect(value_changed => $changed);
$w = new Gtk::HScale($adj);
$w->set_digits(0);
$w->signal_connect(key_press_event => $may_go_to_next);
$set = sub { $adj->set_value($_[0]) };
$get = sub { $adj->get_value };
} elsif ($e->{type} =~ /list/) {
if ($e->{help}) {
#- used only when needed, as key bindings are dropped by List (CList does not seems to accepts Tooltips).
($w, $set) = create_list($e, $may_go_to_next, $changed);
} elsif ($e->{type} eq 'treelist') {
($w, $set) = create_ctree($e, $may_go_to_next, $changed);
} else {
($w, $set) = create_clist($e, $may_go_to_next, $changed);
}
if (@{$e->{list}} > 4) {
$has_scroll = 1;
$expand = 1;
$real_w = createScrolledWindow($w);
$size += @{$e->{list}};
}
} else {
if ($e->{type} eq "combo") {
$w = new Gtk::Combo;
$w->set_use_arrows_always(1);
$w->entry->set_editable(!$e->{not_edit});
$w->set_popdown_strings(@{$e->{list}});
$w->disable_activate;
($real_w, $w) = ($w, $w->entry);
} else {
$w = new Gtk::Entry(${$e->{val}});
}
$w->signal_connect(key_press_event => $may_go_to_next);
$w->signal_connect(changed => $changed);
$w->set_visibility(0) if $e->{hidden};
$set = sub { $w->set_text($_[0]) };
$get = sub { $w->get_text };
}
$w->signal_connect(focus_out_event => sub {
$update->(sub { $common->{callbacks}{focus_out}($ind) });
});
$tooltips->set_tip($w, $e->{help}) if $e->{help} && !ref($e->{help});
$total_size += $size || 1;
{ e => $e, w => $w, real_w => $real_w || $w, expand => $expand,
get => $get || sub { ${$e->{val}} }, set => $set || sub {},
icon_w => -e $e->{icon} ? gtkpng($e->{icon}) : '' };
};
@widgets_always = map_index { $create_widget->($_, $::i ) } @$l;
@widgets_advanced = map_index { $create_widget->($_, $::i + @$l) } @$l2;
my $set_advanced = sub {
($advanced) = @_;
$advanced ? $advanced_pack->show : $advanced_pack->hide;
@widgets = (@widgets_always, $advanced ? @widgets_advanced : ());
};
my $advanced_button = [ $common->{advanced_label}, sub { $set_advanced->(!$advanced) } ];
my $create_widgets = sub {
my $w = create_packtable({}, map { [($_->{icon_w}, $_->{e}{label}, $_->{real_w})]} @_);
#- use a scrolled window if there is a lot of checkboxes (aka ask_many_from_list)
my $has = (grep { $_->{e}{type} eq 'bool' } @_) > 4;
$has_scroll ||= $has;
$has ? createScrolledWindow($w) : $w;
};
my $pack = gtkpack_(create_box_with_title($mainw, @{$common->{messages}}),
1, $create_widgets->(@widgets_always),
0, $mainw->create_okcancel($common->{ok}, $common->{cancel}, '', @$l2 ? $advanced_button : ()));
$advanced_pack =
gtkpack_(new Gtk::VBox(0,0),
0, '',
(map {; 0, new Gtk::Label($_) } map { warp_text($_) } @{$common->{advanced_messages}}),
0, new Gtk::HSeparator,
1, $create_widgets->(@widgets_advanced));
$pack->pack_start($advanced_pack, 1, 1, 0);
gtkadd($mainw->{window}, $pack);
$mainw->{window}->set_usize(0, min($total_size > 10 ? 350 : 200, $::windowheight - 60)) if $has_scroll;
$mainw->sync; #- for $set_all below (mainly for the set of clist)
$set_all->();
$set_advanced->(0);
(@widgets ? $widgets[0]{w} : $common->{focus_cancel} ? $mainw->{cancel} : $mainw->{ok})->grab_focus();
my $check = sub {
my ($f) = @_;
sub {
$get_all->();
my ($error, $focus) = $f->();
if ($error) {
$set_all->();
$widgets[$focus || 0]{w}->grab_focus();
}
!$error;
}
};
$mainw->main(map { $check->($common->{callbacks}{$_}) } 'complete', 'canceled');
}
sub wait_messageW($$$) {
my ($o, $title, $messages) = @_;
my $w = my_gtk->new($title, %$o, grab => 1);
gtkadd($w->{window}, my $hbox = new Gtk::HBox(0,0));
$hbox->pack_start(my $box = new Gtk::VBox(0,0), 1, 1, 10);
$box->pack_start($_, 1, 1, 4) foreach my @l = map { new Gtk::Label($_) } @$messages;
($w->{wait_messageW} = $l[$#l])->signal_connect(expose_event => sub { $w->{displayed} = 1 });
$w->{rwindow}->set_position('center') if ($::isStandalone && !$::isEmbedded && !$::isWizard);
$w->{window}->show_all;
$w->sync until $w->{displayed};
$w;
}
sub wait_message_nextW {
my ($o, $messages, $w) = @_;
my $msg = join "\n", @$messages;
return if $msg eq $w->{wait_messageW}->get; #- needed otherwise no expose_event :(
$w->{displayed} = 0;
$w->{wait_messageW}->set($msg);
$w->flush until $w->{displayed};
}
sub wait_message_endW {
my ($o, $w) = @_;
$w->destroy;
}
sub kill {
my ($o) = @_;
$o->{before_killing} ||= 0;
while (my $e = shift @tempory::objects) { $e->destroy }
while (@interactive::objects > $o->{before_killing}) {
my $w = pop @interactive::objects;
$w->destroy;
}
$o->{before_killing} = @interactive::objects;
}
1;
|