mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
[skip ci] add trailing nline to strings to be consistent with weblate
This commit is contained in:
parent
ab379ab31c
commit
5012821216
1 changed files with 1 additions and 0 deletions
1
.github/locales.py
vendored
1
.github/locales.py
vendored
|
@ -61,5 +61,6 @@ for file in glob.glob(f"{XML_NAME}*/strings.xml"):
|
||||||
with open(file, 'wb') as fp:
|
with open(file, 'wb') as fp:
|
||||||
fp.write(b'<?xml version="1.0" encoding="utf-8"?>\n')
|
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)
|
tree.write(fp, encoding="utf-8", method="xml", pretty_print=True, xml_declaration=False)
|
||||||
|
fp.write(b'\n')
|
||||||
except ET.ParseError as ex:
|
except ET.ParseError as ex:
|
||||||
print(f"[{file}] {ex}")
|
print(f"[{file}] {ex}")
|
||||||
|
|
Loading…
Reference in a new issue