From 2799036ad5ebc4962a27e881d52e4e6fc146f67e Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Tue, 10 Sep 2024 16:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E9=BD=90=E9=81=97=E7=95=99=E7=BF=BB?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/superId/js/index.js | 22 +++++++++++----------- view/molistar/modules/superId/local/ar.js | 5 +++++ view/molistar/modules/superId/local/en.js | 5 +++++ view/molistar/modules/superId/local/zh.js | 5 +++++ 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/view/molistar/modules/superId/js/index.js b/view/molistar/modules/superId/js/index.js index 535d892..affb464 100644 --- a/view/molistar/modules/superId/js/index.js +++ b/view/molistar/modules/superId/js/index.js @@ -95,16 +95,16 @@ function getConfig() { if (res.data.hasPrettyNum) {// 是否有靓号 $('.my .sid b').text(`${res.data.erbanNo}`); // $('.my .sid b').css('color', '#20DF5F'); - $('.my .text').text(`You can change your SID right now.`); + $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); if (!res.data.applySign) {// 30天内有申请 $('.my .text').hide(); $('.sidBox').hide() clickStatus = false; if (res.data.examimeStatus == 1) {//审核成功 - $('.my .text').text(`You can pick your SID right now.`); + $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); $('.sidBox').show() } else if (res.data.examimeStatus == 2) {//审核失败0 - $('.my .text').text(`You can pick your SID right now.`); + $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); clickStatus = true; } else if (res.data.examimeStatus == 0) {//审核中 @@ -114,9 +114,9 @@ function getConfig() { } } else { // if (res.data.examimeStatus == 1) {//审核成功 - // $('.my .text').text(`You can pick your SID right now.`); + // $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); // } else if (res.data.examimeStatus == 2) {//审核失败0 - // $('.my .text').text(`You can pick your SID right now.`); + // $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); // } // else if (res.data.examimeStatus == 0) {//审核中 // $('.my .sid b').text(`In Review`); @@ -133,16 +133,16 @@ function getConfig() { } else { if (res.data.examimeStatus == 1) {//审核成功 if (!res.data.applySign) {// 30天内有申请 - $('.my .text').text(`Sorry, You cannot change Your SID now`); + $('.my .text').text(`${langReplace(localLang.demoModule.text10)}`); clickStatus = false; } else { - $('.my .text').text(`You can pick your SID right now.`); + $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); } } else if (res.data.examimeStatus == 2) {//审核失败0 - $('.my .text').text(`You can pick your SID right now.`); + $('.my .text').text(`${langReplace(localLang.demoModule.text9)}`); } else if (res.data.examimeStatus == 0) {//审核中 - $('.my .sid b').text(`In Review`); + $('.my .sid b').text(`${langReplace(localLang.demoModule.text11)}`); $('.my .sid b').css('color', '#FF5262'); $('.my .text').text(``); clickStatus = false; @@ -152,9 +152,9 @@ function getConfig() { } } else { // 非20级 - $('.my .sid b').text(`Unavailable`); + $('.my .sid b').text(`${langReplace(localLang.demoModule.text12)}`); $('.my .sid b').css('color', '#FF5262'); - $('.my .text').text(`Sorry, you haven't reached the wealth level 20 to exchange Supe`); + $('.my .text').text(`${langReplace(localLang.demoModule.text13)}`); $('.sidBox').hide(); } diff --git a/view/molistar/modules/superId/local/ar.js b/view/molistar/modules/superId/local/ar.js index 16111d7..cb92201 100644 --- a/view/molistar/modules/superId/local/ar.js +++ b/view/molistar/modules/superId/local/ar.js @@ -13,6 +13,11 @@ langAr = { text6: `استلم هوية SID الخاصة بك`, text7: `يرجى اختيار 1~3 أرقام`, text8: `بحث عن SID`, + text9: `يمكنك تغيير SID الخاص بك الآن.`, + text10: `عذرًا، لا يمكنك تغيير SID الخاص بك الآن.`, + text11: `قيد المراجعة`, + text12: `غير متوفر`, + text13: `عذرًا، لم تصل إلى مستوى الثروة 20 لتبادل معرف سوبر.` }, rule: { text1: 'القاعدة', diff --git a/view/molistar/modules/superId/local/en.js b/view/molistar/modules/superId/local/en.js index ea75d49..20911ba 100644 --- a/view/molistar/modules/superId/local/en.js +++ b/view/molistar/modules/superId/local/en.js @@ -11,6 +11,11 @@ langEn = { text6: `Pick up your SID `, text7: `Please choose 1~3 number`, text8: `Search SID`, + text9: `You can change your SID right now.`, + text10: `Sorry, You cannot change Your SID now`, + text11: `In Review`, + text12: `Unavailable`, + text13: `Sorry, you haven't reached the wealth level 20 to exchange Super ID.`, }, rule: { text1: 'Rule', diff --git a/view/molistar/modules/superId/local/zh.js b/view/molistar/modules/superId/local/zh.js index 09f474f..e5973ac 100644 --- a/view/molistar/modules/superId/local/zh.js +++ b/view/molistar/modules/superId/local/zh.js @@ -13,6 +13,11 @@ langZh = { text6: `领取你的SID`, text7: `请选择1~3个数字`, text8: `搜索SID`, + text9: `您现在可以更改您的SID。`, + text10: `对不起,您现在不能更改您的SID。`, + text11: `审核中`, + text12: `不可用`, + text13: `对不起,您还没有达到财富等级20,无法兑换超级ID` }, rule: { text1: '规则',