mirror of https://github.com/zulip/zulip.git
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:
parent
6eb670097c
commit
47d8d784a2
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue