소스 검색

提交相关翻译文件

Lijy 10 달 전
부모
커밋
2706e0f915

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

@@ -2100,5 +2100,57 @@
   "tiJiaoShiBai": "Submission failed:",
   "tianXieGongShiHeJiFei": "Fill in the total working hours",
   "zanCun": "Temporary storage",
-  "zanCunShiBai": "Temporary storage failed:"
+  "zanCunShiBai": "Temporary storage failed:",
+  "banBenGuoDiQingShengJi": "Version too low, please upgrade",
+  "bangZhuZhongXin": "Help Center",
+  "baoYang": "maintain",
+  "changDuWei_120GeZiFu": "The length is 1-20 characters",
+  "dianJiChaKanCaoZuoShouCe": "Click to view the operation manual",
+  "faSongChengGong": "Sending successful",
+  "faSongYanZhengMa": "Send verification code",
+  "fanHuiShouYe": "Return to homepage",
+  "feiChangBaoQianNiFangWenDeYeMianBuCunZai": "Sorry, the page you visited does not exist!!!",
+  "fen": "branch",
+  "gongChengGuanLiZhuanYeBan": "Engineering Management Professional Edition",
+  "gongShiTongJiJiChuBan": "Basic version of working hour statistics",
+  "gongSiMing": "Company name",
+  "huo": "or",
+  "jiChuBan": "Basic version",
+  "jianZhuGongChengBan": "Construction Engineering Edition",
+  "jingGao": "warning",
+  "liangCiShuRuDeMiMaBuYiZhi": "The passwords entered twice are inconsistent",
+  "miMaChangDuBuNengShaoYu_6Wei": "The password length cannot be less than 6 characters",
+  "miao": "second",
+  "muQianZanWuXiaoXi": "There is currently no news available",
+  "ninHaoNinGouMaiDeBanBenYiDaoQi": "Hello, the version you purchased has expired!",
+  "qiJianBan": "Flagship Edition",
+  "qiYeBanGongQiJianBan": "Enterprise Office Flagship Edition",
+  "qiYeWeiXinSaoMaDengLu": "Scan the QR code to log in to Enterprise WeChat",
+  "qingSheZhiMiMaChangDuBuDiYu_6Wei": "Please set a password with a length of no less than 6 characters",
+  "qingShuRuGongHao": "Please enter the job number",
+  "qingShuRuGongSiMing": "Please enter the company name",
+  "qingShuRuGongSiMingCheng": "Please enter the company name",
+  "qingShuRuYanZhengMa": "Please enter the verification code",
+  "qingYongQiYeWeiXinSaoMaTianJiaKeFu": "Please scan the code on Enterprise WeChat to add customer service",
+  "qingZhongFuShuRuMiMa": "Please re-enter the password",
+  "ruoXuJiXuShiYongQingQianWangQiYeWeiXinYingYongShiChangXuFeiGeiGuiGongSiDaiLaiBuBianJingQingLiangJie": "If you need to continue using it, please go to the enterprise WeChat application market to renew. We apologize for any inconvenience caused to your company. Thank you for your understanding!",
+  "saoMaTianJiaQiYeWeiXinKeFu": "Scan the code to add enterprise WeChat customer service",
+  "sheZhiMiMaChangDuBuDiYu_6Wei": "Set a password with a length of no less than 6 characters",
+  "shenPi": "Approval",
+  "shi": "Time",
+  "shouJiHaoMaGeShiBuZhengQue": "Incorrect phone number format",
+  "wanShanGongHao": "Improve job ID",
+  "wanShanXingMing": "Complete Name",
+  "wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian": "Unauthorized access, please contact the administrator to assign permissions for you",
+  "xiangMuGuanLiZhuanYeBan": "Project Management Professional Edition",
+  "xiuGaiGongSiMingCheng": "Change company name",
+  "xuanZeBanBen": "Select version:",
+  "yanZhengMa": "Verification Code",
+  "yiDaoQi": "Expired",
+  "zhengZaiJinRuXiTong": "Entering the system",
+  "zhongFuMiMa": "Duplicate password",
+  "zhuCe": "register",
+  "zhuCeChengGong": "registered successfully",
+  "zhuanYeBan": "professional edition",
+  "zunJingDeYongHuNinGouMaiDeBanBen": "Dear user! The version you purchased"
 }

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

