abouttreesummaryrefslogcommitdiff
path: root/sync_translations.py
diff options
context:
space:
mode:
authorJules Aguillon2025-03-04 14:40:46 +0100
committerJules Aguillon2025-03-08 12:05:35 +0100
commita123810247d867a44e4be066d1d88f71b71fdc3f (patch)
tree707d73d014b14f862902085c82c3f7b0272f4f17 /sync_translations.py
parent906755b787d2f4e7e13a1ba005c6cd360201dba7 (diff)
downloadunexpected-keyboard-a123810247d867a44e4be066d1d88f71b71fdc3f.tar.gz
unexpected-keyboard-a123810247d867a44e4be066d1d88f71b71fdc3f.zip
Change indentation of strings.xml files to match Weblate
This runs sync_translations.py, which also remove uneeded comments.
Diffstat (limited to 'sync_translations.py')
-rw-r--r--sync_translations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_translations.py b/sync_translations.py
index d3669e0..cc717aa 100644
--- a/sync_translations.py
+++ b/sync_translations.py
@@ -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(" -->")