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:
2
tasks.py
2
tasks.py
@ -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')
|
||||
|
Reference in New Issue
Block a user