@@ -2100,5 +2100,57 @@
   "zanCunShiBai": "暂存失败:",
   "tiJiaoShiBai": "提交失败:",
   "fenZuWeiSheZhiShenPiRenQingLianXiGaiXiangMuGuanLiRenYuan": "分组未设置审批人,请联系该项目管理人员",
-  "fenZuWeiSheZhiQingLianXiGaiXiangMuGuanLiRenYuan": "分组未设置,请联系该项目管理人员"
+  "fenZuWeiSheZhiQingLianXiGaiXiangMuGuanLiRenYuan": "分组未设置,请联系该项目管理人员",
+  "feiChangBaoQianNiFangWenDeYeMianBuCunZai": "非常抱歉你访问的页面不存在!!!",
+  "fanHuiShouYe": "返回首页",
+  "ninHaoNinGouMaiDeBanBenYiDaoQi": "您好,您购买的版本已到期!",
+  "qingYongQiYeWeiXinSaoMaTianJiaKeFu": "请用企业微信扫码添加客服",
+  "jiChuBan": "基础版",
+  "zhuanYeBan": "专业版",
+  "qiJianBan": "旗舰版",
+  "jianZhuGongChengBan": "建筑工程版",
+  "zunJingDeYongHuNinGouMaiDeBanBen": "尊敬的用户! 您购买的版本",
+  "ruoXuJiXuShiYongQingQianWangQiYeWeiXinYingYongShiChangXuFeiGeiGuiGongSiDaiLaiBuBianJingQingLiangJie": "若需继续使用请前往企业微信应用市场续费,给贵公司带来不便,敬请谅解!",
+  "yiDaoQi": "已到期",
+  "bangZhuZhongXin": "帮助中心",
+  "saoMaTianJiaQiYeWeiXinKeFu": "扫码添加企业微信客服",
+  "dianJiChaKanCaoZuoShouCe": "点击查看操作手册",
+  "xiuGaiGongSiMingCheng": "修改公司名称",
+  "wanShanGongHao": "完善工号",
+  "wanShanXingMing": "完善姓名",
+  "qingShuRuGongSiMingCheng": "请输入公司名称",
+  "changDuWei_120GeZiFu": "长度为1-20个字符",
+  "qingShuRuGongHao": "请输入工号",
+  "shi": "时",
+  "fen": "分",
+  "miao": "秒",
+  "banBenGuoDiQingShengJi": "版本过低请升级",
+  "huo": "或",
+  "qiYeWeiXinSaoMaDengLu": "企业微信扫码登陆",
+  "zhengZaiJinRuXiTong": "正在进入系统...",
+  "wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian": "无权访问,请联系管理员为您分配权限",
+  "shenPi": "审批",
+  "muQianZanWuXiaoXi": "目前暂无消息",
+  "jingGao": "警告",
+  "baoYang": "保养",
+  "zhuCe": "注册",
+  "gongSiMing": "公司名",
+  "yanZhengMa": "验证码",
+  "faSongYanZhengMa": "发送验证码",
+  "sheZhiMiMaChangDuBuDiYu_6Wei": "设置密码,长度不低于6位",
+  "zhongFuMiMa": "重复密码",
+  "xuanZeBanBen": "选择版本:",
+  "gongShiTongJiJiChuBan": "工时统计基础版",
+  "xiangMuGuanLiZhuanYeBan": "项目管理专业版",
+  "qiYeBanGongQiJianBan": "企业办公旗舰版",
+  "gongChengGuanLiZhuanYeBan": "工程管理专业版",
+  "qingShuRuGongSiMing": "请输入公司名",
+  "qingShuRuYanZhengMa": "请输入验证码",
+  "qingSheZhiMiMaChangDuBuDiYu_6Wei": "请设置密码,长度不低于6位",
+  "qingZhongFuShuRuMiMa": "请重复输入密码",
+  "shouJiHaoMaGeShiBuZhengQue": "手机号码格式不正确",
+  "faSongChengGong": "发送成功",
+  "miMaChangDuBuNengShaoYu_6Wei": "密码长度不能少于6位",
+  "liangCiShuRuDeMiMaBuYiZhi": "两次输入的密码不一致",
+  "zhuCeChengGong": "注册成功"
 }

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/404.vue

