[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.165,1.166"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Jul 16 14:42:26 UTC 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv25715/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
gettextize the ".ie without .el" error, and add the reference of the line
in the manpage.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- Man.pm	16 Jul 2006 14:04:01 -0000	1.165
+++ Man.pm	16 Jul 2006 14:42:23 -0000	1.166
@@ -1883,7 +1883,8 @@
             }
 
             if ($line !~ m/^[.'][ \t]*el(\s|\\\{)/) {
-                die ".ie without .el\n"
+                die wrap_ref_mod($self->{ref}, "po4a::man", dgettext("po4a",
+                            "The .ie macro must be followed by a .el macro."));
             }
             my $paragraph2 = $line;
             $count = 0;




More information about the Po4a-commits mailing list