feat: conversation app support pin and delete conversation (#467)
This commit is contained in:
parent
accc5faae3
commit
ec261aea54
10 changed files with 374 additions and 147 deletions
|
|
@ -1,45 +1,51 @@
|
|||
const translation = {
|
||||
common: {
|
||||
welcome: "Welcome to use",
|
||||
appUnavailable: "App is unavailable",
|
||||
appUnkonwError: "App is unavailable"
|
||||
welcome: 'Welcome to use',
|
||||
appUnavailable: 'App is unavailable',
|
||||
appUnkonwError: 'App is unavailable',
|
||||
},
|
||||
chat: {
|
||||
newChat: "New chat",
|
||||
newChatDefaultName: "New conversation",
|
||||
powerBy: "Powered by",
|
||||
prompt: "Prompt",
|
||||
privatePromptConfigTitle: "Conversation settings",
|
||||
publicPromptConfigTitle: "Initial Prompt",
|
||||
configStatusDes: "Before start, you can modify conversation settings",
|
||||
newChat: 'New chat',
|
||||
pinnedTitle: 'Pinned',
|
||||
unpinnedTitle: 'Chats',
|
||||
newChatDefaultName: 'New conversation',
|
||||
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",
|
||||
'Previous session settings have been used for this session.',
|
||||
startChat: 'Start Chat',
|
||||
privacyPolicyLeft:
|
||||
"Please read the ",
|
||||
'Please read the ',
|
||||
privacyPolicyMiddle:
|
||||
"privacy policy",
|
||||
'privacy policy',
|
||||
privacyPolicyRight:
|
||||
" provided by the app developer.",
|
||||
' provided by the app developer.',
|
||||
deleteConversation: {
|
||||
title: 'Delete conversation',
|
||||
content: 'Are you sure you want to delete this conversation?',
|
||||
},
|
||||
},
|
||||
generation: {
|
||||
tabs: {
|
||||
create: "Create",
|
||||
saved: "Saved",
|
||||
create: 'Create',
|
||||
saved: 'Saved',
|
||||
},
|
||||
savedNoData: {
|
||||
title: "You haven't saved a result yet!",
|
||||
title: 'You haven\'t saved a result yet!',
|
||||
description: 'Start generating content, and find your saved results here.',
|
||||
startCreateContent: 'Start create content'
|
||||
startCreateContent: 'Start create content',
|
||||
},
|
||||
title: "AI Completion",
|
||||
queryTitle: "Query content",
|
||||
queryPlaceholder: "Write your query content...",
|
||||
run: "RUN",
|
||||
copy: "Copy",
|
||||
resultTitle: "AI Completion",
|
||||
noData: "AI will give you what you want here.",
|
||||
title: 'AI Completion',
|
||||
queryTitle: 'Query content',
|
||||
queryPlaceholder: 'Write your query content...',
|
||||
run: 'RUN',
|
||||
copy: 'Copy',
|
||||
resultTitle: 'AI Completion',
|
||||
noData: 'AI will give you what you want here.',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default translation;
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -1,41 +1,47 @@
|
|||
const translation = {
|
||||
common: {
|
||||
welcome: "欢迎使用",
|
||||
appUnavailable: "应用不可用",
|
||||
appUnkonwError: "应用不可用",
|
||||
welcome: '欢迎使用',
|
||||
appUnavailable: '应用不可用',
|
||||
appUnkonwError: '应用不可用',
|
||||
},
|
||||
chat: {
|
||||
newChat: "新对话",
|
||||
newChatDefaultName: "新的对话",
|
||||
powerBy: "Powered by",
|
||||
prompt: "提示词",
|
||||
privatePromptConfigTitle: "对话设置",
|
||||
publicPromptConfigTitle: "对话前提示词",
|
||||
configStatusDes: "开始前,您可以修改对话设置",
|
||||
configDisabled: "此次会话已使用上次会话表单",
|
||||
startChat: "开始对话",
|
||||
privacyPolicyLeft: "请阅读由该应用开发者提供的",
|
||||
privacyPolicyMiddle: "隐私政策",
|
||||
privacyPolicyRight: "。",
|
||||
newChat: '新对话',
|
||||
pinnedTitle: '已置顶',
|
||||
unpinnedTitle: '对话列表',
|
||||
newChatDefaultName: '新的对话',
|
||||
powerBy: 'Powered by',
|
||||
prompt: '提示词',
|
||||
privatePromptConfigTitle: '对话设置',
|
||||
publicPromptConfigTitle: '对话前提示词',
|
||||
configStatusDes: '开始前,您可以修改对话设置',
|
||||
configDisabled: '此次会话已使用上次会话表单',
|
||||
startChat: '开始对话',
|
||||
privacyPolicyLeft: '请阅读由该应用开发者提供的',
|
||||
privacyPolicyMiddle: '隐私政策',
|
||||
privacyPolicyRight: '。',
|
||||
deleteConversation: {
|
||||
title: '删除对话',
|
||||
content: '您确定要删除此对话吗?',
|
||||
},
|
||||
},
|
||||
generation: {
|
||||
tabs: {
|
||||
create: "创建",
|
||||
saved: "已保存",
|
||||
create: '创建',
|
||||
saved: '已保存',
|
||||
},
|
||||
savedNoData: {
|
||||
title: "您还没有保存结果!",
|
||||
title: '您还没有保存结果!',
|
||||
description: '开始生成内容,您可以在这里找到保存的结果。',
|
||||
startCreateContent: '开始生成内容'
|
||||
startCreateContent: '开始生成内容',
|
||||
},
|
||||
title: "AI 智能书写",
|
||||
queryTitle: "查询内容",
|
||||
queryPlaceholder: "请输入文本内容",
|
||||
run: "运行",
|
||||
copy: "拷贝",
|
||||
resultTitle: "AI 书写",
|
||||
noData: "AI 会在这里给你惊喜。",
|
||||
title: 'AI 智能书写',
|
||||
queryTitle: '查询内容',
|
||||
queryPlaceholder: '请输入文本内容',
|
||||
run: '运行',
|
||||
copy: '拷贝',
|
||||
resultTitle: 'AI 书写',
|
||||
noData: 'AI 会在这里给你惊喜。',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default translation;
|
||||
export default translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue