mirror of
https://github.com/zulip/zulip.git
synced 2025-10-26 01:24:02 +00:00
lint: Allow empty string in alt arg.
This commit is contained in:
@@ -505,8 +505,8 @@ def build_custom_checkers(by_lang):
|
||||
]),
|
||||
'exclude': set(["templates/zerver/emails"]),
|
||||
'description': "`title` value should be translatable."},
|
||||
{'pattern': '\Walt=["\'][^{]',
|
||||
'description': "alt argument should be enclosed by _().",
|
||||
{'pattern': '\Walt=["\'][^{"\']',
|
||||
'description': "alt argument should be enclosed by _() or it should be an empty string.",
|
||||
'exclude': set(['tools/lint',
|
||||
'static/templates/settings/display-settings.handlebars',
|
||||
'templates/zerver/keyboard_shortcuts.html',
|
||||
|
||||
Reference in New Issue
Block a user