[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.149,1.150"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Mon Jun 12 20:56:29 UTC 2006


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

Modified Files:
	Man.pm 
Log Message:
Do not die on .so or .mso, only warn, and do not translate.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- Man.pm	4 Jun 2006 12:57:43 -0000	1.149
+++ Man.pm	12 Jun 2006 20:56:27 -0000	1.150
@@ -1932,8 +1932,10 @@
 # .so filename Include source file.
 # .mso groff variant of .so (other search path)
 $macro{'so'}= $macro{'mso'} = sub {
-    die wrap_mod("po4a::man", dgettext("po4a",
-	"This page includes another file with '%s'. This is not supported yet, but will soon."), $_[1]);
+    warn wrap_mod("po4a::man", dgettext("po4a",
+	"This page includes another file with '%s'. Do not forget to translate this file ('%s')."), $_[1], $_[2]);
+    my $self = shift;
+    $self->pushmacro(@_);
 };
 # .sp     Skip one line vertically.
 # .sp N   Space  vertical distance N




More information about the Po4a-commits mailing list