Add it,fr,de locales
This commit is contained in:
parent
2ad3627ec8
commit
4af4454db3
7 changed files with 1302 additions and 87 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue