Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow-banner: Update default empty banner text to be more general.
Lauryn Menard6b3fbab5208b
diff --git a/frontend_tests/node_tests/narrow.js b/frontend_tests/node_tests/narrow.jsindex ef33fbf1781..05954e13f12 100644--- a/frontend_tests/node_tests/narrow.js+++ b/frontend_tests/node_tests/narrow.js@@ -214,7 +214,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {assert.equal($(".empty_feed_notice_main").html(),empty_narrow_html(- "translated: Nothing's been sent here yet!",+ "translated: There are no messages here.",'translated HTML: Why not <a href="#" class="empty_feed_compose_stream">start the conversation</a>?',),);@@ -278,7 +278,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {narrow_banner.show_empty_narrow_message();assert.equal($(".empty_feed_notice_main").html(),- empty_narrow_html("translated: Nothing's been sent here yet!", ""),+ empty_narrow_html("translated: There are no messages here.", ""),);page_params.is_spectator = false;@@ -517,7 +517,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {assert.equal($(".empty_feed_notice_main").html(),empty_narrow_html(- "translated: Nothing's been sent here yet!",+ "translated: There are no messages here.",'translated HTML: Why not <a href="#" class="empty_feed_compose_stream">start the conversation</a>?',),);@@ -528,7 +528,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {assert.equal($(".empty_feed_notice_main").html(),empty_narrow_html(- "translated: Nothing's been sent here yet!",+ "translated: There are no messages here.",'translated HTML: Why not <a href="#" class="empty_feed_compose_stream">start the conversation</a>?',),);@@ -546,7 +546,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {assert.equal($(".empty_feed_notice_main").html(),empty_narrow_html(- "translated: Nothing's been sent here yet!",+ "translated: There are no messages here.",'translated HTML: Why not <a href="#" class="empty_feed_compose_stream">start the conversation</a>?',),);diff --git a/static/js/narrow_banner.js b/static/js/narrow_banner.jsindex 4d88f6016e2..2878f9f930f 100644--- a/static/js/narrow_banner.js+++ b/static/js/narrow_banner.js@@ -66,7 +66,7 @@ function retrieve_search_query_data() {function pick_empty_narrow_banner() {const default_banner = {- title: $t({defaultMessage: "Nothing's been sent here yet!"}),+ title: $t({defaultMessage: "There are no messages here."}),// Spectators cannot start a conversation.html: page_params.is_spectator? ""