From 291f99cbea3ea781d35dc64c3cdf531ba4bf5cf8 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 16 Oct 2023 19:51:37 +0900 Subject: [PATCH] feat(ui): add "search" to the keyboard shortcut help (#2429) --- components/magickeys/MagickeysKeyboardShortcuts.vue | 4 ++++ locales/en.json | 1 + locales/ja-JP.json | 1 + 3 files changed, 6 insertions(+) diff --git a/components/magickeys/MagickeysKeyboardShortcuts.vue b/components/magickeys/MagickeysKeyboardShortcuts.vue index d041fcc2..7981a4f2 100644 --- a/components/magickeys/MagickeysKeyboardShortcuts.vue +++ b/components/magickeys/MagickeysKeyboardShortcuts.vue @@ -53,6 +53,10 @@ const shortcutItemGroups: ShortcutItemGroup[] = [ { name: t('magic_keys.groups.actions.title'), items: [ + { + description: t('magic_keys.groups.actions.search'), + shortcut: { keys: [modifierKeyName, 'k'], isSequence: false }, + }, { description: t('magic_keys.groups.actions.command_mode'), shortcut: { keys: [modifierKeyName, '/'], isSequence: false }, diff --git a/locales/en.json b/locales/en.json index 768a77ee..bff1fb47 100644 --- a/locales/en.json +++ b/locales/en.json @@ -213,6 +213,7 @@ "command_mode": "Command mode", "compose": "Compose", "favourite": "Favourite", + "search": "Search", "title": "Actions" }, "media": { diff --git a/locales/ja-JP.json b/locales/ja-JP.json index 94b46849..952c6869 100644 --- a/locales/ja-JP.json +++ b/locales/ja-JP.json @@ -213,6 +213,7 @@ "command_mode": "コマンドモード", "compose": "投稿", "favourite": "お気に入り", + "search": "検索", "title": "アクション" }, "media": {