feat: thinking process text i18n

This commit is contained in:
Sh1n3zZ 2025-02-17 22:59:10 +08:00
parent 24ffd86f77
commit 1998b42643
No known key found for this signature in database
GPG Key ID: 696702CF723B0452
6 changed files with 11 additions and 6 deletions

View File

@ -234,7 +234,7 @@ function MessageContent({
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const [editedMessage, setEditedMessage] = useState<string | undefined>(""); const [editedMessage, setEditedMessage] = useState<string | undefined>("");
// 解析思考内容 // parse think content
const parseThinkContent = (content: string) => { const parseThinkContent = (content: string) => {
if (message.role !== "assistant") return null; if (message.role !== "assistant") return null;

View File

@ -164,6 +164,7 @@
"remove": "删除消息", "remove": "删除消息",
"restart": "重新回答", "restart": "重新回答",
"copy-area": "复制选中区域", "copy-area": "复制选中区域",
"thinking-process": "思考过程",
"saving-image-prompt": "图片生成中", "saving-image-prompt": "图片生成中",
"saving-image-prompt-desc": "正在生成图片中,请稍等...", "saving-image-prompt-desc": "正在生成图片中,请稍等...",
"saving-image-failed": "图片生成失败", "saving-image-failed": "图片生成失败",

View File

@ -117,7 +117,8 @@
"title": "Title", "title": "Title",
"time": "Time", "time": "Time",
"message": "Message" "message": "Message"
} },
"thinking-process": "Process of thinking"
}, },
"quota-description": "spending quota for the message", "quota-description": "spending quota for the message",
"buy": { "buy": {

View File

@ -117,7 +117,8 @@
"title": "タイトル", "title": "タイトル",
"time": "期日", "time": "期日",
"message": "メッセージ" "message": "メッセージ"
} },
"thinking-process": "思考プロセス"
}, },
"quota-description": "メッセージのクレジット使用額", "quota-description": "メッセージのクレジット使用額",
"buy": { "buy": {

View File

@ -117,7 +117,8 @@
"title": "заглавие", "title": "заглавие",
"time": "Время", "time": "Время",
"message": "Сообщения" "message": "Сообщения"
} },
"thinking-process": "Процесс мышления"
}, },
"quota-description": "квота расходов на сообщение", "quota-description": "квота расходов на сообщение",
"buy": { "buy": {

View File

@ -174,7 +174,8 @@
"title": "標題", "title": "標題",
"time": "時間", "time": "時間",
"message": "訊息" "message": "訊息"
} },
"thinking-process": "思考過程"
}, },
"quota-description": "訊息的點數支出", "quota-description": "訊息的點數支出",
"buy": { "buy": {
@ -814,4 +815,4 @@
"add-year": "增加一年", "add-year": "增加一年",
"sub-year": "減少一年" "sub-year": "減少一年"
} }
} }