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:
Akihiro Motoki 2018-02-06 01:08:24 +09:00
parent 64f929dfe0
commit e55851b5f8
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
django = django_babel.extract:extract_django
[python: **.py]
[django: templates/**.html]
[django: **/templates/**.html]