diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index ff313e566720f0d436161d714e6438a70981ad09..6bb26592ff2ec90f4170c719f6d7831020e9da59 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -105,7 +105,12 @@ export default { failed: 'Failed', inputContent:"Input content", outputContent:"Output content", - + link: 'Related links', + addLink: 'Add link', + addFiveLinks: 'Up to 5 links can be added', + optional: 'Optional', + searchUser: 'Search user', + selected: 'Selected', }, main: { describe1: "Hi! I'm", @@ -120,6 +125,8 @@ export default { openEuler_use_cases: 'AI容器栈智能助手', openEuler_use_cases_describe: 'AI容器栈', question: 'Recommendation qustions', + addQuestion: 'Add question', + addFiveQuestions: 'Up to 5 questions can be added', smart_shell_describe: 'Experience the future of OSs with our smart shell! Use natural language to diagnose and optimize your system.', try_app: 'Enter the App Center', @@ -130,6 +137,7 @@ export default { 'Ask me anything about openEuler. Press Shift+Enter to start a new line.', you_might_want_to_know: 'You might want to know:', close: 'Close', + confirm: 'Confirm', email1: 'Email:', email2: 'contact@openeuler.io', opinions: @@ -302,6 +310,9 @@ export default { witChainD: 'WitChainD', witChainD_id: 'id', describe_the_witChainD: 'Please enter witChainD id', + find_witChainD: 'Please enter witChainD name/id', + knowledge: 'Knowledge', + fiveKnowledge: 'You can select up to 5 knowledge bases', }, flow: { flow_start: 'Workflow in progress', diff --git a/src/i18n/lang/zh-cn.ts b/src/i18n/lang/zh-cn.ts index 585997cc42b22d0bcc1734f8575366e9b0f7a886..5268978116cc044ea84df063eb4117d0da74ca52 100644 --- a/src/i18n/lang/zh-cn.ts +++ b/src/i18n/lang/zh-cn.ts @@ -106,6 +106,12 @@ export default { failed: '失败', inputContent:"输入内容", outputContent:"输出内容", + link: '相关链接', + addLink: '添加链接', + addFiveLinks: '最多添加5个链接', + optional: '可选', + searchUser: '搜索用户', + selected: '已选', }, main: { describe1: '你好,我是', @@ -120,6 +126,8 @@ export default { openEuler_use_cases: 'AI容器栈智能助手', openEuler_use_cases_describe: 'AI容器栈', question: '推荐问题', + addQuestion: '添加问题', + addFiveQuestions: '最多添加5个问题', smart_shell_describe: '欢迎探索首款自然语言交互的智能操作系统:一句话,即享智能诊断与优化', try_app: '进入应用中心', @@ -129,6 +137,7 @@ export default { ask_me_anything: '在此输入您想了解的内容,输入Shift+Enter换行', you_might_want_to_know: '你可能想问', close: '关闭', + confirm: '确定', email1: '联系邮箱', email2: 'contact@openeuler.io', opinions: '所有内容均由人工智能输出,仅供参考,不代表我们的态度和观点', @@ -292,6 +301,8 @@ export default { witChainD: '资产库配置', witChainD_id: '资产库id', describe_the_witChainD: '请输入', + find_witChainD: '请输入知识库名称/ID', + fiveKnowledge: '最多只能选择5个知识库', }, flow: { flow_start: '工作流进行中', diff --git a/src/views/createapp/components/appConfig.vue b/src/views/createapp/components/appConfig.vue index 405fe9282bcbc7be2dc1e33f055d4f675fcd900e..d0091f56a277c82e6c6a5addba20767ff315253e 100644 --- a/src/views/createapp/components/appConfig.vue +++ b/src/views/createapp/components/appConfig.vue @@ -346,7 +346,7 @@ defineExpose({ {{ $t('semantic.interface_upload')}} - + - + - +
- 添加链接 + {{ $t('app.addLink') }} - 最多添加5个链接 + {{ $t('app.addFiveLinks') }}
@@ -405,9 +405,9 @@ defineExpose({ @click="addRecommond" :disabled="createAppForm.recommendedQuestions.length > 2" > - 添加问题 + {{ $t('main.addQuestion') }} - 最多添加3个问题 + {{ $t('main.addFiveQuestions') }}
- +
- +
-
可选
+
{{ $t('app.optional') }}
{{ curPersonList.length }}
-
已选
+
{{ $t('app.selected')}}
{{ createAppForm.permission.authorizedUsers.length }}