[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.32,1.33

Martin Quinson po4a-devel@lists.alioth.debian.org
Mon, 16 Aug 2004 00:12:21 +0000


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

Modified Files:
	Man.pm 
Log Message:
admit we cannot deal with .so properly. yet.

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- Man.pm	16 Aug 2004 00:07:54 -0000	1.32
+++ Man.pm	16 Aug 2004 00:12:19 -0000	1.33
@@ -961,7 +961,10 @@
 # .ps N    Point size; same as \s[N]
 $macro{'ps'}=\&untranslated;
 # .so filename Include source file.
-$macro{'so'}=\&translate_joined;
+$macro{'so'}= sub {
+    die "po4a::man: ".
+      dgettext("po4a","This page includes another file with '.so'. This is not supported yet, but will soon.")."\n";
+};
 # .sp     Skip one line vertically.
 # .sp N   Space  vertical distance N
 $macro{'sp'}=\&untranslated;