Browse Source

翻译补充

cxmo 10 months ago
parent
commit
f1b79cbc76

+ 4 - 2
src/lang/modules/SemanticsManage/ASRpage.js

@@ -14,7 +14,8 @@ export const ASRPageEn = {
     file_name:"File Name",
     file_size:"Size",
     audio_video:"Audio/Video",
-    start_upload_hint:"Click/Drag and Drop Local Audio/Video Files",
+    start_upload_hint:"Click/Drag and Drop",
+    start_upload_hint2:"Local Audio/Video Files",
     uploading_hint:"Uploading, Please Do Not Close the Popup Window",
     continue_adding:"Continue Adding",
     file_check_hint:"The same file name already exists!",
@@ -130,7 +131,8 @@ export const ASRPageZh = {
      * 取消,确认/确定 Dialog.confirm_btn,cancel_btn
      * 保存confirm_save_btn
      */
-    start_upload_hint:"点击/拖拽本地音视频文件",
+    start_upload_hint:"点击/拖拽",
+    start_upload_hint2:"本地音视频文件",
     uploading_hint:"上传中,请勿关闭弹窗",
     continue_adding:"继续添加",
     file_check_hint:"相同文件名称已存在!",

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

@@ -502,7 +502,7 @@ export default {
             let {file} = e
             let downloadHint = this.$message({
                 type:"info",
-                message:'上传中,请稍后······',
+                message:/* '上传中,请稍后······' */this.$t('ReportManage.CloudPage.upload_msg'),
                 duration:0,
                 iconClass:'el-icon-loading'
             })

+ 16 - 14
src/views/semantics_manage/asr/components/mediaUpload.vue

@@ -14,47 +14,49 @@
 				label-position="left"
 				hide-required-asterisk
 				:model="formData">
-          <el-form-item label="所属目录" :rules="{required:true,message:'所属目录必填',trigger:'change'}" 
-          prop="catalogue" label-width="76px">
-            <el-cascader v-model="formData.catalogue" placeholder="请选择所属目录" clearable id="media-upload-cascader"
+                <!-- 所属目录 -->
+            <el-form-item :label="$t('SemanticsManage.ASRpage.belonging_directory')" :rules="{required:true,message:$t('SemanticsManage.ASRpage.belonging_directory_required'),trigger:'change'}" 
+            prop="catalogue" label-width="76px">
+            <el-cascader v-model="formData.catalogue" :placeholder="$t('SemanticsManage.ASRpage.belonging_directory_placeholder')" clearable id="media-upload-cascader"
               :options="articleCatalogue" :props="{value:'MenuId',label:'MenuName',children:'Children',checkStrictly:true,emitPath:false}"
               style="width: 604px;"></el-cascader>
           </el-form-item>
 				</el-form>
         <div class="file-upload-zone">
           <div class="file-upload-title">
-            <span>文件数量:{{ fileList.length }} / {{ this.fileLimit }}</span>
+            <!-- 文件数量 -->
+            <span>{{$t('SemanticsManage.ASRpage.file_count')}} :{{ fileList.length }} / {{ this.fileLimit }}</span>
             <span v-if="fileList.length>0" class="file-readdition" 
-              :class="{'disable-readdition':!( (this.fileList.length+this.uploadingFileNames.length) <fileLimit)}" @click="uploadClick">继续添加</span>
+              :class="{'disable-readdition':!( (this.fileList.length+this.uploadingFileNames.length) <fileLimit)}" @click="uploadClick">{{ $t('SemanticsManage.ASRpage.continue_adding') }}</span>
           </div>
           <div class="file-upload-main" id="drop-upload-zone" @dragover="uploadDragover" @drop="uploadDrop">
             <el-table :data="fileList" id="file-list-table">
-              <el-table-column label="文件名" prop="name" show-overflow-tooltip >
+              <el-table-column :label="$t('SemanticsManage.ASRpage.file_name')" prop="name" show-overflow-tooltip >
                 <template slot-scope="{row}">
                   <span class="table-span">{{ row.name }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="大小" prop="sizeText" width="120">
+              <el-table-column :label="$t('SemanticsManage.ASRpage.file_size')" prop="sizeText" width="120">
                 <template slot-scope="{row}" >
                   <span class="table-span">{{ row.sizeText }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="音/视频" prop="type" width="100">
+              <el-table-column :label="$t('SemanticsManage.ASRpage.audio_video')" prop="type" width="100">
                 <template slot-scope="{row}">
                   <span class="table-span">{{ row.type }}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="操作" prop="operation" width="60">
+              <el-table-column :label="$t('Table.column_operations')" prop="operation" width="60">
                 <template slot-scope="{row,$index}">
-                  <span class="table-button" @click="deleteFile($index)">删除</span>
+                  <span class="table-button" @click="deleteFile($index)">{{ $t('Table.delete_btn') }}</span>
                 </template>
               </el-table-column>
                   <div slot="empty" class="no-file-show" @click="uploadClick">
-                    <div class="upload-text"><span style="color:#0052D9 ;">点击/拖拽</span>本地音视频文件</div>
+                    <div class="upload-text"><span style="color:#0052D9 ;">{{ $t('SemanticsManage.ASRpage.start_upload_hint') }}</span>{{ $t('SemanticsManage.ASRpage.start_upload_hint2') }}</div>
                     <div class="upload-message-box">
-                      <div class="upload-message-row">支持音频格式:mp3、wav、m4a、amr、wma、aac、ogg-opus、flac</div>
-                      <div class="upload-message-row">支持视频格式:mp4、flv、3gp</div>
-                      <div class="upload-message-row">单个文件最长5小时、最大1GB,单次支持上传50个</div>
+                      <div class="upload-message-row">{{$t('SemanticsManage.ASRpage.supported_audio_formats')}}:mp3、wav、m4a、amr、wma、aac、ogg-opus、flac</div>
+                      <div class="upload-message-row">{{$t('SemanticsManage.ASRpage.supported_video_formats')}}:mp4、flv、3gp</div>
+                      <div class="upload-message-row">{{$t('SemanticsManage.ASRpage.upload_description')}}</div>
                     </div>
                   </div>
             </el-table>