新增举报条目以及多语言土耳其

This commit is contained in:
dragon
2024-12-18 20:37:14 +08:00
parent b9c37104be
commit 642a6a67cc
7 changed files with 82 additions and 45 deletions

View File

@@ -34,7 +34,7 @@ function initLocalLang() {
window.lang.code = 'id' window.lang.code = 'id'
window.lang.defaults = false window.lang.defaults = false
} else if (lang === 'tr' || window.location.href.match('=tr')) { } 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" + '土耳其') console.log("langHandler" + '土耳其')
window.lang = langTr window.lang = langTr

View File

@@ -19,7 +19,9 @@
<div class="inform"> <div class="inform">
<div class="inform-radio"> <div class="inform-radio">
<div class="radio-box"><span class="radio active" data-id="0"></span><span <div class="radio-box"><span class="radio active" data-id="9"></span><span
class="title" id="text21"></span></div>
<div class="radio-box"><span class="radio " data-id="0"></span><span
class="title" id="text1"></span></div> class="title" id="text1"></span></div>
<div class="radio-box"><span class="radio" data-id="1"></span><span <div class="radio-box"><span class="radio" data-id="1"></span><span
class="title" id="text2"></span></div> class="title" id="text2"></span></div>
@@ -96,10 +98,11 @@
<script src="../../common/js/common2.js"></script> <script src="../../common/js/common2.js"></script>
<script src="../../common/js/vconsole.min.js"></script> <script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/template-web.js"></script> <script src="../../common/js/template-web.js"></script>
<script src="./local/en.js"></script> <script src="./local/en.js?v=1.0"></script>
<script src="./local/zh.js"></script> <script src="./local/zh.js?v=1.0"></script>
<script src="./local/ar.js"></script> <script src="./local/ar.js?v=1.0"></script>
<script src="./js/index.js?v=1.2"></script> <script src="./local/tr.js?v=1.0"></script>
<script src="./js/index.js?v=2"></script>
<script src="../../common/local/langHandler.js"></script> <script src="../../common/local/langHandler.js"></script>
</html> </html>

View File

@@ -45,6 +45,7 @@ function translateFun() {
$('#text11').html(langReplace(localLang.demoModule.text13)); $('#text11').html(langReplace(localLang.demoModule.text13));
$('#text14').html(langReplace(localLang.demoModule.text14)); $('#text14').html(langReplace(localLang.demoModule.text14));
$('#text15').html(langReplace(localLang.demoModule.text15)); $('#text15').html(langReplace(localLang.demoModule.text15));
$('#text21').html(langReplace(localLang.demoModule.text21));
} }
function requestUidFromNative() { function requestUidFromNative() {
target = locateObj.reportUid; //获取别举报人id target = locateObj.reportUid; //获取别举报人id

View File

@@ -2,26 +2,27 @@
langAr = { langAr = {
// 模块 // 模块
demoModule: { demoModule: {
title: `البلاغ`, title: `الإبلاغ`,
text1: `محتوى إباحي أو مقزز`, text1: `محتوى إباحي أو مبتذل`,
text2: `حساسية سياسية`, text2: `حساسية سياسية`,
text3: `إعلانات سخيفة`, text3: `إعلانات غير مرغوب فيها`,
text4: `اعتداء لفظي`, text4: `إساءة لفظية`,
text5: `تعاملات غير قانونية`, text5: `معاملات غير قانونية`,
text6: `انتهاك الخصوصية`, text6: `انتهاك الخصوصية`,
text7: `عنف أو إرهاب`, text7: `العنف أو الإرهاب`,
text8: `انتهاك حقوق الملكية`, text8: `انتهاك حقوق النشر`,
text9: `آخر`, text9: `أخرى`,
text10: `أدخل محتوى البلاغ`, text10: `أدخل محتوى الإبلاغ`,
text11: `تحميل لقطة شاشة (حد أقصى 1 ميجابايت)`, text11: `رفع لقطة شاشة (بحد أقصى 1 ميجابايت)`,
text12: `إعادة التحميل`, text12: `إعادة التحميل`,
text13: `يرجى تحميل على الأقل لقطة شاشة ذات صلة لضمان الدقة.`, text13: `يرجى تحميل لقطة شاشة واحدة على الأقل لتحسين الدقة.`,
text14: `إرسال`, text14: `إرسال`,
text15: `تم تقديم البلاغ`, text15: `تم إرسال الإبلاغ`,
text16: `تحميل الصورة`, text16: `جارٍ رفع الصورة`,
text17: `تم التحميل بنجاح`, text17: `تم الرفع بنجاح`,
text18: `فشل التحميل، يرجى إعادة المحاولة`, text18: `فشل الرفع، يرجى المحاولة مرة أخرى`,
text19: `أدخل محتوى البلاغ`, text19: `أدخل محتوى الإبلاغ`,
text20: `تم التقديم`, text20: `تم الإرسال`,
} text21: `محتوى أو سلوك غير لائق يتعلق بالقاصرين (بما في ذلك على سبيل المثال لا الحصر): كشف خصوصية القاصرين؛ التحريض أو التحرش غير اللائق؛ قضايا أخرى تتعلق بالمستخدمين القاصرين`,
}
} }

View File

@@ -23,5 +23,6 @@ langEn = {
text18: `Upload Failed, Please Retry`, text18: `Upload Failed, Please Retry`,
text19: `Enter Report Content`, text19: `Enter Report Content`,
text20: `Submitted`, text20: `Submitted`,
text21: `Improper content or behavior involving minors (including but not limited to): exposing minors' privacy; inappropriate inducement or harassment; other issues involving minor users`,
} }
} }

