feat: init

This commit is contained in:
Joel
2023-04-14 20:35:08 +08:00
parent 8acd8f6fbd
commit 97d3a6277d
77 changed files with 5299 additions and 0 deletions

33
i18n/lang/app.en.ts Normal file
View File

@ -0,0 +1,33 @@
const translation = {
common: {
welcome: "Welcome to use",
appUnavailable: "App is unavailable",
appUnkonwError: "App is unavailable"
},
chat: {
newChat: "New chat",
newChatDefaultName: "New conversation",
openingStatementTitle: "Opening statement",
powerBy: "Powered by",
prompt: "Prompt",
privatePromptConfigTitle: "Conversation settings",
publicPromptConfigTitle: "Initial Prompt",
configStatusDes: "Before start, you can modify conversation settings",
configDisabled:
"Previous session settings have been used for this session.",
startChat: "Start Chat",
privacyPolicyLeft:
"Please read the ",
privacyPolicyMiddle:
"privacy policy",
privacyPolicyRight:
" provided by the app developer.",
},
errorMessage: {
valueOfVarRequired: "Variables value can not be empty",
waitForResponse:
"Please wait for the response to the previous message to complete.",
},
};
export default translation;

28
i18n/lang/app.zh.ts Normal file
View File

@ -0,0 +1,28 @@
const translation = {
common: {
welcome: "欢迎使用",
appUnavailable: "应用不可用",
appUnkonwError: "应用不可用",
},
chat: {
newChat: "新对话",
newChatDefaultName: "新的对话",
openingStatementTitle: "对话开场白",
powerBy: "Powered by",
prompt: "提示词",
privatePromptConfigTitle: "对话设置",
publicPromptConfigTitle: "对话前提示词",
configStatusDes: "开始前,您可以修改对话设置",
configDisabled: "此次会话已使用上次会话表单",
startChat: "开始对话",
privacyPolicyLeft: "请阅读由该应用开发者提供的",
privacyPolicyMiddle: "隐私政策",
privacyPolicyRight: "。",
},
errorMessage: {
valueOfVarRequired: "变量值必填",
waitForResponse: "请等待上条信息响应完成",
},
};
export default translation;

22
i18n/lang/common.en.ts Normal file
View File

@ -0,0 +1,22 @@
const translation = {
api: {
success: 'Success',
saved: 'Saved',
create: 'Created',
},
operation: {
confirm: 'Confirm',
cancel: 'Cancel',
clear: 'Clear',
save: 'Save',
edit: 'Edit',
refresh: 'Restart',
search: 'Search',
send: 'Send',
lineBreak: 'Line break',
like: 'like',
dislike: 'dislike',
}
}
export default translation

22
i18n/lang/common.zh.ts Normal file
View File

@ -0,0 +1,22 @@
const translation = {
api: {
success: '成功',
saved: '已保存',
create: '已创建',
},
operation: {
confirm: '确认',
cancel: '取消',
clear: '清空',
save: '保存',
edit: '编辑',
refresh: '重新开始',
search: '搜索',
send: '发送',
lineBreak: '换行',
like: '赞同',
dislike: '反对',
}
}
export default translation