[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.99,1.100"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Fri Sep 2 16:20:11 UTC 2005
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv26177/lib/Locale/Po4a
Modified Files:
Man.pm
Log Message:
The first argument of tranlate_each (the macro name) was translated
instead of all the others.
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- Man.pm 2 Sep 2005 16:04:29 -0000 1.99
+++ Man.pm 2 Sep 2005 16:20:08 -0000 1.100
@@ -1196,8 +1196,8 @@
# For macro taking several arguments, having to be translated separatly
sub translate_each {
- my ($self,$first)= (shift,0);
- $self->pushmacro( map { $first++ ? $_:$self->t($_) } @_);
+ my ($self,$first)= (shift,0);
+ $self->pushmacro( map { $first++ ?$self->t($_):$_ } @_);
}
# For macro which shouldn't be given any arg
More information about the Po4a-commits
mailing list