From 47d8d784a2bf758452a086e49c7fa48510e4a94c Mon Sep 17 00:00:00 2001 From: Ahmed Shibani Date: Tue, 3 Nov 2015 10:41:52 +0200 Subject: [PATCH] Add 'blocktrans' to tools/check-templates. Running check-templates test fails when there are 'blocktrans' tags in django templates. The fix is to add 'blocktrans' to is_django_block_tag function in check-templates. --- tools/check-templates | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/check-templates b/tools/check-templates index e24953949f..0c8bed462f 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -129,6 +129,7 @@ def is_django_block_tag(tag): 'if', 'ifequal', 'verbatim', + 'blocktrans', ] def get_handlebars_tag(text, i):