|
|
@ -103,8 +103,13 @@ def export_translation(doc, translation):
|
|
|
|
|
|
|
|
|
|
|
|
actual_t = doc.createElement("translation")
|
|
|
|
actual_t = doc.createElement("translation")
|
|
|
|
actual_t.textContent = translation.translation
|
|
|
|
actual_t.textContent = translation.translation
|
|
|
|
|
|
|
|
actual_t.setAttribute("source", translation.source)
|
|
|
|
translation_xml.appendChild(actual_t)
|
|
|
|
translation_xml.appendChild(actual_t)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
explanation = doc.createElement("explanation")
|
|
|
|
|
|
|
|
explanation.textContent = translation.explanation
|
|
|
|
|
|
|
|
translation_xml.appendChild(explanation)
|
|
|
|
|
|
|
|
|
|
|
|
tags = doc.createElement("tagsContainer")
|
|
|
|
tags = doc.createElement("tagsContainer")
|
|
|
|
translation_xml.appendChild(tags)
|
|
|
|
translation_xml.appendChild(tags)
|
|
|
|
|
|
|
|
|
|
|
|