|
@@ -0,0 +1,380 @@
|
|
|
+import locale from 'element-ui/lib/locale/lang/en'
|
|
|
+const lang = {
|
|
|
+ // 基础
|
|
|
+ base: {
|
|
|
+ title: "YunSu CMS",
|
|
|
+ account: "Account",
|
|
|
+ password: "Password",
|
|
|
+ login: "Login",
|
|
|
+ prompt: "Prompt",
|
|
|
+ query: "Query",
|
|
|
+ add: "Add",
|
|
|
+ operate: "Operate",
|
|
|
+ edit: "Edit",
|
|
|
+ imput: "Batch Imput",
|
|
|
+ use: "Start",
|
|
|
+ run: "run",
|
|
|
+ static: "static",
|
|
|
+ warning: "warning",
|
|
|
+ scrap: "scrap",
|
|
|
+ choose: "Please choose",
|
|
|
+ num: "Number",
|
|
|
+ name: "Name",
|
|
|
+ detail: "Detail",
|
|
|
+ back: "Back",
|
|
|
+ upload: "Upload",
|
|
|
+ invite: "Invite",
|
|
|
+ state: "State",
|
|
|
+ },
|
|
|
+ prompt: {
|
|
|
+ success: "Modify Success",
|
|
|
+ success1: "Success,please login again",
|
|
|
+ success2: "Created Success",
|
|
|
+ success3: "Delete Success",
|
|
|
+ success4: "Upload Success",
|
|
|
+ success5: "Maintenance Completed",
|
|
|
+ success6: "Copy Success",
|
|
|
+ fail: "Copy Failed",
|
|
|
+ success7: "Approval Success",
|
|
|
+ success8: "Application Success",
|
|
|
+ success9: "Update Success",
|
|
|
+ },
|
|
|
+ msg: {
|
|
|
+ changeLanguage: "Whether to change the language?",
|
|
|
+ signOut: "Whether to log out?",
|
|
|
+ loginAcc: "Please input Accounts",
|
|
|
+ loginPass: "Please input Password",
|
|
|
+ inputNewPwd: "Please enter a new password",
|
|
|
+ keySearch: "Please enter a keyword to search",
|
|
|
+ uploadType: "Uploaded images can only be in JPG or PNG format!",
|
|
|
+ uploadSize: "Uploaded images should not exceed 5MB in size!",
|
|
|
+ nameSearch: "Please enter your name or cell phone number for search",
|
|
|
+ },
|
|
|
+ // 主页
|
|
|
+ home: {
|
|
|
+ approval: "Approval",
|
|
|
+ noApproval: "No approval message",
|
|
|
+ warning: "Warning",
|
|
|
+ noWarning: "No warning message",
|
|
|
+ maintain: "Maintain",
|
|
|
+ noMaintain: "No maintenance message",
|
|
|
+ all: "View All",
|
|
|
+ pwd: "Change Password",
|
|
|
+ newPwd: "New Password",
|
|
|
+ msg: "Modify Information",
|
|
|
+ exit: "Sign Out",
|
|
|
+ noPage: "No Page!!!",
|
|
|
+ back: "Back To Home",
|
|
|
+ },
|
|
|
+ // 路由
|
|
|
+ navigation: {
|
|
|
+ map: "Map",
|
|
|
+ test: "Running Test",
|
|
|
+ msg: "Message Center",
|
|
|
+ pro: "Project Manage",
|
|
|
+ proList: "Project List",
|
|
|
+ staff: "Personnel Manage",
|
|
|
+ power: "Competence Manage",
|
|
|
+ mold: "Mold Manage",
|
|
|
+ moldList: "Mold List",
|
|
|
+ moldDown: "Document Download",
|
|
|
+ base: "Basic Manage",
|
|
|
+ asset: "Asset Manage",
|
|
|
+ producer: "Producer Manage",
|
|
|
+ device: "YM Mold Manage",
|
|
|
+ },
|
|
|
+ // 运行监测
|
|
|
+ runTest: {
|
|
|
+ state: "current state",
|
|
|
+ stage: "Equipment warning",
|
|
|
+ stage0: "Normal",
|
|
|
+ stage1: "High temperature",
|
|
|
+ stage2: "Low battery",
|
|
|
+ stage3: "High temperature、Low battery",
|
|
|
+ stage4: "Unknown",
|
|
|
+ isMaintain: "Mold Maintenance",
|
|
|
+ isMaintain0: "Need",
|
|
|
+ isMaintain1: "Normal",
|
|
|
+ process: "Process",
|
|
|
+ processMold: "Process Mold",
|
|
|
+ nowState: "Current maintenance status",
|
|
|
+ immediate: "Immediate Treatment",
|
|
|
+ record: "Processing records",
|
|
|
+ maintainUser: "Maintenance Person",
|
|
|
+ maintainType: "Maintenance Plan",
|
|
|
+ fileName: "Maintenance Photo",
|
|
|
+ closeTime: "Close Time",
|
|
|
+ maintenance: "Treatment",
|
|
|
+ type: "Maintenance Type",
|
|
|
+ inputType: "Please select the type of maintenance",
|
|
|
+ vulnerable: "Wearing Part",
|
|
|
+ inputVulnerable: "Please select wearing part",
|
|
|
+ action: "Action",
|
|
|
+ inputAction: "Please select action",
|
|
|
+ spray: "spray paint",
|
|
|
+ check: "inspect",
|
|
|
+ dealWarning: "Deal With Warning",
|
|
|
+ warningType: "Warning Type",
|
|
|
+ inputWarningType: "Please enter warning type",
|
|
|
+ moldSet: "Equipment Set",
|
|
|
+ inputMoldSet: "Please select the equipment",
|
|
|
+ completed: "The alarm has been dealt with.",
|
|
|
+ mustUpload: "Must upload photos",
|
|
|
+ },
|
|
|
+ // 项目管理
|
|
|
+ project: {
|
|
|
+ // 项目列表
|
|
|
+ proName: "Project Name",
|
|
|
+ inputProName: "Please enter the project name",
|
|
|
+ assName: "Asset Company",
|
|
|
+ cusName: "Producer Company",
|
|
|
+ moldName: "Project Mold",
|
|
|
+ inputMoldName: "Please select the project mold",
|
|
|
+ manager: "Project Manager",
|
|
|
+ inputManager: "Please select project manager",
|
|
|
+ indate: "Creat Time",
|
|
|
+ addPro: "Add Project",
|
|
|
+ // 项目详情
|
|
|
+ detail: "Basic Project Information",
|
|
|
+ projectNo: "Project No",
|
|
|
+ ownerApprover: "Asset Approver",
|
|
|
+ inputOwnerApprover: "Please select the approver of the asset side",
|
|
|
+ customerApprover: "Producer Approver",
|
|
|
+ inputCustomerApprover: "Please select the approver of the producer side",
|
|
|
+ users: "General User",
|
|
|
+ inputUsers: "Please select the general user of the project",
|
|
|
+ proFile: "Project Documentation",
|
|
|
+ fileName: "Name",
|
|
|
+ fileSize: "Size",
|
|
|
+ uploader: "Uploader",
|
|
|
+ uploadTime: "Upload Time",
|
|
|
+ operation: "Operation Record",
|
|
|
+ operFileName: "Operation Name",
|
|
|
+ operator: "Operator",
|
|
|
+ operTime: "Operation Time",
|
|
|
+ editPro: "Edit Project",
|
|
|
+ addUser: "Add Person",
|
|
|
+ uploadAndAdd: "Submit and Add",
|
|
|
+ delFile: "Are you sure to delete this document??",
|
|
|
+ // 人员管理
|
|
|
+ initial: "Initial Password",
|
|
|
+ name: "Name",
|
|
|
+ inputName: "Please input Name",
|
|
|
+ mobile: "Mobile",
|
|
|
+ inputMobile: "Please input Mobile",
|
|
|
+ inputTrueMobile: "Please enter a valid phone number",
|
|
|
+ role: "Role",
|
|
|
+ inputRole: "Please input Role",
|
|
|
+ company: "Company",
|
|
|
+ inputCompany: "Please select Company",
|
|
|
+ partake: "Participate Project",
|
|
|
+ inputPartake: "Please choose to participate in the project.",
|
|
|
+ remark: "Remark",
|
|
|
+ inputRemark:"Please enter remark",
|
|
|
+ type: "Type",
|
|
|
+ addPeo: "Add Person",
|
|
|
+ editPeo: "Edit Person",
|
|
|
+ copy: "Copy Link",
|
|
|
+ copyInv: "Please copy the invitation link",
|
|
|
+ delPeo: "Are you sure to delete this person?",
|
|
|
+ // 权限管理
|
|
|
+ choosePro: "Please select the project",
|
|
|
+ inputNameSearch: "Please enter your name for search",
|
|
|
+ upload: "Upload",
|
|
|
+ download: "Download",
|
|
|
+ view: "View",
|
|
|
+ approve: "Approve",
|
|
|
+ editPower: "Edit Power",
|
|
|
+ config: "Config Power",
|
|
|
+ },
|
|
|
+ // 模具管理
|
|
|
+ mold: {
|
|
|
+ // 模具列表
|
|
|
+ moldNo: "Mold Num",
|
|
|
+ modelName: "Mold Name",
|
|
|
+ projectName: "Project Name",
|
|
|
+ factoryName: "Producer",
|
|
|
+ factoryName1: "Asset",
|
|
|
+ area: "Area",
|
|
|
+ runTimes: "Number of runs",
|
|
|
+ ocCycle: "Cycle",
|
|
|
+ hillNumber: "Electricity",
|
|
|
+ delMold: "Are you sure to delete the die?",
|
|
|
+ initial: "Initial Mold Times",
|
|
|
+ life: "Mold Lifetime",
|
|
|
+ hole: "Hole Number",
|
|
|
+ rfid: "RFID Code",
|
|
|
+ addMold: "Add Mold",
|
|
|
+ inputmoldNo: "Please enter the mould number.",
|
|
|
+ inputmodelName: "Please enter the name of the mould.",
|
|
|
+ inputequipment: "Please select equipment number",
|
|
|
+ inputinitial: "Please enter the initial module number.",
|
|
|
+ inputlife: "Please enter module life",
|
|
|
+ inputhole: "Please enter the number of points.",
|
|
|
+ inputrfid: "Please enter RIFD code",
|
|
|
+ inputfactoryName: "Please select the manufacturer to which you belong.",
|
|
|
+ maintainCount: "Maintenance times",
|
|
|
+ inputmaintainCount: "Please choose the number of maintenance times.",
|
|
|
+ num0: "Please fill in numbers greater than 0",
|
|
|
+ num1: "Please fill in a number less than or equal to 100 million",
|
|
|
+ // 模具详情
|
|
|
+ beScrapped: "To be scrapped",
|
|
|
+ scraped: "Scrap",
|
|
|
+ view: "Click to see the running status",
|
|
|
+ moldDetail: "Mold Basic Information",
|
|
|
+ file: "Documentation",
|
|
|
+ file2D: "2D drawing file",
|
|
|
+ file3D: "3D drawing file",
|
|
|
+ addComponents: "Add Components",
|
|
|
+ singleAdd: "Single Add",
|
|
|
+ downloadMould: "Download Template",
|
|
|
+ batchImport: "Batch Import",
|
|
|
+ apply: "Apply",
|
|
|
+ moldFile: "Mold Document",
|
|
|
+ state0: "Producer Audit failed",
|
|
|
+ state1: "Asset Audit failed",
|
|
|
+ state2: "Pending Audit",
|
|
|
+ state3: "Producer Audit",
|
|
|
+ state4: "Asset Audit",
|
|
|
+ state5: "Audit Pass",
|
|
|
+ componentsFile: "Part Document",
|
|
|
+ partNo: "Part Number",
|
|
|
+ partName: "Part Name",
|
|
|
+ partLife: "Lifetime",
|
|
|
+ yes: "Yes",
|
|
|
+ no: "No",
|
|
|
+ test: "Test Mode and Acceptance",
|
|
|
+ plan: "Maintenance Plan",
|
|
|
+ update: "Mold Update",
|
|
|
+ applicant: "Applicant",
|
|
|
+ applicationTime: "Application Time",
|
|
|
+ updateM: "Update Mold",
|
|
|
+ pass: "Pass",
|
|
|
+ fail: "Fail",
|
|
|
+ scrapMold: "Mold Scrapping",
|
|
|
+ applicationName: "Application Name",
|
|
|
+ applicationSize: "Application Size",
|
|
|
+ scrapName: "Scrap Name",
|
|
|
+ scrapSize: "Scrap Size",
|
|
|
+ updateRecord: "Update Record",
|
|
|
+ approver: "Approver",
|
|
|
+ time: "Time",
|
|
|
+ application: "Application",
|
|
|
+ scrap: "Scrap",
|
|
|
+ scrapUpload: "Mold Scrap Upload",
|
|
|
+ partUpload: "Part Document Upload",
|
|
|
+ rule: "File naming rules: part number + 2D / 3D, such as LJ001 + 2D.dwg",
|
|
|
+ export: "Batch Export Operation Record",
|
|
|
+ to: "To",
|
|
|
+ addPart: "Add Part",
|
|
|
+ editPart: "Edit Part",
|
|
|
+ inputpartNo: "Please enter the part number",
|
|
|
+ inputpartName: "Please enter the part name",
|
|
|
+ inputpartLife: "Please enter the part life",
|
|
|
+ approvalTitle1: "Confirmed approval?",
|
|
|
+ approvalTitle2: "Are you sure you have not approved?",
|
|
|
+ must: "Must upload one file each",
|
|
|
+ toApply: "Want to apply for an updated mold?",
|
|
|
+ noTime: "No time entered",
|
|
|
+ // 文档下载
|
|
|
+ searchByName: "Please enter the mold name to search",
|
|
|
+ allDown: "Download all",
|
|
|
+ down3DMold: "Mold 3D Image file",
|
|
|
+ down2DMold: "Mold 2D Image file",
|
|
|
+ down3DPart: "Part 3D Image file",
|
|
|
+ down2DPart: "Part 2D Image file",
|
|
|
+ fileState0: "Not Uploaded",
|
|
|
+ fileState1: "Passed",
|
|
|
+ fileState2: "Not Pass",
|
|
|
+ chooseFile: "Please select the document to download",
|
|
|
+ },
|
|
|
+ // 基础管理
|
|
|
+ basic: {
|
|
|
+ next: "Next",
|
|
|
+ prev: "Prev",
|
|
|
+ system: "System Admin",
|
|
|
+ asset: "Asset",
|
|
|
+ addAsset: "Add Asset",
|
|
|
+ editAsset: "Edit Asset",
|
|
|
+ addSystem: "Add Asset Manager",
|
|
|
+ producer: "Producer",
|
|
|
+ addProducer: "Add Producer",
|
|
|
+ editProducer: "Edit Producer",
|
|
|
+ addProSystem: "Add Producer Manager",
|
|
|
+ // 资产方管理
|
|
|
+ inputAss: "Please enter the asset name to search",
|
|
|
+ assName: "Asset Name",
|
|
|
+ inputAssName: "Please enter the asset name",
|
|
|
+ assManager: "Asset Manager",
|
|
|
+ assProducer: "Associated Producer",
|
|
|
+ inputAssProducer: "Please select the producer",
|
|
|
+ assAddress: "Asset Address",
|
|
|
+ inputAssAddress: "Please enter the asset address",
|
|
|
+ delAss: "Are you sure to delete the asset?",
|
|
|
+ // 生产方管理
|
|
|
+ inputPro: "Please enter the producer name to search",
|
|
|
+ proName: "Producer Name",
|
|
|
+ inputProName: "Please enter the producer name",
|
|
|
+ proManager: "Producer Manager",
|
|
|
+ proAsset: "Associated Asset",
|
|
|
+ inputProAsset: "Please select the asset",
|
|
|
+ proAddress: "Producer Address",
|
|
|
+ inputProAddress: "Please enter the producer address",
|
|
|
+ delPro: "Are you sure to delete the producer?",
|
|
|
+ // 云模盒管理
|
|
|
+ addYM: "Add Equipment",
|
|
|
+ editYM: "Edit Equipment",
|
|
|
+ chooseComp: "Please select a company",
|
|
|
+ equipmentNo: "Equipment Num",
|
|
|
+ inputequipmentNo: "Please enter the equipment number",
|
|
|
+ useLife: "Years of use",
|
|
|
+ inputUseLife: "Please enter the years of use",
|
|
|
+ inputUseLifeNum: "The age must be a numeric value",
|
|
|
+ agent: "Agent",
|
|
|
+ inputAgent: "Please enter the agent",
|
|
|
+ inputBlongComp: "You can activate the mold after entering your company.",
|
|
|
+ inUse: "Equipment is enabled",
|
|
|
+ equipmentState: "Equipment State",
|
|
|
+ diffTime: "Count Down",
|
|
|
+ year: "year",
|
|
|
+ compName: "Corporate Name",
|
|
|
+ state0: "Not Enabled",
|
|
|
+ state1: "Enabled",
|
|
|
+ use: "Use"
|
|
|
+ },
|
|
|
+ // 后台翻译
|
|
|
+ port: {
|
|
|
+ "用户不存在或者未登录": "User does not exist or is not logged in",
|
|
|
+ "数据不可为空": "Data cannot be empty",
|
|
|
+ "公司已存在,请勿重复添加": "The company already exists, please do not add it repeatedly",
|
|
|
+ "当前公司所关联的生产方公司中已被用用到项目,不可执行修改操作。": "The current production company associated with the company has been used in the project, and the modification operation cannot be performed.",
|
|
|
+ "当前公司所关联的资产方公司已被用用到项目,不可执行修改操作。": "The current asset company associated with the company has been used in the project and no modification operations can be performed.",
|
|
|
+ "该公司已被应用到用户中,暂不提供删除操作": "The company has been applied to users, and no deletion is provided at this time.",
|
|
|
+ "当前设备编号已存在,请重新输入其他模具编号": "The current device number already exists. Please re-enter other mold numbers",
|
|
|
+ "该设备没有所属公司,请添加所属公司后再启用": "This device does not have a company, please add your company and then enable it.",
|
|
|
+ "对不起,您不是超级管理员,不具备启用设备的权限": "Sorry, you are not a super administrator and do not have permission to enable the device.",
|
|
|
+ "对不起,您不含有查看该列表的权利": "Sorry, you do not have the right to view this list.",
|
|
|
+ "云模盒编号已被占用,请修改后重新上传": "The cloud model box number is already occupied. Please re-upload after modification.",
|
|
|
+ "只有生产方和资产方审批人才能审核": "Only producer and asset approvers can review",
|
|
|
+ "您没有该权限!": "You do not have this permission!!",
|
|
|
+ "暂无文件": "No file",
|
|
|
+ "该模具已被应用到项目,不提供删除操作": "The mold has been applied to the project and no delete operation is provided",
|
|
|
+ "模具id不存在": "Mold id does not exist",
|
|
|
+ "零件编号已被占用,请修改后重新上传": "The part number is already occupied. Please re-upload after modification.",
|
|
|
+ "零件寿命数字过长,请修改后重试": "The part life number is too long, please modify and try again",
|
|
|
+ "添加项目参与人失败,人员id不存在": "Adding project participants failed, staff id does not exist",
|
|
|
+ "密码错误": "Wrong password",
|
|
|
+ "账号不存在": "Account does not exist",
|
|
|
+ "该用户已被应用到项目,暂不提供删除操作": "The user has been applied to the project and no delete operation is currently available.",
|
|
|
+ "该公司下的管理员已存在": "The administrator under the company already exists",
|
|
|
+ "账号已存在": "Account already exists",
|
|
|
+ "有新的模具文档上传,待您审批。": "New mould documents are uploaded for your approval.",
|
|
|
+ "有新的模具更新申请记录,待您审批。": "There are new application records for mould updating pending your approval.",
|
|
|
+ "有新的模具报废文档上传,待您审批。": "There are new scrap die documents uploaded for your approval.",
|
|
|
+ "有新的试模验收文档上传,待您审批。": "There are new acceptance documents for the test mould are uploaded, which are waiting for your approval.",
|
|
|
+ "有新的零件文档上传,待您审批。": "New parts documents are uploaded for your approval.",
|
|
|
+ "有新的保养方案文档上传,待您审批。": "There are new maintenance plan documents uploaded for your approval.",
|
|
|
+ },
|
|
|
+ ...locale
|
|
|
+}
|
|
|
+export default lang
|