diff --git a/src/lib/components/chat/ShortcutsModal.svelte b/src/lib/components/chat/ShortcutsModal.svelte index 05fb549f9..ea82beefc 100644 --- a/src/lib/components/chat/ShortcutsModal.svelte +++ b/src/lib/components/chat/ShortcutsModal.svelte @@ -2,6 +2,7 @@ import { getContext } from 'svelte'; import Modal from '../common/Modal.svelte'; + import Tooltip from '../common/Tooltip.svelte'; const i18n = getContext('i18n'); export let show = false; @@ -75,6 +76,26 @@ +
+
+ + {$i18n.t('Stop Generating')} * + +
+ +
+
+ Esc +
+
+
+
{$i18n.t('Copy last code block')}
@@ -123,6 +144,40 @@
+
+
+ + {$i18n.t('Prevent file creation')} * + +
+ +
+
+ Ctrl/⌘ +
+ +
+ Shift +
+ +
+ V +
+
+
+ + +
{$i18n.t('Generate prompt pair')}
@@ -146,9 +201,7 @@
- -
{$i18n.t('Toggle search')}
@@ -251,8 +304,13 @@
+
+ {$i18n.t( + 'Shortcuts with an asterisk (*) are situational and only active under specific conditions.' + )} +
-
{$i18n.t('Input commands')}
+
{$i18n.t('Chat Input commands')}