Add it,fr,de locales

This commit is contained in:
Piero Toffanin 2023-01-06 14:34:40 -05:00
commit 4af4454db3
7 changed files with 1302 additions and 87 deletions

View file

@ -59,12 +59,11 @@ if __name__ == "__main__":
pybabel()
lang_codes = [l.code for l in languages if l != "en"]
lang_codes = ["it", "fr"] # TODO REMOVE
# Init/update
for l in lang_codes:
cmd = "init"
if os.path.isdir(os.path.join(locales_dir, l)):
if os.path.isdir(os.path.join(locales_dir, l, "LC_MESSAGES")):
cmd = "update"
sys.argv = ["", cmd, "-i", messagespot, "-d", locales_dir, "-l", l]