mirror of https://github.com/zulip/zulip.git
stream_edit: Capitalize "ID" when showing invalid stream ID errors.
This commit changes the error message, shown while trying to deactivate a non existent stream from stream settings UI, from "Invalid stream id" to "Invalid stream ID".
This commit is contained in:
parent
708204290e
commit
c382f8c9a6
|
@ -639,7 +639,7 @@ export function initialize() {
|
|||
const stream_id = get_stream_id(e.target);
|
||||
if (!stream_id) {
|
||||
ui_report.client_error(
|
||||
$t_html({defaultMessage: "Invalid stream id"}),
|
||||
$t_html({defaultMessage: "Invalid stream ID"}),
|
||||
$(".stream_change_property_info"),
|
||||
);
|
||||
return;
|
||||
|
@ -649,7 +649,7 @@ export function initialize() {
|
|||
const stream_id = $(".dialog_submit_button").data("stream-id");
|
||||
if (!stream_id) {
|
||||
ui_report.client_error(
|
||||
$t_html({defaultMessage: "Invalid stream id"}),
|
||||
$t_html({defaultMessage: "Invalid stream ID"}),
|
||||
$(".stream_change_property_info"),
|
||||
);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue