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:
Akihiro Motoki 2018-02-06 01:09:38 +09:00
parent 536a857469
commit 49de8deaa2
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]