[Po4a-devel][CVS] po4a html-build-upload.sh,1.6,1.7 Build.PL,1.10,1.11
Jordi Vilalta
po4a-devel@lists.alioth.debian.org
Mon, 09 Aug 2004 18:44:02 +0000
Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv18786
Modified Files:
html-build-upload.sh Build.PL
Log Message:
Apply addendums about the translations in the translated man and html pages.
Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Build.PL 8 Aug 2004 16:01:54 -0000 1.10
+++ Build.PL 9 Aug 2004 18:44:00 -0000 1.11
@@ -152,7 +152,7 @@
foreach $lang (@langs) {
print ("X Translate binary manpages to $lang\n");
foreach $file (keys(%{$self->script_files()})) {
- system("PERL5LIB=lib perl po4a-translate -v -f pod -m $file -p po/pod/$lang.po -l blib/man/$file")
+ system("PERL5LIB=lib perl po4a-translate -v -f pod -m $file -p po/pod/$lang.po -l blib/man/$file -a doc/addendum.$lang")
&& die;
if (-e "blib/man/$file") {
system("mkdir -p blib/man/$lang/man1") && die;
@@ -172,7 +172,7 @@
foreach $file (@{$self->rscan_dir('lib',qr{\.pm$})}) {
$file =~ /.*\/(.*)\.pm$/;
my $filename = $1;
- system("PERL5LIB=lib perl po4a-translate -v -f pod -m $file -p po/pod/$lang.po -l blib/man/$filename")
+ system("PERL5LIB=lib perl po4a-translate -v -f pod -m $file -p po/pod/$lang.po -l blib/man/$filename -a doc/addendum.$lang")
&& die;
if (-e "blib/man/$filename") {
system ("mkdir -p blib/man/$lang/man3") && die;
@@ -198,7 +198,7 @@
system ("gzip -9 -f blib/man/man7/$filename") && die;
foreach $lang (@langs) {
print "X Translate $file to $lang\n";
- system ("PERL5LIB=lib perl po4a-translate -f pod -v -m $file -p po/pod/$lang.po -l blib/man/$filename")
+ system ("PERL5LIB=lib perl po4a-translate -f pod -v -m $file -p po/pod/$lang.po -l blib/man/$filename -a doc/addendum.$lang")
&& die;
if (-e "blib/man/$filename") {
`mkdir -p blib/man/$lang/man7`;
Index: html-build-upload.sh
===================================================================
RCS file: /cvsroot/po4a/po4a/html-build-upload.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- html-build-upload.sh 2 Aug 2004 14:38:31 -0000 1.6
+++ html-build-upload.sh 9 Aug 2004 18:44:00 -0000 1.7
@@ -45,14 +45,14 @@
#Translate $FILES
for file in $FILES ; do
newfile=${file##*/}
- PERL5LIB=lib perl po4a-translate $PO4A_OPTS -p po/pod/$lang.po -m $file -l html/tmp/$newfile
+ PERL5LIB=lib perl po4a-translate $PO4A_OPTS -a doc/addendum.$lang -p po/pod/$lang.po -m $file -l html/tmp/$newfile
done
mkdir -p html/tmp/lib/Locale/Po4a
#Translate modules
for file in lib/Locale/Po4a/*.pm ; do
newfile=${file##*/}
- PERL5LIB=lib perl po4a-translate $PO4A_OPTS -m $file -p po/pod/$lang.po -l html/tmp/lib/Locale/Po4a/$newfile
+ PERL5LIB=lib perl po4a-translate $PO4A_OPTS -a doc/addendum.$lang -m $file -p po/pod/$lang.po -l html/tmp/lib/Locale/Po4a/$newfile
done
mpod2html -dir=html/$lang -tocname index html/tmp/*