mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #1498 from SchrodingersGat/new-locales
Add some new (empty) locale translation entries
This commit is contained in:
commit
852cc9c4fa
3
.github/workflows/coverage.yaml
vendored
3
.github/workflows/coverage.yaml
vendored
@ -29,6 +29,7 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gettext
|
||||
pip3 install invoke
|
||||
invoke install
|
||||
- name: Coverage Tests
|
||||
@ -42,6 +43,8 @@ jobs:
|
||||
rm test_db.sqlite
|
||||
invoke migrate
|
||||
invoke import-records -f data.json
|
||||
- name: Test Translations
|
||||
run: invoke translate
|
||||
- name: Check Migration Files
|
||||
run: python3 ci/check_migration_files.py
|
||||
- name: Upload Coverage Report
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
7234
InvenTree/locale/fr/LC_MESSAGES/django.po
Normal file
7234
InvenTree/locale/fr/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
7234
InvenTree/locale/it/LC_MESSAGES/django.po
Normal file
7234
InvenTree/locale/it/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
7234
InvenTree/locale/ja/LC_MESSAGES/django.po
Normal file
7234
InvenTree/locale/ja/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
7236
InvenTree/locale/pl/LC_MESSAGES/django.po
Normal file
7236
InvenTree/locale/pl/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
7236
InvenTree/locale/ru/LC_MESSAGES/django.po
Normal file
7236
InvenTree/locale/ru/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
7233
InvenTree/locale/zh/LC_MESSAGES/django.po
Normal file
7233
InvenTree/locale/zh/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
4
tasks.py
4
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')
|
||||
|
Loading…
Reference in New Issue
Block a user