summaryrefslogtreecommitdiffstats
path: root/po/ru.po
Commit message (Expand)AuthorAgeFilesLines
...
* Updated POT file of mdkonline.Funda Wang2007-03-191-126/+146
* better looking message (add EOLs around list items)Thierry Vignaud2006-12-051-0/+4
* updated pot file (with an explanation for "Greeting"),Pablo Saratxaga2006-09-011-157/+158
* updated translationPavel Maryanov2006-08-131-19/+22
* updated po files; reused general copyright text from previous translationsPablo Saratxaga2006-05-121-2/+2
* add 2 new stringsThierry Vignaud2006-04-061-3/+13
* factorize yearsThierry Vignaud2006-04-061-1/+1
* sync with codeThierry Vignaud2006-04-061-12/+72
* translate a string from rpmdrakeThierry Vignaud2006-03-301-1/+1
* sync messages with codeThierry Vignaud2006-03-301-48/+68
* updated translationPavel Maryanov2006-03-271-23/+27
* updated pot filePablo Saratxaga2006-03-161-40/+50
* sync with code (adding comment for translator)Thierry Vignaud2006-03-071-16/+17
* sync with codeThierry Vignaud2006-03-071-9/+16
* merge in translations from urpmiThierry Vignaud2006-03-071-1/+1
* sync with codeThierry Vignaud2006-03-071-35/+40
* updated Welsh po file; saved some old translationsPablo Saratxaga2006-03-061-10/+10
* merge in translations from DrakXThierry Vignaud2006-03-031-3/+3
* sync with codeThierry Vignaud2006-03-031-5/+29
* sync with codeThierry Vignaud2006-03-021-145/+164
* updated translationPavel Maryanov2005-09-261-87/+44
* updated po filesPablo Saratxaga2005-09-201-6/+12
* updated pot filePablo Saratxaga2005-09-161-134/+272
* updated translationPavel Maryanov2005-08-091-15/+9
* updated pot filePablo Saratxaga2005-08-081-35/+35
* updated po filesPablo Saratxaga2005-07-181-6/+13
* More s/Mandrake/Mandriva, fix mdk bug#16077.Funda Wang2005-07-061-35/+35
* made more explicit help line about text mode version;Pablo Saratxaga2005-05-111-2/+2
* updated pot filePablo Saratxaga2005-04-181-89/+108
* - switch to MandrivaDaouda Lo2005-04-141-42/+42
* Up/Down fixPavel Maryanov2005-04-051-3/+3
* updated translationPavel Maryanov2005-04-051-20/+19
* typo fix (Arpad Biro)Thierry Vignaud2005-02-171-1/+1
* updated pot filePablo Saratxaga2005-02-151-1/+1
* typo fixes (Arpad Biro)Thierry Vignaud2005-02-141-2/+2
* updated po filePablo Saratxaga2005-02-081-2/+3
* updatedAlice Lafox2005-02-031-86/+29
* updated pot filePablo Saratxaga2005-01-311-44/+54
* updated pot filePablo Saratxaga2005-01-031-44/+44
* updated pot filePablo Saratxaga2004-11-221-22/+20
* updated pot file; fixed duplicate strings with unusual casePablo Saratxaga2004-11-051-9/+9
* merge changes from MNF, MDK-10-updateDaouda Lo2004-11-041-257/+249
* updatedAlice Lafox2004-10-161-49/+47
* updated pot filePablo Saratxaga2004-10-011-57/+57
* regenarate po and fix fr oneDaouda Lo2004-10-011-1/+11
* updated pot filePablo Saratxaga2004-10-011-70/+70
* updated pot filePablo Saratxaga2004-09-291-3/+6
* fixed very serious i18n bug (a sentence must never be split in translations)Pablo Saratxaga2004-09-291-54/+52
* updated pot filePablo Saratxaga2004-09-281-3/+3
* remove mandrakeonline alias offerDaouda Lo2004-09-281-4/+0
XXX', 'dma=5' ]) sub load { #- keeping the order of modules my %options; my @l = map { my ($name, @options) = ref $_ ? @$_ : $_; $options{$name} = \@options; dependencies_closure($name); } @_; @l = difference2([ uniq(@l) ], [ loaded_modules() ]) or return; my $network_module = do { my ($network_modules, $other) = partition { module2category($_) =~ m,network/(main|usb), } @l; if (@$network_modules > 1) { # do it one by one load($_) foreach @$network_modules; load(@$other); return; } $network_modules->[0]; }; my @network_devices = $network_module ? detect_devices::getNet() : (); if ($::testing || $::blank) { log::l("i would load module $_ (" . join(" ", @{$options{$_}}) . ")") foreach @l; } elsif ($::isStandalone || $::live) { run_program::run('/sbin/modprobe', $_, @{$options{$_}}) or !run_program::run('/sbin/modprobe', '-n', $_) #- ignore missing modules or die "insmod'ing module $_ failed" foreach @l; } else { load_raw(map { [ $_ => $options{$_} ] } @l); } sleep 2 if any { /^(usb-storage|mousedev|printer)$/ } @l; if ($network_module) { add_alias($_, $network_module) foreach difference2([ detect_devices::getNet() ], \@network_devices); } when_load($_, @{$options{$_}}) foreach @l; } sub unload { if ($::testing) { log::l("rmmod $_") foreach @_; } else { run_program::run("rmmod", $_) foreach @_; } } sub load_category { my ($category, $wait_message, $probe_type) = @_; #- probe_category returns the PCMCIA cards. It doesn't know they are already #- loaded, so: read_already_loaded(); my @try_modules = ( if_($category =~ /scsi/, if_(arch() !~ /ppc/, 'imm', 'ppa'), if_(detect_devices::usbStorage(), 'usb-storage'), ), if_(arch() =~ /ppc/, if_($category =~ /scsi/, 'mesh', 'mac53c94'), if_($category =~ /net/, 'bmac', 'gmac', 'mace'), if_($category =~ /sound/, 'dmasound_awacs'), ), ); grep { $wait_message->($_->{description}, $_->{driver}) if $wait_message; eval { load([ $_->{driver}, $_->{options} ]) }; $_->{error} = $@; !($@ && $_->{try}); } probe_category($category, $probe_type), map { { driver => $_, description => $_, try => 1 } } @try_modules; } sub probe_category { my ($category, $probe_type) = @_; my @modules = category2modules($category); grep { if ($category eq 'network/isdn') { my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*),?(.*)/; if ($b) { $_->{driver} = $1; $_->{options} = $2; $_->{firmware} = $3; $_->{firmware} =~ s/firmware=//; $_->{driver} eq "hisax" and $_->{options} .= " id=HiSax"; } $b; } else { member($_->{driver}, @modules); } } detect_devices::probeall($probe_type); } sub load_ide { eval { load("ide-cd") } } #-############################################################################### #- modules.conf functions #-############################################################################### sub get_alias { my ($alias) = @_; $conf{$alias}{alias}; } sub get_probeall { my ($alias) = @_; $conf{$alias}{probeall}; } sub get_options { my ($name) = @_; $conf{$name}{options}; } sub set_options { my ($name, $new_option) = @_; $conf{$name}{options} = $new_option; } sub add_alias { my ($alias, $module) = @_; $module =~ /ignore/ and return; /\Q$alias/ && $conf{$_}{alias} && $conf{$_}{alias} eq $module and return $_ foreach keys %conf; log::l("adding alias $alias to $module"); $conf{$alias}{alias} ||= $module; $conf{$module}{above} = 'snd-pcm-oss' if $module =~ /^snd-/; $alias; } sub add_probeall { my ($alias, $module) = @_; my $l = $conf{$alias}{probeall} ||= []; @$l = uniq(@$l, $module); log::l("setting probeall $alias to @$l"); } sub remove_alias($) { my ($name) = @_; foreach (keys %conf) { $conf{$_}{alias} && $conf{$_}{alias} eq $name or next; delete $conf{$_}{alias}; return 1; } 0; } sub remove_module($) { my ($name) = @_; remove_alias($name); delete $conf{$name}; 0; } sub read_conf { my ($file) = @_; my %c; foreach (cat_($file)) { next if /^\s*#/; my ($type, $alias, $val) = split(/\s+/, chomp_($_), 3) or next; $val = [ split ' ', $val ] if $type eq 'probeall'; $c{$alias}{$type} = $val; } #- cheating here: not handling aliases of aliases while (my ($_k, $v) = each %c) { if (my $a = $v->{alias}) { local $c{$a}{alias}; delete $v->{probeall}; add2hash($c{$a}, $v); } } #- convert old aliases to new probeall foreach my $name ('scsi_hostadapter', 'usb-interface') { my @old_aliases = map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { if_(/^$name(\d*)/ && $c{$_}{alias}, [ $_, $1 || 0 ]) } keys %c; foreach my $alias (@old_aliases) { push @{$c{$name}{probeall} ||= []}, delete $c{$alias}{alias}; } } \%c; } sub mergein_conf { my ($file) = @_; my $modconfref = read_conf($file); while (my ($key, $value) = each %$modconfref) { $conf{$key}{alias} = $value->{alias} if !exists $conf{$key}{alias}; $conf{$key}{options} = $value->{options} if $value->{options}; push @{$conf{$key}{probeall} ||= []}, deref($value->{probeall}); } } sub write_conf { my ($prefix) = @_; my $file = "$prefix/etc/modules.conf"; rename "$prefix/etc/conf.modules", $file; #- make the switch to new name if needed #- Substitute new aliases in modules.conf (if config has changed) substInFile { my ($type, $alias, $module) = split(/\s+/, chomp_($_), 3); if ($type eq 'post-install' && $alias eq 'supermount') { #- remove the post-install supermount stuff. $_ = ''; } elsif ($type eq 'alias' && $alias =~ /scsi_hostadapter|usb-interface/) { #- remove old aliases which are replaced by probeall $_ = ''; } elsif ($conf{$alias}{$type} && $conf{$alias}{$type} ne $module) { my $v = join(' ', uniq(deref($conf{$alias}{$type}))); $_ = "$type $alias $v\n"; } } $file; my $written = read_conf($file); open(my $F, ">> $file") or die("cannot write module config file $file: $!\n"); while (my ($mod, $h) = each %conf) { while (my ($type, $v) = each %$h) { my $v2 = join(' ', uniq(deref($v))); print $F "$type $mod $v2\n" if $v2 && !$written->{$mod}{$type}; } } my @l; push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall}); push @l, 'bttv' if any { $_->{driver} eq 'bttv' } detect_devices::probeall(); append_to_etc_modules($prefix, @l); } sub append_to_etc_modules { my ($prefix, @l) = @_; my $l = join '|', map { '^\s*'.$_.'\s*$' } @l; log::l("to put in modules ", join(", ", @l)); substInFile { $_ = '' if $l && /$l/; $_ .= join '', map { "$_\n" } @l if eof; } "$prefix/etc/modules"; } sub read_stage1_conf { mergein_conf($_[0]); } #-############################################################################### #- pcmcia various #-############################################################################### sub configure_pcmcia { my ($pcic) = @_; #- try to setup pcmcia if cardmgr is not running.