add english localization
parent
df71ebf219
commit
e82225ecbc
|
|
@ -41,7 +41,7 @@ export const buttonEnUs: ButtonText = {
|
|||
error: 'Error: ',
|
||||
},
|
||||
loginText: {
|
||||
success: '登录成功',
|
||||
error: '登录失败',
|
||||
success: 'Login Success',
|
||||
error: 'Login Failed',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ export const informPageZhCn: InformPageText = {
|
|||
export const informPageEnUs: InformPageText = {
|
||||
phoneText: {
|
||||
title: 'Phone',
|
||||
placeholder: '便于查询工单',
|
||||
placeholder: 'Used for querying tickets',
|
||||
},
|
||||
nameText: {
|
||||
title: 'Real Name',
|
||||
placeholder: '必填,与工单绑定',
|
||||
placeholder: '(Required) Bounded to your ticket',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ export const memberPageZhCn: MemberPageText = {
|
|||
export const memberPageEnUs: MemberPageText = {
|
||||
stuidText: {
|
||||
title: 'Student ID',
|
||||
placeholder: '与统一身份认证学号一致',
|
||||
placeholder: 'Consistent with EVA Auth',
|
||||
},
|
||||
passwdText: {
|
||||
title: 'Password',
|
||||
placeholder: '与 EVA 统一身份认证一致',
|
||||
placeholder: 'Consistent with EVA Auth',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -82,41 +82,41 @@ export const repairPageZhCn: RepairPageText = {
|
|||
|
||||
export const repairPageEnUs: RepairPageText = {
|
||||
typeText: {
|
||||
computer: '电脑',
|
||||
appliance: '电器',
|
||||
computer: 'Computer',
|
||||
appliance: 'Appliance',
|
||||
},
|
||||
deviceText: {
|
||||
title: '设备品牌',
|
||||
title: 'Brand',
|
||||
placeholder: 'e.g. ROG',
|
||||
},
|
||||
deviceModelText: {
|
||||
title: '设备型号',
|
||||
title: 'Device Model',
|
||||
placeholder: 'e.g. Zephyrus G14 2022',
|
||||
},
|
||||
ownerText: {
|
||||
title: '机主姓名',
|
||||
title: 'Name',
|
||||
placeholder: 'e.g. Dean Ma',
|
||||
},
|
||||
phoneText: {
|
||||
title: '联系方式',
|
||||
title: 'Tel',
|
||||
placeholder: 'e.g. 18888888888',
|
||||
},
|
||||
descriptionText: {
|
||||
title: '问题描述',
|
||||
placeholder: 'e.g. ZJUWLAN 无法登入校内网站',
|
||||
title: 'Problem Description',
|
||||
placeholder: 'e.g. ZJUWLAN inaccessable',
|
||||
},
|
||||
checkboxText: {
|
||||
none: '无附件',
|
||||
usbDisk: 'U 盘',
|
||||
mouseOrReceiver: '鼠标/接收器',
|
||||
powerAdapter: '电源适配器',
|
||||
none: 'None',
|
||||
usbDisk: 'USB Disk',
|
||||
mouseOrReceiver: 'Mouse/Receiver',
|
||||
powerAdapter: 'Power Adapter',
|
||||
others: {
|
||||
label: '其他',
|
||||
desc: '请于评论中详述',
|
||||
label: 'Others',
|
||||
desc: 'Please elaborate in the comments',
|
||||
},
|
||||
},
|
||||
cardText: {
|
||||
note: '工单描述请尽量简短哦!',
|
||||
title: '预填写工单',
|
||||
note: 'Please keep the ticket description as short as possible',
|
||||
title: 'Pre-filling working tickets',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ export const reportPageZhCn: ReportPageText = {
|
|||
|
||||
export const reportPageEnUs: ReportPageText = {
|
||||
placeHolderText:
|
||||
'无论是有关于小程序的建议,还是关于E志者协会的建议,都可以提出来哦!',
|
||||
'Feel free to post your suggestions about the weapp or about us!',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export const ticketDetailEnUs: TicketDetailText = {
|
|||
{ title: 'Created' },
|
||||
{ title: 'Repairing' },
|
||||
{ title: 'Finished' },
|
||||
{ title: 'Retrived' },
|
||||
{ title: 'Retrieved' },
|
||||
],
|
||||
createTicketMessage: 'Created ticket',
|
||||
statusModifyPrefix: 'Modified repair status to: ',
|
||||
|
|
@ -48,10 +48,10 @@ export const ticketDetailEnUs: TicketDetailText = {
|
|||
['1', 'Repairing'],
|
||||
['2', '2(?)'],
|
||||
['3', '3(?)'],
|
||||
['4', 'Device to be taken home'],
|
||||
['4', 'Device to be retrieved'],
|
||||
['5', 'Ticket finished'],
|
||||
]),
|
||||
descTitle: 'Problem description',
|
||||
tookAway: 'Already took home',
|
||||
tookAway: 'Already retrieved',
|
||||
addNote: 'Add a comment',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@ export const ticketListZhCn: TicketListText = {
|
|||
|
||||
export const ticketListEnUs: TicketListText = {
|
||||
createdAt: (time) => {
|
||||
return '创建于' + ' ' + time;
|
||||
return 'Created at' + ' ' + time;
|
||||
},
|
||||
statusMap: new Map([
|
||||
[1, '创建成功'],
|
||||
[2, '维修中'],
|
||||
[3, '待取回'],
|
||||
[4, '已取回'],
|
||||
[5, '已取回'],
|
||||
[1, 'Created'],
|
||||
[2, 'Repairing'],
|
||||
[3, 'Pending Retrieval'],
|
||||
[4, 'Retrieved'],
|
||||
[5, 'Retrieved'],
|
||||
]),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -54,27 +54,27 @@ export const userPageZhCn: UserPageText = {
|
|||
|
||||
export const userPageEnUs: UserPageText = {
|
||||
memberEntry: {
|
||||
front: '再点击 ',
|
||||
behind: ' 次以进入协会成员登录页面',
|
||||
front: 'Click ',
|
||||
behind: ' more times to enter member login page',
|
||||
},
|
||||
ticketColumn: {
|
||||
title: '我的工单',
|
||||
note: '在这里查看历史工单!',
|
||||
title: 'My Tickets',
|
||||
note: 'View the history of your tickets here!',
|
||||
},
|
||||
infoColumn: {
|
||||
title: '我的信息',
|
||||
note: '能帮助亦可更好地找到你哦!',
|
||||
title: 'My Information',
|
||||
note: 'It will help us contact you!',
|
||||
},
|
||||
settingsColumn: {
|
||||
title: 'Settings',
|
||||
note: '在这里配置小程序',
|
||||
note: 'Configure the applet here!',
|
||||
},
|
||||
reportColumn: {
|
||||
title: '意见反馈',
|
||||
note: '有什么想说的都可以告诉亦可哦!',
|
||||
title: 'Report',
|
||||
note: 'Let us know if you have any suggestions!',
|
||||
},
|
||||
aboutColumn: {
|
||||
title: '关于我们',
|
||||
note: '查看开发者信息',
|
||||
title: 'About Us',
|
||||
note: 'View developer information.',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue