diff options
author | Masayuki Hatta (mhatta) <mhatta@debian.org> | 2008-01-03 09:38:51 -0500 |
---|---|---|
committer | Masayuki Hatta (mhatta) <mhatta@debian.org> | 2008-01-03 09:38:51 -0500 |
commit | 95b1e9489b8bed332041631a1545b43f26a1503b (patch) | |
tree | 48c16557869e78ef16a5d9ed080c53cc14f8059a /doc/translators.pl |
Import a2ps_4.14.orig.tar.gz
[dgit import orig a2ps_4.14.orig.tar.gz]
Diffstat (limited to 'doc/translators.pl')
-rwxr-xr-x | doc/translators.pl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/translators.pl b/doc/translators.pl new file mode 100755 index 0000000..0741787 --- /dev/null +++ b/doc/translators.pl @@ -0,0 +1,35 @@ +#! /usr/local/bin/perl -w + +# Produce the list of the translators for the Texinfo documentation + +local ($mail, $name, $lang, $comment); + +$translator_file = "translators.txt"; + +# List of the people who helped the translation +open (STDIN, $translator_file) + || die "Could not open `$translator_file': $1\n"; + +while (<>) + { + chop ; + ($mail, $name, $lang, $comment) = split (' '); + + print "\@item\n"; + if ($mail) + { + $mail =~ s/@/@@/g; + print "\@email{$mail, $name} "; + } + else + { + print "$name "; + } + print "($lang) "; + if ($comment) + { + print "$comment"; + } + print "\n" x 2; + } + |