summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* remove useless merge2 ruleThierry Vignaud2005-04-211-3/+0
|
* add 3 new strings from diskdrakeThierry Vignaud2005-04-011-0/+3
|
* fix makefileThierry Vignaud2005-03-301-1/+1
|
* - add new strings from drakroamThierry Vignaud2005-03-251-0/+3
| | | | | - merge in kde's translations
* merge in new stringsThierry Vignaud2005-03-101-1/+1
|
* adjust Makefile to fit doc module zh_cnFunda Wang2004-08-221-0/+1
|
* fix drakxtools buildThierry Vignaud2004-08-201-1/+0
|
* - don't use compssUsers anymore, use compssUsers.plPascal Rigaux2004-08-131-1/+0
| | | | | | | | - code to display compssUsers choices is now in compssUsers.pl - {compssUsers} is now a list instead of a hash, and so drop {compssUsersSorted} - rename {compssUsersChoice} to {rpmsrate_flags_chosen} (better name) - i18n_compssUsers is no more needed, add share/compssUsers.pl* to ALLPMS
* adapt to new directories layout:Pascal Rigaux2004-07-261-0/+1
| | | | | | | | | | | - Mandrake/mdkinst -> install/stage2/live - Mandrake/base/mdkinst_stage2.bz2 -> install/stage2/mdkinst_stage2.bz2 - Mandrake/base/rpmsrate -> media/media_info/rpmsrate - Mandrake/RPMS -> media/main - images -> install/images - isolinux -> install/isolinux - Mandrake/share/advertising -> install/extra/advertising
* remove checking "$" in po strings, perl_checker takes care of this correctlyPascal Rigaux2004-01-211-3/+0
| | | | | (ie. N("a\$b") will get string "a$b" in po which is ok, whereas N("a$b") gives an error)
* get translated strings in directory gi/perl-install to have xxx.pm instead ↵Pascal Rigaux2004-01-091-4/+5
| | | | of ../../xxx.pm
* add mdk_totem in poPascal Rigaux2003-12-011-1/+1
|
* add move.pmGuillaume Cottenceau2003-11-201-1/+1
|
* allow move to build & install drakx mo files (using sudo)Pascal Rigaux2003-11-181-3/+5
|
* don't remove some po's from drakxtools, only from installPascal Rigaux2003-09-181-5/+1
| | | | | (ar/fa disabled because not working at install, ga/sl not translated enough)
* Arabic and Farsi po files not used at install, as therePablo Saratxaga2003-09-181-1/+2
| | | | | isn't available font during install
* do not translate in arabic during install since there's no font availablePascal Rigaux2003-09-021-1/+1
|
* updated Welsh, Icelandic, Italian, NorwegianPablo Saratxaga2003-03-101-1/+1
|
* revert Pablo's breaking po's installation :)Guillaume Cottenceau2003-02-191-1/+1
|
* updated pot filePablo Saratxaga2003-02-181-1/+1
|
* remove drakpxe exception since fpons has at lease fixed "fpons sucks"Thierry Vignaud2003-02-031-1/+1
| | | | | in drakpxe
* since fpons don't care about fixing drakxtools build broken byThierry Vignaud2003-01-271-1/+1
| | | | | drakpxe, let remove drakpxe from translatable files
* don't yell when checking for "$" in DrakX.pot and only finding "\$"Pascal Rigaux2003-01-161-1/+1
|
* use "perl_checker --generate-pot" instead of fake_c + xgettextPascal Rigaux2002-12-101-8/+2
|
* updated po filesPablo Saratxaga2002-12-051-2/+2
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-1/+1
| | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
* enabled ro.poPablo Saratxaga2002-09-031-2/+2
|
* workaround missing entities in spanishPascal Rigaux2002-08-291-0/+1
|
* adapt to new manual cvs dirsPascal Rigaux2002-08-291-2/+2
|
* - update help.pm based on the xml manualPascal Rigaux2002-07-221-1/+1
| | | | | | | | | | - this fixes entities sticked together with no space in between - this also implies a few bad line-wrapping changes, but it needs to be done to have a clean state (we don't have one since 8.2beta where i updated things by hand) - put help-*.pot in CVS so that the files based on the xml manual can be updated independently from DrakX.pot & .po's
* fake make so that its builtin rule to create file from file.sh doesn'tThierry Vignaud2002-07-091-0/+4
| | | | | nuke service_harddrake with it wrapper
* make the "clean" rule less verbosePascal Rigaux2002-07-041-1/+1
|
* updated Welsh filePablo Saratxaga2002-02-231-1/+1
|
* updated pot filePablo Saratxaga2002-02-211-1/+1
|
* make a difference between PMS and ALLPMS. For install, only use PMSPascal Rigaux2002-02-211-1/+1
|
* allow me to work with a symlink to doc in this directoryStefan Siegel2002-02-171-2/+8
|
* (clean): remove .memdumpPascal Rigaux2002-02-171-1/+1
|
* Instead of temporary removingfiles from CVS put a rule in Makefile toPablo Saratxaga2002-02-141-1/+4
| | | | | don't use them (thanks Thierry)
* updated Spanish file; merged help-* filesPablo Saratxaga2002-01-111-1/+1
|
* - rename help-*.po by help-*.potPascal Rigaux2001-09-101-3/+3
| | | | | - fix typo in script removing $lang.po translations to favour help-*.pot
* xml help handling/enhancing for multi-langsPascal Rigaux2001-09-091-1/+1
|
* xml help handling/enhancing for multi-langsPascal Rigaux2001-09-091-5/+6
|
* new helpPascal Rigaux2001-09-071-1/+1
|
* fix utf8 translation of xml filePascal Rigaux2001-08-301-1/+1
|
* fetch directly the latest drakx-help.xmlPascal Rigaux2001-08-261-3/+4
|
* auto-generates help.pm from xml doc done by doc teamPascal Rigaux2001-08-241-0/+3
|
* check presence of '$' in DrakX.potPascal Rigaux2001-08-211-0/+3
|
* po->mo is no longer gonna be nasty with usPascal Rigaux2001-08-121-1/+1
|
* (install): build mo'sPascal Rigaux2001-07-251-1/+1
|
* do not use the po's directly. Use mo's through gettextPascal Rigaux2001-07-231-9/+24
|
hl num">512; $h{start} = ($h{pPBlockStart} * $info{bzBlkSize}) / 512; if ($h{pType} =~ /^Apple_UNIX_SVR2/i) { $h{pName} =~ /swap/i ? ($h{type} = 0x82) : ($h{type} = 0x83); } elsif ($h{pType} =~ /^Apple_Free/i) { #- need to locate a 1MB partition to setup a bootstrap on if (defined $freepart_start && $freepart_size >= 1) { #- already found a suitable partition } else { $freepart_start = $h{start}; $freepart_size = $h{size}/2048; $freepart_device = $hd; $freepart_part = "/dev/" . $hd->{device} . ($i+1); log::l("free apple partition found on drive /dev/$freepart_device->{device}, block $freepart_start, size $freepart_size"); } $h{type} = 0x0; $h{pName} = 'Extra'; } elsif ($h{pType} =~ /^Apple_HFS/i) { $h{type} = 0x402; if (defined $macos_part) { #- swag at identifying MacOS - 1st HFS partition } else { $macos_part = "/dev/" . $hd->{device} . ($i+1); log::l("found MacOS at partition $macos_part"); } } elsif ($h{pType} =~ /^Apple_Partition_Map/i) { $h{type} = 0x401; $h{isMap} = 1; } elsif ($h{pType} =~ /^Apple_Bootstrap/i) { $h{type} = 0x401; $h{isBoot} = 1; if (defined $bootstrap_part) { #found a bootstrap already - use it, but log the find log::l("found another apple bootstrap at partition /dev/$hd->{device}" . ($i+1)); } else { $bootstrap_part = "/dev/" . $hd->{device} . ($i+1); log::l("found apple bootstrap at partition $bootstrap_part"); } } else { $h{type} = 0x401; $h{isDriver} = 1; }; # Let's see if this partition is a driver. foreach (@{$info{ddMap}}) { $_->{ddBlock} == $h{pPBlockStart} and $h{isDriver} = 1; } } \%h; } [ $part ]; }; [ @pt ], \%info; } sub write($$$;$) { my ($hd, $sector, $pt, $info) = @_; #- handle testing for writing partition table on file only! local *F; if ($::testing) { my $file = "/tmp/partition_table_$hd->{device}"; open F, ">$file" or die "error opening test file $file"; } else { partition_table_raw::openit($hd, *F, 2) or die "error opening device $hd->{device} for writing"; c::lseek_sector(fileno(F), $sector, 0) or return 0; } # Find the partition map. my @partstowrite; my $part = $pt->[0]; (defined $part->{isMap}) or die "the first partition is not the partition map"; push @partstowrite, $part; # Now go thru the partitions, sort and fill gaps. my $last; while ($part) { $last = $part; $part = &partition_table::next($hd, $part); $part or last; if ($last->{start} + $last->{size} < $part->{start}) { #There is a gap between partitions. Fill it and move on. push @partstowrite, { type => 0x0, start => $last->{start} + $last->{size}, size => $part->{start} - ($last->{start} + $last->{size}), }; } push @partstowrite, $part; }; # now, fill a gap at the end if there is one. if ($last->{start} + $last->{size} < $hd->{totalsectors}) { push @partstowrite, { type => 0x0, start => $last->{start} + $last->{size}, size => $hd->{totalsectors} - ($last->{start} + $last->{size}), }; } # Since we didn't create any new drivers, let's try and match up our driver records with out partitons and see if any are missing. $info->{bzDrvrCnt} = 0; my @ddstowrite; my $dd; foreach $dd (@{$info->{ddMap}}) { foreach (@partstowrite) { if ($dd->{ddBlock} == $_->{pPBlockStart}) { push @ddstowrite, $dd; $info->{bzDrvrCnt}++; last; } } } # Now let's write our first block. syswrite F, pack($bz_format, @$info{@$bz_fields}), psizeof($bz_format) or return 0; # ...and now the driver information. foreach (@ddstowrite) { syswrite F, pack($dd_format, @$_{@$dd_fields}), psizeof($dd_format) or return 0; } # zero the rest of the data in the first block. foreach ( 1 .. (494 - ((@ddstowrite) * 8))) { syswrite F, "\0", 1 or return 0; } #c::lseek_sector(fileno(F), $sector, 512) or return 0; # Now, we iterate thru the partstowrite and write them. foreach (@partstowrite) { if (!defined $_->{pSig}) { # The values we need to write to disk are not defined. Let's make them up. $_->{pSig} = $pmagic; $_->{pSigPad} = 0; $_->{pPBlockStart} = ($_->{start} * 512) / $info->{bzBlkSize}; $_->{pPBlocks} = ($_->{size} * 512) / $info->{bzBlkSize}; $_->{pLBlockStart} = 0; $_->{pLBlocks} = $_->{pPBlocks}; $_->{pBootBlock} = 0; $_->{pBootBytes} = 0; $_->{pAddrs1} = 0; $_->{pAddrs2} = 0; $_->{pAddrs3} = 0; $_->{pAddrs4} = 0; $_->{pChecksum} = 0; $_->{pProcID} = "\0"; $_->{pBootArgs} = "\0"; $_->{pReserved} = "\0"; if ($_->{type} == 0x402) { $_->{pType} = "Apple_HFS"; $_->{pName} = "MacOS"; $_->{pFlags} = 0x4000037F; } elsif ($_->{type} == 0x401 && $_->{start} == 1) { $_->{pType} = "Apple_Partition_Map"; $_->{pName} = "Apple"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x401) { $_->{pType} = "Apple_Bootstrap"; $_->{pName} = "bootstrap"; $_->{pFlags} = 0x33; $_->{isBoot} = 1; log::l("writing a bootstrap at /dev/$_->{device}"); $install_steps_interactive::new_bootstrap = 1 if !(defined $partition_table_mac::bootstrap_part); $bootstrap_part = "/dev/" . $_->{device}; } elsif ($_->{type} == 0x82) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "swap"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x83) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "Linux Native"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x183) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "Linux ReiserFS"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x283) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "Linux XFS"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x383) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "Linux JFS"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x483) { $_->{pType} = "Apple_UNIX_SVR2"; $_->{pName} = "Linux ext3"; $_->{pFlags} = 0x33; } elsif ($_->{type} == 0x0) { $_->{pType} = "Apple_Free"; $_->{pName} = "Extra"; $_->{pFlags} = 0x31; } }; $_->{pMapEntry} = @partstowrite; syswrite F, pack($p_format, @$_{@$p_fields}), psizeof($p_format) or return 0; } common::sync(); 1; } sub info { my ($hd) = @_; # - Build the first block of the drive. my $info = { bzSig => $magic, bzBlkSize => 512, bzBlkCnt => $hd->{totalsectors}, bzDevType => 0, bzDevID => 0, bzReserved => 0, bzDrvrCnt => 0, }; $info; } sub clear_raw { my ($hd) = @_; my @oldraw = @{$hd->{primary}{raw}}; my $pt = { raw => [ ({}) x 63 ], info => info($hd) }; #- handle special case for partition 1 which is the partition map. $pt->{raw}[0] = { type => 0x401, start => 1, size => 63, isMap => 1, }; # $pt->{raw}[1] = { # type => 0x0, # start => 64, # size => $hd->{totalsectors} - 64, # isMap => 0, # }; push @{$pt->{normal}}, $pt->{raw}[0]; # push @{$pt->{normal}}, $pt->{raw}[1]; #- Recover any Apple Drivers, if any. my $i = 1; foreach (@oldraw) { if (defined $_->{isDriver}) { $pt->{raw}[$i] = $_; push @{$pt->{normal}}, $pt->{raw}[$i]; $i++; } }; @{$pt->{info}{ddMap}} = @{$hd->{primary}{info}{ddMap}}; $pt; } 1;