add locale for reminder
parent
7f017a0b47
commit
b14d9c363d
|
|
@ -279,7 +279,7 @@ export default class TicketDetail extends Component<{}, TicketDetailState> {
|
||||||
changeStatus(this, this.state.statusToBe);
|
changeStatus(this, this.state.statusToBe);
|
||||||
} else {
|
} else {
|
||||||
Taro.atMessage({
|
Taro.atMessage({
|
||||||
message: pt.get().button.submitText.blank,
|
message: pt.get().ticketDetail.reminder.error,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -293,19 +293,19 @@ export default class TicketDetail extends Component<{}, TicketDetailState> {
|
||||||
reminderOption = [
|
reminderOption = [
|
||||||
{
|
{
|
||||||
value: 0,
|
value: 0,
|
||||||
label: pt.get().repairPage.checkboxText.none,
|
label: pt.get().ticketDetail.reminder.r0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 1,
|
value: 1,
|
||||||
label: pt.get().repairPage.checkboxText.usbDisk,
|
label: pt.get().ticketDetail.reminder.r1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 2,
|
value: 2,
|
||||||
label: pt.get().repairPage.checkboxText.mouseOrReceiver,
|
label: pt.get().ticketDetail.reminder.r2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 3,
|
value: 3,
|
||||||
label: pt.get().repairPage.checkboxText.powerAdapter,
|
label: pt.get().ticketDetail.reminder.r3,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,11 @@ export interface TicketDetailText {
|
||||||
};
|
};
|
||||||
reminder: {
|
reminder: {
|
||||||
title: string;
|
title: string;
|
||||||
|
error: string;
|
||||||
|
r0: string;
|
||||||
|
r1: string;
|
||||||
|
r2: string;
|
||||||
|
r3: string;
|
||||||
};
|
};
|
||||||
comment: {
|
comment: {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -77,6 +82,11 @@ export const ticketDetailZhCn: TicketDetailText = {
|
||||||
},
|
},
|
||||||
reminder: {
|
reminder: {
|
||||||
title: '注意事项!',
|
title: '注意事项!',
|
||||||
|
error: '请重新确认机器状况!',
|
||||||
|
r0: '是否进行维修?',
|
||||||
|
r1: '螺丝是否装回?排线是否插好?',
|
||||||
|
r2: '维修后机器是否已正常运行?',
|
||||||
|
r3: '随机附件是否已经归还?',
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
title: '请选择要改变成为的状态',
|
title: '请选择要改变成为的状态',
|
||||||
|
|
@ -125,6 +135,11 @@ export const ticketDetailEnUs: TicketDetailText = {
|
||||||
},
|
},
|
||||||
reminder: {
|
reminder: {
|
||||||
title: 'Reminder',
|
title: 'Reminder',
|
||||||
|
error: 'Please re-confirm the status of the device!',
|
||||||
|
r0: 'Is the maintenance performed?',
|
||||||
|
r1: 'Are the srews on? Is the power cable plugged in?',
|
||||||
|
r2: 'Did the device operate well after maintenance?',
|
||||||
|
r3: 'Are the attachments reverted?',
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
title: 'Please select the status you want to modify to',
|
title: 'Please select the status you want to modify to',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue