From 8c2c1c08526015c310a4687e9afc876c6c550ff0 Mon Sep 17 00:00:00 2001 From: verou <857149855@qq.com> Date: 星期二, 11 三月 2025 13:46:51 +0800 Subject: [PATCH] fix:po order --- rsf-admin/src/i18n/en.js | 1073 ++++++++++++++++++++++++++++++----------------------------- 1 files changed, 547 insertions(+), 526 deletions(-) diff --git a/rsf-admin/src/i18n/en.js b/rsf-admin/src/i18n/en.js index de2d385..d75ea04 100644 --- a/rsf-admin/src/i18n/en.js +++ b/rsf-admin/src/i18n/en.js @@ -1,544 +1,565 @@ -import englishMessages from 'ra-language-english'; +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' - } - }, + ...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", + basicInfo: "BasicInfo", + settings: "Settings", + basicInfo: "BasicInfo", + system: "System", + user: "User", + role: "Role", + menu: "Menu", + host: "Host", + department: "Department", + token: "Token", + operation: "Operation", + config: "Config", + tenant: "Tenant", + userLogin: "Token", + customer: "Customer", + shipper: "shipper", + matnr: "Matnr", + matnrGroup: "MatnrGroup", + warehouse: "Warehouse", + warehouseAreas: "WarehouseAreas", + loc: "Loc", + container: "Container", + contract: "Contract", + qlyInspect: "QlyInspect", + dictType: "DictType", + dictData: "DictData", + companys: "Companys", + serialRuleItem: "SerialRuleItem", + serialRule: "SerialRule", + asnOrder: "AsnOrder", + asnOrderItem: "AsnOrderItem", + purchase: "Purchase", + purchaseItem: "PurchaseItem", + whMat: "Warehouse Mat", + }, + 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: { - statusTrue: 'Enable', - statusFalse: 'Disable', - true: 'Yes', - false: 'No', + menu: "Menu", + button: "Button", }, - time: { - after: 'Time After', - before: 'Time Before' + }, + 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", }, - 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', - }, + }, + 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", + }, + customer: { + uuid: "uuid", + name: "name", + }, + shipper: { + uuid: "uuid", + name: "name", + }, + matnr: { + name: "name", + code: "code", + shipperId: "shipperId", + groupId: "groupId", + rglarId: "RegularId", + erpCode: "erpCode", + spec: "spec", + model: "model", + weight: "weight", + color: "color", + size: "size", + describle: "describle", + nromNum: "nromNum", + unit: "unit", + purUnit: "purchaseUnit", + stockUnit: "stockUnit", + stockLevel: "stockLeval", + isLabelMange: "isLabelMange", + safeQty: "safetyQty", + minQty: "minQty", + maxQty: "maxQty", + stagn: "stagnate", + valid: "validity", + validWarn: "validityWarn", + flagCheck: "flagCheck", + }, + matnrGroup: { + name: "name", + code: "code", + parentId: "parentId", + }, + warehouse: { + name: "name", + code: "code", + factory: "factory", + address: "address", + longitude: "longitude", + latgitude: "latgitude", + length: "length", + width: "width", + height: "height", + }, + warehouseAreas: { + uuid: "uuid", + name: "name", + code: "code", + shipperId: "shipperId", + supplierId: "supplierId", + flagMinus: "flagMinus", + flagLabelMange: "flagLabelMange", + flagMix: "flagMix", + }, + loc: { + warehouseId: "Warehouse", + areaId: "Area", + code: "Code", + type: "Type", + name: "Name", + flagLogic: "FlagLogic", + fucAtrrs: "FucAtrrs", + barcode: "Barcode", + unit: "Unit", + size: "Size", + row: "Row", + col: "Col", + lev: "Lev", + channel: "Channel", + maxParts: "MaxParts", + maxPack: "MaxPack", + flagLabelMange: "FlagLabelMange", + locAttrs: "LocAttrs", + }, + container: { + code: "Code", + name: "Name", + typeId: "TypeId", + used: "Used", + lenght: "Lenght", + width: "Width", + height: "Height", + rstLen: "RstLen", + rstWid: "RstWid", + rstWei: "RstWei", + rstHei: "RstHei", + panrentId: "PanrentId", + vaildTime: "VaildTime", + flagRycle: "FlagRycle", + flagLogic: "FlagLogic", + }, + contract: { + code: "Code", + name: "Name", + projectName: "ProjectName", + }, + qlyInspect: { + code: "Code", + name: "Name", + }, + dictType: { + code: "Code", + name: "Name", + description: "Description", + }, + dictData: { + dictTypeId: "dictTypeId", + dictTypeCode: "dictTypeCode", + value: "value", + label: "label", + sort: "sort", + color: "color", + }, + companys: { + code: "Code", + name: "Name", + nameEn: "NameEn", + breifCode: "BreifCode", + type: "Type", + contact: "Contact", + tel: "Tel", + email: "Email", + pcode: "PCode", + province: "Province", + city: "City", + address: "Address", + }, + serialRuleItem: { + ruleId: "ruleId", + wkType: "wkType", + feildValue: "feildValue", + len: "len", + lenStr: "lenStr", + sort: "sort", + }, + serialRule: { + code: "code", + name: "name", + delimit: "delimit", + reset: "reset", + resetDep: "resetDep", + currValue: "currValue", + lastCode: "lastCode", + }, + whMat: { + matnrCode: "matnrCode", + matnrName: "matnrName", + matnrGroupId: "matnrGroupId", + spec: "spec", + color: "color", + size: "size", + minWeight: "minWeight", + maxWeight: "maxWeight", + }, + asnOrder: { + code: "Code", + poCode: "poCode", + poId: "poId", + type: "Type", + wkType: "wkType", + anfme: "anfme", + qty: "qty", + logisNo: "logisNo", + arrTime: "Arrived", + rleStatus: "Release", + ntyStatus: "Notify", + }, + asnOrderItem: { + asnId: "asnId", + asnCode: "asnCode", + poDetlId: "poDetlId", + poDetlCode: "poDetlCode", + matnrId: "matnrId", + matnk: "matnk", + anfme: "anfme", + stockUnit: "stockUnit", + purQty: "purQty", + purUnit: "purUnit", + qty: "qty", + splrCode: "splrCode", + splrName: "splrName", + qrcode: "qrcode", + barcode: "barcode", + packName: "packName", + ntyStatus: "ntyStatus", + }, + purchaseItem: { + purchaseId: "purchaseId", + erpItemId: "erpItemId", + matnrCode: "matnrCode", + matnrName: "matnrName", + unit: "unit", + anfme: "anfme", + qty: "qty", + nromQty: "nromQty", + asnQty: "asnQty", + printQty: "printQty", + splrName: "splrName", + splrCode: "splrCode", + splrBatch: "splrBatch", + }, + purchase: { + code: "code", + erpId: "erpId", + type: "type", + wkType: "wkType", + source: "source", + preArr: "preArr", + anfme: "anfme", + qty: "qty", + workQty: "workQty", + channel: "channel", + erpCode: "erpCode", + project: "project", + startTime: "startTime", + endTime: "endTime", + }, + purchaseItem: { + purchaseId: "purchaseId", + erpItemId: "erpItemId", + matnrCode: "matnrCode", + matnrName: "matnrName", + unit: "unit", + anfme: "anfme", + qty: "qty", + nromQty: "nromQty", + asnQty: "asnQty", + printQty: "printQty", + splrName: "splrName", + splrCode: "splrCode", + splrBatch: "splrBatch", + }, }, - filters: { - lastCreated: 'Last created', - today: 'Today', - thisWeek: 'This week', - lastWeek: 'Last week', - thisMonth: 'This month', - lastMonth: 'Last month', - earlier: 'Earlier...', + }, + 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", }, - validate: { - pwdMisMatch: 'The password confirmation is not the same as the password.' + login: { + title: "Welcome", + footer: "Footer Goes Here", + tenant: "Company", + email: "Email Address", + username: "Username", + password: "Password", + confirmPwd: "Confirm Password", + code: "Verification Code", + tab: { + login: "SIGN IN", + register: "SIGN UP", + }, + button: { + login: "SIGN IN", + register: "SIGN UP", + code: "Send Code", + }, }, settings: { - base: 'Base', - security: 'Security', + 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.", + }, + }, }, - create: { - title: 'Create', - empty: { - title: 'Data Empty', - desc: 'Please Create Data First', - button: 'Create Data', + 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.", + }, + }, }, - update: { - title: 'Update' + matnr: { + title: { + basic: "basic info", + control: "control", + batchRole: "batch role", + }, }, - menu: { - dashboard: 'Dashboard', - basicInfo: 'BasicInfo', - settings: 'Settings', - basicInfo: 'BasicInfo', - system: 'System', - user: 'User', - role: 'Role', - menu: 'Menu', - host: 'Host', - department: 'Department', - token: 'Token', - operation: 'Operation', - config: 'Config', - tenant: 'Tenant', - userLogin: 'Token', - customer: 'Customer', - shipper: 'shipper', - matnr: 'Matnr', - matnrGroup: 'MatnrGroup', - warehouse: 'Warehouse', - warehouseAreas: 'WarehouseAreas', - loc: 'Loc', - container: 'Container', - contract: 'Contract', - qlyInspect: 'QlyInspect', - dictType: 'DictType', - dictData: 'DictData', - companys: 'Companys', - serialRuleItem: 'SerialRuleItem', - serialRule: 'SerialRule', - asnOrder: 'AsnOrder', - asnOrderItem: 'AsnOrderItem', - purchase: 'Purchase', - purchaseItem: 'PurchaseItem', - whMat: 'Warehouse Mat', + whMat: { + title: { + add: "add", + }, }, - 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", - }, - customer: { - uuid: "uuid", - name: "name", - }, - shipper: { - uuid: "uuid", - name: "name", - }, - matnr: { - name: "name", - code: "code", - shipperId: "shipperId", - groupId: "groupId", - rglarId: "RegularId", - platCode: "platCode", - spec: "spec", - model: "model", - weight: "weight", - color: "color", - size: "size", - describle: "describle", - nromNum: "nromNum", - unit: "unit", - purUnit: "purchaseUnit", - stockUnit: "stockUnit", - stockLevel: "stockLeval", - isLabelMange: "isLabelMange", - safeQty: "safetyQty", - minQty: "minQty", - maxQty: "maxQty", - stagn: "stagnate", - valid: "validity", - validWarn: "validityWarn", - flagCheck: "flagCheck", - }, - matnrGroup: { - name: "name", - code: "code", - parentId: "parentId", - }, - warehouse: { - name: "name", - code: "code", - factory: "factory", - address: "address", - longitude: "longitude", - latgitude: "latgitude", - length: "length", - width: "width", - height: "height", - }, - warehouseAreas: { - uuid: "uuid", - name: "name", - code: "code", - shipperId: "shipperId", - supplierId: "supplierId", - flagMinus: "flagMinus", - flagLabelMange: "flagLabelMange", - flagMix: "flagMix", - }, - loc: { - warehouseId: "Warehouse", - areaId: "Area", - code: "Code", - type: "Type", - name: "Name", - flagLogic: "FlagLogic", - fucAtrrs: "FucAtrrs", - barcode: "Barcode", - unit: "Unit", - size: "Size", - row: "Row", - col: "Col", - lev: "Lev", - channel: "Channel", - maxParts: "MaxParts", - maxPack: "MaxPack", - flagLabelMange: "FlagLabelMange", - locAttrs: "LocAttrs", - }, - container: { - code: "Code", - name: "Name", - typeId: "TypeId", - used: "Used", - lenght: "Lenght", - width: "Width", - height: "Height", - rstLen: "RstLen", - rstWid: "RstWid", - rstWei: "RstWei", - rstHei: "RstHei", - panrentId: "PanrentId", - vaildTime: "VaildTime", - flagRycle: "FlagRycle", - flagLogic: "FlagLogic", - }, - contract: { - code: "Code", - name: "Name", - projectName: "ProjectName", - }, - qlyInspect: { - code: "Code", - name: "Name", - }, - dictType: { - code: "Code", - name: "Name", - description: "Description", - }, - dictData: { - dictTypeId: "dictTypeId", - dictTypeCode: "dictTypeCode", - value: "value", - label: "label", - sort: "sort", - color: "color", - }, - companys: { - code: "Code", - name: "Name", - nameEn: "NameEn", - breifCode: "BreifCode", - type: "Type", - contact: "Contact", - tel: "Tel", - email: "Email", - pcode: "PCode", - province: "Province", - city: "City", - address: "Address", - }, - serialRuleItem: { - ruleId: "ruleId", - wkType: "wkType", - feildValue: "feildValue", - len: "len", - lenStr: "lenStr", - sort: "sort", - }, - serialRule: { - code: "code", - name: "name", - delimit: "delimit", - reset: "reset", - resetDep: "resetDep", - currValue: "currValue", - lastCode: "lastCode", - }, - whMat: { - matnrCode: "matnrCode", - matnrName: "matnrName", - matnrGroupId: "matnrGroupId", - spec: "spec", - color: "color", - size: "size", - minWeight: "minWeight", - maxWeight: "maxWeight", - }, - asnOrder: { - code: "Code", - poCode: "poCode", - poId: "poId", - type: "Type", - wkType: "wkType", - anfme: "anfme", - qty: "qty", - logisNo: "logisNo", - arrTime: "Arrived", - rleStatus: "Release", - ntyStatus: "Notify", - }, - asnOrderItem: { - asnId: "asnId", - asnCode: "asnCode", - poDetlId: "poDetlId", - poDetlCode: "poDetlCode", - matnrId: "matnrId", - matnk: "matnk", - anfme: "anfme", - stockUnit: "stockUnit", - purQty: "purQty", - purUnit: "purUnit", - qty: "qty", - splrCode: "splrCode", - splrName: "splrName", - qrcode: "qrcode", - barcode: "barcode", - packName: "packName", - ntyStatus: "ntyStatus", - }, - purchase: { - code: "code", - platId: "PlatId", - type: "type", - wkType: "wkType", - source: "source", - preArr: "preArr", - anfme: "anfme", - qty: "qty", - workQty: "workQty", - channel: "channel", - platCode: "platCode", - project: "project", - startTime: "startTime", - endTime: "endTime", - }, - purchaseItem: { - purchaseId: "purchaseId", - platItemId: "erpItemId", - matnrCode: "matnrCode", - matnrName: "matnrName", - unit: "unit", - anfme: "anfme", - qty: "qty", - nromQty: "nromQty", - asnQty: "asnQty", - printQty: "printQty", - splrName: "splrName", - splrCode: "splrCode", - splrBatch: "splrBatch", - }, - } + }, + form: { + matnr: { + shipper: "shipper is required", + groupId: "groupId is required", }, - 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', - email: 'Email Address', - username: 'Username', - password: 'Password', - confirmPwd: 'Confirm Password', - code: 'Verification Code', - tab: { - login: 'SIGN IN', - register: 'SIGN UP', - }, - button: { - login: 'SIGN IN', - register: 'SIGN UP', - code: 'Send Code', - }, - }, - 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.' - }, - }, - }, - matnr: { - title: { - basic: 'basic info', - control: 'control', - batchRole: 'batch role', - } - }, - whMat: { - title: { - add: 'add', - } - }, - }, - form: { - matnr: { - shipper: 'shipper is required', - groupId: 'groupId is required', - } - } + }, + toolbar: { + inspection: "Inspection", + creatcode: "creatcode", + }, }; export default customEnglishMessages; -- Gitblit v1.9.1