Преглед на файлове

系统遗漏翻译补充

cxmo преди 1 година
родител
ревизия
e057977b6c

+ 10 - 2
src/lang/modules/ToolBox/AIQuestion.js

@@ -12,7 +12,11 @@ export const AIQuestionEn = {
     send_btn:'Send',
     use_intro_title:'Instructions',
     use_intro01:'Maximum 500 Q&A per account per day.',
-    use_intro02:'History Q&A default named with the first question in the dialogue window, can be modified.'
+    use_intro02:'History Q&A default named with the first question in the dialogue window, can be modified.',
+    support_formats:'Supported Formats',
+    max_file_text:'maximum 50MB.',
+    inter_check:'Please enter a question',
+    add_new_window_hint:'Query Window Opened, Enter Query',
 
 };
   
@@ -26,7 +30,11 @@ export const AIQuestionZh = {
     send_btn:'发送',
     use_intro_title:'使用说明',
     use_intro01:'每账号每天最高500次问答。',
-    use_intro02:'历史问答默认用该对话窗口内第一个提问命名,可修改。'
+    use_intro02:'历史问答默认用该对话窗口内第一个提问命名,可修改。',
+    support_formats:'支持格式',
+    max_file_text:'大小不超过50MB',
+    inter_check:'请输入提问',
+    add_new_window_hint:'您已建立对话窗口,请输入提问',
 };
   
 /**

+ 4 - 0
src/lang/modules/systemManage/OutLinkConfig.js

@@ -14,6 +14,8 @@ export const OutLinkConfigEn = {
     del_success_msg:'Delete menu successfully',
     tips_msg01:'Menu name cannot be empty',
     tips_msg02:'URL cannot be empty',
+    add_successful:'Menu Added Successfully',
+    edit_successful:'Menu Edited Successfully',
 };
   
 /* 中文 */
@@ -28,6 +30,8 @@ export const OutLinkConfigZh = {
     del_success_msg:'删除菜单成功',
     tips_msg01:'菜单名称不能为空',
     tips_msg02:'URL不能为空',
+    add_successful:'添加菜单成功',
+    edit_successful:'编辑菜单成功',
 };
   
 /**

+ 3 - 3
src/views/operation_manage/AIQA/AIQA.vue

@@ -71,7 +71,7 @@
                     :disabled="startUploadAudio">
                         <img src="~@/assets/img/icons/ai-upload.png" />
                     </el-upload>
-                    <span>支持格式:PDF、PPTX、DOCX;大小不超过50MB</span>
+                    <span>{{ $t('ToolBox.AIQuestion.support_formats') }}:PDF、PPTX、DOCX;{{ $t('ToolBox.AIQuestion.max_file_text') }}</span>
                 </div>
                 <textarea rows="6" v-model="inputText" :placeholder="$t('ToolBox.AIQuestion.input_placeholder')" @keydown.enter="handleSendMsg"></textarea>
                 <div class="send-btn" @click="handleSendMsg"><img src="~@/assets/img/ai_m/send.png" />{{$t('ToolBox.AIQuestion.send_btn')}}</div>
@@ -229,7 +229,7 @@ export default {
         handleAddNewWindow(){
             //禁止重复新建
             if(this.activeWindowId===0){
-                this.$message.warning("您已建立对话窗口,请输入提问")
+                this.$message.warning(this.$t('ToolBox.AIQuestion.add_new_window_hint'))
                 return
             }
             //将相关值置空
@@ -337,7 +337,7 @@ export default {
             //     return
             // }
             if(this.inputText.length===0){
-                this.$message.warning('请输入提问')
+                this.$message.warning(this.$t('ToolBox.AIQuestion.inter_check'))
                 return
             }
             this.answerLoading=true

+ 5 - 1
src/views/system_manage/outlinkListConfig.vue

@@ -135,7 +135,11 @@ import mPage from '@/components/mPage.vue';
           if(valid){
             outlinkConfigInterence.outlinkSave(this.outlinkForm).then(res=>{
               if(res.Ret == 200){
-                this.$message.success(`${this.dialogTitle}成功`)
+                this.$message.success(
+                    this.outlinkForm.Id
+                    ?/* 编辑 */ this.$t('SystemManage.OutLinkConfig.edit_successful')
+                    :/* 添加 */ this.$t('SystemManage.OutLinkConfig.add_successful')
+                )
                 this.addOutlinkShow=false
                 this.getOutlinkData()
               }