InvenTree/InvenTree/part
Oliver a19d342800
Fix translation issue with javascript (#3246) (#3252)
* Adds a custom translation node class to strip dirty characters from translated strings

* Update javascript files to use new template tag

* Override behaviour of {% load i18n %}

- No longer requires custom tag loading
- All templates now use escaped translation values
- Requires re-ordering of app loading
- Revert js_i18n to simply i18n

* CI step now lints JS files compiled in each locale

* Checking that the CI step fails

* Revert "Checking that the CI step fails"

This reverts commit ba2be0470d.

(cherry picked from commit 44b42050aa)
2022-06-25 11:28:17 +10:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations fix trailing 2022-05-20 13:20:55 +02:00
templates/part Prevent newline chars from breaking part detail page (#3245) 2022-06-23 14:23:07 +10:00
templatetags Fix translation issue with javascript (#3246) (#3252) 2022-06-25 11:28:17 +10:00
__init__.py Move SupplierPart and SupplierPriceBreak to the 'Company' app 2019-05-18 23:08:34 +10:00
admin.py Back porting of security patches (#3197) 2022-06-15 20:43:43 +10:00
api.py resort imports 2022-05-20 17:24:51 +02:00
apps.py resort imports 2022-05-20 17:24:51 +02:00
bom.py resort imports 2022-05-20 17:24:51 +02:00
forms.py resort imports 2022-05-20 17:24:51 +02:00
models.py resort imports 2022-05-20 17:24:51 +02:00
serializers.py resort imports 2022-05-20 17:24:51 +02:00
settings.py Remove encoding header 2022-05-15 20:33:00 +02:00
tasks.py resort imports 2022-05-20 17:24:51 +02:00
test_api.py resort imports 2022-05-20 17:24:51 +02:00
test_bom_export.py refactor 'all' role 2022-05-20 17:43:51 +02:00
test_bom_import.py resort imports 2022-05-20 17:24:51 +02:00
test_bom_item.py resort imports 2022-05-20 17:24:51 +02:00
test_category.py resort imports 2022-05-20 17:24:51 +02:00
test_migrations.py removes all lines consisting only of spaces 2021-05-06 12:11:38 +02:00
test_param.py resort imports 2022-05-20 17:24:51 +02:00
test_part.py Exclude testing exceptions from coverage (#3046) 2022-05-22 15:54:13 +10:00
test_views.py run as admin 2022-05-20 19:11:21 +02:00
urls.py resort imports 2022-05-20 17:24:51 +02:00
views.py resort imports 2022-05-20 17:24:51 +02:00