mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
compose: Convert compose_error messages to FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
810ba7fce1
commit
d761077dac
@@ -139,7 +139,7 @@ js_rules = RuleList(
|
||||
{"pattern": r"\+.*i18n\.t\(.+\)", "description": "Do not concatenate i18n strings"},
|
||||
{
|
||||
"pattern": "[.]html[(]",
|
||||
"exclude_pattern": r"""\.html\(("|'|render_|html|message\.content|util\.clean_user_content_links|i18n\.t|rendered_|$|\)|error_text|widget_elem|\$error|\$\("<p>"\))""",
|
||||
"exclude_pattern": r"""\.html\(("|'|render_|html|message\.content|util\.clean_user_content_links|i18n\.t|rendered_|$|\)|error_html|widget_elem|\$error|\$\("<p>"\))""",
|
||||
"exclude": {
|
||||
"static/js/portico",
|
||||
"static/js/lightbox.js",
|
||||
|
||||
Reference in New Issue
Block a user