Yesterday at 19:32, Žygimantas Beručka wrote:
> copy.newChild(None, "year", match.group(3))
Fix is:
+ copy.newChild(None, "year", match.group(3).encode('utf-8'))
(problem is that a name of the translator got pattern matched as year,
and name contains Unicode while libxml2 expects UTF-8)
Yesterday at 21:35, Žygimantas Beručka wrote:
> Sorry for false alarm. I'd missed the '\n' part at the end of the first
> line in translator-credits and on the second line there were non-ascii
> char (ė) in translators family name which caused xml2po to fail. Fixed
> it by adding \n at the end of
:)
Sorry for false alarm. I'd missed the '\n' part at the end of the first
line in translator-credits and on the second line there were non-ascii
char (ė) in translators family name which caused xml2po to fail. Fixed
it by adding \n at the end of the first line.
However, the debugging was tought.
Hi,
I tried to build release notes
# xml2po -e -p lt.po ../C/release-notes.xml > release-notes.xml
but I get
---
Traceback (most recent call last):
File "/usr/bin/xml2po", line 750, in ?
CurrentXmlMode.postProcessXmlTranslation(doc, translationlanguage,
outtxt)
File "/usr/share/xml2po/do