#!/usr/bin/perl while (<>) { if ($e = /^description:/ .. /^={77}/) { next if $e == 1 || $e =~ /E0/; if (/^-{28}/ .. /^date: /) { if (/^date: (\S+)\s.*author: (\S+);/) { ($date, $user) = ($1, $2); } } elsif (!/^branches: / && !/file .* was initially added on branch/ && !/empty log message/ && !/no_comment/) { $l{$date}{$user}{$file} .= $_; } } elsif (/Working file: (.*)/) { $file = $1; } } foreach $date (reverse sort keys %l) { foreach $user (sort keys %{$l{$date}}) { $fuser = $users{$user} || $user; print "$date $fuser\n\n"; my %inv; while (($file, $log) = each %{$l{$date}{$user}}) { $log =~ s/^\s+( \*)?//ms; $log =~ s/\s+$//ms; $log = "\n$log" if $log =~ /^-/; push @{$inv{$log}}, $file; } foreach $log (keys %inv) { $line = join(', ', @{$inv{$log}}) . ($log !~ /^\(/ && ':') . " $log"; print "\t* ", join("\n\t", auto_fill($line, 72)), "\n\n"; } } } 1; sub auto_fill { my ($line, $col) = @_; map { my @l; my $l = ''; $_ = " $_" if /^-/; while ($_) { s/^(\s*)(\S*)//; my $m = "$l$1$2"; if (length $m > $col) { push @l, $l; $l = $2; } else { $l = $m } } @l, $l; } split("\n", $line); } BEGIN { %users = ( 'gc' => 'Guillaume Cottenceau ', 'fpons' => 'François Pons ', 'pablo' => 'Pablo Saratxaga ', 'damien' => 'dam\'s ', 'install' => 'DrakX ', 'prigaux' => 'Pixel ', 'flepied' => 'Frederic Lepied ', 'chmouel' => 'Chmouel Boudjnah ', 'uid526' => 'dam\'s ', 'uid533' => 'François Pons ', 'uid535' => 'Guillaume Cottenceau ', 'uid553' => 'Pixel ', 'tvignaud' => 'Thierry Vignaud ', 'sbenedict'=>'Stew Benedict ', 'tkamppeter' => 'Till Kamppeter ', 'yduret' => 'Yves Duret ', 'daouda' => 'Daouda Lo ', 'dchaumette' => 'Damien Chaumette ', 'cbelisle' => 'Christian Belisle ', 'warly' => 'Warly ', 'jgotti' => 'Jonathan Gotti ', 'fcrozat' => 'Frederic Crozat ', 'baudens' => 'David Baudens ', ); } option value='topic/bug-13680'>topic/bug-13680 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Berthelé <berthy@mandriva.org>2008-07-31 10:44:38 +0000
committerChristophe Berthelé <berthy@mandriva.org>2008-07-31 10:44:38 +0000
commitaed7db6730c76240a5632d461ccb8a0fe1213cfe (patch)
tree283b6cd542d61d2f6dcf54c059a98197b992f71b /perl-install
parent8785355ce0c42f5ba938d093ec413fc2b4cc5f1a (diff)
downloaddrakx-aed7db6730c76240a5632d461ccb8a0fe1213cfe.tar
drakx-aed7db6730c76240a5632d461ccb8a0fe1213cfe.tar.gz
drakx-aed7db6730c76240a5632d461ccb8a0fe1213cfe.tar.bz2
drakx-aed7db6730c76240a5632d461ccb8a0fe1213cfe.tar.xz
drakx-aed7db6730c76240a5632d461ccb8a0fe1213cfe.zip
Update French translation
Diffstat (limited to 'perl-install')