[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.90,1.91

Martin Quinson po4a-devel@lists.alioth.debian.org
Wed, 25 May 2005 14:12:33 +0000


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

Modified Files:
	Man.pm 
Log Message:
Make an error message more verbose about what's going wrong

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- Man.pm	24 Apr 2005 01:09:24 -0000	1.90
+++ Man.pm	25 May 2005 14:12:30 -0000	1.91
@@ -661,7 +661,7 @@
 	    $done .= $first  if ($lvl > 0);
 	    $rest=substr($rest,1);
 	}
-	die wrap_ref_mod($ref||$self->{ref}, "po4a::man", dgettext("po4a","Unbalanced '<' and '>'"))
+	die wrap_ref_mod($ref||$self->{ref}, "po4a::man", dgettext("po4a","Unbalanced '<' and '>' in font modifier. Faulty message: %s"),$str)
 	    if ($lvl > 0);
 	# Return to the regular font
 	$done .= "\\fP$rest";