Sync translation templates with Godot

Also update POT file width to 80, missed in 0790d4b54d.
This commit is contained in:
Rémi Verschelde
2023-09-08 12:10:49 +02:00
parent 6f0064e5ba
commit 873d564a33
54 changed files with 14963 additions and 13486 deletions

View File

@@ -231,8 +231,8 @@ with open("properties.pot", "w") as f:
f.write(main_po)
if os.name == "posix":
print("Wrapping template at 79 characters for compatibility with Weblate.")
os.system("msgmerge -w79 properties.pot properties.pot > properties.pot.wrap")
print("Wrapping template at 80 characters for compatibility with Weblate.")
os.system("msgmerge -w80 properties.pot properties.pot > properties.pot.wrap")
shutil.move("properties.pot.wrap", "properties.pot")
shutil.move("properties.pot", "../properties/properties.pot")