Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Feat/add proInputArea #255

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
✨ feat: Modify the language translation file
绾歌 committed Jun 20, 2024
commit c35afe499a34edc06876ad208464ca39f5d44f46
6 changes: 4 additions & 2 deletions src/locale/en-US.ts
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ export default {
clearDialogue: 'Clear dialogue',
clearModalTitle:
'You are about to clear the session, and you will not be able to retrieve it after clearing. Do you want to clear the current session?',
connectNetwork: 'Connect to network',
defaultHelloMessage: 'Let us start chatting',
cancel: 'Cancel',
confirm: 'Confirm',
@@ -15,5 +14,8 @@ export default {
edit: 'Edit',
history: 'History',
regenerate: 'Regenerate',
refresh: 'Refresh',
connectNetwork: 'Connect to network',
video: 'Video upload',
audio: 'Audio upload',
image: 'Image upload',
};
7 changes: 5 additions & 2 deletions src/locale/zh-CN.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ export default {
placeholder: '请输入消息...',
backToBottom: '返回底部',
clearCurrentDialogue: '清空当前对话',
connectNetwork: '是否连接网络',
clearDialogue: '清空对话',
clearModalTitle: '你即将要清空会话,清空后将无法找回。是否清空当前会话?',
defaultHelloMessage: '让我们开始对话吧',
cancel: '取消',
@@ -13,5 +13,8 @@ export default {
edit: '编辑',
history: '历史范围',
regenerate: '重新生成',
refresh: '刷新',
connectNetwork: '是否连接网络',
video: '视频上传',
audio: '音频上传',
image: '图片上传',
};
6 changes: 4 additions & 2 deletions src/locale/zh-HK.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ export default {
clearCurrentDialogue: '清除當前對話',
clearDialogue: '清除對話',
clearModalTitle: '您即將清除會話,清除後將無法恢復。您確定要清除當前會話嗎?',
connectNetwork: '是否連接網絡',
defaultHelloMessage: '讓我們開始聊天吧',
cancel: '取消',
confirm: '確認',
@@ -14,5 +13,8 @@ export default {
edit: '編輯',
history: '歷史',
regenerate: '重新生成',
refresh: '刷新',
connectNetwork: '是否連接網絡',
video: '視頻上傳',
audio: '音頻上傳',
image: '圖片上傳',
};
6 changes: 4 additions & 2 deletions src/types/locale.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ export interface LocaleProps {
clearCurrentDialogue: string;
clearDialogue: string;
clearModalTitle: string;
connectNetwork: string;
defaultHelloMessage: string;
cancel: string;
confirm: string;
@@ -14,5 +13,8 @@ export interface LocaleProps {
edit: string;
history: string;
regenerate: string;
refresh: string;
connectNetwork: string;
video: string;
audio: string;
image: string;
}