mirror of https://github.com/zulip/zulip.git
misc: Replace "Light mode" with "Light theme".
This commit is contained in:
parent
31798ab815
commit
b72035abfe
|
@ -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 = {
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
|
@ -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"}),
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue