90 lines
1.6 KiB
TypeScript
90 lines
1.6 KiB
TypeScript
export interface ButtonText {
|
|
buttonText: {
|
|
submit: string;
|
|
reset: string;
|
|
login: string;
|
|
logout: string;
|
|
};
|
|
submitText: {
|
|
success: string;
|
|
error: string;
|
|
blank: string;
|
|
};
|
|
memberText: {
|
|
auth: string;
|
|
};
|
|
indexText: {
|
|
conclusion: string;
|
|
askLeave: string;
|
|
};
|
|
loginText: {
|
|
success: string;
|
|
error: string;
|
|
fail: string;
|
|
};
|
|
logoutText: {
|
|
success: string;
|
|
error: string;
|
|
};
|
|
}
|
|
|
|
export const buttonZhCn: ButtonText = {
|
|
buttonText: {
|
|
submit: '提交',
|
|
reset: '清空',
|
|
login: '登录',
|
|
logout: '登出',
|
|
},
|
|
submitText: {
|
|
success: '提交成功',
|
|
error: '提交失败:',
|
|
blank: '请填写完整!',
|
|
},
|
|
memberText: {
|
|
auth: '协会统一身份认证登录',
|
|
},
|
|
indexText: {
|
|
conclusion: '提交值班总结',
|
|
askLeave: '我要请假',
|
|
},
|
|
loginText: {
|
|
success: '登录成功',
|
|
error: '登录失败',
|
|
fail: '请检查用户名或密码!',
|
|
},
|
|
logoutText: {
|
|
success: '登出成功',
|
|
error: '登出失败',
|
|
},
|
|
};
|
|
|
|
export const buttonEnUs: ButtonText = {
|
|
buttonText: {
|
|
submit: 'Submit',
|
|
reset: 'Reset',
|
|
login: 'Login',
|
|
logout: 'Logout',
|
|
},
|
|
submitText: {
|
|
success: 'Success',
|
|
error: 'Error: ',
|
|
blank: 'Please fill in the blanks!',
|
|
},
|
|
memberText: {
|
|
auth: 'EVA Auth Login Entry',
|
|
},
|
|
indexText: {
|
|
conclusion: 'Submit Duty Conclusion',
|
|
askLeave: 'Ask for Leave',
|
|
},
|
|
loginText: {
|
|
success: 'Login Success',
|
|
error: 'Login Failed',
|
|
fail: 'Please check username or password!',
|
|
},
|
|
logoutText: {
|
|
success: 'Logout Success',
|
|
error: 'Logout Failed',
|
|
},
|
|
};
|