translation container export correct order

This commit is contained in:
Ozbolt Menegatti 2020-03-20 20:40:17 +01:00
parent 7d275fe176
commit 02ea272aae

View File

@ -130,6 +130,7 @@ def export_translation_list(doc, py_parent, xml_parent):
def export_translation(doc, translation):
translation_xml = doc.createElement("translationContainer")
translation_xml.appendChild(_export_label_list(doc, translation.tags))
actual_t = doc.createElement("translation")
actual_t.textContent = translation.translation
@ -143,7 +144,6 @@ def export_translation(doc, translation):
explanation.textContent = translation.explanation
translation_xml.appendChild(explanation)
translation_xml.appendChild(_export_label_list(doc, translation.tags))
return translation_xml