Correct django template pattern in babel-django.cfg
Currently strings in Django templates cannot be translated because the current recommended file pattern "templates/**.html" does not match Django templates in subdirectories. This needs to be "**/templates/**.html". Translation is not enabled for blazar-dashboard but it is worth fixed to avoid unnecessary problems when translation is enabled. Change-Id: I74c741679c3f7bec28f053fc9704ff8d5bc5c536 Closes-Bug: #1747453
This commit is contained in:
parent
1b1f50f470
commit
e5eed1e89d
@ -2,4 +2,4 @@
|
||||
django = django_babel.extract:extract_django
|
||||
|
||||
[python: **.py]
|
||||
[django: templates/**.html]
|
||||
[django: **/templates/**.html]
|
||||
|
Loading…
Reference in New Issue
Block a user