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:
Akihiro Motoki 2018-02-06 01:07:28 +09:00
parent 7e44540e67
commit 53ab2c9c4c
1 changed files with 1 additions and 1 deletions

View File

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