diff --git a/src/lang/en.ts b/src/lang/en.ts
index 0db9570..31f6a52 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -36,7 +36,7 @@ export default {
wechatLogin: 'Sign in with Wechat',
indexTip: 'A multi-agent canvas for rapid, trend driven design iteration.',
sendCodeError: 'Send code error',
- retrievePassword: 'Retrieve password',
+ retrievePassword: 'Retrieve password'
},
Nuic: {
hiName: 'Hi, {name}. This is Fiphant.',
@@ -51,7 +51,7 @@ export default {
basedIn: 'Based in',
role: 'Role',
allSet: 'All set!',
- loadingTip: 'We’re customizing your dashboard.',
+ loadingTip: 'We’re customizing your dashboard.'
},
Home: {
creditsNum: 'Credits: {num}',
@@ -81,9 +81,9 @@ export default {
userAgreement: 'User Agreement',
privacyPolicy: 'Privacy Policy',
view: 'View',
- remainingNum: 'Remaining number of times to upload profile picture:',
+ remainingNum: 'Remaining number of times to upload profile picture:'
},
- Country:{
+ Country: {
unitedStates: 'United States',
singapore: 'Singapore',
australia: 'Australia',
@@ -93,17 +93,18 @@ export default {
france: 'France',
japan: 'Japan',
canada: 'Canada',
- germany: 'Germany',
+ germany: 'Germany'
},
Role: {
designer: 'Designer',
student: 'Student',
teacher: 'Teacher',
parent: 'Parent',
- other: 'Other',
+ other: 'Other'
},
Input: {
- placeholder: 'Describe the design you want to create... e.g. Modern wooden chair, Bauhaus style',
+ placeholder:
+ 'Describe the design you want to create... e.g. Modern wooden chair, Bauhaus style',
selectPlaceholder: 'Please select',
typePlaceholder: 'Type',
areaPlaceholder: 'Region',
@@ -146,11 +147,12 @@ export default {
france: 'France',
japan: 'Japan',
canada: 'Canada',
- germany: 'Germany',
+ germany: 'Germany'
},
agent: {
copySuccess: 'Text copied to clipboard',
- copyFaild: 'Copy failed. Your browser may be restricting clipboard access. Please try copying manually.',
+ copyFaild:
+ 'Copy failed. Your browser may be restricting clipboard access. Please try copying manually.',
Download: 'Download',
deleteSuccess: 'Successfully deleted',
thinking: 'Thinking...',
@@ -158,6 +160,8 @@ export default {
quote: 'Quote',
delete: 'Delete',
edit: 'Edit',
+ generatingReport:
+ 'We are generating your report. This may take a few minutes, but you can continue with other tasks while it’s being generated.'
},
// Version Tree
@@ -172,13 +176,13 @@ export default {
restore: 'Restore',
newChat: 'New Chat',
delete: 'Delete',
- deleteChat:'Delete chat?',
- deleteHint:'Once deleted, you won’t be able to view this conversation again.',
- restoreChat:'Restore chat?',
- restoreHint:'Once deleted, you won’t be able to view this conversation again.',
+ deleteChat: 'Delete chat?',
+ deleteHint: 'Once deleted, you won’t be able to view this conversation again.',
+ restoreChat: 'Restore chat?',
+ restoreHint: 'Once deleted, you won’t be able to view this conversation again.',
Cancel: 'Cancel',
Confirm: 'Confirm',
- export: 'Export',
+ export: 'Export'
},
flowCanvas: {
deleteCardConfirm: 'Are you sure you want to delete this function card?',
@@ -187,14 +191,14 @@ export default {
confirmLeave: 'Are you sure you want to leave? You may have unsaved changes.',
cannotFindSuperiorImage: 'Cannot find the superior image',
deleteSubordinateCard: 'After deletion, all the function cards will also be deleted.',
- initialNodeProhibited: 'Initial node is prohibited from being deleted.',
+ initialNodeProhibited: 'Initial node is prohibited from being deleted.'
},
assistant: {
- inputPlaceholder: 'Ask anything',
+ inputPlaceholder: 'Ask anything'
},
//3d面板
threeModel: {
loading: 'Loading',
- download: 'Download',
+ download: 'Download'
}
}
diff --git a/src/lang/zh-cn.ts b/src/lang/zh-cn.ts
index 44e444c..e7e33e4 100644
--- a/src/lang/zh-cn.ts
+++ b/src/lang/zh-cn.ts
@@ -82,7 +82,7 @@ export default {
userAgreement: '用户协议',
privacyPolicy: '隐私政策',
view: '查看',
- remainingNum: '剩余上传头像次数:',
+ remainingNum: '剩余上传头像次数:'
},
Country: {
unitedStates: '美国',
@@ -148,11 +148,12 @@ export default {
'复制失败。您的浏览器可能限制了剪贴板访问,请允许浏览器访问剪贴板或尝试手动复制。',
Download: '下载',
deleteSuccess: '删除成功',
- thinking:'已思考',
+ thinking: '已思考',
thinkComplete: '思考完成。',
quote: '引用',
delete: '删除',
edit: '编辑',
+ generatingReport:'正在为您生成报告,可能需要几分钟时间,生成期间你可以继续进行其他任务'
},
// Version Tree
@@ -173,7 +174,7 @@ export default {
restoreHint: '恢复后将显示该对话。',
Cancel: '取消',
Confirm: '确认',
- export: '导出',
+ export: '导出'
},
//generateSketch
generateSketch: {
@@ -187,7 +188,7 @@ export default {
cancel: '取消',
confirmLeave: '您可能有未保存的更改,确定要离开吗?',
cannotFindSuperiorImage: '找不到上级图片',
- initialNodeProhibited: 'Initial node is prohibited from being deleted.',
+ initialNodeProhibited: 'Initial node is prohibited from being deleted.'
},
assistant: {
inputPlaceholder: '请输入'
diff --git a/src/views/home/agent/components/Agent.vue b/src/views/home/agent/components/Agent.vue
index 8c5fedb..c248b5f 100644
--- a/src/views/home/agent/components/Agent.vue
+++ b/src/views/home/agent/components/Agent.vue
@@ -28,6 +28,9 @@
import type { AgentParamsType } from '@/api/agent'
import { useUserInfoStore, useProjectStore, useAgentStore } from '@/stores'
import MyEvent from '@/utils/myEvent'
+ import { useI18n } from 'vue-i18n'
+
+ const { t } = useI18n()
const userStore = useUserInfoStore()
const agentStore = useAgentStore()
@@ -267,6 +270,7 @@
hasReportEvent = true
// contentBody += `