From 5b663d5be3b2e8984ce25d2984344ae63abbbb34 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sun, 4 Feb 2018 23:48:20 +0900 Subject: [PATCH] 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 --- doc/source/creators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/creators.rst b/doc/source/creators.rst index d81c3df..9677c55 100644 --- a/doc/source/creators.rst +++ b/doc/source/creators.rst @@ -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: