mirror of https://github.com/zulip/zulip.git
dialog_widget: Use $t_html for html_heading.
This commit is contained in:
parent
7494115b2a
commit
3051b1afa3
|
@ -5,7 +5,7 @@ import render_confirm_mute_user from "../templates/confirm_dialog/confirm_mute_u
|
|||
import * as activity from "./activity";
|
||||
import * as channel from "./channel";
|
||||
import * as confirm_dialog from "./confirm_dialog";
|
||||
import {$t} from "./i18n";
|
||||
import {$t_html} from "./i18n";
|
||||
import * as message_lists from "./message_lists";
|
||||
import * as muted_users from "./muted_users";
|
||||
import * as overlays from "./overlays";
|
||||
|
@ -34,7 +34,7 @@ export function confirm_mute_user(user_id) {
|
|||
|
||||
confirm_dialog.launch({
|
||||
parent: modal_parent,
|
||||
html_heading: $t({defaultMessage: "Mute user"}),
|
||||
html_heading: $t_html({defaultMessage: "Mute user"}),
|
||||
help_link: "/help/mute-a-user",
|
||||
html_body,
|
||||
on_click,
|
||||
|
|
|
@ -656,7 +656,7 @@ function handle_bot_form(tbody, status_field) {
|
|||
}
|
||||
|
||||
dialog_widget.launch({
|
||||
html_heading: $t({defaultMessage: "Change bot info and owner"}),
|
||||
html_heading: $t_html({defaultMessage: "Change bot info and owner"}),
|
||||
parent: modal_parent,
|
||||
html_body,
|
||||
on_click: submit_bot_details,
|
||||
|
|
Loading…
Reference in New Issue