From e5eed1e89da1e6af6a04d8f5e5172e71be4482b6 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Tue, 6 Feb 2018 01:34:18 +0900 Subject: [PATCH] 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". Translation is not enabled for blazar-dashboard but it is worth fixed to avoid unnecessary problems when translation is enabled. Change-Id: I74c741679c3f7bec28f053fc9704ff8d5bc5c536 Closes-Bug: #1747453 --- babel-django.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel-django.cfg b/babel-django.cfg index ad09d34..e78d6c0 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -2,4 +2,4 @@ django = django_babel.extract:extract_django [python: **.py] -[django: templates/**.html] +[django: **/templates/**.html]