mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
portico: Add translations bundle to portico pages.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
{% block customhead %}
|
{% block customhead %}
|
||||||
{% stylesheet 'portico' %}
|
{% stylesheet 'portico' %}
|
||||||
|
{{ render_bundle('translations') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@@ -154,9 +154,6 @@ def build_custom_checkers(by_lang):
|
|||||||
'frontend_tests/node_tests',
|
'frontend_tests/node_tests',
|
||||||
'static/js/debug.js']),
|
'static/js/debug.js']),
|
||||||
'description': 'console.log and similar should not be used in webapp'},
|
'description': 'console.log and similar should not be used in webapp'},
|
||||||
{'pattern': 'i18n[.]t',
|
|
||||||
'include_only': set(['static/js/portico/']),
|
|
||||||
'description': 'i18n.t is not available in portico pages yet'},
|
|
||||||
{'pattern': '[.]text\(["\'][a-zA-Z]',
|
{'pattern': '[.]text\(["\'][a-zA-Z]',
|
||||||
'description': 'Strings passed to $().text should be wrapped in i18n.t() for internationalization'},
|
'description': 'Strings passed to $().text should be wrapped in i18n.t() for internationalization'},
|
||||||
{'pattern': 'compose_error\(["\']',
|
{'pattern': 'compose_error\(["\']',
|
||||||
|
|||||||
Reference in New Issue
Block a user