EVA-Notify/src/plain-text/AskLeave.ts

61 lines
1.4 KiB
TypeScript

export interface AskLeaveText {
modal: {
title: string;
content: string;
};
shift: {
title: string;
week: string[];
shift: string[];
};
reason: {
title: string;
placeHolder: string;
};
substitute: {
title: string;
placeHolder: string;
};
}
export const askLeaveZhCn: AskLeaveText = {
modal: {
title: '确认无代班?',
content: '值班人数少于 4 时须填写代班人员。请假记录将会被上传保存!',
},
shift: {
title: '值班时间',
week: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
shift: ['第一班', '第二班', '第三班'],
},
reason: {
title: '请假原因',
placeHolder: '请在此说明请假原因',
},
substitute: {
title: '替班人员',
placeHolder: '人数少于 4 时必填!',
},
};
export const askLeaveEnUs: AskLeaveText = {
modal: {
title: 'Confirm no substitute?',
content:
'Must have substitute if members are less than 4! The ticket will be uploaded and saved!',
},
shift: {
title: 'Duty time',
week: ['Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.', 'Sun.'],
shift: ['1st Shift', '2nd Shift', '3rd Shift'],
},
reason: {
title: 'Reason',
placeHolder: 'Leave your reason for leaving here',
},
substitute: {
title: 'Substitute',
placeHolder: 'Must have if members are less than 4!',
},
};