bding 8 місяців тому
батько
коміт
009271061b

+ 1 - 0
src/lang/modules/ETATables/En.js

@@ -156,5 +156,6 @@ export default {
     no_year_msg: "Unable to select annual indicators",
     ahead_lable: "ahead",
     lagging_lable: "lagging",
+    select_metric: "Please select a metric",
   },
 };

+ 1 - 0
src/lang/modules/ETATables/Zh.js

@@ -168,5 +168,6 @@ export default {
   no_year_msg: "不能选择年度指标",
   ahead_lable: "领先",
   lagging_lable: "滞后",
+  select_metric: "请选择指标",
   },
 };

+ 1 - 1
src/lang/modules/EtaChart/commonLang.js

@@ -209,7 +209,7 @@ export default {
     },
     choose_repalce_msg: {
       zh:'请选择替换指标',
-      en:'This chart category has added node links and cannot be deleted!'
+      en:'Please select a replacement metric'
     },
     copy_noenough_en: {
       zh:'英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?',

+ 3 - 0
src/lang/modules/Slides/commonLang.js

@@ -29,6 +29,8 @@ export const operationsEn = {
   slide_select: "Slide",
   to_select: "To",
   page_select: "Page",
+  delete_msg_selected: "Page {page} has been selected. Are you sure you want to delete it?",
+
 };
 
 /* 中文 */
@@ -58,4 +60,5 @@ export const operationsZh = {
   slide_select: "第",
   to_select: "至",
   page_select: "页",
+  delete_msg_selected: "已选择{page}页,确认删除吗?",
 };

+ 1 - 1
src/views/datasheet_manage/components/insertDateDia.vue

@@ -146,7 +146,7 @@ export default {
     // 保存插入信息
     async saveInsertHandle() {
 
-      if(this.dateChangeSelect===2 && !this.selectEdbInfo.EdbInfoId) return this.$message.warning('请选择指标')
+      if(this.dateChangeSelect===2 && !this.selectEdbInfo.EdbInfoId) return this.$message.warning(/*'请选择指标'*/this.$t('ETableChildren.select_metric'))
       
       let backData = {}
       //插入系统日期

+ 3 - 3
src/views/ppt_manage/mixins/pptEditorMixins.js

@@ -321,11 +321,11 @@ export default{
     //点击复制按钮
     saveCopyPages(type){
       if(this.copyPages.length===0){
-        this.$message.warning(this.$('Slides.msg_olease_hold_select_ppt'))
+        this.$message.warning(this.$t('Slides.msg_olease_hold_select_ppt'))
         return
       }
       if(type==='copy'){
-        this.$message.success(this.$('Slides.msg_copy_ppt_success'))
+        this.$message.success(this.$t('Slides.msg_copy_ppt_success'))
       }else{
         //禁用动画效果
         $('.flip-list-move').css('transition','transform 0s')
@@ -336,7 +336,7 @@ export default{
         if(this.pageList.length>0&&copyPageIds.includes(this.currentItem.id)){
           this.changeCurrentItem(this.pageList[0])
         }
-        this.$message.success(this.$('Slides.msg_cut_ppt_success'))
+        this.$message.success(this.$t('Slides.msg_cut_ppt_success'))
         this.$nextTick(()=>{
           $('.flip-list-move').css('transition','transform 0.5s')
         })

+ 1 - 1
src/views/ppt_manage/newVersion/components/editor/DeletePageDialog.vue

@@ -74,7 +74,7 @@
               <el-checkbox v-for="(page,index) in pageList" :label="index" :key="page.id">{{$i18n.locale == 'zh' ?`第${index+1}页`:` Slide${index+1}`}}&nbsp;&nbsp;{{page.title||'无标题'}}</el-checkbox>
             </el-checkbox-group>
           </div>
-          <p style="margin-top:15px;height:20px;">{{checkedPages.length?`已选择${checkedPages.length}页,确认删除吗?`:``}}</p>
+          <p style="margin-top:15px;height:20px;">{{checkedPages.length? $t('Slides.delete_msg_selected',{page:checkedPages.length}) :``}}</p>
           <div class="btn-box">
             <el-button type="primary" @click="saveHandle" >{{$t('Dialog.confirm_btn')}}</el-button>
             <el-button @click="cancelHandle">{{$t('Dialog.cancel_btn')}}</el-button>