更新city补全字段

This commit is contained in:
woohoo 2021-11-11 16:36:46 +08:00
parent 1f18027522
commit b237a9a0dc

View File

@ -269,37 +269,37 @@
'City Hall': '市政厅', 'City Hall': '市政厅',
'Hospital': '医院', 'Hospital': '医院',
'Jail': '监狱', 'Jail': '监狱',
'Visitor Center': "游客中心", 'Visitor Center': "WIKI",
"Staff": "员工", "Staff": "Torn City 员工",
"Committee": "委员会", "Committee": "委员会",
"Community Center": "社区中心", "Community Center": "社区中心",
"Chronicle Archives": "纪事档案", "Chronicle Archives": "纪事档案",
"Bank": "银行", "Bank": "银行",
"Stock Exchange": "证券交易所", "Stock Exchange": "股票交易所",
"Item Market": "物品市场", "Item Market": "交易市场",
"Sweet Shop": "糖果店", "Sweet Shop": "糖果店",
"Msg Inc": "广告公司", "Msg Inc": "广告公司",
"Donator House": "捐赠者中心", "Donator House": "捐赠者中心",
"Big Al's Gun Shop": "Big Al的枪店", "Big Al's Gun Shop": "Big Al的枪店",
"Cyber Force": "Cyber Force网络商店", "Cyber Force": "赛博军团",
"Church": "教堂", "Church": "教堂",
"Education": "教育", "Education": "教育",
"Travel Agency": "旅行社", "Travel Agency": "旅行社",
"Auction House": "拍卖行", "Auction House": "拍卖行",
"Points Building": "积分PT建设中心", "Points Building": "PT 商店",
"Points Market": "积分PT市场", "Points Market": "PT 市场",
"Docks": "码头", "Docks": "码头车行",
"Estate Agents": "地产中介", "Estate Agents": "地产中介",
"Jewelry Store": "珠宝店", "Jewelry Store": "珠宝店",
"Pawn Shop": "当铺", "Pawn Shop": "PT 当铺",
"Post Office": "邮局", "Post Office": "邮局",
"Super Store": "超级商店", "Super Store": "电器商店",
"TC Clothing": "TC服装店", "TC Clothing": "TC服装店",
"Token Shop": "代币商店", "Token Shop": "Token 商店",
"Casino": "赌", "Casino": "赌",
"Dump": "垃圾场", "Dump": "垃圾场",
"Missions": "任务", "Missions": "任务",
"Loan Shark": "高利贷", "Loan Shark": "鲨客借贷",
"Race Track": "赛车场", "Race Track": "赛车场",
"City Center": "城市中心", "City Center": "城市中心",
"East Side": "东部地区", "East Side": "东部地区",
@ -311,7 +311,18 @@
'Area': '地区', 'Area': '地区',
"Type": "类型", "Type": "类型",
"Name": "名称", "Name": "名称",
"Popularity": "人口数量" "Popularity": "人数",
'FINANCIAL':'金融',
'LEISURE':'休闲',
'Leisure':'休闲',
'MISC':'杂项',
'Miscellaneous':'杂项',
'REAL ESTATE':'房地产',
'Real Estate':'房地产',
'SHOPPING':'购物',
'Nikeh Sports':'',
"Bits 'n' Bobs":'胖鲍勃的杂货店',
// '':'',
}; };
const gymDict = { const gymDict = {
'Strength': '力量 STR', 'Strength': '力量 STR',
@ -483,6 +494,7 @@
/** /**
* chatbox * chatbox
*/ */
if($('div#chatRoot').length>0){}
/** /**
* 飞行页面 * 飞行页面
@ -597,7 +609,6 @@
if (cityDict[$('div.title-black').text()]) if (cityDict[$('div.title-black').text()])
$('div.title-black').text(cityDict[$('div.title-black').text()]); $('div.title-black').text(cityDict[$('div.title-black').text()]);
// 标志建筑 6个分类 // 标志建筑 6个分类
$('ul.map-symbols span').each((i, e) => { $('ul.map-symbols span').each((i, e) => {
if (cityDict[$(e).text()]) if (cityDict[$(e).text()])
@ -623,6 +634,9 @@
$('li a[class^="font-num-"] span').each((i, e) => { $('li a[class^="font-num-"] span').each((i, e) => {
if (cityDict[$(e).text()]) if (cityDict[$(e).text()])
$(e).text(cityDict[$(e).text()]); $(e).text(cityDict[$(e).text()]);
else if($(e).text().trim().split(' ')[0]==='Your')
if(propertyDict[$(e).text().trim().split(' ').slice(1).join(' ')])
$(e).text('你的'+propertyDict[$(e).text().trim().split(' ').slice(1).join(' ')]);
}); });
// 快速链接中的分类选择 // 快速链接中的分类选择