Hello, I did not fix it yet, but I fixed the warning (Redundant argument in sprintf) and improved the error message. Now it reads:
$ LC_ALL=C po4a -v -f debian/po4a.cfg
Updating debian/manpage//goobox.pot:
po4a::sgml: msgid skipped to help translators (contains only tags)
po4a::sgml: msgid skipped to help translators (contains only an entity)
po4a::sgml: msgid skipped to help translators (contains only an entity)
po4a::sgml: msgid skipped to help translators (contains only tags)
po4a::sgml: Warning: onsgmls produced some errors. This is usually
caused by po4a, which modifies the input and restores it
afterwards, causing the input of onsgmls to be
invalid. This is usually safe, but you may wish to verify
the generated document with onsgmls -wno-valid.
po4a::sgml: To see the error message, rerun po4a with this additional argument:
-o debug=onsgmls
(108 entries)
Updating debian/manpage//de.po:
........................ done.
debian/manpage//de.po: 107 translated messages, 1 fuzzy translation.
po4a::sgml: msgid skipped to help translators (contains only tags)
po4a::sgml: msgid skipped to help translators (contains only an entity)
po4a::sgml: msgid skipped to help translators (contains only an entity)
po4a::sgml: msgid skipped to help translators (contains only tags)
po4a::sgml: Warning: onsgmls produced some errors. This is usually
caused by po4a, which modifies the input and restores it
afterwards, causing the input of onsgmls to be
invalid. This is usually safe, but you may wish to verify
the generated document with onsgmls -wno-valid.
po4a::sgml: To see the error message, rerun po4a with this additional argument:
-o debug=onsgmls
debian/manpage/goobox.de.sgml is 99.08% translated (108 of 109 strings).
Adding -o debug=onsgmls as advised, this extra information appears:
$ LC_ALL=C po4a -v -f debian/po4a.cfg -o debug=onsgmls
Updating debian/manpage//goobox.pot:
read(debian/manpage/goobox.en.sgml)...done.
parse...CMD=onsgmls -l -E 0 -wno-valid < /tmp/po4a-7B4E.sgml |
onsgmls:<OSFD>0:41:1:E: start tag for "REFENTRYTITLE" omitted, but its
declaration does not permit this
po4a::sgml: msgid skipped to help translators (contains only tags)
[...]
Does it help you to fix the issue, maybe? Or does it seem unrelated?
I think I never used nsgml myself...
Thanks for your help,
Mt.
--
Les esprits sont comme les parachutes, ils ne fonctionnent que
lorsqu'ils sont ouverts. --- Pierre Desproges
signature.asc
Description: PGP signature

