mirror of
https://github.com/coaidev/coai.git
synced 2025-05-19 13:00:14 +09:00
feat: thinking process text i18n
This commit is contained in:
parent
24ffd86f77
commit
1998b42643
@ -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;
|
||||||
|
|
||||||
|
@ -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": "图片生成失败",
|
||||||
|
@ -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": {
|
||||||
|
@ -117,7 +117,8 @@
|
|||||||
"title": "タイトル",
|
"title": "タイトル",
|
||||||
"time": "期日",
|
"time": "期日",
|
||||||
"message": "メッセージ"
|
"message": "メッセージ"
|
||||||
}
|
},
|
||||||
|
"thinking-process": "思考プロセス"
|
||||||
},
|
},
|
||||||
"quota-description": "メッセージのクレジット使用額",
|
"quota-description": "メッセージのクレジット使用額",
|
||||||
"buy": {
|
"buy": {
|
||||||
|
@ -117,7 +117,8 @@
|
|||||||
"title": "заглавие",
|
"title": "заглавие",
|
||||||
"time": "Время",
|
"time": "Время",
|
||||||
"message": "Сообщения"
|
"message": "Сообщения"
|
||||||
}
|
},
|
||||||
|
"thinking-process": "Процесс мышления"
|
||||||
},
|
},
|
||||||
"quota-description": "квота расходов на сообщение",
|
"quota-description": "квота расходов на сообщение",
|
||||||
"buy": {
|
"buy": {
|
||||||
|
@ -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": "減少一年"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user