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.
This commit is contained in:
Ahmed Shibani 2015-11-03 10:41:52 +02:00 committed by Tim Abbott
parent 6eb670097c
commit 47d8d784a2
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ def is_django_block_tag(tag):
'if', 'if',
'ifequal', 'ifequal',
'verbatim', 'verbatim',
'blocktrans',
] ]
def get_handlebars_tag(text, i): def get_handlebars_tag(text, i):