summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/po/sk.po
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-28 01:26:15 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-28 01:26:15 +0000
commitc2f83a20a14ec149bddff115939f42ff14d1bb7c (patch)
tree1570587b63ae28711c2452c53751cbac9aa3dcab /perl-install/standalone/po/sk.po
parent0a5919f3aff72328f1d6e94c69051b236644abbc (diff)
downloaddrakx-c2f83a20a14ec149bddff115939f42ff14d1bb7c.tar
drakx-c2f83a20a14ec149bddff115939f42ff14d1bb7c.tar.gz
drakx-c2f83a20a14ec149bddff115939f42ff14d1bb7c.tar.bz2
drakx-c2f83a20a14ec149bddff115939f42ff14d1bb7c.tar.xz
drakx-c2f83a20a14ec149bddff115939f42ff14d1bb7c.zip
sync with code
Diffstat (limited to 'perl-install/standalone/po/sk.po')
-rw-r--r--perl-install/standalone/po/sk.po410
1 files changed, 227 insertions, 183 deletions
diff --git a/perl-install/standalone/po/sk.po b/perl-install/standalone/po/sk.po
index b3beada62..394ecb80d 100644
--- a/perl-install/standalone/po/sk.po
+++ b/perl-install/standalone/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: DrakX\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-07-20 04:48+0200\n"
+"POT-Creation-Date: 2008-08-28 03:25+0200\n"
"PO-Revision-Date: 2005-09-21 14:03+0100\n"
"Last-Translator: Tibor Pittich <Tibor.Pittich@mandriva.org>\n"
"Language-Team: <i18n@mandrake.sk>\n"
@@ -22,7 +22,7 @@ msgid "Authentication"
msgstr "Autentifikácia"
#: drakauth:39 drakclock:111 drakclock:125 drakfont:213 drakfont:226
-#: drakfont:264 draksplash:169 finish-install:105 logdrake:170 logdrake:445
+#: drakfont:264 draksplash:169 finish-install:107 logdrake:170 logdrake:445
#: logdrake:450 scannerdrake:59 scannerdrake:101 scannerdrake:142
#: scannerdrake:200 scannerdrake:259 scannerdrake:730 scannerdrake:741
#: scannerdrake:880 scannerdrake:891 scannerdrake:961
@@ -35,7 +35,7 @@ msgstr "Chyba"
msgid "No bootloader found, creating a new configuration"
msgstr "Nebol nájdený žiaden zavádzač, bude vytvorená nová konfigurácia"
-#: drakboot:88 harddrake2:196 harddrake2:197 logdrake:71
+#: drakboot:88 harddrake2:197 harddrake2:198 logdrake:71
#, c-format
msgid "/_File"
msgstr "/_Súbory"
@@ -45,7 +45,7 @@ msgstr "/_Súbory"
msgid "/File/_Quit"
msgstr "/Súbor/_Koniec"
-#: drakboot:89 harddrake2:197 logdrake:77
+#: drakboot:89 harddrake2:198 logdrake:77
#, c-format
msgid "<control>Q"
msgstr "<control>K"
@@ -66,7 +66,7 @@ msgid "Silent"
msgstr "Bez podrobností"
#: drakboot:137 drakbug:233 drakfont:682 drakperm:375 drakperm:385 drakups:27
-#: harddrake2:515 localedrake:43 notify-x11-free-driver-switch:15
+#: harddrake2:516 localedrake:43 notify-x11-free-driver-switch:15
#: scannerdrake:51 scannerdrake:54 scannerdrake:297 scannerdrake:302
#: scannerdrake:955
#, c-format
@@ -608,7 +608,7 @@ msgstr "Import"
msgid "Drakfont"
msgstr "DrakFont"
-#: drakfont:522 harddrake2:234
+#: drakfont:522 harddrake2:235
#, c-format
msgid "Copyright (C) %s by Mandriva"
msgstr ""
@@ -618,14 +618,14 @@ msgstr ""
msgid "Font installer."
msgstr "Nenainštalované"
-#: drakfont:526 harddrake2:238
+#: drakfont:526 harddrake2:239
#, c-format
msgid "Mandriva Linux"
msgstr "Mandriva Linux"
#. -PO: put here name(s) and email(s) of translator(s) (eg: "John Smith <jsmith@nowhere.com>")
#. -PO: put here name(s) and email(s) of translator(s) (eg: "John Smith <jsmith@nowhere.com>")
-#: drakfont:533 harddrake2:243
+#: drakfont:533 harddrake2:244
#, c-format
msgid "_: Translator(s) name(s) & email(s)\n"
msgstr "Tibor Pittich <Tibor.Pittich@mandriva.org>\n"
@@ -706,12 +706,12 @@ msgstr "Inštalácia"
msgid "Are you sure you want to uninstall the following fonts?"
msgstr ""
-#: drakfont:688 draksec:59 harddrake2:323
+#: drakfont:688 draksec:59 harddrake2:324
#, c-format
msgid "Yes"
msgstr "Áno"
-#: drakfont:690 draksec:58 harddrake2:324
+#: drakfont:690 draksec:58 harddrake2:325
#, c-format
msgid "No"
msgstr "Nie"
@@ -1105,9 +1105,11 @@ msgstr "Predvoľba"
msgid "Ignore"
msgstr "Ignorovať"
-#: draksec:72 drakups:99 finish-install:93 harddrake2:369 scannerdrake:66
-#: scannerdrake:70 scannerdrake:78 scannerdrake:319 scannerdrake:368
-#: scannerdrake:505 scannerdrake:509 scannerdrake:531 service_harddrake:254
+#: draksec:72 drakups:99 finish-install:95 harddrake2:370
+#: remove-unselected-locales:36 remove-unused-hardware-packages:32
+#: scannerdrake:66 scannerdrake:70 scannerdrake:78 scannerdrake:319
+#: scannerdrake:368 scannerdrake:505 scannerdrake:509 scannerdrake:531
+#: service_harddrake:254
#, c-format
msgid "Please wait"
msgstr "Prosím čakajte"
@@ -1216,7 +1218,7 @@ msgstr ""
"sú prednastavené\n"
"na ich maximum."
-#: draksec:147 harddrake2:213
+#: draksec:147 harddrake2:214
#, c-format
msgid ""
"Description of the fields:\n"
@@ -1674,7 +1676,7 @@ msgstr ""
msgid "Autodetection"
msgstr "Autodetekcia"
-#: drakups:99 harddrake2:369
+#: drakups:99 harddrake2:370
#, c-format
msgid "Detection in progress"
msgstr "Prebieha detekcia"
@@ -1758,18 +1760,18 @@ msgstr "Sprievodca úspešne nakonfiguroval nové UPS zariadenie \"%s\"."
msgid "UPS devices"
msgstr "UPS zariadenia"
-#: drakups:249 drakups:268 drakups:284 harddrake2:87 harddrake2:113
-#: harddrake2:120
+#: drakups:249 drakups:268 drakups:284 harddrake2:88 harddrake2:114
+#: harddrake2:121
#, c-format
msgid "Name"
msgstr "Meno"
-#: drakups:249 harddrake2:135
+#: drakups:249 harddrake2:136
#, c-format
msgid "Driver"
msgstr "Ovládač"
-#: drakups:249 harddrake2:53
+#: drakups:249 harddrake2:54
#, c-format
msgid "Port"
msgstr "Port"
@@ -1804,7 +1806,7 @@ msgstr "Pravidlá"
msgid "Action"
msgstr "Akcia"
-#: drakups:297 harddrake2:84
+#: drakups:297 harddrake2:85
#, c-format
msgid "Level"
msgstr "Úroveň"
@@ -1814,7 +1816,7 @@ msgstr "Úroveň"
msgid "ACL name"
msgstr "Názov ACL"
-#: drakups:297 finish-install:157
+#: drakups:297 finish-install:159
#, c-format
msgid "Password"
msgstr "Heslo"
@@ -1861,74 +1863,74 @@ msgstr ""
"\n"
"http://www.mandrivalinux.com/en/hardware.php3"
-#: finish-install:53
+#: finish-install:55
#, c-format
msgid "Keyboard"
msgstr "Klávesnica"
-#: finish-install:54
+#: finish-install:56
#, c-format
msgid "Please, choose your keyboard layout."
msgstr "Prosím, zvoľte váš typ klávesnice"
-#: finish-install:93
+#: finish-install:95
#, c-format
msgid "Please wait, adding media..."
msgstr "Prosím čakajte, pridávajú sa médiá..."
-#: finish-install:155 finish-install:173 finish-install:185
+#: finish-install:157 finish-install:175 finish-install:187
#, c-format
msgid "Encrypted home partition"
msgstr ""
-#: finish-install:155
+#: finish-install:157
#, c-format
msgid "Please enter a password for the %s user"
msgstr ""
-#: finish-install:158
+#: finish-install:160
#, c-format
msgid "Password (again)"
msgstr "Heslo (znova)"
-#: finish-install:173
+#: finish-install:175
#, c-format
msgid "Creating encrypted home partition"
msgstr ""
-#: finish-install:185
+#: finish-install:187
#, c-format
msgid "Formatting encrypted home partition"
msgstr ""
-#: harddrake2:27
+#: harddrake2:28
#, c-format
msgid "Alternative drivers"
msgstr "Alternatívne ovládače"
-#: harddrake2:28
+#: harddrake2:29
#, c-format
msgid "the list of alternative drivers for this sound card"
msgstr "zoznam alternatívnych ovládačov pre túto zvukovú kartu"
-#: harddrake2:30 harddrake2:122
+#: harddrake2:31 harddrake2:123
#, c-format
msgid "Bus"
msgstr "Zbernica"
-#: harddrake2:31
+#: harddrake2:32
#, c-format
msgid ""
"this is the physical bus on which the device is plugged (eg: PCI, USB, ...)"
msgstr ""
"toto je fyzická zbernica kam je zariadenie pripojené (napr: PCI, USB, ...)"
-#: harddrake2:33 harddrake2:148
+#: harddrake2:34 harddrake2:149
#, c-format
msgid "Bus identification"
msgstr "Identifikácia zbernice"
-#: harddrake2:34
+#: harddrake2:35
#, c-format
msgid ""
"- PCI and USB devices: this lists the vendor, device, subvendor and "
@@ -1937,12 +1939,12 @@ msgstr ""
"- PCI a USB zariadenia: toto je zoznam výrobcov, zariadení, dodávateľov a "
"subzariadení PCI/USB"
-#: harddrake2:36
+#: harddrake2:37
#, c-format
msgid "Location on the bus"
msgstr "Pozícia na zbernici"
-#: harddrake2:37
+#: harddrake2:38
#, c-format
msgid ""
"- pci devices: this gives the PCI slot, device and function of this card\n"
@@ -1953,228 +1955,228 @@ msgstr ""
"zariadenia: zariadenie je buď slave, alebo master zariadenie- scsi "
"zariadenia: scsi zbernica a scsi id zariadenia"
-#: harddrake2:40
+#: harddrake2:41
#, c-format
msgid "Drive capacity"
msgstr "Kapacita disku"
-#: harddrake2:40
+#: harddrake2:41
#, c-format
msgid "special capacities of the driver (burning ability and or DVD support)"
msgstr "špeciálne možnosti ovládača (možnosť napaľovania, alebo DVD podpora)"
-#: harddrake2:41
+#: harddrake2:42
#, c-format
msgid "Description"
msgstr "Popis"
-#: harddrake2:41
+#: harddrake2:42
#, c-format
msgid "this field describes the device"
msgstr "toto pole popisuje zariadenie"
-#: harddrake2:42
+#: harddrake2:43
#, c-format
msgid "Old device file"
msgstr "Starý súbor zariadenia"
-#: harddrake2:43
+#: harddrake2:44
#, c-format
msgid "old static device name used in dev package"
msgstr "staré statické meno zariadenia používané v /dev priečinku"
#. -PO: here "module" is the "jargon term" for a kernel driver
-#: harddrake2:46
+#: harddrake2:47
#, c-format
msgid "Module"
msgstr "Modul"
-#: harddrake2:46
+#: harddrake2:47
#, c-format
msgid "the module of the GNU/Linux kernel that handles the device"
msgstr "modul jadra GNU/Linux, ktorý ovláda to zariadenie"
-#: harddrake2:47
+#: harddrake2:48
#, c-format
msgid "Extended partitions"
msgstr "Rozsšírené oblasti"
-#: harddrake2:47
+#: harddrake2:48
#, c-format
msgid "the number of extended partitions"
msgstr "počet rozšírených oblastí"
-#: harddrake2:48
+#: harddrake2:49
#, c-format
msgid "Geometry"
msgstr "Geometria"
-#: harddrake2:48
+#: harddrake2:49
#, c-format
msgid "Cylinder/head/sectors geometry of the disk"
msgstr "Cylindre/hlavičky/sektory - geometria pevného disku"
-#: harddrake2:49
+#: harddrake2:50
#, c-format
msgid "Disk controller"
msgstr "Radič diskov"
-#: harddrake2:49
+#: harddrake2:50
#, c-format
msgid "the disk controller on the host side"
msgstr "radič diskov na strane hostiteľa"
-#: harddrake2:50
+#: harddrake2:51
#, fuzzy, c-format
msgid "Identifier"
msgstr "Identifikátor disku"
-#: harddrake2:50
+#: harddrake2:51
#, fuzzy, c-format
msgid "usually the device serial number"
msgstr "obvykle sériové číslo disku"
-#: harddrake2:51
+#: harddrake2:52
#, c-format
msgid "Media class"
msgstr "Skupina"
-#: harddrake2:51
+#: harddrake2:52
#, c-format
msgid "class of hardware device"
msgstr "skupina harvérových zariadení"
-#: harddrake2:52 harddrake2:85
+#: harddrake2:53 harddrake2:86
#, c-format
msgid "Model"
msgstr "Model"
-#: harddrake2:52
+#: harddrake2:53
#, c-format
msgid "hard disk model"
msgstr "model pevného disku"
-#: harddrake2:53
+#: harddrake2:54
#, c-format
msgid "network printer port"
msgstr "port sieťovej tlačiarne"
-#: harddrake2:54
+#: harddrake2:55
#, c-format
msgid "Primary partitions"
msgstr "Primárne oblasti"
-#: harddrake2:54
+#: harddrake2:55
#, c-format
msgid "the number of the primary partitions"
msgstr "počet primárnych oblastí"
-#: harddrake2:55 harddrake2:90
+#: harddrake2:56 harddrake2:91
#, c-format
msgid "Vendor"
msgstr "Výrobca"
-#: harddrake2:55
+#: harddrake2:56
#, c-format
msgid "the vendor name of the device"
msgstr "výrobca zariadenia"
-#: harddrake2:56
+#: harddrake2:57
#, c-format
msgid "PCI domain"
msgstr ""
-#: harddrake2:56
+#: harddrake2:57
#, fuzzy, c-format
msgid "the PCI domain of the device"
msgstr "výrobca zariadenia"
-#: harddrake2:57
+#: harddrake2:58
#, c-format
msgid "Bus PCI #"
msgstr "Zbernica PCI #"
-#: harddrake2:57
+#: harddrake2:58
#, c-format
msgid "the PCI bus on which the device is plugged"
msgstr "PCI zbernica kde je zariadenie pripojené"
-#: harddrake2:58
+#: harddrake2:59
#, c-format
msgid "PCI device #"
msgstr "PCI zariadenie #"
-#: harddrake2:58
+#: harddrake2:59
#, c-format
msgid "PCI device number"
msgstr "Číslo PCI zariadenia"
-#: harddrake2:59
+#: harddrake2:60
#, c-format
msgid "PCI function #"
msgstr "PCI funkcia #"
-#: harddrake2:59
+#: harddrake2:60
#, c-format
msgid "PCI function number"
msgstr "Číslo funkcie PCI zariadenia"
-#: harddrake2:60
+#: harddrake2:61
#, c-format
msgid "Vendor ID"
msgstr "ID výrobcu"
-#: harddrake2:60
+#: harddrake2:61
#, c-format
msgid "this is the standard numerical identifier of the vendor"
msgstr "toto je štandardný číselný identifikátor výrobcu"
-#: harddrake2:61
+#: harddrake2:62
#, c-format
msgid "Device ID"
msgstr "ID zariadenia"
-#: harddrake2:61
+#: harddrake2:62
#, c-format
msgid "this is the numerical identifier of the device"
msgstr "toto je numerická identifikácia zariadenia"
-#: harddrake2:62
+#: harddrake2:63
#, c-format
msgid "Sub vendor ID"
msgstr "ID Podskupiny výrobcu"
-#: harddrake2:62
+#: harddrake2:63
#, c-format
msgid "this is the minor numerical identifier of the vendor"
msgstr "toto je doplňujúci číselný identifikátor výrobcu"
-#: harddrake2:63
+#: harddrake2:64
#, c-format
msgid "Sub device ID"
msgstr "Sub-ID zariadenia"
-#: harddrake2:63
+#: harddrake2:64
#, c-format
msgid "this is the minor numerical identifier of the device"
msgstr "toto je číselné minor označenie zariadenia"
-#: harddrake2:64
+#: harddrake2:65
#, c-format
msgid "Device USB ID"
msgstr "ID USB zariadenia"
-#: harddrake2:64
+#: harddrake2:65
#, c-format
msgid ".."
msgstr ".."
-#: harddrake2:68
+#: harddrake2:69
#, c-format
msgid "Bogomips"
msgstr "Bogomipsov"
-#: harddrake2:68
+#: harddrake2:69
#, c-format
msgid ""
"the GNU/Linux kernel needs to run a calculation loop at boot time to "
@@ -2185,53 +2187,53 @@ msgstr ""
"pre inicializáciu časovača. Výsledok je v jednotkách bogomips, čo je hodnota "
"ktorá približne zodpovedá \"výkonu\" cpu."
-#: harddrake2:69
+#: harddrake2:70
#, c-format
msgid "Cache size"
msgstr "veľkosť cache"
-#: harddrake2:69
+#: harddrake2:70
#, c-format
msgid "size of the (second level) cpu cache"
msgstr "veľkosť cpu keše (druhej úrovne)"
#. -PO: here "comas" is the medical coma, not the lexical coma!!
-#: harddrake2:72
+#: harddrake2:73
#, c-format
msgid "Coma bug"
msgstr "Coma chyba"
-#: harddrake2:72
+#: harddrake2:73
#, c-format
msgid "whether this cpu has the Cyrix 6x86 Coma bug"
msgstr "toto cpu obsahuje chybu pri práci s desatinnou čiarkou"
-#: harddrake2:73
+#: harddrake2:74
#, c-format
msgid "Cpuid family"
msgstr "Rodina Cpuid"
-#: harddrake2:73
+#: harddrake2:74
#, c-format
msgid "family of the cpu (eg: 6 for i686 class)"
msgstr "Rodina cpu (napr. 6 pre i686 triedu)"
-#: harddrake2:74
+#: harddrake2:75
#, c-format
msgid "Cpuid level"
msgstr "Úroveň Cpuid"
-#: harddrake2:74
+#: harddrake2:75
#, c-format
msgid "information level that can be obtained through the cpuid instruction"
msgstr "informáčná úroveň ktorú je možné získať pomocou cpuid inštrukcie"
-#: harddrake2:75
+#: harddrake2:76
#, c-format
msgid "Frequency (MHz)"
msgstr "Frekvencia (MHz)"
-#: harddrake2:75
+#: harddrake2:76
#, c-format
msgid ""
"the CPU frequency in MHz (Megahertz which in first approximation may be "
@@ -2241,22 +2243,22 @@ msgstr ""
"taktovacia frekvencia CPU v MHz (počet Megahertzov pri veľmi zjednodušenom "
"výklade hovorí o tom, koľko inštrukcií dokáže cpu vykonať za jednu sekundu)"
-#: harddrake2:76
+#: harddrake2:77
#, c-format
msgid "Flags"
msgstr "Príznaky"
-#: harddrake2:76
+#: harddrake2:77
#, c-format
msgid "CPU flags reported by the kernel"
msgstr "CPU príznaky nájdené jadrom"
-#: harddrake2:77
+#: harddrake2:78
#, c-format
msgid "Fdiv bug"
msgstr "Fdiv chyba"
-#: harddrake2:78
+#: harddrake2:79
#, c-format
msgid ""
"Early Intel Pentium chips manufactured have a bug in their floating point "
@@ -2267,42 +2269,42 @@ msgstr ""
"delenie s pohyblivou desatinnou čiarkou (Floating point DIVision (FDIV)) "
"presné"
-#: harddrake2:79
+#: harddrake2:80
#, c-format
msgid "Is FPU present"
msgstr "Je prítomné FPU"
-#: harddrake2:79
+#: harddrake2:80
#, c-format
msgid "yes means the processor has an arithmetic coprocessor"
msgstr "znamená, že procesor obsahuje matematický koprocesor"
-#: harddrake2:80
+#: harddrake2:81
#, c-format
msgid "Whether the FPU has an irq vector"
msgstr "Či má FPU vektor pre irq"
-#: harddrake2:80
+#: harddrake2:81
#, c-format
msgid "yes means the arithmetic coprocessor has an exception vector attached"
msgstr "áno znamená, že matematický koprocesor má pridelený vektor"
-#: harddrake2:81
+#: harddrake2:82
#, c-format
msgid "F00f bug"
msgstr "F00f chyba"
-#: harddrake2:81
+#: harddrake2:82
#, c-format
msgid "early pentiums were buggy and freezed when decoding the F00F bytecode"
msgstr "staršie procesory pentium obsahovali chybu pri dekódovaní F00F"
-#: harddrake2:82
+#: harddrake2:83
#, c-format
msgid "Halt bug"
msgstr "Halt chyba"
-#: harddrake2:83
+#: harddrake2:84
#, c-format
msgid ""
"Some of the early i486DX-100 chips cannot reliably return to operating mode "
@@ -2311,62 +2313,62 @@ msgstr ""
"Niektoré staršie i486DX-100 procesory sa nevedeli správne vrátiť do "
"funkčného stavu po použití inštrukcie \"halt\""
-#: harddrake2:84
+#: harddrake2:85
#, c-format
msgid "sub generation of the cpu"
msgstr "subgenerácia cpu"
-#: harddrake2:85
+#: harddrake2:86
#, c-format
msgid "generation of the cpu (eg: 8 for Pentium III, ...)"
msgstr "generácia procesora (napr. 8 pre Pentium III, ...)"
-#: harddrake2:86
+#: harddrake2:87
#, c-format
msgid "Model name"
msgstr "Model"
-#: harddrake2:86
+#: harddrake2:87
#, c-format
msgid "official vendor name of the cpu"
msgstr "oficiálne meno výrobcu cpu"
-#: harddrake2:87
+#: harddrake2:88
#, c-format
msgid "the name of the CPU"
msgstr "názov CPU"
-#: harddrake2:88
+#: harddrake2:89
#, c-format
msgid "Processor ID"
msgstr "ID procesora"
-#: harddrake2:88
+#: harddrake2:89
#, c-format
msgid "the number of the processor"
msgstr "číslo procesora"
-#: harddrake2:89
+#: harddrake2:90
#, c-format
msgid "Model stepping"
msgstr "Verzia modelu"
-#: harddrake2:89
+#: harddrake2:90
#, c-format
msgid "stepping of the cpu (sub model (generation) number)"
msgstr "krokovanie cpu (číslo submodelu (generácie))"
-#: harddrake2:90
+#: harddrake2:91
#, c-format
msgid "the vendor name of the processor"
msgstr "výrobca procesora"
-#: harddrake2:91
+#: harddrake2:92
#, c-format
msgid "Write protection"
msgstr "Ochrana proti zápisu"
-#: harddrake2:91
+#: harddrake2:92
#, c-format
msgid ""
"the WP flag in the CR0 register of the cpu enforce write protection at the "
@@ -2378,42 +2380,42 @@ msgstr ""
"nekontrolovanom prístupe do jadra z používateľského priestoru (niečo ako "
"ochranca pred bugmi)"
-#: harddrake2:95
+#: harddrake2:96
#, c-format
msgid "Floppy format"
msgstr "Formát diskety"
-#: harddrake2:95
+#: harddrake2:96
#, c-format
msgid "format of floppies supported by the drive"
msgstr "formát diskiet podporovaných mechanikou"
-#: harddrake2:99
+#: harddrake2:100
#, c-format
msgid "Channel"
msgstr "Kanál"
-#: harddrake2:99
+#: harddrake2:100
#, c-format
msgid "EIDE/SCSI channel"
msgstr "EIDE/SCSI kanál"
-#: harddrake2:100
+#: harddrake2:101
#, c-format
msgid "Disk identifier"
msgstr "Identifikátor disku"
-#: harddrake2:100
+#: harddrake2:101
#, c-format
msgid "usually the disk serial number"
msgstr "obvykle sériové číslo disku"
-#: harddrake2:101
+#: harddrake2:102
#, c-format
msgid "Logical unit number"
msgstr "Číslo logického celku"
-#: harddrake2:101
+#: harddrake2:102
#, c-format
msgid ""
"the SCSI target number (LUN). SCSI devices connected to a host are uniquely "
@@ -2425,209 +2427,209 @@ msgstr ""
"číslom kanála, id zariadenia a logickým číslom zariadenia"
#. -PO: here, "size" is the size of the ram chip (eg: 128Mo, 256Mo, ...)
-#: harddrake2:108
+#: harddrake2:109
#, c-format
msgid "Installed size"
msgstr "Inštalovaná veľkosť"
-#: harddrake2:108
+#: harddrake2:109
#, c-format
msgid "Installed size of the memory bank"
msgstr "Nainštalovaná veľkosť pamäťových modulov"
-#: harddrake2:109
+#: harddrake2:110
#, c-format
msgid "Enabled Size"
msgstr "Povolená veľkosť"
-#: harddrake2:109
+#: harddrake2:110
#, c-format
msgid "Enabled size of the memory bank"
msgstr "Aktívna veľkosť pamäťových modulov"
-#: harddrake2:110 harddrake2:119
+#: harddrake2:111 harddrake2:120
#, c-format
msgid "Type"
msgstr "Typ"
-#: harddrake2:110
+#: harddrake2:111
#, c-format
msgid "type of the memory device"
msgstr "typ pamäťového zariadenia"
-#: harddrake2:111
+#: harddrake2:112
#, c-format
msgid "Speed"
msgstr "Rýchlosť"
-#: harddrake2:111
+#: harddrake2:112
#, c-format
msgid "Speed of the memory bank"
msgstr "Rýchlosť pamäťovej banky"
-#: harddrake2:112
+#: harddrake2:113
#, c-format
msgid "Bank connections"
msgstr "Pripojenie modulov"
-#: harddrake2:113
+#: harddrake2:114
#, c-format
msgid "Socket designation of the memory bank"
msgstr "Dizajn pamäťovej banky"
-#: harddrake2:117
+#: harddrake2:118
#, c-format
msgid "Device file"
msgstr "Súbor zariadenia"
-#: harddrake2:117
+#: harddrake2:118
#, c-format
msgid ""
"the device file used to communicate with the kernel driver for the mouse"
msgstr "súbor zariadenia pre komunikáciu ovládača v jadre s myšou"
-#: harddrake2:118
+#: harddrake2:119
#, c-format
msgid "Emulated wheel"
msgstr "Emulovať koliesko"
-#: harddrake2:118
+#: harddrake2:119
#, c-format
msgid "whether the wheel is emulated or not"
msgstr "má byť emulované koliesko alebo nie"
-#: harddrake2:119
+#: harddrake2:120
#, c-format
msgid "the type of the mouse"
msgstr "typ myši"
-#: harddrake2:120
+#: harddrake2:121
#, c-format
msgid "the name of the mouse"
msgstr "meno myši"
-#: harddrake2:121
+#: harddrake2:122
#, c-format
msgid "Number of buttons"
msgstr "Počet tlačidiel"
-#: harddrake2:121
+#: harddrake2:122
#, c-format
msgid "the number of buttons the mouse has"
msgstr "počet tlačidiel ktoré má myš"
-#: harddrake2:122
+#: harddrake2:123
#, c-format
msgid "the type of bus on which the mouse is connected"
msgstr "Typ zbernice kam je pripojená myš"
-#: harddrake2:123
+#: harddrake2:124
#, c-format
msgid "Mouse protocol used by X11"
msgstr "Protokol pre myš používaný v X11"
-#: harddrake2:123
+#: harddrake2:124
#, c-format
msgid "the protocol that the graphical desktop use with the mouse"
msgstr "protokol pre komunikáciu medzi grafickým rozhraním a myšou"
-#: harddrake2:130 harddrake2:139 harddrake2:146 harddrake2:154 harddrake2:334
+#: harddrake2:131 harddrake2:140 harddrake2:147 harddrake2:155 harddrake2:335
#, c-format
msgid "Identification"
msgstr "Identifikácia"
-#: harddrake2:131 harddrake2:147
+#: harddrake2:132 harddrake2:148
#, c-format
msgid "Connection"
msgstr "Pripojenie"
-#: harddrake2:140
+#: harddrake2:141
#, c-format
msgid "Performances"
msgstr "Výkonnosť"
-#: harddrake2:141
+#: harddrake2:142
#, c-format
msgid "Bugs"
msgstr "Chyby"
-#: harddrake2:142
+#: harddrake2:143
#, c-format
msgid "FPU"
msgstr "FPU"
-#: harddrake2:149
+#: harddrake2:150
#, c-format
msgid "Device"
msgstr "Zariadenie"
-#: harddrake2:150
+#: harddrake2:151
#, c-format
msgid "Partitions"
msgstr "Diskové oblasti"
-#: harddrake2:155
+#: harddrake2:156
#, c-format
msgid "Features"
msgstr "Vylepšenia"
#. -PO: please keep all "/" characters !!!
-#: harddrake2:178 logdrake:78
+#: harddrake2:179 logdrake:78
#, c-format
msgid "/_Options"
msgstr "/_Nastavenia"
-#: harddrake2:179 harddrake2:208 logdrake:80
+#: harddrake2:180 harddrake2:209 logdrake:80
#, c-format
msgid "/_Help"
msgstr "/_Pomoc"
-#: harddrake2:183
+#: harddrake2:184
#, c-format
msgid "/Autodetect _printers"
msgstr "/Auto-detekcia _tlačiarní"
-#: harddrake2:184
+#: harddrake2:185
#, c-format
msgid "/Autodetect _modems"
msgstr "/Auto-detekcia _modemov"
-#: harddrake2:185
+#: harddrake2:186
#, c-format
msgid "/Autodetect _jaz drives"
msgstr "/Auto-detekcia _jaz mechaník"
-#: harddrake2:186
+#: harddrake2:187
#, c-format
msgid "/Autodetect parallel _zip drives"
msgstr "/Autodetekcia paralelných _zip mechaník"
-#: harddrake2:190
+#: harddrake2:191
#, fuzzy, c-format
msgid "Hardware Configuration"
msgstr "Konfigurácia siete"
-#: harddrake2:197
+#: harddrake2:198
#, c-format
msgid "/_Quit"
msgstr "/_Koniec"
-#: harddrake2:210
+#: harddrake2:211
#, c-format
msgid "/_Fields description"
msgstr "/_Popis položiek"
-#: harddrake2:212
+#: harddrake2:213
#, c-format
msgid "Harddrake help"
msgstr "Harddrake pomoc"
-#: harddrake2:221
+#: harddrake2:222
#, c-format
msgid "Select a device!"
msgstr "Zvoľte si zariadenie !"
-#: harddrake2:221
+#: harddrake2:222
#, c-format
msgid ""
"Once you've selected a device, you'll be able to see the device information "
@@ -2636,47 +2638,47 @@ msgstr ""
"Ak ste už vybrali zariadenie, môžete vidieť podrobnejšie informácie o tomto "
"zariadení v pravej časti (\"Informácie\")"
-#: harddrake2:227
+#: harddrake2:228
#, c-format
msgid "/_Report Bug"
msgstr "/_Ohlásiť chybu"
-#: harddrake2:229
+#: harddrake2:230
#, c-format
msgid "/_About..."
msgstr "/_O aplikácii..."
-#: harddrake2:232
+#: harddrake2:233
#, fuzzy, c-format
msgid "Harddrake"
msgstr "Harddrake2"
-#: harddrake2:236
+#: harddrake2:237
#, c-format
msgid "This is HardDrake, a %s hardware configuration tool."
msgstr ""
-#: harddrake2:269
+#: harddrake2:270
#, c-format
msgid "Detected hardware"
msgstr "Nájdený hardvér"
-#: harddrake2:272 scannerdrake:286
+#: harddrake2:273 scannerdrake:286
#, c-format
msgid "Information"
msgstr "Informácie"
-#: harddrake2:274
+#: harddrake2:275
#, fuzzy, c-format
msgid "Set current driver options"
msgstr "Použiť ovládač klienta"
-#: harddrake2:281
+#: harddrake2:282
#, c-format
msgid "Run config tool"
msgstr "Spustiť konfiguráciu"
-#: harddrake2:301
+#: harddrake2:302
#, c-format
msgid ""
"Click on a device in the left tree in order to display its information here."
@@ -2684,47 +2686,47 @@ msgstr ""
"Kliknite na zariadenie v ľavej stromovej štruktúre pre získanie informácií o "
"ňom."
-#: harddrake2:321 notify-x11-free-driver-switch:13
+#: harddrake2:322 notify-x11-free-driver-switch:13
#, c-format
msgid "unknown"
msgstr "neznámy"
-#: harddrake2:322
+#: harddrake2:323
#, c-format
msgid "Unknown"
msgstr "Neznámy"
-#: harddrake2:342
+#: harddrake2:343
#, c-format
msgid "Misc"
msgstr "Ostatné"
-#: harddrake2:417
+#: harddrake2:418
#, c-format
msgid "secondary"
msgstr "sekundárny"
-#: harddrake2:417
+#: harddrake2:418
#, c-format
msgid "primary"
msgstr "primárne"
-#: harddrake2:421
+#: harddrake2:422
#, c-format
msgid "burner"
msgstr "napaľovačka"
-#: harddrake2:421
+#: harddrake2:422
#, c-format
msgid "DVD"
msgstr "DVD"
-#: harddrake2:473
+#: harddrake2:474
#, c-format
msgid "Unknown/Others"
msgstr "Neznáme/Iné"
-#: harddrake2:515
+#: harddrake2:516
#, c-format
msgid "The following packages need to be installed:\n"
msgstr "Nasledovné balíky je potrebné nainštalovať:\n"
@@ -3063,6 +3065,48 @@ msgid ""
"now using the free software driver (%s)."
msgstr ""
+#: remove-unselected-locales:15 remove-unselected-locales:32
+#, c-format
+msgid "Localization packages removal"
+msgstr ""
+
+#: remove-unselected-locales:16
+#, c-format
+msgid "Finding unused localization packages..."
+msgstr ""
+
+#: remove-unselected-locales:33
+#, fuzzy, c-format
+msgid ""
+"The following localization packages do not seem to be useful for your system:"
+msgstr "Nasledovné balíky je potrebné nainštalovať:\n"
+
+#: remove-unselected-locales:35 remove-unused-hardware-packages:31
+#, fuzzy, c-format
+msgid "Do you want to remove these packages?"
+msgstr "Želáte si spustiť potrebný konfiguračný nástroj?"
+
+#: remove-unselected-locales:36 remove-unused-hardware-packages:32
+#, c-format
+msgid "Removing packages..."
+msgstr ""
+
+#: remove-unused-hardware-packages:13 remove-unused-hardware-packages:28
+#, c-format
+msgid "Hardware packages removal"
+msgstr ""
+
+#: remove-unused-hardware-packages:14
+#, c-format
+msgid "Finding unused hardware packages..."
+msgstr ""
+
+#: remove-unused-hardware-packages:29
+#, fuzzy, c-format
+msgid ""
+"The following hardware packages do not seem to be useful for your system:"
+msgstr "Nasledovné balíky je potrebné nainštalovať:\n"
+
#: scannerdrake:51
#, c-format
msgid ""
n class="hl kwb">$version || N("(none)"); } my $canceled; sub download_callback { my ($gurpm, $mode, $file, $percent, $total, $eta, $speed) = @_; $canceled = 0; if ($mode eq 'start') { $gurpm->label(N("Downloading package `%s'...", basename($file))); $gurpm->validate_cancel(but(N("Cancel")), sub { $canceled = 1 }); } elsif ($mode eq 'progress') { $gurpm->label( join("\n", N("Downloading package `%s'...", basename($file)), (defined $total && defined $eta ? N(" %s%% of %s completed, ETA = %s, speed = %s", $percent, $total, $eta, $speed) : N(" %s%% completed, speed = %s", $percent, $speed) ) =~ /^\s*(.*)/ ), ); $gurpm->set_progressbar($percent/100); } elsif ($mode eq 'end') { $gurpm->set_progressbar(1); $gurpm->invalidate_cancel; } !$canceled; } # -=-=-=---=-=-=---=-=-=-- install packages -=-=-=---=-=-=---=-=-=- my (@update_medias, $is_update_media_already_asked); sub warn_about_media { my ($w, %options) = @_; return if $::MODE ne 'update'; return if $::rpmdrake_options{'no-media-update'}; # we use our own instance of the urpmi db in order not to mess up with skip-list managment (#31092): # and no need to fully configure urpmi since we may have to do it again anyway because of new media: my $urpm = fast_open_urpmi_db(); my $_lock = urpm::lock::urpmi_db($urpm, undef, wait => $urpm->{options}{wait_lock}); # build media list: @update_medias = get_update_medias($urpm); # do not update again media after installing/removing some packages: $::rpmdrake_options{'no-media-update'} ||= 1; if (@update_medias > 0) { if (!$options{skip_updating_mu} && !$is_update_media_already_asked) { $is_update_media_already_asked = 1; $::rpmdrake_options{'no-confirmation'} or interactive_msg(N("Confirmation"), N("I need to contact the mirror to get latest update packages. Please check that your network is currently running. Is it ok to continue?"), yesno => 1, widget => gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$::rpmdrake_options{'no-confirmation'} )) or myexit(-1); writeconf(); urpm::media::select_media($urpm, map { $_->{name} } @update_medias); update_sources($urpm, noclean => 1, medialist => [ map { $_->{name} } @update_medias ]); } } else { if (any { $_->{update} } @{$urpm->{media}}) { interactive_msg(N("Already existing update media"), N("You already have at least one update medium configured, but all of them are currently disabled. You should run the Software Media Manager to enable at least one (check it in the \"%s\" column). Then, restart \"%s\".", N("Enabled"), $rpmdrake::myname_update)); myexit(-1); } my ($mirror) = choose_mirror($urpm, transient => $w->{real_window} || $::main_window, message => join("\n\n", N("You have no configured update media. MageiaUpdate cannot operate without any update media."), N("I need to contact the Mageia website to get the mirror list. Please check that your network is currently running. Is it ok to continue?"), ), ); my $m = ref($mirror) ? $mirror->{url} : ''; $m or interactive_msg(N("How to choose manually your mirror"), N("You may also choose your desired mirror manually: to do so, launch the Software Media Manager, and then add a `Security updates' medium. Then, restart %s.", $rpmdrake::myname_update)), myexit(-1); add_distrib_update_media($urpm, $mirror, only_updates => 1); } } sub get_parallel_group() { $::rpmdrake_options{parallel} ? $::rpmdrake_options{parallel}[0] : undef; } my ($count, $level, $limit, $new_stage, $prev_stage, $total); sub init_progress_bar { my ($urpm) = @_; undef $_ foreach $count, $prev_stage, $new_stage, $limit; $level = 0.05; $total = @{$urpm->{depslist}}; } sub reset_pbar_count { undef $prev_stage; $count = 0; $limit = $_[0]; } sub update_pbar { my ($gurpm) = @_; return if !$total; # don't die if there's no source $count++; $new_stage = $level+($limit-$level)*$count/$total; if ($prev_stage + 0.01 < $new_stage) { $prev_stage = $new_stage; $gurpm->progress($new_stage); } } sub get_installed_packages { my ($urpm, $db, $all_pkgs, $gurpm) = @_; my @base = ("basesystem", split /,\s*/, $urpm->{global_config}{'prohibit-remove'}); my (%base, %basepackages, @installed_pkgs, @processed_base); reset_pbar_count(0.33); while (defined(local $_ = shift @base)) { exists $basepackages{$_} and next; $db->traverse_tag(m|^/| ? 'path' : 'whatprovides', [ $_ ], sub { update_pbar($gurpm); my $name = $_[0]->fullname; # workaround looping in URPM: return if member($name, @processed_base); push @processed_base, $name; push @{$basepackages{$_}}, $name; push @base, $_[0]->requires_nosense; }); } foreach (values %basepackages) { my $n = @$_; #- count number of times it's provided foreach (@$_) { $base{$_} = \$n; } } # costly: $db->traverse(sub { my ($pkg) = @_; update_pbar($gurpm); my $fullname = urpm_name($pkg); return if $fullname =~ /@/; $all_pkgs->{$fullname} = { pkg => $pkg, urpm_name => $fullname, } if !($all_pkgs->{$fullname} && $all_pkgs->{$fullname}{description}); if (my $name = $base{$fullname}) { $all_pkgs->{$fullname}{base} = \$name; $pkg->set_flag_base(1) if $$name == 1; } push @installed_pkgs, $fullname; $pkg->set_flag_installed; $pkg->pack_header; # needed in order to call methods on objects outside ->traverse }); @installed_pkgs; } urpm::select::add_packages_to_priority_upgrade_list('rpmdrake', 'perl-Glib', 'perl-Gtk2'); my $priority_state; our $need_restart; our $probe_only_for_updates; sub get_updates_list { my ($urpm, $db, $state, $requested, $requested_list, $requested_strict, $all_pkgs, %limit_preselect) = @_; $urpm->request_packages_to_upgrade( $db, $state, $requested, %limit_preselect ); require Rpmdrake::gui; my %common_opts = ( callback_choices => \&Rpmdrake::gui::callback_choices, priority_upgrade => $urpm->{options}{'priority-upgrade'}, ); if ($urpm->{options}{'priority-upgrade'}) { $need_restart = urpm::select::resolve_priority_upgrades_after_auto_select($urpm, $db, $state, $requested, %common_opts); } # list of updates (including those matching /etc/urpmi/skip.list): @$requested_list = sort map { my $name = urpm_name($_); $all_pkgs->{$name} = { pkg => $_ }; $name; } @{$urpm->{depslist}}[keys %$requested]; # list of pure updates (w/o those matching /etc/urpmi/skip.list but with their deps): if ($probe_only_for_updates && !$need_restart) { @$requested_strict = sort map { urpm_name($_); } $urpm->resolve_requested($db, $state, $requested, callback_choices => \&Rpmdrake::gui::callback_choices); if (my @l = grep { $state->{selected}{$_->id} } urpm::select::_priority_upgrade_pkgs($urpm, $urpm->{options}{'priority-upgrade'})) { if (!$need_restart) { $need_restart = urpm::select::_resolve_priority_upgrades($urpm, $db, $state, $state->{selected}, \@l, %common_opts); } } } if ($need_restart) { $requested_strict = [ map { scalar $_->fullname } @{$urpm->{depslist}}[keys %{$state->{selected}}] ]; # drop non priority updates: @$requested_list = (); } # list updates including skiped ones + their deps in MageiaUpdate: @$requested_list = uniq(@$requested_list, @$requested_strict); # do not pre select updates in rpmdrake: @$requested_strict = () if !$probe_only_for_updates; } sub get_pkgs { my (%options) = @_; my $w = $::main_window; my $gurpm = Rpmdrake::gurpm->new(1 ? N("Please wait") : N("Package installation..."), N("Initializing..."), transient => $::main_window); my $_gurpm_clean_guard = before_leaving { undef $gurpm }; #my $_flush_guard = Gtk2::GUI_Update_Guard->new; warn_about_media($w, %options); my $urpm = open_urpmi_db(update => $probe_only_for_updates && !is_it_a_devel_distro()); my $_drop_lock = before_leaving { undef $urpm->{lock} }; $priority_up_alread_warned = 0; # update media list in case warn_about_media() added some: @update_medias = get_update_medias($urpm); $gurpm->label(N("Reading updates description")); $gurpm->progress(0.05); #- parse the description file my $update_descr = urpm::get_updates_description($urpm, @update_medias); my $_unused = N("Please wait, finding available packages..."); # find out installed packages: init_progress_bar($urpm); $gurpm->label(N("Please wait, listing base packages...")); $gurpm->progress($level); my $db = eval { open_rpm_db() }; if (my $err = $@) { interactive_msg(N("Error"), N("A fatal error occurred: %s.", $err)); return; } my $sig_handler = sub { undef $db; exit 3 }; local $SIG{INT} = $sig_handler; local $SIG{QUIT} = $sig_handler; $gurpm->label(N("Please wait, finding installed packages...")); $gurpm->progress($level = 0.33); reset_pbar_count(0.66); my (@installed_pkgs, %all_pkgs); if (!$probe_only_for_updates) { @installed_pkgs = get_installed_packages($urpm, $db, \%all_pkgs, $gurpm); } if (my $group = get_parallel_group()) { urpm::media::configure($urpm, parallel => $group); } # find out availlable packages: $urpm->{state} = {}; $gurpm->label(N("Please wait, finding available packages...")); $gurpm->progress($level = 0.66); check_update_media_version($urpm, @update_medias); my $requested = {}; my $state = {}; my (@requested, @requested_strict); if ($compute_updates->[0] || $::MODE eq 'update') { my %filter; if ($options{pure_updates}) { # limit to packages from update-media (dependencies can still come from other media) %filter = (idlist => [ map { $_->{start} .. $_->{end} } @update_medias ]); } get_updates_list($urpm, $db, $state, $requested, \@requested, \@requested_strict, \%all_pkgs, %filter); } $priority_state = $need_restart ? $state : undef; if (!$probe_only_for_updates) { $urpm->compute_installed_flags($db); # TODO/FIXME: not for updates $urpm->{depslist}[$_]->set_flag_installed foreach keys %$requested; #- pretend it's installed } $urpm->{rpmdrake_state} = $state; #- Don't forget it $gurpm->progress($level = 0.7); my %l; reset_pbar_count(1); foreach my $pkg (@{$urpm->{depslist}}) { update_pbar($gurpm); $pkg->flag_upgrade or next; my $key = $pkg->name . $pkg->arch; $l{$key} = $pkg if !$l{$key} || $l{$key}->compare($pkg); } my @installable_pkgs = map { my $n = $_->fullname; $all_pkgs{$n} = { pkg => $_ }; $n } values %l; undef %l; my @inactive_backports; my @active_backports; my @backport_medias = get_backport_media($urpm); foreach my $medium (@backport_medias) { update_pbar($gurpm); # The 'searchmedia' flag differentiates inactive backport medias # (because that option was passed to urpm::media::configure to # temporarily enable them) my $backports = $medium->{searchmedia} ? \@inactive_backports : \@active_backports; foreach my $pkg_id ($medium->{start} .. $medium->{end}) { next if !$pkg_id; my $pkg = $urpm->{depslist}[$pkg_id]; $pkg->flag_upgrade or next; my $name = $pkg->fullname; push @$backports, $name; $all_pkgs{$name} = { pkg => $pkg, is_backport => 1 }; } } my @updates = @requested; # selecting updates by default but skipped ones (MageiaUpdate only): foreach (@requested_strict) { $all_pkgs{$_}{selected} = 1; } # urpmi only care about the first medium where it found the package, # so there's no need to list the same package several time: @installable_pkgs = uniq(difference2(\@installable_pkgs, \@updates)); my @meta_pkgs = grep { /^task-|^basesystem/ } keys %all_pkgs; my @gui_pkgs = map { chomp; $_ } cat_('/usr/share/rpmdrake/gui.lst'); # add meta packages to GUI packages list (which expect basic names not fullnames): push @gui_pkgs, map { (split_fullname($_))[0] } @meta_pkgs; +{ urpm => $urpm, all_pkgs => \%all_pkgs, installed => \@installed_pkgs, installable => \@installable_pkgs, updates => \@updates, meta_pkgs => \@meta_pkgs, gui_pkgs => [ grep { my $p = $all_pkgs{$_}{pkg}; $p && member(($p->fullname)[0], @gui_pkgs) } keys %all_pkgs ], update_descr => $update_descr, backports => [ @inactive_backports, @active_backports ], inactive_backports => \@inactive_backports }; } sub display_READMEs_if_needed { my ($urpm, $w) = @_; return if !$urpm->{readmes}; my %Readmes = %{$urpm->{readmes}}; if (keys %Readmes) { #- display the README*.urpmi files interactive_packtable( N("Upgrade information"), $w, N("These packages come with upgrade information"), [ map { my $fullname = $_; [ gtkpack__( gtknew('HBox'), gtkset_selectable(gtknew('Label', text => $Readmes{$fullname}),1), ), gtksignal_connect( gtknew('Button', text => N("Upgrade information about this package")), clicked => sub { interactive_msg( N("Upgrade information about package %s", $Readmes{$fullname}), (join '' => map { s/$/\n/smg; $_ } formatAlaTeX(scalar cat_($fullname))), scroll => 1, ); }, ), ] } keys %Readmes ], [ gtknew('Button', text => N("Ok"), clicked => sub { Gtk2->main_quit }) ] ); } } sub perform_parallel_install { my ($urpm, $group, $w, $statusbar_msg_id) = @_; my @pkgs = map { if_($_->flag_requested, urpm_name($_)) } @{$urpm->{depslist}}; my @error_msgs; my $res = !run_program::run('urpmi', '2>', \@error_msgs, '-v', '--X', '--parallel', $group, @pkgs); if ($res) { $$statusbar_msg_id = statusbar_msg( #N("Everything installed successfully"), N("All requested packages were installed successfully."), ); } else { interactive_msg( N("Problem during installation"), N("There was a problem during the installation:\n\n%s", join("\n", @error_msgs)), scroll => 1, ); } open_rpm_db('force_sync'); $w->set_sensitive(1); return 0; } sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( my ($urpm, $pkgs) = @_; my @error_msgs; my $statusbar_msg_id; my $gurpm; local $urpm->{fatal} = sub { my $fatal_msg = $_[1]; printf STDERR "Fatal: %s\n", $fatal_msg; undef $gurpm; interactive_msg(N("Installation failed"), N("There was a problem during the installation:\n\n%s", $fatal_msg)); goto return_with_exit_code; }; local $urpm->{error} = sub { printf STDERR "Error: %s\n", $_[0]; push @error_msgs, $_[0] }; my $w = $::main_window; $w->set_sensitive(0); my $_restore_sensitive = before_leaving { $w->set_sensitive(1) }; my $_flush_guard = Gtk2::GUI_Update_Guard->new; if (my $group = get_parallel_group()) { return perform_parallel_install($urpm, $group, $w, \$statusbar_msg_id); } my ($lock, $rpm_lock); if (!$::env) { $lock = urpm::lock::urpmi_db($urpm, undef, wait => $urpm->{options}{wait_lock}); $rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive'); } my $state = $priority_state || $probe_only_for_updates ? { } : $urpm->{rpmdrake_state}; my $bar_id = statusbar_msg(N("Checking validity of requested packages..."), 0); # FIXME: THIS SET flag_requested on all packages!!!! # select packages to install / enssure selected pkg set is consistant: my %saved_flags; my $requested = { map { $saved_flags{$_->id} = $_->flag_requested; $_->id => undef; } grep { $_->flag_selected } @{$urpm->{depslist}} };