Martin Quinson wrote:
[...]
Perfect, commited, thanks. I just changed the output to use the usual
way to
do so (translating and wrapping).
Sorry about that, I should have thought about it.
However there's a little problem with your commit: you forgot the check
for ($? !=0) which makes the Sgml.pm module fail systematically<g>.
Here's a patch to fix this.
Changelog:
* lib/Locale/Po4a/Sgml.pm
Francois Gouget <fgouget(a)codeweavers.com>
Fix the nsgmls check.
--
Francois Gouget
fgouget(a)codeweavers.com
Index: lib/Locale/Po4a/Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.59
diff -u -p -r1.59 Sgml.pm
--- lib/Locale/Po4a/Sgml.pm 30 May 2005 07:05:22 -0000 1.59
+++ lib/Locale/Po4a/Sgml.pm 30 May 2005 14:58:52 -0000
@@ -864,7 +876,7 @@ sub parse_file {
# What to do after parsing
$self->pushline($buffer);
close(IN);
- die wrap_mod("po4a::sgml", dgettext("po4a","nsgmls is
missing or non-functional"));
+ die wrap_mod("po4a::sgml", dgettext("po4a","nsgmls is
missing or non-functional")) if ($? != 0);
unlink ($tmpfile) unless $debug{'refs'};
}