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: I11bf9397c7feea0ec3c7fef9a94963fe1c38010b Closes-Bug: #1747453
This commit is contained in:
parent
536a857469
commit
49de8deaa2
@ -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