Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_edit: Capitalize "ID" when showing invalid stream ID errors.

Sahil Batrac382f8c9a68a
diff --git a/static/js/stream_edit.js b/static/js/stream_edit.js
index 11640ee286e..ccf79f4f956 100644
--- a/static/js/stream_edit.js
+++ b/static/js/stream_edit.js
@@ -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;