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". Change-Id: I246aa6fb86a5f2c3a7a3cc9f537678ba8d3e2fdd Closes-Bug: #1747453
This commit is contained in:
parent
64f929dfe0
commit
e55851b5f8
|
@ -2,4 +2,4 @@
|
|||
django = django_babel.extract:extract_django
|
||||
|
||||
[python: **.py]
|
||||
[django: templates/**.html]
|
||||
[django: **/templates/**.html]
|
||||
|
|
Loading…
Reference in New Issue