[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.179,1.180"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Wed Aug 16 20:16:18 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv5704/lib/Locale/Po4a
Modified Files:
Man.pm
Log Message:
Add a test to make sure a '<' do not prevent the processing of font
modifiers. (IIRC, it fails with 0.27.1)
Add another test for .I " ", and fix these tests in the Man module and in
the test suite.
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- Man.pm 16 Aug 2006 19:40:47 -0000 1.179
+++ Man.pm 16 Aug 2006 20:16:16 -0000 1.180
@@ -1008,7 +1008,8 @@
# Do not translate the strings that only consist of fonts, spaces and
# \&. This is useful because we introduced \& in shiftline.
if ($str =~ m/^($FONT_RE|\s|\\&)*$/s) {
- return do_fonts($str, $ref);
+ do_fonts($str, $ref);
+ return $str;
}
# If a string is quoted, only translate the argument between the
More information about the Po4a-commits
mailing list