ソースを参照

提交desktop文件下的index翻译

Lijy 1 年間 前
コミット
29c4778ea8

+ 5 - 1
fhKeeper/formulahousekeeper/timesheet/src/i18n/en.json

@@ -1658,5 +1658,9 @@
   "wenDang": "file",
   "yanFa": "research and development",
   "yingShiYuLe": "Film and entertainment",
-  "yunYing": "operate"
+  "yunYing": "operate",
+  "jinRiZanWuJieTuDianJiChaKanJinQi": "There are currently no screenshots available today. Click to view recent updates",
+  "keHuDuanXiaZai": "Client Download",
+  "suoYouJieTu": "All screenshots",
+  "yuanGongAnZhuangKeHuDuanLingDaoJiKeChaKanGongZuoZhuoMianYuanChengJianGuan": "(Employees can install the client, and leaders can view remote supervision of the work desktop)"
 }

+ 5 - 1
fhKeeper/formulahousekeeper/timesheet/src/i18n/zh.json

@@ -1658,5 +1658,9 @@
   "meiGong": "美工",
   "yunYing": "运营",
   "tingYinLe": "听音乐",
-  "weiZhi": "未知"
+  "weiZhi": "未知",
+  "yuanGongAnZhuangKeHuDuanLingDaoJiKeChaKanGongZuoZhuoMianYuanChengJianGuan": "(员工安装客户端,领导即可查看工作桌面远程监管)",
+  "keHuDuanXiaZai": "客户端下载",
+  "jinRiZanWuJieTuDianJiChaKanJinQi": "今日暂无截图,点击查看近期",
+  "suoYouJieTu": "所有截图"
 }

+ 17 - 17
fhKeeper/formulahousekeeper/timesheet/src/views/desktop/index.vue

@@ -16,12 +16,12 @@
                         @change="getDesktopList"
                         :clearable="false"
                         type="date"
-                        placeholder="选择日期"
+                        :placeholder="this.$t('optiondate')"
                     ></el-date-picker>
                 </el-form-item>
                 <el-form-item style="float:right;">
-                    <span style="color:#aaa;font-size:12px;">(员工安装客户端,领导即可查看工作桌面远程监管)</span>
-                    <el-link type="primary" :underline="false" href="http://gsgj.ttkuaiban.com/download.html" target="_blank">客户端下载</el-link>
+                    <span style="color:#aaa;font-size:12px;">{{ $t('yuanGongAnZhuangKeHuDuanLingDaoJiKeChaKanGongZuoZhuoMianYuanChengJianGuan') }}</span>
+                    <el-link type="primary" :underline="false" href="http://gsgj.ttkuaiban.com/download.html" target="_blank">{{ $t('keHuDuanXiaZai') }}</el-link>
                 </el-form-item>
             </el-form>
         </el-col>
@@ -29,7 +29,7 @@
         <!-- 卡片列表 -->
         <div>
             <el-col :span="24" v-if="desktopList.length == 0" style="padding: 200px 0;text-align:center;cursor:pointer">
-                <el-link :underline="false" type="primary" @click="getHavePic">今日暂无截图,点击查看近期</el-link>
+                <el-link :underline="false" type="primary" @click="getHavePic">{{ $t('jinRiZanWuJieTuDianJiChaKanJinQi') }}</el-link>
             </el-col>
             <el-col :span="6" v-for="(item, index) in desktopList" :key="index" class="one_div">
                 <el-card :body-style="{ padding: '0px' }" shadow="hover" class="one_card">
@@ -41,7 +41,7 @@
                     </el-image>
                     <div :id="'over'+index" class="over">
                     <el-button type="primary" plain @click.native="jumpTo(item.id)">
-                        <i class="fa fa-link"></i> 所有截图
+                        <i class="fa fa-link"></i> {{ $t('suoYouJieTu') }}
                     </el-button>
                     </div>
                 </div>
@@ -149,29 +149,29 @@
             converType(type) {
                 switch (type) {
                     case 0:
-                    return "其他工作";
+                    return this.$t('qiTaGongZuo');
                     case 1:
-                    return "研发";
+                    return this.$t('yanFa');
                     case 2:
-                    return "上网";
+                    return this.$t('shangWang');
                     case 3:
-                    return "文档";
+                    return this.$t('wenDang');
                     case 4:
-                    return "设计";
+                    return this.$t('sheJi');
                     case 5:
-                    return "美工";
+                    return this.$t('meiGong');
                     case 6:
-                    return "运营";
+                    return this.$t('yunYing');
                     case 7:
-                    return "看小说";
+                    return this.$t('kanXiaoShuo');
                     case 8:
-                    return "影视娱乐";
+                    return this.$t('yingShiYuLe');
                     case 9:
-                    return "听音乐";
+                    return this.$t('tingYinLe');
                     case 10:
-                    return "聊天";
+                    return this.$t('liaoTian');
                     default:
-                    return "未知";
+                    return this.$t('weiZhi');
                 }
             }
         },