[Po4a-commits] po4a/lib/Locale/Po4a Sgml.pm,1.36,1.37

Denis Barbier po4a-devel@lists.alioth.debian.org
Sat, 04 Sep 2004 20:59:23 +0000


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

Modified Files:
	Sgml.pm 
Log Message:
s/entitity/entity/g


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- Sgml.pm	15 Aug 2004 07:16:16 -0000	1.36
+++ Sgml.pm	4 Sep 2004 20:59:21 -0000	1.37
@@ -486,7 +486,7 @@
 	    } else {
 		# AAAARGH stupid document using %bla; and having then defined in another inclusion!
 		# Protect it for this pass, and unprotect it on next one
-		print STDERR "entitity $ent not defined yet ?!\n"
+		print STDERR "entity $ent not defined yet ?!\n"
 		  if $debug{'entities'};
 		$prolog = "$pre".'{PO4A-percent}'."$ent;$post";
 	    }
@@ -495,7 +495,7 @@
     # Unprotect undefined inclusions
     $prolog =~ s/{PO4A-percent}/%/sg;
     if ($prolog =~ /%([^;\s]*);/) {
-       die sprintf("po4a::sgml: ".dgettext("po4a","unrecognized prolog inclusion entitity: %%%s;")."\n",$1);
+       die sprintf("po4a::sgml: ".dgettext("po4a","unrecognized prolog inclusion entity: %%%s;")."\n",$1);
     }
     # Protect &entities; (but the ones asking for a file inclusion)
     #   search the file inclusion entities