diff --git a/tools/lint-all b/tools/lint-all index 55eee08854..0208b4d93a 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -366,6 +366,14 @@ def build_custom_checkers(by_lang): "static/templates/settings/realm-filter-settings-admin.handlebars"])}, {'pattern': "placeholder='[^{]", 'description': "`placeholder` value should be translatable."}, + {'pattern': "title='[^{]", + 'description': "`title` value should be translatable."}, + {'pattern': 'title="[^{]', + 'exclude_line': set([ + ('templates/zerver/markdown_help.html', + ':heart:') + ]), + 'description': "`title` value should be translatable."}, ] # type: RuleList handlebars_rules = html_rules json_rules = [] # type: RuleList # fix newlines at ends of files