[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.118,1.119"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Dec 31 14:10:02 CET 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv4816/lib/Locale/Po4a

Modified Files:
	Sgml.pm 
Log Message:
Fix a build failure with gettext 0.15: "invalid variable interpolation".
This issue is fixed in latter versions of gettext, but it does not harm to
fix it here.


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- Sgml.pm	23 Oct 2006 21:46:17 -0000	1.118
+++ Sgml.pm	31 Dec 2006 13:09:59 -0000	1.119
@@ -916,7 +916,7 @@
                                     if ($translated =~ s/^$lattr=//) {
                                         $value=$translated;
                                     } else {
-                                        die wrap_mod("po4a::sgml", dgettext("po4a", "bad translation '%s' for '%s' in '%s'"), $translated, "$context$lattr", $ref);
+                                        die wrap_mod("po4a::sgml", dgettext("po4a", "bad translation '%s' for '%s' in '%s'"), $translated, $context.$lattr, $ref);
                                     }
                                 } else {
                                     $value = $self->translate($value, $ref, "attribute $context$lattr");




More information about the Po4a-commits mailing list