Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
slash: Change description of /dark command in typeahead.
Sahil Batra89720c5d5a21
diff --git a/frontend_tests/node_tests/composebox_typeahead.js b/frontend_tests/node_tests/composebox_typeahead.jsindex dd40ecd973d..e0287327312 100644--- a/frontend_tests/node_tests/composebox_typeahead.js+++ b/frontend_tests/node_tests/composebox_typeahead.js@@ -167,7 +167,7 @@ const my_slash = {const dark_slash = {name: "dark",aliases: "night",- text: "translated: /dark (Toggle dark theme)",+ text: "translated: /dark (Switch to the dark theme)",};const light_slash = {diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.jsindex af64ee885ee..a4953aeea36 100644--- a/static/js/composebox_typeahead.js+++ b/static/js/composebox_typeahead.js@@ -393,7 +393,7 @@ function should_show_custom_query(query, items) {export const slash_commands = [{- text: $t({defaultMessage: "/dark (Toggle dark theme)"}),+ text: $t({defaultMessage: "/dark (Switch to the dark theme)"}),name: "dark",aliases: "night",},