translation container export correct order
This commit is contained in:
parent
7d275fe176
commit
02ea272aae
|
@ -130,6 +130,7 @@ def export_translation_list(doc, py_parent, xml_parent):
|
||||||
|
|
||||||
def export_translation(doc, translation):
|
def export_translation(doc, translation):
|
||||||
translation_xml = doc.createElement("translationContainer")
|
translation_xml = doc.createElement("translationContainer")
|
||||||
|
translation_xml.appendChild(_export_label_list(doc, translation.tags))
|
||||||
|
|
||||||
actual_t = doc.createElement("translation")
|
actual_t = doc.createElement("translation")
|
||||||
actual_t.textContent = translation.translation
|
actual_t.textContent = translation.translation
|
||||||
|
@ -143,7 +144,6 @@ def export_translation(doc, translation):
|
||||||
explanation.textContent = translation.explanation
|
explanation.textContent = translation.explanation
|
||||||
translation_xml.appendChild(explanation)
|
translation_xml.appendChild(explanation)
|
||||||
|
|
||||||
translation_xml.appendChild(_export_label_list(doc, translation.tags))
|
|
||||||
return translation_xml
|
return translation_xml
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user