Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
misc: Replace "Light mode" with "Light theme".
Sahil Batrab72035abfe3b
diff --git a/frontend_tests/node_tests/composebox_typeahead.js b/frontend_tests/node_tests/composebox_typeahead.jsindex e0287327312..f3ab361ce63 100644--- a/frontend_tests/node_tests/composebox_typeahead.js+++ b/frontend_tests/node_tests/composebox_typeahead.js@@ -173,7 +173,7 @@ const dark_slash = {const light_slash = {name: "light",aliases: "day",- text: "translated: /light (Toggle light mode)",+ text: "translated: /light (Toggle light theme)",};const sweden_stream = {diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.jsindex a4953aeea36..4c530dbcab7 100644--- a/static/js/composebox_typeahead.js+++ b/static/js/composebox_typeahead.js@@ -408,7 +408,7 @@ export const slash_commands = [aliases: "",},{- text: $t({defaultMessage: "/light (Toggle light mode)"}),+ text: $t({defaultMessage: "/light (Toggle light theme)"}),name: "light",aliases: "day",},diff --git a/static/js/zcommand.js b/static/js/zcommand.jsindex 6d6efb199cb..607fa663ff5 100644--- a/static/js/zcommand.js+++ b/static/js/zcommand.js@@ -74,7 +74,7 @@ export function enter_day_mode() {command: "/night",});},- title_text: $t({defaultMessage: "Light mode"}),+ title_text: $t({defaultMessage: "Light theme"}),undo_button_text: $t({defaultMessage: "Dark theme"}),});},@@ -97,7 +97,7 @@ export function enter_night_mode() {});},title_text: $t({defaultMessage: "Dark theme"}),- undo_button_text: $t({defaultMessage: "Light mode"}),+ undo_button_text: $t({defaultMessage: "Light theme"}),});},});diff --git a/templates/zerver/help/configure-default-new-user-settings.md b/templates/zerver/help/configure-default-new-user-settings.mdindex fa7766933a0..a7fa6396ebd 100644--- a/templates/zerver/help/configure-default-new-user-settings.md+++ b/templates/zerver/help/configure-default-new-user-settings.md@@ -14,7 +14,7 @@ preference settings, including the following:* Display settings, including:* Default view ([Recent topics](/help/recent-topics) vs. [All messages](/help/reading-strategies#all-messages))- * [Light mode vs. dark theme](/help/dark-theme)+ * [Light theme vs. dark theme](/help/dark-theme)* [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)* Notification settings, including:* [What types of messages trigger notifications][default-notifications]diff --git a/templates/zerver/help/include/add-a-wide-logo.md b/templates/zerver/help/include/add-a-wide-logo.mdindex e9ffabfbba9..6073563f4b8 100644--- a/templates/zerver/help/include/add-a-wide-logo.md+++ b/templates/zerver/help/include/add-a-wide-logo.md@@ -12,4 +12,4 @@ transparent background, and trim any bordering whitespace. To upload a logo:{end_tabs}-Make sure to test the logo in both light mode and [dark theme](/help/dark-theme).+Make sure to test the logo in both light theme and [dark theme](/help/dark-theme).diff --git a/zerver/lib/zcommand.py b/zerver/lib/zcommand.pyindex 6bf2c2c6a04..2ae038e4e08 100644--- a/zerver/lib/zcommand.py+++ b/zerver/lib/zcommand.py@@ -45,7 +45,7 @@ def process_zcommands(content: str, user_profile: UserProfile) -> Dict[str, Any])elif command == "day":if user_profile.color_scheme == UserProfile.COLOR_SCHEME_LIGHT:- return dict(msg="You are still in light mode.")+ return dict(msg="You are still in light theme.")return dict(msg=change_mode_setting(command="light",diff --git a/zerver/tests/test_zcommand.py b/zerver/tests/test_zcommand.pyindex 5092b078112..d41aa6befbd 100644--- a/zerver/tests/test_zcommand.py+++ b/zerver/tests/test_zcommand.py@@ -49,7 +49,7 @@ class ZcommandTest(ZulipTestCase):result = self.client_post("/json/zcommand", payload)self.assert_json_success(result)- self.assertIn("still in light mode", result.json()["msg"])+ self.assertIn("still in light theme", result.json()["msg"])def test_fluid_zcommand(self) -> None:self.login("hamlet")