更新property页面

This commit is contained in:
Liwanyi 2021-11-06 21:04:53 +08:00
parent 36096527c6
commit a8132fc553

View File

@ -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;
}