From a513c90e143966ebb772d34635f8fca0352245ce Mon Sep 17 00:00:00 2001 From: woohoo Date: Wed, 17 Nov 2021 11:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- torn-trans-zhcn.user.js | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/torn-trans-zhcn.user.js b/torn-trans-zhcn.user.js index c66dc3f..8213619 100644 --- a/torn-trans-zhcn.user.js +++ b/torn-trans-zhcn.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Torn翻译 // @namespace WOOH -// @version 0.1.1116b +// @version 0.1.1117a // @description UI翻译 // @author Woohoo-[2687093] sabrina_devil[2696209] // @match https://www.torn.com/* @@ -21,7 +21,7 @@ 'Estate Agents': '地产中介', 'Newspaper': '报纸', 'Job Listing': '工作列表', - 'Freebies': '赠品', + 'Freebies': '壁纸', 'Classified Ads': '分类广告', 'Properties': '房产', 'All Properties': '所有房产', @@ -166,8 +166,8 @@ const homeDict = { 'General Information': '基本信息', 'Property Information': '房产信息', - 'Battle Stats': '战斗能力(BS)', - 'Working Stats': '工作能力(WS)', + 'Battle Stats': '战斗能力 (BS)', + 'Working Stats': '工作能力 (WS)', 'Equipped Armor': '已装防具', 'Equipped Weapons': '已装武器', 'Skill Levels': '技能等级', @@ -194,19 +194,19 @@ 'Respect': '面子', 'Members': '成员', 'Illegal products': '非法产品', - 'Theft': '偷盗', + 'Theft': '盗窃', 'Auto theft': '汽车盗窃', 'Drug deals': '非法药品交易', 'Computer crimes': '计算机犯罪', 'Murder': '谋杀', - 'Fraud crimes': '诈骗犯罪(Fraud crimes)', + 'Fraud crimes': '诈骗犯罪 (Fraud crimes)', 'Other': '其他犯罪', 'Total': '总计', 'Name': '名字', 'Money': '现金', 'Points': 'PT', 'Level': '等级', - 'Rank': '阶级',// todo 暂定 + 'Rank': '阶级', 'Life': '血量', 'Age': '年龄', 'Marital status': '婚姻状态', @@ -215,7 +215,6 @@ 'Defense': '防御 DEF', 'Speed': '速度 SPD', 'Dexterity': '敏捷 DEX', - //'Total':'', 'Hunting skill': '狩猎技能', 'Racing skill': '赛车技能', 'Manual labor': '体力 MAN', @@ -515,24 +514,24 @@ 'Racing Fitness': '竞速健身', 'Complete Cardio': '完全有氧', // 'Legs, Bums and Tums': '腿,臀和腹部', - 'Legs, Bums and Tums': '下盘训练', + 'Legs, Bums and Tums': '底盘训练', 'Deep Burn': '深燃', 'Apollo Gym': '阿波罗健身', - 'Gun Shop': '枪支健身', + 'Gun Shop': '枪店健身', 'Force Training': '暴力训练', - "Cha Cha's": '茶茶健身', + "Cha Cha's": '茶茶', 'Atlas': '阿特拉斯健身房', 'Last Round': '最后一轮', 'The Edge': '临界点', - "George's": '乔治健身', + "George's": '乔治', 'Balboas Gym': '巴尔博斯健身房', 'Frontline Fitness': '前线健身', 'Gym 3000': '健身3000', 'Mr. Isoyamas': '伊索亚玛斯先生', 'Total Rebound': '全面反弹', - 'Elites': '精英健身', + 'Elites': '精英', 'The Sports Science Lab': '运动科学实验室', '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.": '这项升级将使你增加 5% 被强制住院玩家的住院时间。完全升级后,确保他们感受到50%的额外住院时间。', "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 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(' '); if (spl[1] === 'hospital') e.nodeValue = e.nodeValue - .replace('In hospital for', '在医院呆') + .replace('In hospital for', '住院') .replaceHMS(); else if (spl[1] === 'jail') e.nodeValue = e.nodeValue - .replace('In jail for', '在监狱呆') + .replace('In jail for', '坐牢') .replaceHMS(); + else if (spl[1] === 'jail') + return; } } });