@@ -3,8 +3,8 @@
         <div class="page-img">
             <img src="../assets/image/404.png" />
         </div>
-        <p class="page-container"><b>Error</b> 非常抱歉你访问的页面不存在!!!</p>        <div class="page-button">
-            <el-button type="primary" round @click="back" icon="el-icon-s-promotion">返回首页</el-button>
+        <p class="page-container"><b>Error</b> {{ $t('feiChangBaoQianNiFangWenDeYeMianBuCunZai') }}</p>        <div class="page-button">
+            <el-button type="primary" round @click="back" icon="el-icon-s-promotion">{{ $t('fanHuiShouYe') }}</el-button>
         </div>
     </div>
 </template>

+ 6 - 7
fhKeeper/formulahousekeeper/timesheet/src/views/Expire.vue

@@ -3,17 +3,16 @@
         <div class="expire_par">
             <div class="expire_container">
                 <img class="expire_logo" src="../assets/image/login_logo.png" />
-                <p class="expire_title">工时管家</p>
-                <p class="expire_tips">您好,您购买的版本已到期!</p>
+                <p class="expire_title">{{ $t('workingHoursHousekeeper') }}</p>
+                <p class="expire_tips">{{ $t('ninHaoNinGouMaiDeBanBenYiDaoQi') }}</p>
                 <p class="expire_text">
-                    尊敬的用户! 您购买的版本[{{versionList[versionId]}}] 已到期(到期日期{{expDate}})
-                    ,若需继续使用请前往企业微信应用市场续费,给贵公司带来不便,敬请谅解!
+                    {{ $t('zunJingDeYongHuNinGouMaiDeBanBen') }} [{{versionList[versionId]}}] {{ $t('yiDaoQi') }}({{ $t('time.dueDate') }}{{expDate}})
+                    ,{{ $t('ruoXuJiXuShiYongQingQianWangQiYeWeiXinYingYongShiChangXuFeiGeiGuiGongSiDaiLaiBuBianJingQingLiangJie') }} 
                 </p>
                 <!-- <p class="expire_kf">联系客服</p> -->
                 <div class="expire_service">
                     <p style="color: #333">
-                        请用企业微信扫码添加客服
-                    </p>
+                        {{ $t('qingYongQiYeWeiXinSaoMaTianJiaKeFu') }} </p>
                     <img src="../assets/image/qwcode.png" />
                     <p>
                         <span style="color: #333">QQ:</span
