add en_US localization

main
Dawn_Ocean 2024-03-17 11:34:14 +08:00
parent d525f0288b
commit 7cf2cbb798
3 changed files with 36 additions and 31 deletions

View File

@ -79,19 +79,19 @@ export const memberPageZhCn: MemberPageText = {
{ title: '机主线上填写工单,审核接取维修后加入 Oreo' }, { title: '机主线上填写工单,审核接取维修后加入 Oreo' },
{ title: '进行维修工作,认领工单,通过小程序与机主交流' }, { title: '进行维修工作,认领工单,通过小程序与机主交流' },
{ title: '维修结束,清点机主物品,待机主取回' }, { title: '维修结束,清点机主物品,待机主取回' },
{ title: '机主取回确认无误后,修改工单状态' }, { title: '机主取回机器确认无误后,修改工单状态' },
], ],
tipsList: [ tipsList: [
{ title: '戴尔/外星人、Surface、苹果电脑不能拆机' }, { title: '戴尔/外星人、Surface、苹果电脑不能拆机' },
{ title: '数据无价,请提醒机主随时做好数据备份' }, { title: '数据无价,请提醒机主随时做好数据备份' },
{ title: '204 是实验室,请勿在内饮食' }, { title: '离开 204 前清点好维修物资!' },
{ title: '螺丝上了吗?电源排线插了吗?' }, { title: '螺丝上了吗?电源排线插了吗?' },
], ],
}; };
export const memberPageEnUs: MemberPageText = { export const memberPageEnUs: MemberPageText = {
mainTitleLine: '您好这里是E志者协会', mainTitleLine: 'Hi! This is EVA.',
subTitleLine: '祝你满绩每一天', subTitleLine: 'Have a great day!',
stuidText: { stuidText: {
title: 'Student ID', title: 'Student ID',
placeholder: 'Consistent with EVA Auth', placeholder: 'Consistent with EVA Auth',
@ -105,43 +105,46 @@ export const memberPageEnUs: MemberPageText = {
}, },
dutyCard: { dutyCard: {
offDuty: { offDuty: {
title: '空闲', title: 'Off Duty',
reason: (s) => '未值班原因:' + s, reason: (s) => 'Off duty reason: ' + s,
recoverTime: (t) => '恢复值班时间:' + t, recoverTime: (t) => 'Resumption of duty: ' + t,
}, },
inDuty: { inDuty: {
title: '值班中', title: 'On Duty',
currentDutyText: (c) => { currentDutyText: (c) => {
switch (c) { switch (c) {
case 'off': case 'off':
return '当前未值班'; return 'Currently not on duty';
case '1': case '1':
return '第一班 13:30-16:00'; return '1st Shift 13:30-16:00';
case '2': case '2':
return '第二班 16:00-18:00'; return '2nd Shift 16:00-18:00';
case '3': case '3':
return '第三班 18:00-20:30'; return '3rd Shift 18:00-20:30';
case 'others': case 'others':
return '其他值班时间,见通知'; return 'Other duty hours, see notice';
} }
}, },
inDutyCnt: (n) => '当前值班人数:' + n, inDutyCnt: (n) => 'EVA members on duty: ' + n,
}, },
}, },
expandTitle: { expandTitle: {
stepInfo: '查看维修步骤', stepInfo: 'Check for maintenance steps',
tipsInfo: '查看注意事项', tipsInfo: 'Check for tips',
}, },
stepList: [ stepList: [
{ title: '机主线上填写工单,审核接取维修后加入 Oreo' }, { title: 'The owner fills out ticket online. Add it to Oreo after audit.' },
{ title: '进行维修工作,认领工单,通过小程序与机主交流' }, { title: 'Repair, pick the ticket, and communicate with the owner online' },
{ title: '维修结束,清点机主物品,待机主取回' }, {
{ title: '机主取回确认无误后,修改工单状态' }, title:
"Maintenance completed, inventory owner's belongings and await retrieving",
},
{ title: 'Modify the work order status after the owner retrieves.' },
], ],
tipsList: [ tipsList: [
{ title: '戴尔/外星人、Surface、苹果电脑不能拆机' }, { title: 'Dell/Alienware, Surface, Apple cannot be dissassembled.' },
{ title: '数据无价,请提醒机主随时做好数据备份' }, { title: 'Please remind the owner to backup data at any time!' },
{ title: '204 是实验室,请勿在内饮食' }, { title: '204 is a laboratory. Do not eat inside.' },
{ title: '螺丝上了吗?电源排线插了吗?' }, { title: 'Are the screws on? Is the power cable plugged in?' },
], ],
}; };

View File

@ -35,7 +35,8 @@ export const modalZhCn: ModalText = {
export const modalEnUs: ModalText = { export const modalEnUs: ModalText = {
pick: { pick: {
title: 'Pick this ticket', title: 'Pick this ticket',
content: '工单可多人认领!认领后将无法撤销!', content:
'Tickets can be claimed by multiple members! Once claimed, it will not be able to be revoked!',
}, },
addToOreo: { addToOreo: {
title: 'Add ticket to Oreo', title: 'Add ticket to Oreo',

View File

@ -50,7 +50,7 @@ export const ticketDetailZhCn: TicketDetailText = {
]), ]),
descTitle: '问题描述', descTitle: '问题描述',
infoTitle: '机主信息', infoTitle: '机主信息',
tookAway: '已取回', tookAway: '已取回',
addToOreo: '加入 Oreo', addToOreo: '加入 Oreo',
addNote: '添加评论', addNote: '添加评论',
pick: '认领', pick: '认领',
@ -87,19 +87,20 @@ export const ticketDetailEnUs: TicketDetailText = {
['4', 'Device to be retrieved'], ['4', 'Device to be retrieved'],
['5', 'Ticket finished'], ['5', 'Ticket finished'],
]), ]),
descTitle: 'Problem description', descTitle: 'Description',
infoTitle: 'Contact the owner', infoTitle: 'Contact',
tookAway: 'Already retrieved', tookAway: 'Already retrieved',
addToOreo: 'Add to Oreo', addToOreo: 'Add to Oreo',
addNote: 'Comment', addNote: 'Comment',
pick: 'Pick', pick: 'Pick',
comment: { comment: {
title: 'Add Comment', title: 'Add Comment',
placeholder: '可以在这里交流机器情况、维修进度、提出问题~', placeholder:
'You can exchange information the device, the progress of repairs, and ask questions here.',
}, },
status: { status: {
button: 'Change Status', button: 'Modify Status',
title: '请选择要改变成为的状态', title: 'Please select the status you want to modify to',
cancel: 'Cancel', cancel: 'Cancel',
status0: '', status0: '',
status1: '', status1: '',