slash: Change description of /dark command in typeahead.

Fixes part of #20228.
This commit is contained in:
Sahil Batra 2021-11-18 16:17:43 +05:30 committed by Tim Abbott
parent 5024ba98cd
commit 89720c5d5a
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {

View File

@ -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",
},