mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
Merge pull request #18990 from EventHorizon-AI/fix/shortcuts-i18n
fix: Shortcuts Modal i18n
This commit is contained in:
commit
918e720f97
1 changed files with 30 additions and 0 deletions
|
|
@ -65,6 +65,36 @@
|
|||
<div class="flex flex-col md:flex-row w-full md:space-x-2 dark:text-gray-200">
|
||||
<div class="flex flex-col w-full sm:flex-row sm:justify-center sm:space-x-6">
|
||||
<div class=" grid grid-cols-1 sm:grid-cols-2 gap-2 gap-x-4 w-full">
|
||||
<!-- {$i18n.t('Chat')} -->
|
||||
<!-- {$i18n.t('Global')} -->
|
||||
<!-- {$i18n.t('Input')} -->
|
||||
<!-- {$i18n.t('Message')} -->
|
||||
|
||||
<!-- {$i18n.t('New Chat')} -->
|
||||
<!-- {$i18n.t('New Temporary Chat')} -->
|
||||
<!-- {$i18n.t('Delete Chat')} -->
|
||||
<!-- {$i18n.t('Search')} -->
|
||||
<!-- {$i18n.t('Open Settings')} -->
|
||||
<!-- {$i18n.t('Show Shortcuts')} -->
|
||||
<!-- {$i18n.t('Toggle Sidebar')} -->
|
||||
<!-- {$i18n.t('Close Modal')} -->
|
||||
<!-- {$i18n.t('Focus Chat Input')} -->
|
||||
<!-- {$i18n.t('Accept Autocomplete Generation\nJump to Prompt Variable')} -->
|
||||
<!-- {$i18n.t('Prevent File Creation')} -->
|
||||
<!-- {$i18n.t('Attach File From Knowledge')} -->
|
||||
<!-- {$i18n.t('Add Custom Prompt')} -->
|
||||
<!-- {$i18n.t('Talk to Model')} -->
|
||||
<!-- {$i18n.t('Generate Message Pair')} -->
|
||||
<!-- {$i18n.t('Regenerate Response')} -->
|
||||
<!-- {$i18n.t('Stop Generating')} -->
|
||||
<!-- {$i18n.t('Edit Last Message')} -->
|
||||
<!-- {$i18n.t('Copy Last Response')} -->
|
||||
<!-- {$i18n.t('Copy Last Code Block')} -->
|
||||
|
||||
<!-- {$i18n.t('Only active when "Paste Large Text as File" setting is toggled on.')} -->
|
||||
<!-- {$i18n.t('Only active when the chat input is in focus.')} -->
|
||||
<!-- {$i18n.t('Only active when the chat input is in focus and an LLM is generating a response.')} -->
|
||||
<!-- {$i18n.t('Only can be triggered when the chat input is in focus.')} -->
|
||||
{#each items as shortcut}
|
||||
<div class="col-span-1 flex items-start">
|
||||
<ShortcutItem {shortcut} {isMac} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue