This commit is contained in:
hailin 2025-04-18 22:52:55 +08:00
parent 900bbe8fea
commit c402405015
4 changed files with 15 additions and 6 deletions

View File

@ -217,7 +217,7 @@ export const QuickSettings: FC<QuickSettingsProps> = ({}) => {
))}
{loading ? (
<div className="animate-pulse">Loading assistant...</div>
<div className="animate-pulse">{t("chat.loadingAssistant")}</div>
) : (
<>
<div className="overflow-hidden text-ellipsis">
@ -227,7 +227,7 @@ export const QuickSettings: FC<QuickSettingsProps> = ({}) => {
{selectedPreset?.name ||
selectedAssistant?.name ||
t("Quick Settings")}
t("chat.quickSettingsLabel")}
</div>
<IconChevronDown className="ml-1" />
@ -241,7 +241,7 @@ export const QuickSettings: FC<QuickSettingsProps> = ({}) => {
align="start"
>
{presets.length === 0 && assistants.length === 0 ? (
<div className="p-8 text-center">No items found.</div>
<div className="p-8 text-center">{t("chat.noItemsFound")}</div>
) : (
<>
<Input

View File

@ -34,7 +34,10 @@
},
"chat": {
"defaultChatTitle": "Chat"
"defaultChatTitle": "Chat",
"quickSettingsLabel": "Quick Settings",
"loadingAssistant": "Loading assistant...",
"noItemsFound": "No items found."
},
"profile": {

View File

@ -33,7 +33,10 @@
},
"chat": {
"defaultChatTitle": "会話"
"defaultChatTitle": "会話",
"quickSettingsLabel": "クイック設定",
"loadingAssistant": "アシスタントを読み込み中...",
"noItemsFound": "アイテムが見つかりません"
},
"profile": {

View File

@ -33,7 +33,10 @@
},
"chat": {
"defaultChatTitle": "对话"
"defaultChatTitle": "对话",
"quickSettingsLabel": "快速设置",
"loadingAssistant": "正在加载助手...",
"noItemsFound": "未找到任何项目"
},
"profile": {