[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.38,1.39

Martin Quinson po4a-devel@lists.alioth.debian.org
Wed, 18 Aug 2004 01:20:30 +0000


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

Modified Files:
	Man.pm 
Log Message:
Do not proceed on db2man.xsl results since they .de stuff and since the xml module is there, now

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- Man.pm	18 Aug 2004 01:15:13 -0000	1.38
+++ Man.pm	18 Aug 2004 01:20:28 -0000	1.39
@@ -640,10 +640,8 @@
 					"You should translate the source file, but continuing anyway."
 					),"latex2man")."\n";
 		} elsif ($line =~ /Generated by db2man.xsl/)  { 
-		    warn sprintf(dgettext("po4a",
-					"This file was generated with %s.\n".
-					"You should translate the source file, but continuing anyway."
-					),"db2man.xsl")."\n";
+		    warn dgettext("po4a","This file was generated with db2man.xsl. Translate the source file with the xml module of po4a.")."\n";
+		    exit 0;
 		} elsif ($line =~ /generated automatically by mtex2man/)  {
 		    warn sprintf(dgettext("po4a",
 					"This file was generated with %s.\n".