Skip to content

Commit 8f6379a

Browse files
committed
UI优化
1 parent acdd87b commit 8f6379a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/renderer/src/components/views/chat2assistant/Chat2Assistant.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const { isLeftClose } = toRefs(data)
3939
<div ref="chatAssistantRightRef" class="chat-assistant-right">
4040
<!-- 隐藏/显示左边栏按钮 -->
4141
<a-tooltip
42-
:content="$t('chatWindow.closeLeft')"
42+
:content="isLeftClose ? $t('chatWindow.openLeft') : $t('chatWindow.closeLeft')"
4343
position="right"
4444
mini
4545
:content-style="{ fontSize: '12px' }"

src/renderer/src/i18n/local/en_US.json

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
"sharePreview": "Share preview",
239239
"shareDownload": "Save image",
240240
"closeLeft": "Close sidebar",
241+
"openLeft": "Open sidebar",
241242
"configMiss": {
242243
"OpenAI": "OpenAI is not configured",
243244
"Ollama": "Ollama is not configured",

src/renderer/src/i18n/local/zh_CN.json

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
"sharePreview": "分享预览",
239239
"shareDownload": "保存图片",
240240
"closeLeft": "关闭边栏",
241+
"openLeft": "展开边栏",
241242
"configMiss": {
242243
"OpenAI": "OpenAI 未配置",
243244
"Ollama": "Ollama 未配置",

0 commit comments

Comments
 (0)