添加awards页面翻译
This commit is contained in:
parent
a29cf1dd56
commit
4e81b91ba2
@ -33,6 +33,7 @@
|
||||
'Hospital': '医院',
|
||||
'Received Events': '收到的通知',
|
||||
'Saved Events': '保存的通知',
|
||||
'Awards': '勋章',
|
||||
};
|
||||
const titleLinksDict = {
|
||||
'Personal stats': '个人统计信息',
|
||||
@ -478,7 +479,7 @@
|
||||
'Business': '商学',
|
||||
'Combat Training': '战斗训练',
|
||||
'Computer Science': '计算机科学',
|
||||
'General Studies': '常规学科',
|
||||
'General Studies': '基础学科',
|
||||
'Health & Fitness': '健康与健身',
|
||||
'History': '历史学',
|
||||
'Law': '法学',
|
||||
@ -497,7 +498,7 @@
|
||||
'Parameters:': '课程参数:',
|
||||
'As the ultimate module - you will focus on maximum gym gain with the least amount of input.': '',
|
||||
'Ability to withdraw and deliver blood': '抽取和输送血液的能力(使用血包)',
|
||||
'Gain {$1} {$2} upon completion': '获得{$1}点{$2}',
|
||||
//'Gain {$1} {$2} upon completion': '获得{$1}点{$2}',
|
||||
'intelligence': '智力(INT)',
|
||||
'endurance': '耐心(END)',
|
||||
'manual labor': '体力(MAN)',
|
||||
@ -515,6 +516,7 @@
|
||||
'to complete.': '来完成。',
|
||||
'You have started the': '你已开始学习',
|
||||
'You are currently taking this course.': '你目前正在学习这个课程。',
|
||||
'You have completed this course!': '你已学习过该课程!',
|
||||
'You are currently taking an education course already. This course must be completed before you can start another.':
|
||||
'你已经参加了一个课程。在你开始另一个课程之前,必须先完成这个课程。',
|
||||
'The current progress will be canceled and you\'ll have to start all over again.': '目前的进度将被取消,你将需要重新开始。',
|
||||
@ -533,6 +535,23 @@
|
||||
"Tier: 3":'级别: T3',
|
||||
"Gain a 1% bonus to strength gains in the gym":'健身房锻炼时获得1%的力量增长增益',
|
||||
"Bonus:":'增益:',
|
||||
'Introduction to General Studies':'基础学科入门',
|
||||
'Driving License':'驾照',
|
||||
'Gain access to driving related crimes':'可进行驾驶相关的犯罪 (解锁11系列)',
|
||||
"You'll need this to get around the city. Our crash course should give you a license without fail.":
|
||||
'你将需要这个来在城市中穿梭。我们的速成班应该能让你顺利拿到驾照。',
|
||||
'Astronomy':'天文学',
|
||||
'Mechanical Arts':'机械艺术',
|
||||
'General Mechanics':'通用机械学',
|
||||
'Basic English':'基础英语',
|
||||
'Ivory Crafting':'象牙工艺',
|
||||
'Intravenous Therapy':'静脉注射',
|
||||
'Put that fear of needles behind you by learning how to successfully administer a blood transfusion.':
|
||||
'通过学习如何成功地进行输血,将对针头的恐惧抛在脑后。',
|
||||
'Networking':'网络',
|
||||
'Gain access to hacking crimes':'可进行黑客犯罪 (解锁18系列)',
|
||||
'Computer Security and Defense':'计算机安全与防御',
|
||||
'Gain a 10% increase in hacking crime success rate':'提高黑客犯罪10%的成功率',
|
||||
};
|
||||
const headerDict = {
|
||||
"User's Name / ID": '用户名或ID',
|
||||
@ -648,6 +667,7 @@
|
||||
'All':'全部',
|
||||
'Enter a name or ID to add to this list':'输入用户名或ID来添加到这个列表',
|
||||
};
|
||||
const awDict = {};
|
||||
|
||||
/**
|
||||
* 边栏
|
||||
@ -1212,6 +1232,11 @@
|
||||
if (eduDict[$(e).text().trim()])
|
||||
$(e).text(eduDict[$(e).text().trim()]);
|
||||
});
|
||||
// 学院详情 课程的描述
|
||||
$('div.content-wrapper p.desc').each((i, e) => {
|
||||
if (eduDict[$(e).text().trim()])
|
||||
$(e).text(eduDict[$(e).text().trim()]);
|
||||
});
|
||||
// 课程详情 7 标题
|
||||
$('div.module-desc p.title').each((i, e) => {
|
||||
if (eduDict[$(e).text().trim()])
|
||||
@ -1480,6 +1505,28 @@
|
||||
// }, 1000);
|
||||
}
|
||||
|
||||
/**
|
||||
* awards.php
|
||||
*/
|
||||
if (window.location.href.indexOf('awards.php') >= 0) {
|
||||
const awOB = new MutationObserver(() =>{
|
||||
awOB.disconnect();
|
||||
titleTrans();
|
||||
contentTitleLinksTrans();
|
||||
awTrans();
|
||||
awOB.observe($('div.content-wrapper')[0], {childList: true, subtree: true});
|
||||
});
|
||||
const awTrans = function awTrans(){
|
||||
// 顶部的3个分类 Honors (106) Medals (44) Merits (3)
|
||||
$('div.content-wrapper a.ui-tabs-anchor span.bold').each((i,e)=>{
|
||||
|
||||
});
|
||||
};
|
||||
awTrans();
|
||||
awOB.observe($('div.content-wrapper')[0], {childList: true, subtree: true});
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* 升级页面
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user