import englishMessages from 'ra-language-english'; const customEnglishMessages = { ...englishMessages, hello: 'Hello World', common: { response: { success: "Success", fail: "Fail", dataError: "Submit data was error, Please check", }, field: { id: 'ID', uuid: 'uuid', name: 'name', createTime: 'create time', createBy: 'create by', updateTime: 'update time', updateBy: 'update by', status: 'status', memoWrap: 'memo wrap', memo: 'memo', opt: 'operate', }, list: { empty: { tip: 'No data to display', } }, edit: { title: { main: 'Main', common: 'Common', changePwd: 'Change Password', }, side: { title: 'More Info' } }, enums: { statusTrue: 'Enable', statusFalse: 'Disable', true: 'Yes', false: 'No', }, time: { after: 'Time After', before: 'Time Before' }, action: { reset: 'Reset', expand: 'Expand', expandAll: 'Expand All', collapse: 'Collapse', collapseAll: 'Collapse All', scope: 'Assign', import: { title: 'Import', stop: 'Stop import', msg: 'Here is a sample CSV file you can use as a template', tips: 'The import is running, please do not close this tab.', err: 'Failed to import this file, please make sure your provided a valid CSV file.', download: 'Download Import Template', result: 'Contacts import complete. Imported %{success} success, with %{error} errors', }, loadMore: 'Load More Data', complete: 'Complete', deprecate: 'Deprecate', resend: 'RESEND', selected: 'selected', }, msg: { confirm: { tip: 'Tip', desc: 'Are you sure you want to proceed?', }, placeholder: 'Please enter your search content', }, }, filters: { lastCreated: 'Last created', today: 'Today', thisWeek: 'This week', lastWeek: 'Last week', thisMonth: 'This month', lastMonth: 'Last month', earlier: 'Earlier...', }, validate: { pwdMisMatch: 'The password confirmation is not the same as the password.' }, settings: { base: 'Base', security: 'Security', }, create: { title: 'Create', empty: { title: 'Data Empty', desc: 'Please Create Data First', button: 'Create Data', }, }, update: { title: 'Update' }, menu: { dashboard: 'Dashboard', settings: 'Settings', system: 'System', user: 'User', role: 'Role', menu: 'Menu', host: 'Host', department: 'Department', token: 'Token', operation: 'Operation', config: 'Config', tenant: 'Tenant', userLogin: 'Token', }, table: { field: { host: { }, config: { uuid: "uuid", name: "name", flag: "flag", val: "val", content: "content", type: "type", }, tenant: { name: "name", flag: "flag", root: "root", }, role: { name: "name", code: "code", }, userLogin: { userId: "user", token: "token", ip: "ip", type: "type", system: "system", }, dept: { name: "name", parentId: "parent id", parentName: "higher", path: "path", pathName: "path name", fullName: "full name", brief: "brief", code: "code", type: "type", leader: "leader", count: "count", sort: "sort", }, menu: { name: "name", parentId: "parent id", parentName: "higher", path: "path", pathName: "pathName", route: "route", component: "component", brief: "brief", code: "code", type: "type", authority: "authority", icon: "icon", sort: "sort", meta: "meta", enums: { menu: 'Menu', button: 'Button', } }, user: { username: "username", password: "password", confirmPwd: "confirm password", nickname: "nickname", avatar: "avatar", code: "code", sex: "sex", phone: "phone", email: "email", emailVerified: "email verified", deptId: "department", realName: "real name", idCard: "idCard", birthday: "birthday", introduction: "introduction", role: "role", sexes: { male: 'Male', female: 'Female', unknown: 'Unknown', } }, operationRecord: { namespace: "namespace", url: "url", appkey: "appkey", timestamp: "timestamp", clientIp: "client ip", request: "request", response: "response", spendTime: "spend time", err: "error", result: "result", userId: "user", }, } }, page: { welcome: { index: ' Welcome to the RSF Management System.', tech: ' Technology stack: Java 17, SpringBoot2.5.3, Mybatis-plus_3.4.1, Spring Security, Druid 1.2.6, Redis, Mysql5.7, Node18, ReactJs, Material UI5.16, Axios, React-Admin5.1' }, login: { title: 'Welcome', footer: 'Footer Goes Here', tenant: 'Company', username: 'Username', password: 'Password', confirmPwd: 'Confirm Password', tab: { login: 'SIGN IN', register: 'SIGN UP', }, button: { login: 'SIGN IN', register: 'SIGN UP', }, }, settings: { resetPwd: { currPwd: 'Current Password', newPwd: 'New Password', confirmNewPwd: 'Confirm Password', resetBtn: 'Reset', tip: { usernameLimit: 'Only 3-20 English letters or numbers are allowed. No special characters.', pwdInputLimit: "New Password must be 6-13 characters long and include both letters and numbers.", pwdNotSameAsOld: "New Password cannot be the same as the Current Password.", pwdNotMatch: "New Password and Confirm Password do not match.", } } }, tenant: { create: { title: { basic: 'Basic Information', root: 'Add Administrator', confirm: 'Confirm', }, btn: { next: 'Next Step', back: 'Back Step', }, tip: { onlyEn: 'Only 3-20 English letters are allowed.' }, }, }, } }; export default customEnglishMessages;