[skip ci] add trailing nline to strings to be consistent with weblate

This commit is contained in:
Cloudburst 2024-07-31 10:44:25 +02:00 committed by GitHub
parent ab379ab31c
commit 5012821216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
.github/locales.py vendored
View file

@ -61,5 +61,6 @@ for file in glob.glob(f"{XML_NAME}*/strings.xml"):
with open(file, 'wb') as fp:
fp.write(b'<?xml version="1.0" encoding="utf-8"?>\n')
tree.write(fp, encoding="utf-8", method="xml", pretty_print=True, xml_declaration=False)
fp.write(b'\n')
except ET.ParseError as ex:
print(f"[{file}] {ex}")