更新版本号 字段调整

This commit is contained in:
woohoo 2021-11-17 11:50:55 +08:00
parent 854559d510
commit a513c90e14

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Torn翻译 // @name Torn翻译
// @namespace WOOH // @namespace WOOH
// @version 0.1.1116b // @version 0.1.1117a
// @description UI翻译 // @description UI翻译
// @author Woohoo-[2687093] sabrina_devil[2696209] // @author Woohoo-[2687093] sabrina_devil[2696209]
// @match https://www.torn.com/* // @match https://www.torn.com/*
@ -21,7 +21,7 @@
'Estate Agents': '地产中介', 'Estate Agents': '地产中介',
'Newspaper': '报纸', 'Newspaper': '报纸',
'Job Listing': '工作列表', 'Job Listing': '工作列表',
'Freebies': '赠品', 'Freebies': '壁纸',
'Classified Ads': '分类广告', 'Classified Ads': '分类广告',
'Properties': '房产', 'Properties': '房产',
'All Properties': '所有房产', 'All Properties': '所有房产',
@ -166,8 +166,8 @@
const homeDict = { const homeDict = {
'General Information': '基本信息', 'General Information': '基本信息',
'Property Information': '房产信息', 'Property Information': '房产信息',
'Battle Stats': '战斗能力BS', 'Battle Stats': '战斗能力 (BS)',
'Working Stats': '工作能力WS', 'Working Stats': '工作能力 (WS)',
'Equipped Armor': '已装防具', 'Equipped Armor': '已装防具',
'Equipped Weapons': '已装武器', 'Equipped Weapons': '已装武器',
'Skill Levels': '技能等级', 'Skill Levels': '技能等级',
@ -194,19 +194,19 @@
'Respect': '面子', 'Respect': '面子',
'Members': '成员', 'Members': '成员',
'Illegal products': '非法产品', 'Illegal products': '非法产品',
'Theft': '盗', 'Theft': '',
'Auto theft': '汽车盗窃', 'Auto theft': '汽车盗窃',
'Drug deals': '非法药品交易', 'Drug deals': '非法药品交易',
'Computer crimes': '计算机犯罪', 'Computer crimes': '计算机犯罪',
'Murder': '谋杀', 'Murder': '谋杀',
'Fraud crimes': '诈骗犯罪Fraud crimes', 'Fraud crimes': '诈骗犯罪 (Fraud crimes)',
'Other': '其他犯罪', 'Other': '其他犯罪',
'Total': '总计', 'Total': '总计',
'Name': '名字', 'Name': '名字',
'Money': '现金', 'Money': '现金',
'Points': 'PT', 'Points': 'PT',
'Level': '等级', 'Level': '等级',
'Rank': '阶级',// todo 暂定 'Rank': '阶级',
'Life': '血量', 'Life': '血量',
'Age': '年龄', 'Age': '年龄',
'Marital status': '婚姻状态', 'Marital status': '婚姻状态',
@ -215,7 +215,6 @@
'Defense': '防御 DEF', 'Defense': '防御 DEF',
'Speed': '速度 SPD', 'Speed': '速度 SPD',
'Dexterity': '敏捷 DEX', 'Dexterity': '敏捷 DEX',
//'Total':'',
'Hunting skill': '狩猎技能', 'Hunting skill': '狩猎技能',
'Racing skill': '赛车技能', 'Racing skill': '赛车技能',
'Manual labor': '体力 MAN', 'Manual labor': '体力 MAN',
@ -515,24 +514,24 @@
'Racing Fitness': '竞速健身', 'Racing Fitness': '竞速健身',
'Complete Cardio': '完全有氧', 'Complete Cardio': '完全有氧',
// 'Legs, Bums and Tums': '腿,臀和腹部', // 'Legs, Bums and Tums': '腿,臀和腹部',
'Legs, Bums and Tums': '盘训练', 'Legs, Bums and Tums': '盘训练',
'Deep Burn': '深燃', 'Deep Burn': '深燃',
'Apollo Gym': '阿波罗健身', 'Apollo Gym': '阿波罗健身',
'Gun Shop': '枪健身', 'Gun Shop': '枪健身',
'Force Training': '暴力训练', 'Force Training': '暴力训练',
"Cha Cha's": '茶茶健身', "Cha Cha's": '茶茶',
'Atlas': '阿特拉斯健身房', 'Atlas': '阿特拉斯健身房',
'Last Round': '最后一轮', 'Last Round': '最后一轮',
'The Edge': '临界点', 'The Edge': '临界点',
"George's": '乔治健身', "George's": '乔治',
'Balboas Gym': '巴尔博斯健身房', 'Balboas Gym': '巴尔博斯健身房',
'Frontline Fitness': '前线健身', 'Frontline Fitness': '前线健身',
'Gym 3000': '健身3000', 'Gym 3000': '健身3000',
'Mr. Isoyamas': '伊索亚玛斯先生', 'Mr. Isoyamas': '伊索亚玛斯先生',
'Total Rebound': '全面反弹', 'Total Rebound': '全面反弹',
'Elites': '精英健身', 'Elites': '精英',
'The Sports Science Lab': '运动科学实验室', 'The Sports Science Lab': '运动科学实验室',
'The Jail Gym': '监狱健身房', 'The Jail Gym': '监狱健身房',
}; };
@ -913,7 +912,7 @@
"This upgrade will increase the amount of time you hospitalize someone by 5%. Make sure they feel the burn with 50% extra hospital time when fully upgraded.": "This upgrade will increase the amount of time you hospitalize someone by 5%. Make sure they feel the burn with 50% extra hospital time when fully upgraded.":
'这项升级将使你增加 5% 被强制住院玩家的住院时间。完全升级后确保他们感受到50%的额外住院时间。', '这项升级将使你增加 5% 被强制住院玩家的住院时间。完全升级后确保他们感受到50%的额外住院时间。',
"This upgrade will reduce the negative effects addiction causes towards your battle stats, employee effectiveness, and education / gym access.": "This upgrade will reduce the negative effects addiction causes towards your battle stats, employee effectiveness, and education / gym access.":
'这一升级将减少毒瘾对你的战斗能力、员工效率和教育和健身房使用的负面影响。', '这一升级将减少毒瘾对你的战斗能力、员工效率、教育和访问健身房的负面影响。',
"This upgrade will provide an additional minor bonus to employee effectiveness, helping you to earn more money for the company you work for.": "This upgrade will provide an additional minor bonus to employee effectiveness, helping you to earn more money for the company you work for.":
'这一升级将为员工的工作效率提供额外的轻量加成,帮助你为你的公司赚更多钱。', '这一升级将为员工的工作效率提供额外的轻量加成,帮助你为你的公司赚更多钱。',
"This upgrade will give you a passive bonus to your strength stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.": "This upgrade will give you a passive bonus to your strength stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.":
@ -1054,12 +1053,14 @@
const spl = e.nodeValue.split(' '); const spl = e.nodeValue.split(' ');
if (spl[1] === 'hospital') if (spl[1] === 'hospital')
e.nodeValue = e.nodeValue e.nodeValue = e.nodeValue
.replace('In hospital for', '在医院呆') .replace('In hospital for', '住院')
.replaceHMS(); .replaceHMS();
else if (spl[1] === 'jail') else if (spl[1] === 'jail')
e.nodeValue = e.nodeValue e.nodeValue = e.nodeValue
.replace('In jail for', '在监狱呆') .replace('In jail for', '坐牢')
.replaceHMS(); .replaceHMS();
else if (spl[1] === 'jail')
return;
} }
} }
}); });