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: I877e0a3703fa13b52e1df79f20c580b2604e7d1c Closes-Bug: #1747453
This commit is contained in:
parent
7e44540e67
commit
53ab2c9c4c
@ -2,5 +2,5 @@
|
||||
django = django_babel.extract:extract_django
|
||||
|
||||
[python: **.py]
|
||||
[django: templates/**.html]
|
||||
[django: **/templates/**.html]
|
||||
[django: **/templates/**.csv]
|
||||
|
Loading…
Reference in New Issue
Block a user