2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Disable wrapping for translation files

This ensures that the updates pushed back from crowding don't have unnecessary file deltas

Ref: https://docs.djangoproject.com/en/3.2/ref/django-admin/#django-admin-makemessages
This commit is contained in:
Oliver Walters
2021-05-05 17:34:35 +10:00
parent 54fb96f239
commit 7a19145be1
19 changed files with 4358 additions and 3752 deletions

View File

@ -185,7 +185,7 @@ def translate(c):
"""
# Translate applicable .py / .html / .js files
manage(c, "makemessages --all -e py,html,js")
manage(c, "makemessages --all -e py,html,js --no-wrap")
manage(c, "compilemessages")
path = os.path.join('InvenTree', 'script', 'translation_stats.py')