feat: added command shortcuts for new topic input
This commit is contained in:
parent
06ae4328ea
commit
22d2ff1518
@ -89,7 +89,7 @@
|
||||
"topics.export.image": "Export as image",
|
||||
"topics.export.md": "Export as markdown",
|
||||
"topics.export.word": "Export as Word",
|
||||
"input.new_topic": "New Topic",
|
||||
"input.new_topic": "New Topic {{Command}}+N",
|
||||
"input.topics": " Topics ",
|
||||
"input.clear": "Clear",
|
||||
"input.new.context": "Clear Context",
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
"topics.export.image": "Экспорт как изображение",
|
||||
"topics.export.md": "Экспорт как markdown",
|
||||
"topics.export.word": "Экспорт как Word",
|
||||
"input.new_topic": "Новый топик",
|
||||
"input.new_topic": "Новый топик {{Command}}+N",
|
||||
"input.topics": " Топики ",
|
||||
"input.clear": "Очистить",
|
||||
"input.new.context": "Очистить контекст",
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
"topics.export.image": "导出为图片",
|
||||
"topics.export.md": "导出为 Markdown",
|
||||
"topics.export.word": "导出为 Word",
|
||||
"input.new_topic": "新话题",
|
||||
"input.new_topic": "新话题 {{Command}}+N",
|
||||
"input.topics": " 话题 ",
|
||||
"input.clear": "清空消息",
|
||||
"input.new.context": "清除上下文",
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
"topics.export.image": "匯出為圖片",
|
||||
"topics.export.md": "匯出為 Markdown",
|
||||
"topics.export.word": "導出為 Word",
|
||||
"input.new_topic": "新話題",
|
||||
"input.new_topic": "新話題 {{Command}}+N",
|
||||
"input.topics": " 話題 ",
|
||||
"input.clear": "清除",
|
||||
"input.new.context": "清除上下文",
|
||||
|
||||
@ -8,7 +8,7 @@ import {
|
||||
QuestionCircleOutlined
|
||||
} from '@ant-design/icons'
|
||||
import { PicCenterOutlined } from '@ant-design/icons'
|
||||
import { documentExts, imageExts, textExts } from '@renderer/config/constant'
|
||||
import { documentExts, imageExts, isMac, textExts } from '@renderer/config/constant'
|
||||
import { isVisionModel } from '@renderer/config/models'
|
||||
import db from '@renderer/databases'
|
||||
import { useAssistant } from '@renderer/hooks/useAssistant'
|
||||
@ -322,7 +322,7 @@ const Inputbar: FC<Props> = ({ assistant, setActiveTopic }) => {
|
||||
/>
|
||||
<Toolbar>
|
||||
<ToolbarMenu>
|
||||
<Tooltip placement="top" title={t('chat.input.new_topic')} arrow>
|
||||
<Tooltip placement="top" title={t('chat.input.new_topic', { Command: isMac ? '⌘' : 'Ctrl' })} arrow>
|
||||
<ToolbarButton type="text" onClick={addNewTopic}>
|
||||
<FormOutlined />
|
||||
</ToolbarButton>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user