@@ -30,7 +29,7 @@ export default {
     data() {
         return {
           versionId: 0,
-          versionList: ['verson','基础版','专业版','旗舰版','建筑工程版'],
+          versionList: ['verson',this.$t('jiChuBan'),this.$t('zhuanYeBan'),this.$t('qiJianBan'),this.$t('jianZhuGongChengBan')],
           expDate: 'date',
         };
     },

+ 9 - 9
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

@@ -17,7 +17,7 @@
                         <el-button type="primary" style="width:100%;" @click.native.prevent="handleSubmit" :loading="logining">{{ $t('login') }}</el-button>
                     </el-form-item>
                     <div class="additional" v-if="wxHrefFlg">
-                        <el-divider content-position="center"></el-divider>
+                        <el-divider content-position="center">{{ $t('huo') }}</el-divider>
                     </div>
                     <div class="externalLanding" v-if="wxHrefFlg">
                         <div class="externalLanding_img" @click="wxworkCli()">
@@ -51,7 +51,7 @@
                             target="_blank">工时管家使用说明_普通员工.docx</a></p> -->
                 
             </el-dialog>
-            <el-dialog title="企业微信扫码登陆" :visible.sync="wxworkFlg" width="500px">
+            <el-dialog :title="$t('qiYeWeiXinSaoMaDengLu')" :visible.sync="wxworkFlg" width="500px">
                 <div>
                     <div id="wxcode"></div>
                 </div>
@@ -59,7 +59,7 @@
         </div>
         <!-- 绑定企业微信的话显示这个 -->
         <div class="qiweix" v-if="bindingqywx">
-            正在进入系统...
+            {{ $t('zhengZaiJinRuXiTong') }} 
         </div>
     </div>
 </template>
@@ -156,7 +156,7 @@
                                 this.$router.push({ path: user.moduleList[0].path })
                             } else {
                                 //没有授权任何模块,需要提示用户
-                                alert('无权访问,请联系管理员为您分配权限');
+                                alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                             }
                         }
                     } else if (href.indexOf('errorMsg=') > 0) {
@@ -194,7 +194,7 @@
                             this.$router.push({ path: user.moduleList[0].path })
                         } else {
                             //没有授权任何模块,需要提示用户
-                            alert('无权访问,请联系管理员为您分配权限');
+                            alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                         }
                     }
                 } else {
@@ -408,7 +408,7 @@
                                     }
                                 } else {
                                     //没有授权任何模块,需要提示用户
-                                    alert('无权访问,请联系管理员为您分配权限');
+                                    alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                                 }
                             } else {
                                 this.$message({
@@ -437,7 +437,7 @@
                                     this.$router.push({ path: user.moduleList[0].path })
                                 }else {
                                     //没有授权任何模块,需要提示用户
-                                    alert('无权访问,请联系管理员为您分配权限');
+                                    alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                                 }
                             } else {
                                 this.$message({
@@ -544,7 +544,7 @@
                                 sessionStorage.setItem('autoRoute',user.moduleList[0].path)
                             } else {
                                 //没有授权任何模块,需要提示用户
-                                alert('无权访问,请联系管理员为您分配权限');
+                                alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                             }
                         }
                     } else {
@@ -576,7 +576,7 @@
                             this.$router.push({ path: user.moduleList[0].path })
                         } else {
                             //没有授权任何模块,需要提示用户
-                            alert('无权访问,请联系管理员为您分配权限');
+                            alert(this.$t('wuQuanFangWenQingLianXiGuanLiYuanWeiNinFenPeiQuanXian'));
                         }
                     } else {
                         this.$message({

+ 23 - 23
fhKeeper/formulahousekeeper/timesheet/src/views/Register.vue

@@ -5,40 +5,40 @@
                 <!-- <div class="login-logo">
                     <img src="../assets/image/login_logo.png" style="width:80px;height:80px;"/>
                 </div> -->
-                <h3 class="title">注册</h3>
+                <h3 class="title">{{ $t('zhuCe') }}</h3>
                 <el-form-item class="login-input" prop="companyName">
-                    <el-input type="text" v-model="ruleForm.companyName" autocomplete="off" placeholder="公司名" clearable prefix-icon="el-icon-s-home"></el-input>
+                    <el-input type="text" v-model="ruleForm.companyName" autocomplete="off" :placeholder="$t('gongSiMing')" clearable prefix-icon="el-icon-s-home"></el-input>
                 </el-form-item>
                 <el-form-item class="login-input" prop="name">
-                    <el-input type="text" v-model="ruleForm.name" autocomplete="off" placeholder="姓名" clearable prefix-icon="el-icon-user-solid"></el-input>
+                    <el-input type="text" v-model="ruleForm.name" autocomplete="off" :placeholder="$t('lable.name')" clearable prefix-icon="el-icon-user-solid"></el-input>
                 </el-form-item>
                 <el-form-item class="login-input" prop="phone">
-                    <el-input type="text" v-model="ruleForm.phone" autocomplete="off" placeholder="手机号" clearable prefix-icon="el-icon-mobile-phone"></el-input>
+                    <el-input type="text" v-model="ruleForm.phone" autocomplete="off" :placeholder="$t('lable.phone')" clearable prefix-icon="el-icon-mobile-phone"></el-input>
                 </el-form-item>
                 <el-form-item class="login-input" prop="vcode">
-                    <el-input type="text" v-model="ruleForm.vcode" autocomplete="off" placeholder="验证码" @keyup.enter.native="sendVcode()" clearable prefix-icon="iconfont firerock-iconyanzhengma">
-                        <el-button slot="append" @click="sendVcode" :disabled="ruleForm.phone=='' || showTimer">发送验证码<span v-if="showTimer">({{countNum}})</span></el-button>
+                    <el-input type="text" v-model="ruleForm.vcode" autocomplete="off" :placeholder="$t('yanZhengMa')" @keyup.enter.native="sendVcode()" clearable prefix-icon="iconfont firerock-iconyanzhengma">
+                        <el-button slot="append" @click="sendVcode" :disabled="ruleForm.phone=='' || showTimer">{{ $t('faSongYanZhengMa') }}<span v-if="showTimer">({{countNum}})</span></el-button>
                     </el-input>
                 </el-form-item>
                 <el-form-item class="login-input" prop="password">
-                    <el-input type="password" v-model="ruleForm.password" autocomplete="off" placeholder="设置密码,长度不低于6位" clearable prefix-icon="iconfont firerock-iconmima">
+                    <el-input type="password" v-model="ruleForm.password" autocomplete="off" :placeholder="$t('sheZhiMiMaChangDuBuDiYu_6Wei')" clearable prefix-icon="iconfont firerock-iconmima">
                     </el-input>
                 </el-form-item>
                 <el-form-item class="login-input" prop="repwd">
-                    <el-input type="password" v-model="ruleForm.repwd" autocomplete="off" placeholder="重复密码" clearable prefix-icon="iconfont firerock-iconmima">
+                    <el-input type="password" v-model="ruleForm.repwd" autocomplete="off" :placeholder="$t('zhongFuMiMa')" clearable prefix-icon="iconfont firerock-iconmima">
                     </el-input>
                 </el-form-item>
                 
                 <el-form-item class="login-input" prop="type" style="text-align:center;">
                     <el-divider ></el-divider>
                     <div style="margin-top:10px;">
-                    <span>选择版本: </span><el-select v-model="ruleForm.type" style="width:250px;">
+                    <span>{{ $t('xuanZeBanBen') }} </span><el-select v-model="ruleForm.type" style="width:250px;">
                         <el-option v-for="item in typeList" :value="item.id" :label="item.name" :key="item.id"></el-option>
                     </el-select>
                     </div>
                 </el-form-item>
                 <div class="login-button" style="width:100%;margin-top:20px;">
-                    <el-button type="primary" style="width:100%;" @click.native.prevent="handleSubmit" :loading="logining">注册</el-button>
+                    <el-button type="primary" style="width:100%;" @click.native.prevent="handleSubmit" :loading="logining">{{ $t('zhuCe') }}</el-button>
                 </div>
             </el-form>
         </div>
@@ -49,8 +49,8 @@
     export default {
         data() {
             return {
-                typeList:[{id:1,name:'工时统计基础版'},
-                {id:2,name:'项目管理专业版'},{id:3,name:'企业办公旗舰版'},{id:4,name:'工程管理专业版'}],
+                typeList:[{id:1,name:this.$t('gongShiTongJiJiChuBan')},
+                {id:2,name:this.$t('xiangMuGuanLiZhuanYeBan')},{id:3,name:this.$t('qiYeBanGongQiJianBan')},{id:4,name:this.$t('gongChengGuanLiZhuanYeBan')}],
                 logining: false,
                 showTimer: false,
                 countNum: 60,
@@ -62,12 +62,12 @@
                     type:2,
                 },
                 rules: {
-                    companyName: [{ required: true, message: '请输入公司名', trigger: 'blur' },],
-                    name: [{ required: true, message: '请输入姓名', trigger: 'blur' },],
-                    phone: [{ required: true, message: '请输入手机号', trigger: 'blur' },],
-                    vcode: [{ required: true, message: '请输入验证码', trigger: 'blur' },],
-                    password: [{ required: true, message: '请设置密码,长度不低于6位', trigger: 'blur' },],
-                    repwd: [{ required: true, message: '请重复输入密码', trigger: 'blur' },]
+                    companyName: [{ required: true, message: this.$t('qingShuRuGongSiMing'), trigger: 'blur' },],
+                    name: [{ required: true, message: this.$t('defaultText.PleaseEnterYourName'), trigger: 'blur' },],
+                    phone: [{ required: true, message: this.$t('defaultText.PleaseEnterYourPhone'), trigger: 'blur' },],
+                    vcode: [{ required: true, message: this.$t('qingShuRuYanZhengMa'), trigger: 'blur' },],
+                    password: [{ required: true, message: this.$t('qingSheZhiMiMaChangDuBuDiYu_6Wei'), trigger: 'blur' },],
+                    repwd: [{ required: true, message: this.$t('qingZhongFuShuRuMiMa'), trigger: 'blur' },]
                 },
             };
         },
@@ -87,7 +87,7 @@
             sendVcode() {
                 if (this.ruleForm.phone.length != 11) {
                     this.$message({
-                                    message: '手机号码格式不正确',
+                                    message: this.$t('shouJiHaoMaGeShiBuZhengQue'),
                                     type: 'error'
                                 });
                 } else {
@@ -95,7 +95,7 @@
                             this.logining = false;
                             if (res.code == "ok") {
                                 this.$message({
-                                    message: '发送成功',
+                                    message: this.$t('faSongChengGong'),
                                     type: 'success'
                                 });
                                 this.showTimer = true;
@@ -125,7 +125,7 @@
                     if (valid) {
                         if (this.ruleForm.password.length < 6) {
                             this.$message({
-                                    message: '密码长度不能少于6位',
+                                    message: this.$t('miMaChangDuBuNengShaoYu_6Wei'),
                                     type: 'error'
                                 });
                             return;
@@ -133,7 +133,7 @@
                         //检查两次密码是否一致
                         if (this.ruleForm.password != this.ruleForm.repwd) {
                             this.$message({
-                                    message: '两次输入的密码不一致',
+                                    message: this.$t('liangCiShuRuDeMiMaBuYiZhi'),
                                     type: 'error'
                                 });
                             return;
@@ -151,7 +151,7 @@
                             this.logining = false;
                             if (res.code == "ok") {
                                 this.$message({
-                                    message: '注册成功',
+                                    message: this.$t('zhuCeChengGong'),
                                     type: 'success'
                                 });
                                 this.$router.push({ path: '/login' });

+ 7 - 7
fhKeeper/formulahousekeeper/timesheet/src/views/message.vue

@@ -4,7 +4,7 @@
     <el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
       <el-form :inline="true">
         <el-col :span="2">
-          <el-form-item>消息中心</el-form-item>
+          <el-form-item>{{ $t('other.messageCenter') }}</el-form-item>
         </el-col>
       </el-form>
     </el-col>
@@ -12,9 +12,9 @@
     <!--选项卡-->
     <el-col :span="24">
       <el-tabs v-model="activePage" @tab-click="handleClick" type="card">
-        <el-tab-pane name="0" label="审批">
+        <el-tab-pane name="0" :label="$t('shenPi')">
           <div :style="heightString">
-            <span v-if="messages[0].length == 0">目前暂无消息</span>
+            <span v-if="messages[0].length == 0">{{ $t('muQianZanWuXiaoXi') }}</span>
             <div
               class="message-div"
               v-for="item,index in messages[0]"
@@ -42,9 +42,9 @@
             ></el-pagination>
           </el-col>
         </el-tab-pane>
-        <el-tab-pane name="1" label="警告">
+        <el-tab-pane name="1" :label="$t('jingGao')">
           <div :style="heightString">
-            <span v-if="messages[1].length == 0">目前暂无消息</span>
+            <span v-if="messages[1].length == 0">{{ $t('muQianZanWuXiaoXi') }}</span>
             <div
               class="message-div"
               v-for="item,index in messages[1]"
@@ -72,9 +72,9 @@
             ></el-pagination>
           </el-col>
         </el-tab-pane>
-        <el-tab-pane name="2" label="保养">
+        <el-tab-pane name="2" :label="$t('baoYang')">
           <div :style="heightString">
-            <span v-if="messages[2].length == 0">目前暂无消息</span>
+            <span v-if="messages[2].length == 0">{{ $t('muQianZanWuXiaoXi') }}</span>
             <div
               class="message-div"
               v-for="item,index in messages[2]"