[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.169,1.170"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Mon Jul 17 20:59:16 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv21502/lib/Locale/Po4a
Modified Files:
Man.pm
Log Message:
Revert the removal of the ending spaces and \&. This is no more needed
since translate do not translate the strings that only consist in spaces
and \&
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- Man.pm 16 Jul 2006 19:34:48 -0000 1.169
+++ Man.pm 17 Jul 2006 20:59:14 -0000 1.170
@@ -646,7 +646,6 @@
# To keep the space(s), we must introduce some \&
@args = map { $_ =~ s/^(\s*)$/\\&$1\\&/s; $_ } @args;
my $arg=join(" ", at args);
- $arg =~ s/(\\&|(?<!\\) )+$//;
$arg =~ s/^ +//;
this_macro_needs_args($macro,$ref,$arg);
$line = "$insert_font\\f$macro".$arg."\\fR\n";
More information about the Po4a-commits
mailing list