Correct django template pattern in babel-django.cfg

The current recommended file pattern "templates/**.html" does not
match Django templates in subdirectories.
This needs to be "**/templates/**.html".

This was fixed in horizon two years ago in Liberty, but somehow
the incorrect file pattern is recommended in the infra manual
and used in several number of horizon plugins.
It is worth fixed in the infra manual.

Change-Id: I4a06faaca8726b386369b9066324f1625deb3507
Story: #2001514
Task: #6314
This commit is contained in:
Akihiro Motoki 2018-02-04 23:48:20 +09:00
parent 122d0c853d
commit 5b663d5be3
1 changed files with 1 additions and 1 deletions

View File

@ -1119,7 +1119,7 @@ Create file ``babel-django.cfg`` with the following content:
django = django_babel.extract:extract_django
[python: **.py]
[django: templates/**.html]
[django: **/templates/**.html]
[django: **/templates/**.csv]
Create file ``babel-djangojs.cfg`` with the following content: