cxmo hai 5 meses
pai
achega
ea90d5ba3b

+ 20 - 0
src/lang/modules/Slides/pptPresent.js

@@ -91,6 +91,16 @@ export const presentEn = {
   table_chart: "Chart",
   is_incomplete_please_edit:'Slide {num} content is incomplete, please re-edit!',
   publishing_loading:'Publishing',
+
+  page_title_style_setting:'Title Style Setting',
+  title_location_settings:'Location Settings',
+  title_location_up_down:'up and down',
+  title_location_left_right:'left and right',
+  title_size_settings:'Size Settings',
+  title_size_width:'width',
+  title_size_height:'height',
+  title_content_settings:'Content Settings',
+  apply_to_the_entire:'Apply to the entire PPT'
 };
 
 /* 中文 */
@@ -182,6 +192,16 @@ export const presentZh = {
   previous_sheet_default: "上一张",
   is_incomplete_please_edit:'第{num}页内容不完整,请重新编辑!',
   publishing_loading:'发布中...',
+
+  page_title_style_setting:'标题编辑模式',
+  title_location_settings:'位置设置',
+  title_location_up_down:'上下',
+  title_location_left_right:'左右',
+  title_size_settings:'大小设置',
+  title_size_width:'宽度',
+  title_size_height:'高度',
+  title_content_settings:'内容设置',
+  apply_to_the_entire:'应用至整个PPT'
 };
 
 /**

+ 15 - 8
src/views/ppt_manage/newVersion/components/editor/TitleEditorTool.vue

@@ -1,29 +1,36 @@
 <template>
     <div class="title-editor-tool-wrap">
         <el-collapse v-model="activeNames" class="tool-list">
-            <el-collapse-item title="位置设置" name="position">
+            <!-- 位置设置 -->
+            <el-collapse-item :title="$t('Slides.title_location_settings')" name="position">
                 <div>
-                    <span class="demonstration">上下(%)</span>
+                    <!-- 上下 -->
+                    <span class="demonstration">{{$t('Slides.title_location_up_down')}}(%)</span>
                     <el-slider v-model="detail.top" :max="12"></el-slider>
                 </div>
                 <div>
-                    <span class="demonstration">左右(%)</span>
+                    <!-- 左右 -->
+                    <span class="demonstration">{{$t('Slides.title_location_left_right')}}(%)</span>
                     <el-slider v-model="detail.left"></el-slider>
                 </div>
                 <!-- <el-button type="text" @click="changePosition">应用至整个PPT</el-button> -->
             </el-collapse-item>
-            <el-collapse-item title="大小设置" name="size">
+            <!-- 大小设置 -->
+            <el-collapse-item :title="$t('Slides.title_size_settings')" name="size">
                 <div>
-                    <span class="demonstration">宽度(%)</span>
+                    <!-- 宽度 -->
+                    <span class="demonstration">{{$t('Slides.title_size_width')}}(%)</span>
                     <el-slider v-model="detail.width" :max="100 - detail.left"></el-slider>
                 </div>
                 <div>
-                    <span class="demonstration">高度(%)</span>
+                    <!-- 高度 -->
+                    <span class="demonstration">{{$t('Slides.title_size_height')}}(%)</span>
                     <el-slider v-model="detail.height" :max="14-detail.top"></el-slider>
                 </div>
-                <el-button type="text" @click="changeSize">应用至整个PPT</el-button>
+                <!-- 应用至整个PPT -->
+                <el-button type="text" @click="changeSize">{{$t('Slides.apply_to_the_entire')}}</el-button>
             </el-collapse-item>
-            <el-collapse-item title="内容设置" name="content">
+            <el-collapse-item :title="$t('Slides.title_content_settings')" name="content">
                 <div class="editor-tool"></div>
                 <div class="editor" id="editorDom">
                     <Editor v-model="content" 

+ 1 - 1
src/views/ppt_manage/newVersion/pptEditor.vue

@@ -246,7 +246,7 @@
             </div>
             <!-- 标题编辑 -->
             <div class="title-edit-box" v-if="isEditTitle">
-                <p>标题编辑模式</p>
+                <p>{{$t('Slides.page_title_style_setting')}}</p>
                 <TitleEditorTool 
                     ref="titleEditor"
                     :currentItem="currentItem"

+ 1 - 1
src/views/ppt_manage/newVersion/pptEnEditor.vue

@@ -247,7 +247,7 @@
             </div>
             <!-- 标题编辑 -->
             <div class="title-edit-box" v-if="isEditTitle">
-                <p>标题编辑模式</p>
+                <p>{{$t('Slides.page_title_style_setting')}}</p>
                 <TitleEditorTool 
                     ref="titleEditor"
                     :currentItem="currentItem"