diff --git a/torn-trans-zhcn.user.js b/torn-trans-zhcn.user.js index 2280149..8bb165e 100644 --- a/torn-trans-zhcn.user.js +++ b/torn-trans-zhcn.user.js @@ -140,6 +140,7 @@ 'Selling Market': '销售市场', 'City': '城市', 'Back to Estate Agents': '返回地产中介', + 'Tutorial':'教程', }; const newspaperDict = { 'front page': '报纸头版', @@ -161,6 +162,7 @@ 'Trailer': '拖车', 'Apartment': '公寓', 'Semi - Detached': '半独立式住宅', + 'Semi-Detached House': '半独立式住宅', 'Detached House': '独立式住宅', 'Beach House': '海滩小屋', 'Chalet': '小别墅', @@ -413,6 +415,10 @@ if (window.location.href.indexOf('estateagents.php') >= 0) { titleTrans(); contentTitleLinksTrans(); + $('div.estate-info div.title').each((i,e)=>{ + if(propertyDict[e.firstChild.nodeValue]) + e.firstChild.nodeValue=propertyDict[e.firstChild.nodeValue]; + }); return; }