mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Add translation hooks for part detail template
This commit is contained in:
@ -18,7 +18,7 @@ locales = []
|
||||
|
||||
for line in str(out.decode()).split('\n'):
|
||||
# Check for any compiled translation files that have not been committed
|
||||
if 'modified:' in line and '/locale/' in line and 'django.mo' in line:
|
||||
if 'modified:' in line and '/locale/' in line and 'django.po' in line:
|
||||
locales.append(line)
|
||||
|
||||
if len(locales) > 0:
|
||||
|
Reference in New Issue
Block a user