package timezone; # $Id$ use diagnostics; use strict; use common; use log; sub getTimeZones() { my $prefix = $::testing ? '' : $::prefix; open(my $F, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -noleaf -type f |"); my @l = difference2([ chomp_(<$F>) ], [ 'ROC', 'PRC' ]); close $F or die "cannot list the available zoneinfos"; sort @l; } sub read() { my %t = getVarsFromSh("$::prefix/etc/sysconfig/clock") or return {}; { timezone => $t{ZONE}, UTC => text2bool($t{UTC}) }; } my $ntp_conf_file = "/etc/ntp.conf"; sub ntp_server() { find { $_ ne '127.127.1.0' } map { if_(/^\s*server\s+(\S*)/, $1) } cat_($::prefix . $ntp_conf_file); } sub set_ntp_server { my ($server) = @_; my $f = $::prefix . $ntp_conf_file; -f $f or return; my $pool_match = qr/\.pool\.ntp\.org$/; my @servers = $server =~ $pool_match ? (map { "$_.$server" } 0 .. 2) : $server; my $added = 0; substInFile { if (/^#?\s*server\s+(\S*)/ && $1 ne '127.127.1.0') { $_ = $added ? $_ =~ $pool_match ? undef : "#server $1\n" : join('', map { "server $_\n" } @servers); $added = 1; } } $f; output_p("$::prefix/etc/ntp/step-tickers", join('', map { "$_\n" } @servers)); require services; services::set_status('ntpd', to_bool($server), $::isInstall); } sub write { my ($t) = @_; set_ntp_server($t->{ntp}); eval { cp_af("$::prefix/usr/share/zoneinfo/$t->{timezone}", "$::prefix/etc/localtime") }; $@ and log::l("installing /etc/localtime failed"); setVarsInSh("$::prefix/etc/sysconfig/clock", { ZONE => $t->{timezone}, UTC => bool2text($t->{UTC}), ARC => "false", }); } sub reload_sys_clock { my ($t) = @_; require run_program; run_program::run('hwclock', '--hctosys', ($t->{UTC} ? '--utc' : '--localtime')); } #- best guesses for a given country my %c2t = ( 'AM' => 'Asia/Yerevan', 'AR' => 'America/Buenos_Aires', 'AT' => 'Europe/Vienna', 'AU' => 'Australia/Sydney', 'BA' => 'Europe/Sarajevo', 'BE' => 'Europe/Brussels', 'BG' => 'Europe/Sofia', 'BR' => 'Brazil/East', #- most people live on the east coast 'BY' => 'Europe/Minsk', 'CA' => 'Canada/Eastern', 'CH' => 'Europe/Zurich', 'CN' => 'Asia/Beijing', 'CZ' => 'Europe/Prague', 'DE' => 'Europe/Berlin', 'DK' => 'Europe/Copenhagen', 'EE' => 'Europe/Tallinn', 'ES' => 'Europe/Madrid', 'FI' => 'Europe/Helsinki', 'FR' => 'Europe/Paris', 'GB' => 'Europe/London', 'GE' => 'Asia/Yerevan', 'GL' => 'Arctic/Longyearbyen', 'GR' => 'Europe/Athens', 'HR' => 'Europe/Zagreb', 'HU' => 'Europe/Budapest', 'ID' => 'Asia/Jakarta', 'IE' => 'Europe/Dublin', 'IL' => 'Asia/Tel_Aviv', 'IN' => 'Asia/Calcutta', 'IR' => 'Asia/Tehran', 'IS' => 'Atlantic/Reykjavik', 'IT' => 'Europe/Rome', 'JP' => 'Asia/Tokyo', 'KR' => 'Asia/Seoul', 'LT' => 'Europe/Vilnius', 'LV' => 'Europe/Riga', 'MK' => 'Europe/Skopje', 'MT' => 'Europe/Malta', 'MX' => 'America/Mexico_City', 'MY' => 'Asia/Kuala_Lumpur', 'NL' => 'Europe/Amsterdam', 'NO' => 'Europe/Oslo', 'NZ' => 'Pacific/Auckland', 'PL' => 'Europe/Warsaw', 'PT' => 'Europe/Lisbon', 'RO' => 'Europe/Bucharest', 'RU' => 'Europe/Moscow', 'SE' => 'Europe/Stockholm', 'SI' => 'Europe/Ljubljana', 'SK' => 'Europe/Bratislava', 'TH' => 'Asia/Bangkok', 'TJ' => 'Asia/Dushanbe', 'TR' => 'Europe/Istanbul', 'TW' => 'Asia/Taipei', 'UA' => 'Europe/Kiev', 'US' => 'America/New_York', 'UZ' => 'Asia/Tashkent', 'VN' => 'Asia/Saigon', 'YU' => 'Europe/Belgrade', 'ZA' => 'Africa/Johannesburg', ); sub fuzzyChoice { my ($b, $count) = bestMatchSentence($_[0], keys %c2t); $count ? $b : ''; } sub bestTimezone { $c2t{fuzzyChoice($_[0])} || 'GMT' } our %ntp_servers; sub get_ntp_server_tree { my ($zone) = @_; map { $ntp_servers{$zone}{$_} => ( exists $ntp_servers{$_} ? $zone ? translate($_) . "|" . N("All servers") : N("All servers") : translate($zone) . "|" . translate($_) ), get_ntp_server_tree($_); } keys %{$ntp_servers{$zone}}; } sub ntp_servers() { +{ get_ntp_server_tree() }; } sub dump_ntp_zone { my ($zone) = @_; map { if_(/\[\d+\](.+) -- (.+\.ntp\.org)/, $1 => $2) } `lynx -dump http://www.pool.ntp.org/zone/$zone`; } sub print_ntp_zone { my ($zone, $name) = @_; my %servers = dump_ntp_zone($zone); print qq(\$ntp_servers{"$name"} = {\n); print join('', map { qq( N_("$_") => "$servers{$_}",\n) } sort(keys %servers)); print "};\n"; \%servers; } sub print_ntp_servers() { print_ntp_zone(); my $servers = print_ntp_zone('@', "Global"); foreach my $name (sort(keys %$servers)) { my ($zone) = $servers->{$name} =~ /^(.*?)\./; print_ntp_zone($zone, $name); } } # perl -Mtimezone -e 'timezone::print_ntp_servers()' $ntp_servers{""} = { N_("Global") => "pool.ntp.org", }; $ntp_servers{"Global"} = { N_("Africa") => "africa.pool.ntp.org", N_("Asia") => "asia.pool.ntp.org", N_("Europe") => "europe.pool.ntp.org", N_("North America") => "north-america.pool.ntp.org", N_("Oceania") => "oceania.pool.ntp.org", N_("South America") => "south-america.pool.ntp.org", }; $ntp_servers{"Africa"} = { N_("South Africa") => "za.pool.ntp.org", N_("Tanzania") => "tz.pool.ntp.org", }; $ntp_servers{"Asia"} = { N_("Bangladesh") => "bd.pool.ntp.org", N_("China") => "cn.pool.ntp.org", N_("Hong Kong") => "hk.pool.ntp.org", N_("India") => "in.pool.ntp.org", N_("Indonesia") => "id.pool.ntp.org", N_("Iran") => "ir.pool.ntp.org", N_("Israel") => "il.pool.ntp.org", N_("Japan") => "jp.pool.ntp.org", N_("Korea") => "kr.pool.ntp.org", N_("Malaysia") => "my.pool.ntp.org", N_("Philippines") => "ph.pool.ntp.org", N_("Singapore") => "sg.pool.ntp.org", N_("Taiwan") => "tw.pool.ntp.org", N_("Thailand") => "th.pool.ntp.org", N_("Turkey") => "tr.pool.ntp.org", N_("United Arab Emirates") => "ae.pool.ntp.org", }; $ntp_servers{"Europe"} = { N_("Austria") => "at.pool.ntp.org", N_("Belarus") => "by.pool.ntp.org", N_("Belgium") => "be.pool.ntp.org", N_("Bulgaria") => "bg.pool.ntp.org", N_("Czech Republic") => "cz.pool.ntp.org", N_("Denmark") => "dk.pool.ntp.org", N_("Estonia") => "ee.pool.ntp.org", N_("Finland") => "fi.pool.ntp.org", N_("France") => "fr.pool.ntp.org", N_("Germany") => "de.pool.ntp.org", N_("Greece") => "gr.pool.ntp.org", N_("Hungary") => "hu.pool.ntp.org", N_("Ireland") => "ie.pool.ntp.org", N_("Italy") => "it.pool.ntp.org", N_("Lithuania") => "lt.pool.ntp.org", N_("Luxembourg") => "lu.pool.ntp.org", N_("Netherlands") => "nl.pool.ntp.org", N_("Norway") => "no.pool.ntp.org", N_("Poland") => "pl.pool.ntp.org", N_("Portugal") => "pt.pool.ntp.org", N_("Romania") => "ro.pool.ntp.org", N_("Russian Federation") => "ru.pool.ntp.org", N_("Slovakia") => "sk.pool.ntp.org", N_("Slovenia") => "si.pool.ntp.org", N_("Spain") => "es.pool.ntp.org", N_("Sweden") => "se.pool.ntp.org", N_("Switzerland") => "ch.pool.ntp.org", N_("Ukraine") => "ua.pool.ntp.org", N_("United Kingdom") => "uk.pool.ntp.org", N_("Yugoslavia") => "yu.pool.ntp.org", }; $ntp_servers{"North America"} = { N_("Canada") => "ca.pool.ntp.org", N_("Guatemala") => "gt.pool.ntp.org", N_("Mexico") => "mx.pool.ntp.org", N_("United States") => "us.pool.ntp.org", }; $ntp_servers{"Oceania"} = { N_("Australia") => "au.pool.ntp.org", N_("New Zealand") => "nz.pool.ntp.org", }; $ntp_servers{"South America"} = { N_("Argentina") => "ar.pool.ntp.org", N_("Brazil") => "br.pool.ntp.org", N_("Chile") => "cl.pool.ntp.org", }; 1; mmit/?h=17.5&id=518494d69ee56281518dab58b87a5e7baa9a804f'>518494d69ee56281518dab58b87a5e7baa9a804f (diff)
-rw-r--r-- | perl-install/share/po/af.po | 2146 | ||||
-rw-r--r-- | perl-install/share/po/lt.po | 515 | ||||
-rw-r--r-- | perl-install/share/po/lv.po | 515 | ||||
-rw-r--r-- | perl-install/share/po/sp.po | 12 | ||||
-rw-r--r-- | perl-install/share/po/uk.po | 517 | ||||
-rw-r--r-- | perl-install/share/po/zh_CN.po | 515 |
diff --git a/perl-install/share/po/af.po b/perl-install/share/po/af.po index 890be6128..bb832b366 100644 --- a/perl-install/share/po/af.po +++ b/perl-install/share/po/af.po @@ -1,3 +1,5 @@ +# KTranslator Generated File +# KTranslator Generated File # SOME DESCRIPTIVE TITLE. # Copyright (c) 1999 MandrakeSoft # FIRST AUTHOR <EMAIL@ADDRESS>, 1999. @@ -5,54 +7,55 @@ msgid "" msgstr "" "Project-Id-Version: DrakX VERSION\n" -"POT-Creation-Date: 2000-05-16 14:30+0200\n" +"POT-Creation-Date: 2000-06-04 18:38+0200\n" "PO-Revision-Date: 2000-05-17 16:26+0100\n" "Last-Translator: Schalk. W. Cronjé <schalkc@ntaba.co.za>\n" "Language-Team: Afrikaans <mandrake@af.org.za>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: KTranslator v 0.4.0\n" -#: ../../Xconfigurator.pm_.c:116 ../../Xconfigurator.pm_.c:228 +#: ../../Xconfigurator.pm_.c:116 ../../Xconfigurator.pm_.c:236 msgid "Generic" -msgstr "" +msgstr "Generies" -#: ../../Xconfigurator.pm_.c:165 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:172 msgid "Graphic card" -msgstr "Videokaart: %s\n" +msgstr "Videokaart" -#: ../../Xconfigurator.pm_.c:165 +#: ../../Xconfigurator.pm_.c:172 msgid "Select a graphic card" msgstr "Selekteer 'n videokaart" -#: ../../Xconfigurator.pm_.c:166 +#: ../../Xconfigurator.pm_.c:173 msgid "Choose a X server" msgstr "Kies 'n X-bediener" -#: ../../Xconfigurator.pm_.c:166 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:173 msgid "X server" -msgstr "bediener" +msgstr "X-bediener" -#: ../../Xconfigurator.pm_.c:190 +#: ../../Xconfigurator.pm_.c:198 msgid "Select the memory size of your graphic card" msgstr "Kies die geheue grootte van u videokaart" -#: ../../Xconfigurator.pm_.c:217 +#: ../../Xconfigurator.pm_.c:225 msgid "Choose options for server" msgstr "Selekteer opsies vir bediener" -#: ../../Xconfigurator.pm_.c:228 +#: ../../Xconfigurator.pm_.c:236 msgid "Choose a monitor" msgstr "Kies 'n monitor" -#: ../../Xconfigurator.pm_.c:228 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:236 msgid "Monitor" -msgstr "Monitor: %s\n" +msgstr "Monitor" -#: ../../Xconfigurator.pm_.c:231 +#: ../../Xconfigurator.pm_.c:239 msgid "" "The two critical parameters are the vertical refresh rate, which is the " "rate\n" @@ -74,41 +77,41 @@ msgstr "" "monitor spesifiseer nie, dit kan die monitor beskadig. Indien u twyfel,\n" "kies konservatief." -#: ../../Xconfigurator.pm_.c:238 +#: ../../Xconfigurator.pm_.c:246 msgid "Horizontal refresh rate" msgstr "Horisontale verfristempo" -#: ../../Xconfigurator.pm_.c:238 +#: ../../Xconfigurator.pm_.c:246 msgid "Vertical refresh rate" msgstr "Vertikale verfristempo" -#: ../../Xconfigurator.pm_.c:277 +#: ../../Xconfigurator.pm_.c:285 msgid "Monitor not configured" msgstr "Monitor is nie opgestel nie" -#: ../../Xconfigurator.pm_.c:280 +#: ../../Xconfigurator.pm_.c:288 msgid "Graphic card not configured yet" msgstr "Grafikakaart is nog nie konfigureer nie" -#: ../../Xconfigurator.pm_.c:283 +#: ../../Xconfigurator.pm_.c:291 msgid "Resolutions not chosen yet" msgstr "Resolusie is nog nie gekies nie" -#: ../../Xconfigurator.pm_.c:296 +#: ../../Xconfigurator.pm_.c:304 msgid "Do you want to test the configuration?" msgstr "Wil u die konfigurasie toets?" -#: ../../Xconfigurator.pm_.c:300 +#: ../../Xconfigurator.pm_.c:308 msgid "Warning: testing is dangerous on this graphic card" -msgstr "" +msgstr "Waarskuwing: Toetsing is gevaarlik met hierdie videokaart" -#: ../../Xconfigurator.pm_.c:303 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:311 msgid "Test of the configuration" msgstr "Toets konfigurasie" -#: ../../Xconfigurator.pm_.c:342 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:350 msgid "" "\n" "try to change some parameters" @@ -116,31 +119,31 @@ msgstr "" "\n" "probeer van die parameters verander" -#: ../../Xconfigurator.pm_.c:342 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:350 msgid "An error has occurred:" msgstr "Daar was 'n fout:" -#: ../../Xconfigurator.pm_.c:365 -#, fuzzy, c-format +#: ../../Xconfigurator.pm_.c:373 +#, c-format msgid "Leaving in %d seconds" -msgstr "(uitgang binne %d sekonde)" +msgstr "uitgang binne %ds" -#: ../../Xconfigurator.pm_.c:369 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:377 msgid "Is this the correct setting?" msgstr "Is dit korrek?" -#: ../../Xconfigurator.pm_.c:377 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:385 msgid "An error has occurred, try to change some parameters" msgstr "Hier is fout, probeer van die parameters verander" -#: ../../Xconfigurator.pm_.c:385 ../../Xconfigurator.pm_.c:558 +#: ../../Xconfigurator.pm_.c:393 ../../Xconfigurator.pm_.c:574 msgid "Automatic resolutions" msgstr "Outomatiese resolusies" -#: ../../Xconfigurator.pm_.c:386 +#: ../../Xconfigurator.pm_.c:394 msgid "" "To find the available resolutions I will try different ones.\n" "Your screen will blink...\n" @@ -150,35 +153,35 @@ msgstr "" "Die skerm sal 'n paar maal flits...\n" "U kan die skerm afsit indien u wil, ek sal biep wanneer ek klaar is" -#: ../../Xconfigurator.pm_.c:441 ../../printerdrake.pm_.c:167 +#: ../../Xconfigurator.pm_.c:452 ../../printerdrake.pm_.c:167 msgid "Resolution" msgstr "Resolusie" -#: ../../Xconfigurator.pm_.c:476 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:487 msgid "Choose the resolution and the color depth" msgstr "Kies die resolusie en kleurdiepte" -#: ../../Xconfigurator.pm_.c:478 -#, fuzzy, c-format +#: ../../Xconfigurator.pm_.c:489 +#, c-format msgid "Graphic card: %s" -msgstr "Videokaart: %s\n" +msgstr "Videokaart: %s" -#: ../../Xconfigurator.pm_.c:479 -#, fuzzy, c-format +#: ../../Xconfigurator.pm_.c:490 +#, c-format msgid "XFree86 server: %s" -msgstr "XFree86 bediener: %s\n" +msgstr "XFree86 bediener: %s" -#: ../../Xconfigurator.pm_.c:488 +#: ../../Xconfigurator.pm_.c:499 msgid "Show all" msgstr "Vertoon almal" -#: ../../Xconfigurator.pm_.c:512 -#, fuzzy +# +#: ../../Xconfigurator.pm_.c:523 msgid "Resolutions" -msgstr "Resolusie" +msgstr "Resolusies" -#: ../../Xconfigurator.pm_.c:559 +#: ../../Xconfigurator.pm_.c:575 msgid "" "I can try to find the available resolutions (eg: 800x600).\n" "Sometimes, though, it may hang the machine.\n" @@ -188,7 +191,7 @@ msgstr "" "Soms kan die rekenaar ophang.\n" "Wil u probeer?" -#: ../../Xconfigurator.pm_.c:564 +#: ../../Xconfigurator.pm_.c:580 msgid "" "No valid modes found\n" "Try with another video card or monitor" @@ -196,109 +199,109 @@ msgstr "" "Geen geldige modes was gevind nie\n" "Probeer 'n ander videokaart of monitor" -#: ../../Xconfigurator.pm_.c:904 +#: ../../Xconfigurator.pm_.c:920 #, c-format msgid "Keyboard layout: %s\n" msgstr "Sleutelbord uitleg: %s\n" -#: ../../Xconfigurator.pm_.c:905 +#: ../../Xconfigurator.pm_.c:921 #, c-format msgid "Mouse type: %s\n" msgstr "Muistipe: %s\n" -#: ../../Xconfigurator.pm_.c:906 +#: ../../Xconfigurator.pm_.c:922 #, c-format msgid "Mouse device: %s\n" msgstr "Muistoestel: %s\n" -#: ../../Xconfigurator.pm_.c:907 +#: ../../Xconfigurator.pm_.c:923 #, c-format msgid "Monitor: %s\n" msgstr "Monitor: %s\n" -#: ../../Xconfigurator.pm_.c:908 +#: ../../Xconfigurator.pm_.c:924 #, c-format msgid "Monitor HorizSync: %s\n" msgstr "Monitor HoriSink: %s\n" -#: ../../Xconfigurator.pm_.c:909 +#: ../../Xconfigurator.pm_.c:925 #, c-format msgid "Monitor VertRefresh: %s\n" msgstr "Monitor VertVerfris: %s\n" -#: ../../Xconfigurator.pm_.c:910 +#: ../../Xconfigurator.pm_.c:926 #, c-format msgid "Graphic card: %s\n" msgstr "Videokaart: %s\n" -#: ../../Xconfigurator.pm_.c:911 +#: ../../Xconfigurator.pm_.c:927 #, c-format msgid "Graphic memory: %s kB\n" msgstr "Video geheue: %s kB\n" -#: ../../Xconfigurator.pm_.c:912 +#: ../../Xconfigurator.pm_.c:928 #, c-format msgid "XFree86 server: %s\n" msgstr "XFree86 bediener: %s\n" -#: ../../Xconfigurator.pm_.c:927 +#: ../../Xconfigurator.pm_.c:943 msgid "Preparing X-Window configuration" msgstr "X-Window konfigurasie word opgestel" -#: ../../Xconfigurator.pm_.c:941 +#: ../../Xconfigurator.pm_.c:957 msgid "Change Monitor" msgstr "Verander monitor" -#: ../../Xconfigurator.pm_.c:942 +#: ../../Xconfigurator.pm_.c:958 msgid "Change Graphic card" msgstr "Verander videokaart" -#: ../../Xconfigurator.pm_.c:943 +#: ../../Xconfigurator.pm_.c:959 msgid "Change Server options" msgstr "Verander bedienerinstellings" -#: ../../Xconfigurator.pm_.c:944 +#: ../../Xconfigurator.pm_.c:960 msgid "Change Resolution" msgstr "Verander resolusie" -#: ../../Xconfigurator.pm_.c:945 +#: ../../Xconfigurator.pm_.c:961 msgid "Automatical resolutions search" msgstr "Outomatiese resolusie soektog" -#: ../../Xconfigurator.pm_.c:949 +#: ../../Xconfigurator.pm_.c:965 msgid "Show information" msgstr "Vertoon inligting" -#: ../../Xconfigurator.pm_.c:950 +#: ../../Xconfigurator.pm_.c:966 msgid "Test again" msgstr "Toets weer" -#: ../../Xconfigurator.pm_.c:951 ../../standalone/rpmdrake_.c:46 +#: ../../Xconfigurator.pm_.c:967 ../../standalone/rpmdrake_.c:46 msgid "Quit" msgstr "Verlaat" -#: ../../Xconfigurator.pm_.c:955 ../../standalone/drakboot_.c:36 +#: ../../Xconfigurator.pm_.c:971 ../../standalone/drakboot_.c:39 msgid "What do you want to do?" msgstr "Wat wil u doen?" -#: ../../Xconfigurator.pm_.c:962 +#: ../../Xconfigurator.pm_.c:978 msgid "Forget the changes?" -msgstr "" +msgstr "Vergeet van die veranderinge?" -#: ../../Xconfigurator.pm_.c:980 +#: ../../Xconfigurator.pm_.c:996 #, c-format msgid "Please relog into %s to activate the changes" -msgstr "" +msgstr "Teken asb. weer in %s om veranderinge te aktiveer" -#: ../../Xconfigurator.pm_.c:996 +#: ../../Xconfigurator.pm_.c:1012 msgid "Please log out and then use Ctrl-Alt-BackSpace" -msgstr "" +msgstr "Teken uit en gebruik dan Ctrl-Alt-Backspace" -#: ../../Xconfigurator.pm_.c:999 +#: ../../Xconfigurator.pm_.c:1015 msgid "X at startup" msgstr "X met herlaai" -#: ../../Xconfigurator.pm_.c:1000 +#: ../../Xconfigurator.pm_.c:1016 msgid "" "I can set up your computer to automatically start X upon booting.\n" "Would you like X to start when you reboot?" @@ -404,35 +407,35 @@ msgstr "Monitor wat 1600x1220 kan doen teen 76Hz" #: ../../any.pm_.c:17 msgid "curly" -msgstr "" +msgstr "krul" +# #: ../../any.pm_.c:17 -#, fuzzy msgid "default" msgstr "Verstek" +# #. -PO: names (tie, curly...) have corresponding icons for kdm #: ../../any.pm_.c:17 -#, fuzzy msgid "tie" -msgstr "Aktief" +msgstr "das" #: ../../any.pm_.c:18 msgid "brunette" -msgstr "" +msgstr "brunette" #: ../../any.pm_.c:18 msgid "girl" -msgstr "" +msgstr "meisie" |