Line
Link Here
|
0 |
-- gnome-doc-utils-0.20.10/xml2po/xml2po/__init__.py~ |
0 |
++ gnome-doc-utils-0.20.10/xml2po/xml2po/__init__.py |
Lines 607-613
Link Here
|
607 |
tcmsg = self.current_mode.getStringForTranslators() |
607 |
tcmsg = self.current_mode.getStringForTranslators() |
608 |
outtxt = self.getTranslation(tcmsg) |
608 |
outtxt = self.getTranslation(tcmsg) |
609 |
self.current_mode.postProcessXmlTranslation(doc.doc, self.options.get('translationlanguage'), outtxt) |
609 |
self.current_mode.postProcessXmlTranslation(doc.doc, self.options.get('translationlanguage'), outtxt) |
610 |
self.out.write(doc.doc.serialize('utf-8', 1)) |
610 |
self.out.write(doc.doc.serialize('ascii', 1)) |
611 |
|
611 |
|
612 |
def reuse(self, origxml, xmlfile): |
612 |
def reuse(self, origxml, xmlfile): |
613 |
""" Produce a po file from xmlfile pot and using translations from origxml """ |
613 |
""" Produce a po file from xmlfile pot and using translations from origxml """ |