From 13bfce86ede0dbf951e15bf07749d7b69872a4ca Mon Sep 17 00:00:00 2001 From: woohoo Date: Sat, 25 Dec 2021 14:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E9=95=87=E6=8F=90=E7=A4=BA=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- torn-trans-zhcn.user.js | 17 +++++++++++++---- torn-wh-show-loot-pos.user.js | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/torn-trans-zhcn.user.js b/torn-trans-zhcn.user.js index d9d1d66..e0c1c78 100644 --- a/torn-trans-zhcn.user.js +++ b/torn-trans-zhcn.user.js @@ -1,8 +1,8 @@ // ==UserScript== -// @lastmodified 202112241715 +// @lastmodified 202112251422 // @name Torn翻译 // @namespace WOOH -// @version 0.1.1224c +// @version 0.1.1225a // @description Torn UI翻译 // @author Woohoo-[2687093] sabrina_devil[2696209] // @match https://www.torn.com/* @@ -23,6 +23,11 @@ todo: true, cont: `baza npc商店 imarket及imarket搜索结果`, }, + { + ver: '0.1.1225a', + date: '20211225', + cont: `小镇提示日期错误修复`, + }, { ver: '0.1.1224c', date: '20211224', @@ -785,7 +790,7 @@ "User's Name / ID": '用户名或ID', "Name": '用户名', 'Faction': '帮派', - 'Company': '帮派', + 'Company': '公司', 'Places': '地点', 'Item Market': '交易市场', 'Forum posts': '论坛', @@ -1539,6 +1544,9 @@ "Antidote": '抗生素', "Felovax": '妙三多', "Zylkene": '法国威隆苏劲猫犬降压药', + "Cake Frosting": '蛋糕糖霜', + "Lock Picking Kit": '开锁器套装', + "Special Fruitcake": '特别的水果蛋糕', // 主武器 "Sawed-Off Shotgun": '截短型霰弹枪', "Thompson": '汤普森冲锋枪', @@ -2392,6 +2400,7 @@ '效果:对手脑部震荡,闪避下降到1/5,持续15-20秒。', // other "Effect: Increases happiness by 5-20 if under 20% of maximum.": '', + "Effect: Can be used with a Fruitcake and Cake Frosting to create a Special Fruitcake.": '', }; const itemTypeDict = { 'is a Defensive Armor.': '是一种防御性盔甲。', @@ -5674,7 +5683,7 @@ margin: 0 0 3px; dropHist[hist_key] = { pos: `[${nearby_item.x},${nearby_item.y}]`, map: $ct_title.firstChild.nodeValue.trim(), - last: `${now.getFullYear()}-${now.getMonth()}-${now.getDay()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`, + last: `${now.getFullYear()}-${now.getMonth()+1}-${now.getDate()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`, name: item_name, id: Object.keys(dropHist).length, }; diff --git a/torn-wh-show-loot-pos.user.js b/torn-wh-show-loot-pos.user.js index f34570e..fc18d4c 100644 --- a/torn-wh-show-loot-pos.user.js +++ b/torn-wh-show-loot-pos.user.js @@ -209,7 +209,7 @@ dropHist[hist_key] = { pos: `[${nearby_item.x},${nearby_item.y}]`, map: $ct_title.firstChild.nodeValue.trim(), - last: `${now.getFullYear()}-${now.getMonth()}-${now.getDay()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`, + last: `${now.getFullYear()}-${now.getMonth()+1}-${now.getDate()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`, name: item_name, id: Object.keys(dropHist).length, };