2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 14:20:54 +00:00

Add some new (empty) locale translation entries

- fr
- it
- ja
- pl
- ru
- zh

Also fixes the `invoke translate` command (maybe it was changed with the recent update to Django 3.2?)

The CI pipeline now runs the translation and static collection steps, to check those for errors.
This commit is contained in:
Oliver Walters
2021-04-21 12:33:56 +10:00
parent 45d23bd606
commit a1e835e01b
11 changed files with 45120 additions and 1652 deletions
.github/workflows
InvenTree/locale
de
LC_MESSAGES
en
LC_MESSAGES
es
LC_MESSAGES
fr
LC_MESSAGES
it
LC_MESSAGES
ja
LC_MESSAGES
pl
LC_MESSAGES
ru
LC_MESSAGES
zh
LC_MESSAGES
tasks.py

@ -174,7 +174,7 @@ def update(c):
"""
pass
@task
@task(post=[static])
def translate(c):
"""
Regenerate translation files.
@ -184,7 +184,7 @@ def translate(c):
"""
# Translate applicable .py / .html / .js files
manage(c, "makemessages -e py -e html -e js")
manage(c, "makemessages --all -e py,html,js")
manage(c, "compilemessages")
path = os.path.join('InvenTree', 'script', 'translation_stats.py')