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

View File

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