View File

@@ -0,0 +1,29 @@
// tr
langTr = {
// 模块
demoModule: {
title: `Rapor Et`,
text1: `Pornografik veya Kaba İçerik`,
text2: `Politik Hassasiyet`,
text3: `Spam Reklam`,
text4: `Sözlü Taciz`,
text5: `Yasadışı İşlemler`,
text6: `Gizlilik İhlali`,
text7: `Şiddet veya Terörizm`,
text8: `Telif Hakkı İhlali`,
text9: `Diğer`,
text10: `Rapor İçeriğini Girin`,
text11: `Ekran Görüntüsü Yükle (Maksimum 1MB)`,
text12: `Tekrar Yükle`,
text13: `Doğruluğu artırmak için en az bir ilgili ekran görüntüsü yükleyin.`,
text14: `Gönder`,
text15: `Rapor Gönderildi`,
text16: `Resim Yükleniyor`,
text17: `Yükleme Başarılı`,
text18: `Yükleme Başarısız, Lütfen Tekrar Deneyin`,
text19: `Rapor İçeriğini Girin`,
text20: `Gönderildi`,
text21: `Reşit olmayanları içeren uygunsuz içerik veya davranışlar (bunlarla sınırlı olmamak üzere): reşit olmayanların gizliliğini ifşa etmek; uygunsuz yönlendirme veya taciz; reşit olmayan kullanıcılarla ilgili diğer sorunlar`,
}
}

View File

@@ -2,26 +2,28 @@
langZh = { langZh = {
// 模塊 // 模塊
demoModule: { demoModule: {
title:`舉報`, title: `舉報`,
text1:`色情低俗,以任何形式傳播淫穢、色情、低俗擦邊的內容`, text1: `色情低俗內容`,
text2:`政治敏感,進行反黨反政府或帶有侮辱詆毀黨和國家的內容`, text2: `政治敏感`,
text3:`垃圾廣告,傳播垃圾廣告或違法違規廣告信息`, text3: `垃圾廣告`,
text4:`言語攻擊,惡意抹黑、詆毀或辱罵他人`, text4: `言語辱罵`,
text5:`違規交易,發佈線下交易或可能涉及詐騙的內容`, text5: `非法交易`,
text6:`泄露隱私,以任何形式泄露他人隱私`, text6: `隱私侵犯`,
text7:`暴力恐怖,傳播暴力、血腥、威脅生命健康的內容或展示槍支、刀具`, text7: `暴力恐怖主義`,
text8:`侵權盜版,侵犯他人合法版權`, text8: `權侵`,
text9:``, text9: ``,
text10:`輸入舉報內容`, text10: `輸入舉報內容`,
text11:`上傳截圖&nbsp;(圖片不能超過1M)`, text11: `上傳截圖最大1MB`,
text12:`重新上傳`, text12: `重新上傳`,
text13:`需要至少上傳一張相關截圖證明,以提高舉報的准確度`, text13: `請上傳至少一張相關截圖以提高準確性。`,
text14:`提交`, text14: `提交`,
text15:`舉報成功`, text15: `舉報已提交`,
text16:`上傳圖片`, text16: `正在上傳圖片`,
text17:`上傳成功`, text17: `上傳成功`,
text18:`上傳失敗,請重新上傳`, text18: `上傳失敗,請重`,
text19:`輸入舉報內容`, text19: `輸入舉報內容`,
text20:`已提交`, text20: `已提交`,
text21: `涉及未成年的不當內容或行為(包括但不限於):暴露未成年隱私;進行不當誘導或騷擾;其他涉及未成年用戶的問題`,
} }
} }