Defined user event(zh) while traveling.
This commit is contained in:
parent
a1acb729bc
commit
187e43ab7b
@ -20,11 +20,15 @@
|
|||||||
$('.travelling h4').length !== 0) {
|
$('.travelling h4').length !== 0) {
|
||||||
const travelingDict = { // todo jsonify
|
const travelingDict = { // todo jsonify
|
||||||
'Recruit Citizens': '招募玩家',
|
'Recruit Citizens': '招募玩家',
|
||||||
|
'Events': '事件',
|
||||||
'Torn to London.': '正在飞往英国伦敦(London)。',
|
'Torn to London.': '正在飞往英国伦敦(London)。',
|
||||||
'London to Torn.': '正从英国伦敦(London)回城。', // todo 所有目的地
|
'London to Torn.': '正从英国伦敦(London)回城。', // todo 所有目的地
|
||||||
'\nRemaining Flight Time -\n': ' 剩余时间 - ',
|
'\nRemaining Flight Time -\n': ' 剩余时间 - ',
|
||||||
};
|
};
|
||||||
$('#skip-to-content')[0].firstChild.nodeValue += '飞行中';
|
$('#skip-to-content')[0].firstChild.nodeValue += '飞行中';
|
||||||
|
//Events
|
||||||
|
$("#events")[0].firstChild.nodeValue = travelingDict[$("#events")[0].firstChild.nodeValue]
|
||||||
|
|
||||||
// eg. Remaining Flight Time -
|
// eg. Remaining Flight Time -
|
||||||
$('span.remaining-time')[0].firstChild.nodeValue = travelingDict[$('span.remaining-time')[0].firstChild.nodeValue];
|
$('span.remaining-time')[0].firstChild.nodeValue = travelingDict[$('span.remaining-time')[0].firstChild.nodeValue];
|
||||||
$("#recruit-citizens")[0].firstChild.nodeValue = travelingDict[$("#recruit-citizens")[0].firstChild.nodeValue];
|
$("#recruit-citizens")[0].firstChild.nodeValue = travelingDict[$("#recruit-citizens")[0].firstChild.nodeValue];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user