add english localization

This commit is contained in:
Dawn1Ocean
2024-03-13 17:09:22 +08:00
parent df71ebf219
commit e82225ecbc
9 changed files with 69 additions and 69 deletions
+26 -26
View File
@@ -97,21 +97,21 @@ export const mainPageZhCn: MainPageText = {
};
export const mainPageEnUs: MainPageText = {
mainTitleLine: '您好,这里是E志者协会',
subTitleLine: '维修请至【东三-204】实验室',
mainTitleLine: 'Hi! This is EVA.',
subTitleLine: 'For maintenance, please go to [204 Lab, E3 building]',
cardTitle: {
dutyInfo: '204 值班情况',
stepInfo: '维修步骤',
tipsInfo: '注意事项',
dutyInfo: 'Duty Situation',
stepInfo: 'Maintenance Steps',
tipsInfo: 'Tips',
},
cardTips: {
dutyInfo: '提示:可以先前往【维修】页面,在线上预填写工单!',
stepInfo: '提示:请在 20:30 之前取走自己的物品哦!',
dutyInfo: 'Tips: Please go to [Repair] and filling out tickets online.',
stepInfo: 'Tips: Please retrieve your devices before 20:30!',
tipsInfo: '',
},
expandTitle: {
stepInfo: '查看维修步骤',
tipsInfo: '查看注意事项',
stepInfo: 'Check for maintenance steps',
tipsInfo: 'Check for tips',
},
extraInfo: {
dutyInfo: '',
@@ -119,38 +119,38 @@ export const mainPageEnUs: MainPageText = {
tipsInfo: '',
},
stepList: [
{ title: '线上填写工单' },
{ title: '去【东三-204】实验室维修电脑' },
{ title: '等待电脑维修' },
{ title: '维修结束,取回电脑' },
{ title: 'Filling out tickets online' },
{ title: 'Go to [204 Lab, E3 building] for maintenance' },
{ title: 'Waiting for the device maintenance' },
{ title: 'The maintenance is over, retrieve the device' },
],
tipsList: [
{ title: '戴尔/外星人、Surface、苹果电脑不能拆机哦~' },
{ title: '数据无价,请随时做好数据备份哦~' },
{ title: '204 也是实验室,请勿在内饮食~' },
{ title: '我们是志愿服务,不收取任何礼物哦~' },
{ title: 'Dell/Alienware, Surface, Apple cannot be dissassembled.' },
{ title: 'Data is priceless, please backup your data at any time!' },
{ title: '204 is also a laboratory. Do not eat inside.' },
{ title: 'We are volunteers and do not take any gifts.' },
],
dutyCard: {
offDuty: {
title: '未值班',
reason: (s) => '值班停止原因:' + s,
recoverTime: (t) => '恢复值班时间:' + t,
title: 'Off Duty',
reason: (s) => 'Reason for cessation of duty: ' + s,
recoverTime: (t) => 'Resumption of duty: ' + t,
},
inDuty: {
title: '值班中',
title: 'On Duty',
currentDutyText: (c) => {
switch (c) {
case 'off':
return '当前未值班';
return 'Currently not on duty';
case '1':
return '第一班 13:30-16:00';
return '1st Shift 13:30-16:00';
case '2':
return '第二班 16:00-18:00';
return '2nd Shift 16:00-18:00';
case '3':
return '第三班 18:00-20:30';
return '3rd Shift 18:00-20:30';
}
},
inDutyCnt: (n) => '当前值班人数:' + n,
inDutyCnt: (n) => 'EVA members on duty: ' + n,
},
},
};