mirror of https://github.com/zulip/zulip.git
slash: Change description of /dark command in typeahead.
Fixes part of #20228.
This commit is contained in:
parent
5024ba98cd
commit
89720c5d5a
|
@ -167,7 +167,7 @@ const my_slash = {
|
||||||
const dark_slash = {
|
const dark_slash = {
|
||||||
name: "dark",
|
name: "dark",
|
||||||
aliases: "night",
|
aliases: "night",
|
||||||
text: "translated: /dark (Toggle dark theme)",
|
text: "translated: /dark (Switch to the dark theme)",
|
||||||
};
|
};
|
||||||
|
|
||||||
const light_slash = {
|
const light_slash = {
|
||||||
|
|
|
@ -393,7 +393,7 @@ function should_show_custom_query(query, items) {
|
||||||
|
|
||||||
export const slash_commands = [
|
export const slash_commands = [
|
||||||
{
|
{
|
||||||
text: $t({defaultMessage: "/dark (Toggle dark theme)"}),
|
text: $t({defaultMessage: "/dark (Switch to the dark theme)"}),
|
||||||
name: "dark",
|
name: "dark",
|
||||||
aliases: "night",
|
aliases: "night",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue