43 changed files with 3135 additions and 802 deletions
@ -1,3 +1,4 @@ |
|||
export * from './api'; |
|||
export * from './components'; |
|||
export * from './locales'; |
|||
export * from './types'; |
|||
|
|||
@ -0,0 +1,20 @@ |
|||
import type { SupportedLanguagesType } from '@vben/locales'; |
|||
|
|||
import { loadLocalesMapFromDir } from '@vben/locales'; |
|||
|
|||
const modules = import.meta.glob('./langs/**/*.json'); |
|||
|
|||
const localesMap = loadLocalesMapFromDir( |
|||
/\.\/langs\/([^/]+)\/(.*)\.json$/, |
|||
modules, |
|||
); |
|||
|
|||
/** |
|||
* Load approval-flow designer localization resources. |
|||
* @param lang Current language. |
|||
* @returns Localization resources. |
|||
*/ |
|||
export function loadApprovalFlowMessages(lang: SupportedLanguagesType) { |
|||
const locales = localesMap[lang]?.(); |
|||
return locales; |
|||
} |
|||
@ -0,0 +1,488 @@ |
|||
{ |
|||
"common": { |
|||
"close": "Close", |
|||
"cancel": "Cancel", |
|||
"confirm": "OK", |
|||
"delete": "Delete", |
|||
"add": "Add", |
|||
"select": "Select", |
|||
"node": "Node", |
|||
"condition": "Condition", |
|||
"approval": "Approval", |
|||
"cc": "CC", |
|||
"noData": "No data available" |
|||
}, |
|||
"addNode": { |
|||
"approval": "Approver", |
|||
"cc": "CC recipient", |
|||
"condition": "Condition gateway", |
|||
"add": "Add node" |
|||
}, |
|||
"approvalNode": { |
|||
"orSign": "Any approver (one approval or rejection is enough)", |
|||
"countersign": "Countersign (all approvers must approve, any order)", |
|||
"sequentialCountersign": "Sequential countersign (all approvers must approve in order)", |
|||
"noHeaderActionNone": "Do not allow starting", |
|||
"noHeaderActionSkip": "Skip", |
|||
"noHeaderActionAdmin": "Transfer to approval administrator", |
|||
"directSupervisor": "Direct supervisor", |
|||
"levelSupervisor": "Level {0} supervisor", |
|||
"ccPerson": "CC recipient", |
|||
"parallelApprover": "Parallel approver", |
|||
"approver": "Approver", |
|||
"assigneeMember": "Specified members", |
|||
"assigneeRole": "Specified roles", |
|||
"assigneeLeader": "Direct supervisor", |
|||
"assigneeInitiator": "Initiator", |
|||
"assigneeLevel": "Specified level", |
|||
"assigneeChain": "Level-by-level approval", |
|||
"assigneeSelfSelect": "Initiator selects approvers", |
|||
"addRole": "Add/edit role", |
|||
"addPerson": "Add/edit person", |
|||
"ccSetting": "CC settings", |
|||
"approverSetting": "Approver settings", |
|||
"buttonPermission": "Button permissions", |
|||
"signSummary": "{0} approvers ({1}) countersign", |
|||
"sequentialSignSummary": "{0} approvers ({1}) sequential countersign", |
|||
"levelSummary": "Level {0} supervisor", |
|||
"nodeName": "Node name", |
|||
"nodeNamePlaceholder": "Enter node name", |
|||
"selectRole": "Select a role", |
|||
"selectApprover": "Select approver/CC recipient", |
|||
"directLeaderDesc": "The initiator's direct supervisor will be used as the approver.", |
|||
"directLeaderTitle": "Direct supervisor", |
|||
"initiatorDesc": "The initiator will be used as the approver.", |
|||
"initiatorTitle": "Initiator", |
|||
"initiatorPrefix": "Initiator's:", |
|||
"directorTip": "If no supervisor is found, the direct supervisor approves instead.", |
|||
"chainDesc": "Approve level by level from the lowest to the highest supervisor in the organization hierarchy.", |
|||
"chainTitle": "Level-by-level approval", |
|||
"selfSelectDesc": "The user can select the approver for this node when starting the workflow.", |
|||
"selfSelectTitle": "Initiator selects approvers", |
|||
"multiApprovalMode": "Approval mode for multiple approvers", |
|||
"emptyApprover": "When there is no approver", |
|||
"selectRoleTitle": "Select role", |
|||
"selectPersonTitle": "Select person", |
|||
"nodeNameRequired": "Enter a node name", |
|||
"approverRequired": "Select an approver/CC recipient", |
|||
"close": "Close", |
|||
"cancel": "Cancel", |
|||
"confirm": "OK" |
|||
}, |
|||
"wizard": { |
|||
"basicSettings": "Basic settings", |
|||
"formDesign": "Form design", |
|||
"flowDesign": "Flow design", |
|||
"newForm": "New form", |
|||
"newFlow": "New approval flow", |
|||
"loadFailed": "Failed to load approval template", |
|||
"nameRequired": "Enter an approval name", |
|||
"codeRequired": "Enter a flow code", |
|||
"basicSaveFailed": "Failed to save basic information", |
|||
"designRequired": "Complete the flow design first", |
|||
"designSaveFailed": "Failed to save flow design", |
|||
"saved": "Approval flow saved", |
|||
"incompleteNodes": "{0} nodes in the flow design are incomplete", |
|||
"published": "Approval template published", |
|||
"publishFailed": "Publish failed", |
|||
"publishedTag": "Published", |
|||
"readonlyTag": "Read only", |
|||
"stepsAria": "Approval flow steps", |
|||
"close": "Close", |
|||
"cancel": "Cancel", |
|||
"save": "Save", |
|||
"publish": "Publish", |
|||
"enableForm": "Enable form", |
|||
"selectExistingForm": "Select an existing form", |
|||
"boundForm": "Form bound", |
|||
"unsaved": "Unsaved", |
|||
"formInfo": "Form information", |
|||
"formName": "Form name", |
|||
"formCode": "Form code", |
|||
"formId": "Form ID", |
|||
"unnamedForm": "Unnamed form", |
|||
"unbound": "Not bound", |
|||
"noFormTitle": "Form is not enabled", |
|||
"noFormDesc": "This approval does not require a form and will go directly to the flow." |
|||
}, |
|||
"basic": { |
|||
"codeLabel": "Flow code", |
|||
"codePlaceholder": "For example: leave-approval", |
|||
"fixed": "Fixed", |
|||
"unique": "Unique identifier", |
|||
"nameLabel": "Approval name", |
|||
"namePlaceholder": "For example: Leave approval", |
|||
"categoryLabel": "Category", |
|||
"categoryPlaceholder": "For example: HR / Finance", |
|||
"categoryTip": "Enter the category name directly", |
|||
"iconLabel": "Template icon", |
|||
"iconPlaceholder": "Icon name or emoji, e.g. 📄 / file-text", |
|||
"businessKeyLabel": "Business key hint", |
|||
"businessKeyPlaceholder": "Hint for entering the business key when starting", |
|||
"descriptionLabel": "Approval description", |
|||
"descriptionPlaceholder": "Enter approval description", |
|||
"nameRequired": "Enter an approval name", |
|||
"codeRequired": "Enter a flow code" |
|||
}, |
|||
"buttonPerm": { |
|||
"approveLabel": "Approve", |
|||
"approveDesc": "Approve and move to the next node", |
|||
"rejectLabel": "Reject", |
|||
"rejectDesc": "Rejecting terminates the current task and ends the flow", |
|||
"returnLabel": "Return", |
|||
"returnDesc": "Return to the initiator or any node and restart the flow or return to the current approver", |
|||
"transferLabel": "Transfer", |
|||
"transferDesc": "Select another approver; the current approver will no longer handle it", |
|||
"addApprovalLabel": "Add approval", |
|||
"addApprovalDesc": "Add another person to this task to handle related matters or provide comments", |
|||
"title": "Approval page button permission", |
|||
"description": "Controls button visibility for approval nodes. Default buttons cannot be disabled." |
|||
}, |
|||
"condition": { |
|||
"equal": "Equals", |
|||
"notEqual": "Not equals", |
|||
"gt": "Greater than", |
|||
"gte": "Greater than or equal", |
|||
"lt": "Less than", |
|||
"lte": "Less than or equal", |
|||
"and": "AND", |
|||
"or": "OR", |
|||
"groupName": "Condition group {0}", |
|||
"validation": "Configure at least one condition", |
|||
"fieldRequired": "Select a condition field", |
|||
"valueRequired": "Enter a condition value", |
|||
"title": "Condition settings", |
|||
"branchName": "Branch name", |
|||
"branchPlaceholder": "Enter condition branch name", |
|||
"defaultDesc": "The default branch cannot have conditions. It is the fallback branch used when no other condition matches. To add conditions, add a normal branch first and delete the default branch.", |
|||
"defaultLabel": "Default condition branch", |
|||
"relationTip": "Enter this flow when the approval meets the following conditions", |
|||
"groupRelation": "Group relation:", |
|||
"innerRelation": "Inner relation:", |
|||
"deleteGroup": "Delete condition group", |
|||
"emptyGroup": "This condition group has no conditions", |
|||
"selectField": "Select field", |
|||
"fieldKeyPlaceholder": "Field key, e.g. amount", |
|||
"valuePlaceholder": "Enter comparison value", |
|||
"addCondition": "+ Add condition", |
|||
"relationSatisfied": "All satisfied", |
|||
"relationAny": "Any satisfied", |
|||
"addGroup": "+ Add condition group", |
|||
"summary": "{0} condition groups / {1} conditions", |
|||
"defaultBranch": "Default branch", |
|||
"readonly": "Read-only mode. Condition settings cannot be changed.", |
|||
"close": "Close", |
|||
"cancel": "Cancel", |
|||
"confirm": "OK", |
|||
"delete": "Delete" |
|||
}, |
|||
"flow": { |
|||
"design": "Flow design", |
|||
"completeNode": "Complete: {0}", |
|||
"zoomOut": "Zoom out", |
|||
"zoomIn": "Zoom in", |
|||
"reset": "Reset", |
|||
"empty": "No flow data" |
|||
}, |
|||
"nodeWarp": { |
|||
"node": "Node", |
|||
"approver": "Approver", |
|||
"condition": "Condition", |
|||
"cc": "CC", |
|||
"start": "S", |
|||
"nodeBadge": "N", |
|||
"statusRunning": "Running", |
|||
"statusApproved": "Approved", |
|||
"statusRejected": "Rejected", |
|||
"statusNotStarted": "Not started", |
|||
"conditionName": "Condition {0}", |
|||
"conditionBranch": "Condition branch", |
|||
"flowEnd": "Flow end", |
|||
"addCondition": "Add condition", |
|||
"configError": "Node configuration error", |
|||
"priority": "Priority {0}", |
|||
"deleteNode": "Delete node", |
|||
"deleteCondition": "Delete condition", |
|||
"selectPlaceholder": "Select {0}" |
|||
}, |
|||
"designer": { |
|||
"common": { |
|||
"approval": "Approver", |
|||
"cc": "CC recipient", |
|||
"condition": "Condition branch", |
|||
"conditionWithIndex": "Condition {0}", |
|||
"otherCondition": "Other conditions", |
|||
"otherConditionFlow": "Other conditions enter this flow", |
|||
"setCondition": "Set condition", |
|||
"selectCondition": "Click to configure this node", |
|||
"flowEnd": "Flow end", |
|||
"initiator": "Initiator", |
|||
"everyone": "Everyone", |
|||
"save": "Save", |
|||
"saveDesign": "Save design", |
|||
"publish": "Publish", |
|||
"publishTemplate": "Publish template", |
|||
"previewForm": "Preview form", |
|||
"cancel": "Cancel", |
|||
"confirm": "OK", |
|||
"delete": "Delete", |
|||
"addCondition": "Add condition", |
|||
"statusApproved": "Approved", |
|||
"statusRejected": "Rejected", |
|||
"statusRunning": "Running", |
|||
"statusNotStarted": "Not started", |
|||
"priority": "Priority {0}", |
|||
"zoomIn": "Zoom in", |
|||
"zoomOut": "Zoom out", |
|||
"reset": "Reset", |
|||
"configHint": "Click + to add an approver, CC recipient, or condition branch", |
|||
"flowDesign": "Approval flow design", |
|||
"loadFailed": "Failed to load approval template", |
|||
"saveFailed": "Save failed", |
|||
"saveSuccess": "Approval flow design saved", |
|||
"publishSuccess": "Published", |
|||
"publishFailed": "Publish failed", |
|||
"saveFirst": "Save the template first", |
|||
"publishConfirm": "Publishing will generate and publish the Elsa workflow definition from the current design. Continue?", |
|||
"publishTitle": "Publish approval template", |
|||
"designSaved": "Approval flow design saved" |
|||
}, |
|||
"wizard": { |
|||
"basic": "Basic settings", |
|||
"form": "Form design", |
|||
"flow": "Flow design", |
|||
"publish": "Publish", |
|||
"newForm": "New form", |
|||
"newFlow": "New approval flow", |
|||
"loadFailed": "Failed to load approval template", |
|||
"nameRequired": "Enter a template name", |
|||
"codeRequired": "Enter a template code", |
|||
"basicSaveFailed": "Failed to save basic information", |
|||
"designNotReady": "Flow design is not ready", |
|||
"designSaveFailed": "Failed to save flow design", |
|||
"published": "Approval template published", |
|||
"publishFailed": "Publish failed", |
|||
"publishedTag": "Published", |
|||
"cancel": "Cancel", |
|||
"confirmPublish": "Confirm publish", |
|||
"finish": "Finish", |
|||
"next": "Next", |
|||
"publishSuccessTitle": "Published successfully", |
|||
"publishSuccessDesc": "The approval template has been published. You can start approvals from the template list.", |
|||
"code": "Flow code", |
|||
"codePlaceholder": "For example: leave-approval", |
|||
"name": "Approval name", |
|||
"namePlaceholder": "For example: Leave approval", |
|||
"category": "Category", |
|||
"categoryPlaceholder": "For example: HR", |
|||
"icon": "Template icon", |
|||
"iconPlaceholder": "Optional", |
|||
"businessKey": "Business key hint", |
|||
"businessKeyPlaceholder": "Hint for entering the business key when starting", |
|||
"description": "Approval description", |
|||
"enableForm": "Enable form", |
|||
"selectExistingForm": "Select an existing form", |
|||
"boundForm": "Form bound", |
|||
"noFormTitle": "Form is not enabled", |
|||
"noFormDesc": "This approval does not require a form and will go directly to the flow.", |
|||
"publishConfirmTitle": "Publish confirmation", |
|||
"template": "Template", |
|||
"codeLabel": "Code", |
|||
"categoryLabel": "Category", |
|||
"formLabel": "Form", |
|||
"configured": "Configured", |
|||
"unsaved": "Unsaved", |
|||
"disabled": "Disabled", |
|||
"nodeCount": "Nodes", |
|||
"approvalNodes": "Approval nodes", |
|||
"ccNodes": "CC nodes", |
|||
"status": "Status", |
|||
"pendingPublish": "Pending publish", |
|||
"publishHint": "After clicking Confirm publish, the Elsa workflow definition will be generated and published from the current flow design. You do not need to enter a definition version ID." |
|||
}, |
|||
"branch": { |
|||
"equal": "Equals", |
|||
"notEqual": "Not equals", |
|||
"gt": "Greater than", |
|||
"gte": "Greater than or equal", |
|||
"lt": "Less than", |
|||
"lte": "Less than or equal", |
|||
"contains": "Contains", |
|||
"notContains": "Does not contain", |
|||
"empty": "Is empty", |
|||
"notEmpty": "Is not empty", |
|||
"and": "All conditions (AND)", |
|||
"or": "Any condition (OR)", |
|||
"validation": "Fill in the field, operator, and comparison value", |
|||
"setTitle": "Set condition", |
|||
"setNamedTitle": "Set {0}", |
|||
"relation": "Condition relation", |
|||
"field": "Condition field", |
|||
"operator": "Operator", |
|||
"value": "Comparison value", |
|||
"selectField": "Select field", |
|||
"compareValue": "Comparison value", |
|||
"delete": "Delete", |
|||
"addCondition": "+ Add condition", |
|||
"cancel": "Cancel", |
|||
"confirm": "OK", |
|||
"conditionBranch": "Condition branch", |
|||
"otherCondition": "Other conditions", |
|||
"pendingCc": "CC recipient not selected", |
|||
"pendingApprover": "Approver not configured", |
|||
"selectCondition": "Set condition", |
|||
"otherConditionFlow": "Other conditions enter this flow", |
|||
"add": "Add condition", |
|||
"priority": "Priority {0}" |
|||
}, |
|||
"nodeConfig": { |
|||
"participant": "Specified person/department", |
|||
"initiator": "Initiator", |
|||
"initiatorSelection": "Initiator selection", |
|||
"role": "Role", |
|||
"supervisor": "Department supervisor", |
|||
"organizationUnit": "Department member", |
|||
"formField": "Form field", |
|||
"any": "Any approver (one approval is enough)", |
|||
"all": "Countersign (all must approve)", |
|||
"sequential": "Sequential approval", |
|||
"searchFailed": "Failed to search people", |
|||
"title": "Node settings", |
|||
"nodeName": "Node name", |
|||
"nodeNamePlaceholder": "Enter node name", |
|||
"approvalMode": "Approval mode", |
|||
"approverRules": "Approver rules", |
|||
"searchParticipant": "Search and select people or departments", |
|||
"selectRole": "Select role", |
|||
"nearestSupervisor": "Nearest supervisor", |
|||
"specifiedLevel": "Specified level", |
|||
"topMost": "Top level", |
|||
"selectFormField": "Select form field", |
|||
"deleteRule": "Delete rule", |
|||
"addApproverRule": "Add approver rule", |
|||
"emptyApprover": "Empty approver handling", |
|||
"skipNode": "Skip this node", |
|||
"escalate": "Escalate to department supervisor", |
|||
"approvalActions": "Approval actions", |
|||
"deleteAction": "Delete", |
|||
"addAction": "Add action", |
|||
"ccRecipients": "CC recipients", |
|||
"deleteCc": "Delete CC", |
|||
"addCc": "Add CC recipient", |
|||
"conditionSettings": "Condition settings", |
|||
"selectCompareValue": "Select comparison value", |
|||
"numberPlaceholder": "Enter a number", |
|||
"datePlaceholder": "Select date", |
|||
"contentPlaceholder": "Enter comparison content", |
|||
"conditionHint": "Select a field and set conditions", |
|||
"branches": "Branches", |
|||
"trueBranch": "Condition matched (true)", |
|||
"falseBranch": "Condition not matched (false)", |
|||
"nodeCount": "{0} nodes", |
|||
"branchHint": "When the condition matches, enter the \"matched\" branch; otherwise enter the \"not matched\" branch. Both branches already contain a default approver node and can be extended on the canvas.", |
|||
"nodeLabel": "Node settings - {0}", |
|||
"yes": "Yes", |
|||
"no": "No", |
|||
"agree": "Agree" |
|||
}, |
|||
"form": { |
|||
"singleLineText": "Single-line text", |
|||
"multiLineText": "Multi-line text", |
|||
"number": "Number", |
|||
"date": "Date", |
|||
"dateRange": "Date range", |
|||
"select": "Select", |
|||
"radio": "Radio", |
|||
"multipleSelect": "Multiple select", |
|||
"switch": "Switch", |
|||
"attachment": "Attachment", |
|||
"calculated": "Calculated", |
|||
"description": "Description", |
|||
"editable": "Editable", |
|||
"readOnly": "Read only", |
|||
"hidden": "Hidden", |
|||
"loadFailed": "Failed to load form", |
|||
"codeRequired": "Enter a form code", |
|||
"fieldRequired": "Add at least one field", |
|||
"saved": "Form saved and published", |
|||
"saveFailed": "Failed to save form", |
|||
"formName": "Form name", |
|||
"formNamePlaceholder": "For example: Leave request", |
|||
"formCode": "Code", |
|||
"formCodePlaceholder": "For example: leave-request", |
|||
"savedTag": "Saved", |
|||
"unsavedTag": "Unsaved", |
|||
"controls": "Controls", |
|||
"canvas": "Form canvas", |
|||
"dragHint": "Drag controls here from the left", |
|||
"required": "Required", |
|||
"delete": "Delete", |
|||
"fieldProperties": "Field properties", |
|||
"selectField": "Select a field", |
|||
"displayName": "Display name", |
|||
"fieldKey": "Field key", |
|||
"permission": "Permission", |
|||
"hint": "Hint", |
|||
"options": "Options (one per line)", |
|||
"calcType": "Calculation type", |
|||
"fieldA": "Field A", |
|||
"fieldB": "Field B", |
|||
"resultUnit": "Result unit", |
|||
"previewTitle": "Form preview", |
|||
"attachmentPlaceholder": "Attachment field (file upload component required)" |
|||
} |
|||
}, |
|||
"model": { |
|||
"start": "Initiator", |
|||
"reviewer": "Reviewer", |
|||
"cc": "CC recipient", |
|||
"conditionName": "Condition {0}", |
|||
"gateway": "Gateway", |
|||
"defaultBranch": "Default condition branch", |
|||
"conditionBranch": "Condition branch", |
|||
"otherCondition": "Other conditions", |
|||
"end": "End", |
|||
"formField": "Form field: {0}", |
|||
"departmentMember": "Department member", |
|||
"directLeader": "Direct supervisor", |
|||
"initiator": "Initiator", |
|||
"levelSupervisor": "Level {0} supervisor", |
|||
"chainApproval": "Level-by-level approval", |
|||
"selfSelect": "Initiator selects approvers", |
|||
"pendingCc": "CC recipient not selected", |
|||
"pendingApprover": "Approver not configured", |
|||
"signSummary": "{0} approvers ({1}) countersign", |
|||
"sequentialSignSummary": "{0} approvers ({1}) sequential countersign", |
|||
"approve": "Approve", |
|||
"reject": "Reject", |
|||
"conditionPrefix": "Condition: {0}", |
|||
"noCondition": "Condition not set", |
|||
"noPerson": "No person selected", |
|||
"rolePrefix": "Role: {0}", |
|||
"noRole": "No role selected", |
|||
"topMostSupervisor": "Top-level supervisor", |
|||
"supervisor": "Department supervisor", |
|||
"notSelected": "Not selected" |
|||
}, |
|||
"duration": { |
|||
"days": "{0}d", |
|||
"hours": "{0}h", |
|||
"minutes": "{0}m", |
|||
"seconds": "{0}s" |
|||
}, |
|||
"formula": { |
|||
"numberOperation": "Operation on two number fields", |
|||
"dateOperation": "Operation on two date fields", |
|||
"dateRangeOperation": "Date range operation", |
|||
"add": "Add +", |
|||
"subtract": "Subtract -", |
|||
"multiply": "Multiply ×", |
|||
"divide": "Divide ÷", |
|||
"year": "Year", |
|||
"month": "Month", |
|||
"day": "Day", |
|||
"hour": "Hour", |
|||
"minute": "Minute", |
|||
"second": "Second" |
|||
} |
|||
} |
|||
@ -0,0 +1,488 @@ |
|||
{ |
|||
"common": { |
|||
"close": "关闭", |
|||
"cancel": "取消", |
|||
"confirm": "确定", |
|||
"delete": "删除", |
|||
"add": "添加", |
|||
"select": "选择", |
|||
"node": "节点", |
|||
"condition": "条件", |
|||
"approval": "审批", |
|||
"cc": "抄送", |
|||
"noData": "暂无可选数据" |
|||
}, |
|||
"addNode": { |
|||
"approval": "审批人", |
|||
"cc": "抄送人", |
|||
"condition": "条件网关", |
|||
"add": "添加节点" |
|||
}, |
|||
"approvalNode": { |
|||
"orSign": "或签(只需一名审批人同意或拒绝即可)", |
|||
"countersign": "会签(需所有审批人同意,不限顺序)", |
|||
"sequentialCountersign": "顺序会签(需要所有审批人同意,根据前端传入的顺序)", |
|||
"noHeaderActionNone": "不允许发起", |
|||
"noHeaderActionSkip": "跳过", |
|||
"noHeaderActionAdmin": "转交给审核管理员", |
|||
"directSupervisor": "直接主管", |
|||
"levelSupervisor": "第{0}级主管", |
|||
"ccPerson": "抄送人", |
|||
"parallelApprover": "并行审批人", |
|||
"approver": "审批人", |
|||
"assigneeMember": "指定成员", |
|||
"assigneeRole": "指定角色", |
|||
"assigneeLeader": "直属领导", |
|||
"assigneeInitiator": "发起人自己", |
|||
"assigneeLevel": "指定层级", |
|||
"assigneeChain": "层层审批", |
|||
"assigneeSelfSelect": "发起人自选审批人", |
|||
"addRole": "添加/修改角色", |
|||
"addPerson": "添加/修改人员", |
|||
"ccSetting": "抄送人设置", |
|||
"approverSetting": "审批人设置", |
|||
"buttonPermission": "按钮权限设置", |
|||
"signSummary": "{0}人({1})会签", |
|||
"sequentialSignSummary": "{0}人({1})顺序会签", |
|||
"levelSummary": "第 {0} 级主管", |
|||
"nodeName": "节点名称", |
|||
"nodeNamePlaceholder": "请输入节点名称", |
|||
"selectRole": "请选择角色", |
|||
"selectApprover": "请选择审批人/抄送人", |
|||
"directLeaderDesc": "系统将自动选择流程发起人的直属领导作为审批人", |
|||
"directLeaderTitle": "直属领导", |
|||
"initiatorDesc": "系统将自动选择流程发起人自己作为审批人", |
|||
"initiatorTitle": "发起人自己", |
|||
"initiatorPrefix": "发起人的:", |
|||
"directorTip": "找不到主管时,由直属领导代审批", |
|||
"chainDesc": "按照组织架构的上下级关系,从低到高、一级一级往上审批,每一级的直属领导都要依次审批", |
|||
"chainTitle": "层层审批", |
|||
"selfSelectDesc": "用户可以在流程发起时选择该节点的审批人", |
|||
"selfSelectTitle": "发起人自选审批人", |
|||
"multiApprovalMode": "多人审批时采用的审批方式", |
|||
"emptyApprover": "审批人为空时", |
|||
"selectRoleTitle": "选择角色", |
|||
"selectPersonTitle": "选择人员", |
|||
"nodeNameRequired": "请输入节点名称", |
|||
"approverRequired": "请选择审批人/抄送人", |
|||
"close": "关闭", |
|||
"cancel": "取消", |
|||
"confirm": "确定" |
|||
}, |
|||
"wizard": { |
|||
"basicSettings": "基础设置", |
|||
"formDesign": "表单设计", |
|||
"flowDesign": "流程设计", |
|||
"newForm": "新建表单", |
|||
"newFlow": "新建审批流程", |
|||
"loadFailed": "审批模板加载失败", |
|||
"nameRequired": "请填写审批名称", |
|||
"codeRequired": "请填写流程编号", |
|||
"basicSaveFailed": "基础信息保存失败", |
|||
"designRequired": "请先完成流程设计", |
|||
"designSaveFailed": "流程设计保存失败", |
|||
"saved": "审批流程已保存", |
|||
"incompleteNodes": "流程设计还有 {0} 个节点未完善", |
|||
"published": "审批模板已发布", |
|||
"publishFailed": "发布失败", |
|||
"publishedTag": "已发布", |
|||
"readonlyTag": "只读", |
|||
"stepsAria": "审批流程步骤", |
|||
"close": "关闭", |
|||
"cancel": "取消", |
|||
"save": "保存", |
|||
"publish": "发布", |
|||
"enableForm": "启用表单", |
|||
"selectExistingForm": "选择已有表单", |
|||
"boundForm": "已绑定表单", |
|||
"unsaved": "未保存", |
|||
"formInfo": "表单信息", |
|||
"formName": "表单名称", |
|||
"formCode": "表单编码", |
|||
"formId": "表单 ID", |
|||
"unnamedForm": "未命名表单", |
|||
"unbound": "未绑定", |
|||
"noFormTitle": "未启用表单", |
|||
"noFormDesc": "本审批不需要填写表单,将直接进入流程。" |
|||
}, |
|||
"basic": { |
|||
"codeLabel": "流程编号", |
|||
"codePlaceholder": "例如:leave-approval", |
|||
"fixed": "已固定", |
|||
"unique": "唯一标识", |
|||
"nameLabel": "审批名称", |
|||
"namePlaceholder": "例如:请假审批", |
|||
"categoryLabel": "分组", |
|||
"categoryPlaceholder": "例如:人事 / 财务", |
|||
"categoryTip": "直接输入分组名称", |
|||
"iconLabel": "模板图标", |
|||
"iconPlaceholder": "图标名称或表情,例如:📄 / file-text", |
|||
"businessKeyLabel": "业务键提示", |
|||
"businessKeyPlaceholder": "发起审批时业务键的填写提示", |
|||
"descriptionLabel": "审批说明", |
|||
"descriptionPlaceholder": "请输入审批说明", |
|||
"nameRequired": "请输入审批名称", |
|||
"codeRequired": "请输入流程编号" |
|||
}, |
|||
"buttonPerm": { |
|||
"approveLabel": "同意", |
|||
"approveDesc": "审批通过,流转到下一个节点", |
|||
"rejectLabel": "不同意", |
|||
"rejectDesc": "当不同意任务时,当前任务被终止,并结束整个流程", |
|||
"returnLabel": "退回", |
|||
"returnDesc": "退回到发起人或任意节点,流程重新开始或者回到当前审批人", |
|||
"transferLabel": "转办", |
|||
"transferDesc": "转办选择审批人,转办后自己将不再进行审批", |
|||
"addApprovalLabel": "加批", |
|||
"addApprovalDesc": "在当前任务上额外添加新人员,处理相关事项或提供审批意见", |
|||
"title": "【审批页面】按钮权限显示控制", |
|||
"description": "可控制审批节点中按钮的显示权限,默认按钮不可取消。" |
|||
}, |
|||
"condition": { |
|||
"equal": "等于", |
|||
"notEqual": "不等于", |
|||
"gt": "大于", |
|||
"gte": "大于等于", |
|||
"lt": "小于", |
|||
"lte": "小于等于", |
|||
"and": "且", |
|||
"or": "或", |
|||
"groupName": "条件组 {0}", |
|||
"validation": "请至少配置一个条件", |
|||
"fieldRequired": "请选择条件字段", |
|||
"valueRequired": "请填写条件值", |
|||
"title": "条件设置", |
|||
"branchName": "分支名称", |
|||
"branchPlaceholder": "请输入条件分支名称", |
|||
"defaultDesc": "默认条件分支不允许设置条件,它是兜底分支:其它条件都未命中时进入该分支。如需添加条件,请先添加普通条件分支,再删除默认分支。", |
|||
"defaultLabel": "默认条件分支", |
|||
"relationTip": "当审批单满足以下条件时进入此流程", |
|||
"groupRelation": "条件组关系:", |
|||
"innerRelation": "组内关系:", |
|||
"deleteGroup": "删除条件组", |
|||
"emptyGroup": "该条件组还没有条件", |
|||
"selectField": "选择字段", |
|||
"fieldKeyPlaceholder": "字段 key,例如 amount", |
|||
"valuePlaceholder": "请输入比较值", |
|||
"addCondition": "+ 添加条件", |
|||
"relationSatisfied": "且满足", |
|||
"relationAny": "或满足", |
|||
"addGroup": "+ 添加条件组", |
|||
"summary": "共 {0} 个条件组 / {1} 条条件", |
|||
"defaultBranch": "默认分支", |
|||
"readonly": "当前为只读模式,无法修改条件配置。", |
|||
"close": "关闭", |
|||
"cancel": "取消", |
|||
"confirm": "确定", |
|||
"delete": "删除" |
|||
}, |
|||
"flow": { |
|||
"design": "流程设计", |
|||
"completeNode": "请完善:{0}", |
|||
"zoomOut": "缩小", |
|||
"zoomIn": "放大", |
|||
"reset": "重置", |
|||
"empty": "暂无流程数据" |
|||
}, |
|||
"nodeWarp": { |
|||
"node": "节点", |
|||
"approver": "审批人", |
|||
"condition": "条件", |
|||
"cc": "抄送", |
|||
"start": "发", |
|||
"nodeBadge": "节", |
|||
"statusRunning": "进行中", |
|||
"statusApproved": "已通过", |
|||
"statusRejected": "已拒绝", |
|||
"statusNotStarted": "未执行", |
|||
"conditionName": "条件{0}", |
|||
"conditionBranch": "条件分支", |
|||
"flowEnd": "流程结束", |
|||
"addCondition": "添加条件", |
|||
"configError": "节点配置错误", |
|||
"priority": "优先级{0}", |
|||
"deleteNode": "删除节点", |
|||
"deleteCondition": "删除条件", |
|||
"selectPlaceholder": "请选择{0}" |
|||
}, |
|||
"designer": { |
|||
"common": { |
|||
"approval": "审批人", |
|||
"cc": "抄送人", |
|||
"condition": "条件分支", |
|||
"conditionWithIndex": "条件{0}", |
|||
"otherCondition": "其他条件", |
|||
"otherConditionFlow": "其他条件进入此流程", |
|||
"setCondition": "请设置条件", |
|||
"selectCondition": "请点击配置节点", |
|||
"flowEnd": "流程结束", |
|||
"initiator": "发起人", |
|||
"everyone": "所有人", |
|||
"save": "保存", |
|||
"saveDesign": "保存设计", |
|||
"publish": "发布", |
|||
"publishTemplate": "发布模板", |
|||
"previewForm": "预览表单", |
|||
"cancel": "取消", |
|||
"confirm": "确定", |
|||
"delete": "删除", |
|||
"addCondition": "添加条件", |
|||
"statusApproved": "已通过", |
|||
"statusRejected": "已拒绝", |
|||
"statusRunning": "进行中", |
|||
"statusNotStarted": "未执行", |
|||
"priority": "优先级{0}", |
|||
"zoomIn": "放大", |
|||
"zoomOut": "缩小", |
|||
"reset": "重置", |
|||
"configHint": "点击 + 添加审批人、抄送人或条件分支", |
|||
"flowDesign": "审批流设计", |
|||
"loadFailed": "审批模板加载失败", |
|||
"saveFailed": "保存失败", |
|||
"saveSuccess": "审批流设计已保存", |
|||
"publishSuccess": "发布成功", |
|||
"publishFailed": "发布失败", |
|||
"saveFirst": "请先保存模板", |
|||
"publishConfirm": "发布后将根据当前流程设计自动生成并发布 Elsa 工作流定义,确定继续吗?", |
|||
"publishTitle": "发布审批模板", |
|||
"designSaved": "审批流设计已保存" |
|||
}, |
|||
"wizard": { |
|||
"basic": "基础设置", |
|||
"form": "表单设计", |
|||
"flow": "流程设计", |
|||
"publish": "发布", |
|||
"newForm": "新建表单", |
|||
"newFlow": "新建审批流程", |
|||
"loadFailed": "审批模板加载失败", |
|||
"nameRequired": "请填写模板名称", |
|||
"codeRequired": "请填写模板编码", |
|||
"basicSaveFailed": "基础信息保存失败", |
|||
"designNotReady": "流程设计尚未准备好", |
|||
"designSaveFailed": "流程设计保存失败", |
|||
"published": "审批模板已发布", |
|||
"publishFailed": "发布失败", |
|||
"publishedTag": "已发布", |
|||
"cancel": "取消", |
|||
"confirmPublish": "确认发布", |
|||
"finish": "完成", |
|||
"next": "下一步", |
|||
"publishSuccessTitle": "发布成功", |
|||
"publishSuccessDesc": "审批模板已发布,可在审批模板列表中直接发起审批。", |
|||
"code": "流程编号", |
|||
"codePlaceholder": "例如:leave-approval", |
|||
"name": "审批名称", |
|||
"namePlaceholder": "例如:请假审批", |
|||
"category": "选择分组", |
|||
"categoryPlaceholder": "例如:人事", |
|||
"icon": "模板图标", |
|||
"iconPlaceholder": "可选", |
|||
"businessKey": "业务键提示", |
|||
"businessKeyPlaceholder": "发起时业务键的填写提示", |
|||
"description": "审批说明", |
|||
"enableForm": "启用表单", |
|||
"selectExistingForm": "选择已有表单", |
|||
"boundForm": "已绑定表单", |
|||
"noFormTitle": "未启用表单", |
|||
"noFormDesc": "本审批不需要填写表单,将直接进入流程。", |
|||
"publishConfirmTitle": "发布确认", |
|||
"template": "模板", |
|||
"codeLabel": "编码", |
|||
"categoryLabel": "分类", |
|||
"formLabel": "表单", |
|||
"configured": "已配置", |
|||
"unsaved": "未保存", |
|||
"disabled": "未启用", |
|||
"nodeCount": "节点数", |
|||
"approvalNodes": "审批节点", |
|||
"ccNodes": "抄送节点", |
|||
"status": "状态", |
|||
"pendingPublish": "待发布", |
|||
"publishHint": "点击右上角「确认发布」后,系统会根据当前流程设计自动生成并发布 Elsa 工作流定义,无需手动填写定义版本 Id。" |
|||
}, |
|||
"branch": { |
|||
"equal": "等于", |
|||
"notEqual": "不等于", |
|||
"gt": "大于", |
|||
"gte": "大于等于", |
|||
"lt": "小于", |
|||
"lte": "小于等于", |
|||
"contains": "包含", |
|||
"notContains": "不包含", |
|||
"empty": "为空", |
|||
"notEmpty": "不为空", |
|||
"and": "同时满足(AND)", |
|||
"or": "满足任一(OR)", |
|||
"validation": "请填写完整的条件字段、运算符和比较值", |
|||
"setTitle": "设置条件", |
|||
"setNamedTitle": "设置{0}", |
|||
"relation": "条件关系", |
|||
"field": "条件字段", |
|||
"operator": "运算符", |
|||
"value": "比较值", |
|||
"selectField": "选择字段", |
|||
"compareValue": "比较值", |
|||
"delete": "删除", |
|||
"addCondition": "+ 添加条件", |
|||
"cancel": "取消", |
|||
"confirm": "确定", |
|||
"conditionBranch": "条件分支", |
|||
"otherCondition": "其他条件", |
|||
"pendingCc": "待选择抄送人", |
|||
"pendingApprover": "待配置审批人", |
|||
"selectCondition": "请设置条件", |
|||
"otherConditionFlow": "其他条件进入此流程", |
|||
"add": "添加条件", |
|||
"priority": "优先级{0}" |
|||
}, |
|||
"nodeConfig": { |
|||
"participant": "指定人员/部门", |
|||
"initiator": "发起人", |
|||
"initiatorSelection": "发起人自选", |
|||
"role": "角色", |
|||
"supervisor": "部门主管", |
|||
"organizationUnit": "部门成员", |
|||
"formField": "表单字段", |
|||
"any": "或签(一人通过即可)", |
|||
"all": "会签(全部通过)", |
|||
"sequential": "顺签(依次审批)", |
|||
"searchFailed": "人员检索失败", |
|||
"title": "节点设置", |
|||
"nodeName": "节点名称", |
|||
"nodeNamePlaceholder": "请输入节点名称", |
|||
"approvalMode": "审批方式", |
|||
"approverRules": "审批人规则", |
|||
"searchParticipant": "搜索并选择人员或部门", |
|||
"selectRole": "选择角色", |
|||
"nearestSupervisor": "最近一级主管", |
|||
"specifiedLevel": "指定层级", |
|||
"topMost": "最高层级", |
|||
"selectFormField": "选择表单字段", |
|||
"deleteRule": "删除规则", |
|||
"addApproverRule": "添加审批人规则", |
|||
"emptyApprover": "空审批人处理", |
|||
"skipNode": "跳过该节点", |
|||
"escalate": "升级到部门主管", |
|||
"approvalActions": "审批动作", |
|||
"deleteAction": "删除", |
|||
"addAction": "添加动作", |
|||
"ccRecipients": "抄送人", |
|||
"deleteCc": "删除抄送", |
|||
"addCc": "添加抄送人", |
|||
"conditionSettings": "条件设置", |
|||
"selectCompareValue": "选择比较值", |
|||
"numberPlaceholder": "输入数字", |
|||
"datePlaceholder": "选择日期", |
|||
"contentPlaceholder": "输入比较内容", |
|||
"conditionHint": "请选择字段并设置条件", |
|||
"branches": "分支", |
|||
"trueBranch": "符合条件(true)", |
|||
"falseBranch": "不符合条件(false)", |
|||
"nodeCount": "{0} 个节点", |
|||
"branchHint": "条件成立进入「符合条件」分支,否则进入「不符合条件」分支;两个分支创建时已各带一个默认审批人节点,可在画布中继续添加节点。", |
|||
"nodeLabel": "节点设置 - {0}", |
|||
"yes": "是", |
|||
"no": "否", |
|||
"agree": "同意" |
|||
}, |
|||
"form": { |
|||
"singleLineText": "单行文本", |
|||
"multiLineText": "多行文本", |
|||
"number": "数字", |
|||
"date": "日期", |
|||
"dateRange": "日期区间", |
|||
"select": "下拉选择", |
|||
"radio": "单选", |
|||
"multipleSelect": "多选", |
|||
"switch": "开关", |
|||
"attachment": "附件", |
|||
"calculated": "计算", |
|||
"description": "说明", |
|||
"editable": "可编辑", |
|||
"readOnly": "只读", |
|||
"hidden": "隐藏", |
|||
"loadFailed": "表单加载失败", |
|||
"codeRequired": "请填写表单编码", |
|||
"fieldRequired": "请至少添加一个字段", |
|||
"saved": "表单已保存并发布", |
|||
"saveFailed": "表单保存失败", |
|||
"formName": "表单名称", |
|||
"formNamePlaceholder": "例如:请假申请", |
|||
"formCode": "编码", |
|||
"formCodePlaceholder": "例如:leave-request", |
|||
"savedTag": "已保存", |
|||
"unsavedTag": "未保存", |
|||
"controls": "控件", |
|||
"canvas": "表单画布", |
|||
"dragHint": "从左侧拖动控件到此处", |
|||
"required": "必填", |
|||
"delete": "删除", |
|||
"fieldProperties": "字段属性", |
|||
"selectField": "选择一个字段", |
|||
"displayName": "显示名", |
|||
"fieldKey": "字段键", |
|||
"permission": "权限", |
|||
"hint": "提示", |
|||
"options": "选项(每行一个)", |
|||
"calcType": "计算类型", |
|||
"fieldA": "字段A", |
|||
"fieldB": "字段B", |
|||
"resultUnit": "结果单位", |
|||
"previewTitle": "表单预览", |
|||
"attachmentPlaceholder": "附件字段(需接入文件上传组件)" |
|||
} |
|||
}, |
|||
"model": { |
|||
"start": "发起人", |
|||
"reviewer": "审核人", |
|||
"cc": "抄送人", |
|||
"conditionName": "条件{0}", |
|||
"gateway": "网关", |
|||
"defaultBranch": "默认条件分支", |
|||
"conditionBranch": "条件分支", |
|||
"otherCondition": "其他条件", |
|||
"end": "结束", |
|||
"formField": "表单字段:{0}", |
|||
"departmentMember": "部门成员", |
|||
"directLeader": "直属领导", |
|||
"initiator": "发起人自己", |
|||
"levelSupervisor": "第 {0} 级主管", |
|||
"chainApproval": "层层审批", |
|||
"selfSelect": "发起人自选审批人", |
|||
"pendingCc": "待选择抄送人", |
|||
"pendingApprover": "待配置审批人", |
|||
"signSummary": "{0}人({1})会签", |
|||
"sequentialSignSummary": "{0}人({1})顺序会签", |
|||
"approve": "同意", |
|||
"reject": "拒绝", |
|||
"conditionPrefix": "条件:{0}", |
|||
"noCondition": "未设置条件", |
|||
"noPerson": "未选择人员", |
|||
"rolePrefix": "角色:{0}", |
|||
"noRole": "未选择角色", |
|||
"topMostSupervisor": "最高层级主管", |
|||
"supervisor": "部门主管", |
|||
"notSelected": "未选择" |
|||
}, |
|||
"duration": { |
|||
"days": "{0}天", |
|||
"hours": "{0}时", |
|||
"minutes": "{0}分", |
|||
"seconds": "{0}秒" |
|||
}, |
|||
"formula": { |
|||
"numberOperation": "两个数字字段运算", |
|||
"dateOperation": "两个日期字段运算", |
|||
"dateRangeOperation": "日期区间运算", |
|||
"add": "加 +", |
|||
"subtract": "减 -", |
|||
"multiply": "乘 ×", |
|||
"divide": "除 ÷", |
|||
"year": "年", |
|||
"month": "月", |
|||
"day": "日", |
|||
"hour": "时", |
|||
"minute": "分", |
|||
"second": "秒" |
|||
} |
|||
} |
|||
Loading…
Reference in new issue