Change indentation of strings.xml files to match Weblate

This runs sync_translations.py, which also remove uneeded comments.
This commit is contained in:
Jules Aguillon
2025-03-04 14:40:46 +01:00
parent 906755b787
commit a123810247
19 changed files with 2341 additions and 2341 deletions

View File

@@ -39,7 +39,7 @@ def parse_strings_file(file):
def write_updated_strings(out, strings):
out.write('<?xml version="1.0" encoding="utf-8"?>\n<resources>\n')
for key, string, comment in strings:
out.write(" ")
out.write(" ")
if comment: out.write("<!-- ")
out.write(ET.tostring(string, "unicode").strip())
if comment: out.write(" -->")