portico: Add translations bundle to portico pages.

This commit is contained in:
Jack Zhang
2017-07-31 17:37:07 -07:00
committed by Tim Abbott
parent 10bef65f00
commit c546016964
2 changed files with 1 additions and 3 deletions

View File

@@ -154,9 +154,6 @@ def build_custom_checkers(by_lang):
'frontend_tests/node_tests',
'static/js/debug.js']),
'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]',
'description': 'Strings passed to $().text should be wrapped in i18n.t() for internationalization'},
{'pattern': 'compose_error\(["\']',