translation container export correct order

pull/1/head
Ozbolt Menegatti 4 years ago
parent 7d275fe176
commit 02ea272aae

@ -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

Loading…
Cancel
Save