diff --git a/src/renderer/src/components/app/Sidebar.tsx b/src/renderer/src/components/app/Sidebar.tsx
index c15b5437..f05ba782 100644
--- a/src/renderer/src/components/app/Sidebar.tsx
+++ b/src/renderer/src/components/app/Sidebar.tsx
@@ -5,6 +5,7 @@ import { useTheme } from '@renderer/context/ThemeProvider'
import useAvatar from '@renderer/hooks/useAvatar'
import { useRuntime } from '@renderer/hooks/useRuntime'
import { useSettings } from '@renderer/hooks/useSettings'
+import { Tooltip } from 'antd'
import { Avatar } from 'antd'
import { FC } from 'react'
import { useTranslation } from 'react-i18next'
@@ -50,57 +51,74 @@ const Sidebar: FC = () => {
- to('/')}>
-
-
-
-
- to('/agents')}>
-
-
-
-
- to('/paintings')}>
-
-
-
-
- to('/translate')}>
-
-
-
-
- to('/apps')}>
-
-
-
-
- to('/files')}>
-
-
-
-
- to('/messages')}>
-
-
-
-
+
+ to('/')}>
+
+
+
+
+
+
+ to('/agents')}>
+
+
+
+
+
+
+ to('/paintings')}>
+
+
+
+
+
+
+ to('/translate')}>
+
+
+
+
+
+
+ to('/apps')}>
+
+
+
+
+
+
+ to('/files')}>
+
+
+
+
+
+
+ to('/messages')}>
+
+
+
+
+
- toggleTheme()}>
- {theme === 'dark' ? (
-
- ) : (
-
- )}
-
-
- to(isLocalAi ? '/settings/assistant' : '/settings/provider')}>
-
-
+
+ toggleTheme()}>
+ {theme === 'dark' ? (
+
+ ) : (
+
+ )}
-
+
+
+ to(isLocalAi ? '/settings/assistant' : '/settings/provider')}>
+
+
+
+
+
)
diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json
index 46b7c9a0..b8b384e6 100644
--- a/src/renderer/src/i18n/locales/zh-cn.json
+++ b/src/renderer/src/i18n/locales/zh-cn.json
@@ -145,7 +145,7 @@
"stream_output": "流式输出",
"search": "搜索模型..."
},
- "images": {
+ "paintings": {
"title": "图片",
"image.size": "图片尺寸",
"button.new.image": "新建图片",
diff --git a/src/renderer/src/pages/paintings/PaintingsList.tsx b/src/renderer/src/pages/paintings/PaintingsList.tsx
index 679253c0..44dc42aa 100644
--- a/src/renderer/src/pages/paintings/PaintingsList.tsx
+++ b/src/renderer/src/pages/paintings/PaintingsList.tsx
@@ -45,7 +45,7 @@ const PaintingsList: FC = ({
onDeletePainting(item)}
okButtonProps={{ danger: true }}
placement="left">
diff --git a/src/renderer/src/pages/paintings/PaintingsPage.tsx b/src/renderer/src/pages/paintings/PaintingsPage.tsx
index 54392839..8ea675f7 100644
--- a/src/renderer/src/pages/paintings/PaintingsPage.tsx
+++ b/src/renderer/src/pages/paintings/PaintingsPage.tsx
@@ -107,7 +107,7 @@ const PaintingsPage: FC = () => {
const onGenerate = async () => {
if (painting.files.length > 0) {
const confirmed = await window.modal.confirm({
- content: t('images.regenerate.confirm'),
+ content: t('paintings.regenerate.confirm'),
centered: true
})
@@ -252,11 +252,11 @@ const PaintingsPage: FC = () => {
return (
- {t('images.title')}
+ {t('paintings.title')}
{isMac && (
} onClick={() => setPainting(addPainting())}>
- {t('images.button.new.image')}
+ {t('paintings.button.new.image')}
)}
@@ -271,7 +271,7 @@ const PaintingsPage: FC = () => {
/>
{t('common.model')}
- {t('images.image.size')}
+ {t('paintings.image.size')}
onSelectImageSize(e.target.value)}
@@ -287,8 +287,8 @@ const PaintingsPage: FC = () => {
- {t('images.number_images')}
-
+ {t('paintings.number_images')}
+
@@ -300,8 +300,8 @@ const PaintingsPage: FC = () => {
/>
- {t('images.seed')}
-
+ {t('paintings.seed')}
+
@@ -312,8 +312,8 @@ const PaintingsPage: FC = () => {
/>
- {t('images.inference_steps')}
-
+ {t('paintings.inference_steps')}
+
@@ -326,8 +326,8 @@ const PaintingsPage: FC = () => {
/>
- {t('images.guidance_scale')}
-
+ {t('paintings.guidance_scale')}
+
@@ -347,8 +347,8 @@ const PaintingsPage: FC = () => {
/>
- {t('images.negative_prompt')}
-
+ {t('paintings.negative_prompt')}
+
@@ -374,7 +374,7 @@ const PaintingsPage: FC = () => {
disabled={isLoading}
value={painting.prompt}
onChange={(e) => updatePaintingState({ prompt: e.target.value })}
- placeholder={t('images.prompt_placeholder')}
+ placeholder={t('paintings.prompt_placeholder')}
/>