From 642a6a67cc55d7c97ecb2605a8215d813a5cafc4 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Wed, 18 Dec 2024 20:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=BE=E6=8A=A5=E6=9D=A1?= =?UTF-8?q?=E7=9B=AE=E4=BB=A5=E5=8F=8A=E5=A4=9A=E8=AF=AD=E8=A8=80=E5=9C=9F?= =?UTF-8?q?=E8=80=B3=E5=85=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/common/local/langHandler.js | 2 +- view/molistar/modules/inform/index.html | 13 ++++--- view/molistar/modules/inform/js/index.js | 1 + view/molistar/modules/inform/local/ar.js | 37 +++++++++---------- view/molistar/modules/inform/local/en.js | 1 + view/molistar/modules/inform/local/tr.js | 29 +++++++++++++++ view/molistar/modules/inform/local/zh.js | 44 ++++++++++++----------- 7 files changed, 82 insertions(+), 45 deletions(-) create mode 100644 view/molistar/modules/inform/local/tr.js diff --git a/view/molistar/common/local/langHandler.js b/view/molistar/common/local/langHandler.js index 3595a77..ad05d8a 100644 --- a/view/molistar/common/local/langHandler.js +++ b/view/molistar/common/local/langHandler.js @@ -34,7 +34,7 @@ function initLocalLang() { window.lang.code = 'id' window.lang.defaults = false } else if (lang === 'tr' || window.location.href.match('=tr')) { - if (window.location.href.match('guild-ar') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home')|| window.location.href.match('pay')) { + if (window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home')|| window.location.href.match('pay')) { // 土耳其 console.log("langHandler" + '土耳其') window.lang = langTr diff --git a/view/molistar/modules/inform/index.html b/view/molistar/modules/inform/index.html index 9ff6bc4..0d592c1 100644 --- a/view/molistar/modules/inform/index.html +++ b/view/molistar/modules/inform/index.html @@ -19,7 +19,9 @@