From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/components/bpmnProcessDesigner/package/designer/plugins/translate/zh.js | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 251 insertions(+), 0 deletions(-)
diff --git a/src/components/bpmnProcessDesigner/package/designer/plugins/translate/zh.js b/src/components/bpmnProcessDesigner/package/designer/plugins/translate/zh.js
new file mode 100644
index 0000000..4407e66
--- /dev/null
+++ b/src/components/bpmnProcessDesigner/package/designer/plugins/translate/zh.js
@@ -0,0 +1,251 @@
+/**
+ * This is a sample file that should be replaced with the actual translation.
+ *
+ * Checkout https://github.com/bpmn-io/bpmn-js-i18n for a list of available
+ * translations and labels to translate.
+ */
+export default {
+ // 娣诲姞閮ㄥ垎
+ 'Append EndEvent': '杩藉姞缁撴潫浜嬩欢',
+ 'Append Gateway': '杩藉姞缃戝叧',
+ 'Append Task': '杩藉姞浠诲姟',
+ 'Append Intermediate/Boundary Event': '杩藉姞涓棿鎶涘嚭浜嬩欢/杈圭晫浜嬩欢',
+ TextAnnotation: '鏂囨湰娉ㄩ噴',
+ 'Activate the global connect tool': '婵�娲诲叏灞�杩炴帴宸ュ叿',
+ 'Append {type}': '娣诲姞 {type}',
+ 'Add Lane above': '鍦ㄤ笂闈㈡坊鍔犻亾',
+ 'Divide into two Lanes': '鍒嗗壊鎴愪袱涓亾',
+ 'Divide into three Lanes': '鍒嗗壊鎴愪笁涓亾',
+ 'Add Lane below': '鍦ㄤ笅闈㈡坊鍔犻亾',
+ 'Append compensation activity': '杩藉姞琛ュ伩娲诲姩',
+ 'Change type': '淇敼绫诲瀷',
+ 'Connect using Association': '浣跨敤鍏宠仈杩炴帴',
+ 'Connect using Sequence/MessageFlow or Association': '浣跨敤椤哄簭/娑堟伅娴佹垨鑰呭叧鑱旇繛鎺�',
+ 'Connect using DataInputAssociation': '浣跨敤鏁版嵁杈撳叆鍏宠仈杩炴帴',
+ Remove: '绉婚櫎',
+ 'Activate the hand tool': '婵�娲绘姄鎵嬪伐鍏�',
+ 'Activate the lasso tool': '婵�娲诲绱㈠伐鍏�',
+ 'Activate the create/remove space tool': '婵�娲诲垱寤�/鍒犻櫎绌洪棿宸ュ叿',
+ 'Create expanded SubProcess': '鍒涘缓鎵╁睍瀛愯繃绋�',
+ 'Create IntermediateThrowEvent/BoundaryEvent': '鍒涘缓涓棿鎶涘嚭浜嬩欢/杈圭晫浜嬩欢',
+ 'Create Pool/Participant': '鍒涘缓姹�/鍙備笌鑰�',
+ 'Participant Multiplicity': '鍙備笌鑰呭閲嶆��',
+ 'Empty pool/participant (removes content)': '娓呯┖姹�/鍙備笌鑰咃紙绉婚櫎鍐呭锛�',
+ 'Empty pool/participant': '鏀剁缉姹�/鍙備笌鑰�',
+ 'Expanded pool/participant': '灞曞紑姹�/鍙備笌鑰�',
+ 'Parallel Multi-Instance': '骞惰澶氶噸浜嬩欢',
+ 'Sequential Multi-Instance': '鏃跺簭澶氶噸浜嬩欢',
+ DataObjectReference: '鏁版嵁瀵硅薄鍙傝��',
+ DataStoreReference: '鏁版嵁瀛樺偍鍙傝��',
+ 'Data object reference': '鏁版嵁瀵硅薄寮曠敤 ',
+ 'Data store reference': '鏁版嵁瀛樺偍寮曠敤 ',
+ Loop: '寰幆',
+ 'Ad-hoc': '鍗冲腑',
+ 'Create {type}': '鍒涘缓 {type}',
+ Task: '浠诲姟',
+ 'Send Task': '鍙戦�佷换鍔�',
+ 'Receive Task': '鎺ユ敹浠诲姟',
+ 'User Task': '鐢ㄦ埛浠诲姟',
+ 'Manual Task': '鎵嬪伐浠诲姟',
+ 'Business Rule Task': '涓氬姟瑙勫垯浠诲姟',
+ 'Service Task': '鏈嶅姟浠诲姟',
+ 'Script Task': '鑴氭湰浠诲姟',
+ 'Call Activity': '璋冪敤娲诲姩',
+ 'Sub-Process (collapsed)': '瀛愭祦绋嬶紙鎶樺彔鐨勶級',
+ 'Sub-Process (expanded)': '瀛愭祦绋嬶紙灞曞紑鐨勶級',
+ 'Ad-hoc sub-process': '鍗冲腑瀛愭祦绋�',
+ 'Ad-hoc sub-process (collapsed)': '鍗冲腑瀛愭祦绋嬶紙鎶樺彔鐨勶級',
+ 'Ad-hoc sub-process (expanded)': '鍗冲腑瀛愭祦绋嬶紙灞曞紑鐨勶級',
+ 'Start Event': '寮�濮嬩簨浠�',
+ StartEvent: '寮�濮嬩簨浠�',
+ 'Intermediate Throw Event': '涓棿浜嬩欢',
+ 'End Event': '缁撴潫浜嬩欢',
+ EndEvent: '缁撴潫浜嬩欢',
+ 'Create StartEvent': '鍒涘缓寮�濮嬩簨浠�',
+ 'Create EndEvent': '鍒涘缓缁撴潫浜嬩欢',
+ 'Create Task': '鍒涘缓浠诲姟',
+ 'Create User Task': '鍒涘缓鐢ㄦ埛浠诲姟',
+ 'Create Call Activity': '鍒涘缓璋冪敤娲诲姩',
+ 'Create Service Task': '鍒涘缓鏈嶅姟浠诲姟',
+ 'Create Gateway': '鍒涘缓缃戝叧',
+ 'Create DataObjectReference': '鍒涘缓鏁版嵁瀵硅薄',
+ 'Create DataStoreReference': '鍒涘缓鏁版嵁瀛樺偍',
+ 'Create Group': '鍒涘缓鍒嗙粍',
+ 'Create Intermediate/Boundary Event': '鍒涘缓涓棿/杈圭晫浜嬩欢',
+ 'Message Start Event': '娑堟伅寮�濮嬩簨浠�',
+ 'Timer Start Event': '瀹氭椂寮�濮嬩簨浠�',
+ 'Conditional Start Event': '鏉′欢寮�濮嬩簨浠�',
+ 'Signal Start Event': '淇″彿寮�濮嬩簨浠�',
+ 'Error Start Event': '閿欒寮�濮嬩簨浠�',
+ 'Escalation Start Event': '鍗囩骇寮�濮嬩簨浠�',
+ 'Compensation Start Event': '琛ュ伩寮�濮嬩簨浠�',
+ 'Message Start Event (non-interrupting)': '娑堟伅寮�濮嬩簨浠讹紙闈炰腑鏂級',
+ 'Timer Start Event (non-interrupting)': '瀹氭椂寮�濮嬩簨浠讹紙闈炰腑鏂級',
+ 'Conditional Start Event (non-interrupting)': '鏉′欢寮�濮嬩簨浠讹紙闈炰腑鏂級',
+ 'Signal Start Event (non-interrupting)': '淇″彿寮�濮嬩簨浠讹紙闈炰腑鏂級',
+ 'Escalation Start Event (non-interrupting)': '鍗囩骇寮�濮嬩簨浠讹紙闈炰腑鏂級',
+ 'Message Intermediate Catch Event': '娑堟伅涓棿鎹曡幏浜嬩欢',
+ 'Message Intermediate Throw Event': '娑堟伅涓棿鎶涘嚭浜嬩欢',
+ 'Timer Intermediate Catch Event': '瀹氭椂涓棿鎹曡幏浜嬩欢',
+ 'Escalation Intermediate Throw Event': '鍗囩骇涓棿鎶涘嚭浜嬩欢',
+ 'Conditional Intermediate Catch Event': '鏉′欢涓棿鎹曡幏浜嬩欢',
+ 'Link Intermediate Catch Event': '閾炬帴涓棿鎹曡幏浜嬩欢',
+ 'Link Intermediate Throw Event': '閾炬帴涓棿鎶涘嚭浜嬩欢',
+ 'Compensation Intermediate Throw Event': '琛ュ伩涓棿鎶涘嚭浜嬩欢',
+ 'Signal Intermediate Catch Event': '淇″彿涓棿鎹曡幏浜嬩欢',
+ 'Signal Intermediate Throw Event': '淇″彿涓棿鎶涘嚭浜嬩欢',
+ 'Message End Event': '娑堟伅缁撴潫浜嬩欢',
+ 'Escalation End Event': '瀹氭椂缁撴潫浜嬩欢',
+ 'Error End Event': '閿欒缁撴潫浜嬩欢',
+ 'Cancel End Event': '鍙栨秷缁撴潫浜嬩欢',
+ 'Compensation End Event': '琛ュ伩缁撴潫浜嬩欢',
+ 'Signal End Event': '淇″彿缁撴潫浜嬩欢',
+ 'Terminate End Event': '缁堟缁撴潫浜嬩欢',
+ 'Message Boundary Event': '娑堟伅杈圭晫浜嬩欢',
+ 'Message Boundary Event (non-interrupting)': '娑堟伅杈圭晫浜嬩欢锛堥潪涓柇锛�',
+ 'Timer Boundary Event': '瀹氭椂杈圭晫浜嬩欢',
+ 'Timer Boundary Event (non-interrupting)': '瀹氭椂杈圭晫浜嬩欢锛堥潪涓柇锛�',
+ 'Escalation Boundary Event': '鍗囩骇杈圭晫浜嬩欢',
+ 'Escalation Boundary Event (non-interrupting)': '鍗囩骇杈圭晫浜嬩欢锛堥潪涓柇锛�',
+ 'Conditional Boundary Event': '鏉′欢杈圭晫浜嬩欢',
+ 'Conditional Boundary Event (non-interrupting)': '鏉′欢杈圭晫浜嬩欢锛堥潪涓柇锛�',
+ 'Error Boundary Event': '閿欒杈圭晫浜嬩欢',
+ 'Cancel Boundary Event': '鍙栨秷杈圭晫浜嬩欢',
+ 'Signal Boundary Event': '淇″彿杈圭晫浜嬩欢',
+ 'Signal Boundary Event (non-interrupting)': '淇″彿杈圭晫浜嬩欢锛堥潪涓柇锛�',
+ 'Compensation Boundary Event': '琛ュ伩杈圭晫浜嬩欢',
+ 'Exclusive Gateway': '浜掓枼缃戝叧',
+ 'Parallel Gateway': '骞惰缃戝叧',
+ 'Inclusive Gateway': '鐩稿缃戝叧',
+ 'Complex Gateway': '澶嶆潅缃戝叧',
+ 'Event-based Gateway': '浜嬩欢缃戝叧',
+ Transaction: '杞繍',
+ 'sub-process': '瀛愭祦绋�',
+ 'Event sub-process': '浜嬩欢瀛愭祦绋�',
+ 'Collapsed Pool': '鎶樺彔姹�',
+ 'Expanded Pool': '灞曞紑姹�',
+
+ // Errors
+ 'no parent for {element} in {parent}': '鍦▄parent}閲岋紝{element}娌℃湁鐖剁被',
+ 'no shape type specified': '娌℃湁鎸囧畾鐨勫舰鐘剁被鍨�',
+ 'flow elements must be children of pools/participants': '娴佸厓绱犲繀椤绘槸姹�/鍙備笌鑰呯殑瀛愮被',
+ 'out of bounds release': 'out of bounds release',
+ 'more than {count} child lanes': '瀛愰亾澶т簬{count} ',
+ 'element required': '鍏冪礌涓嶈兘涓虹┖',
+ 'diagram not part of bpmn:Definitions': '娴佺▼鍥句笉绗﹀悎bpmn瑙勮寖',
+ 'no diagram to display': '娌℃湁鍙睍绀虹殑娴佺▼鍥�',
+ 'no process or collaboration to display': '娌℃湁鍙睍绀虹殑娴佺▼/鍗忎綔',
+ 'element {element} referenced by {referenced}#{property} not yet drawn':
+ '鐢眥referenced}#{property}寮曠敤鐨剓element}鍏冪礌浠嶆湭缁樺埗',
+ 'already rendered {element}': '{element} 宸茶娓叉煋',
+ 'failed to import {element}': '瀵煎叆{element}澶辫触',
+ //灞炴�ч潰鏉跨殑鍙傛暟
+ Id: '缂栧彿',
+ Name: '鍚嶇О',
+ General: '甯歌',
+ Details: '璇︽儏',
+ 'Message Name': '娑堟伅鍚嶇О',
+ Message: '娑堟伅',
+ Initiator: '鍒涘缓鑰�',
+ 'Asynchronous Continuations': '鎸佺画寮傛',
+ 'Asynchronous Before': '寮傛鍓�',
+ 'Asynchronous After': '寮傛鍚�',
+ 'Job Configuration': '宸ヤ綔閰嶇疆',
+ Exclusive: '鎺掗櫎',
+ 'Job Priority': '宸ヤ綔浼樺厛绾�',
+ 'Retry Time Cycle': '閲嶈瘯鏃堕棿鍛ㄦ湡',
+ Documentation: '鏂囨。',
+ 'Element Documentation': '鍏冪礌鏂囨。',
+ 'History Configuration': '鍘嗗彶閰嶇疆',
+ 'History Time To Live': '鍘嗗彶鐨勭敓瀛樻椂闂�',
+ Forms: '琛ㄥ崟',
+ 'Form Key': '琛ㄥ崟key',
+ 'Form Fields': '琛ㄥ崟瀛楁',
+ 'Business Key': '涓氬姟key',
+ 'Form Field': '琛ㄥ崟瀛楁',
+ ID: '缂栧彿',
+ Type: '绫诲瀷',
+ Label: '鍚嶇О',
+ 'Default Value': '榛樿鍊�',
+ 'Default Flow': '榛樿娴佽浆璺緞',
+ 'Conditional Flow': '鏉′欢娴佽浆璺緞',
+ 'Sequence Flow': '鏅�氭祦杞矾寰�',
+ Validation: '鏍¢獙',
+ 'Add Constraint': '娣诲姞绾︽潫',
+ Config: '閰嶇疆',
+ Properties: '灞炴��',
+ 'Add Property': '娣诲姞灞炴��',
+ Value: '鍊�',
+ Listeners: '鐩戝惉鍣�',
+ 'Execution Listener': '鎵ц鐩戝惉',
+ 'Event Type': '浜嬩欢绫诲瀷',
+ 'Listener Type': '鐩戝惉鍣ㄧ被鍨�',
+ 'Java Class': 'Java绫�',
+ Expression: '琛ㄨ揪寮�',
+ 'Must provide a value': '蹇呴』鎻愪緵涓�涓��',
+ 'Delegate Expression': '浠g悊琛ㄨ揪寮�',
+ Script: '鑴氭湰',
+ 'Script Format': '鑴氭湰鏍煎紡',
+ 'Script Type': '鑴氭湰绫诲瀷',
+ 'Inline Script': '鍐呰仈鑴氭湰',
+ 'External Script': '澶栭儴鑴氭湰',
+ Resource: '璧勬簮',
+ 'Field Injection': '瀛楁娉ㄥ叆',
+ Extensions: '鎵╁睍',
+ 'Input/Output': '杈撳叆/杈撳嚭',
+ 'Input Parameters': '杈撳叆鍙傛暟',
+ 'Output Parameters': '杈撳嚭鍙傛暟',
+ Parameters: '鍙傛暟',
+ 'Output Parameter': '杈撳嚭鍙傛暟',
+ 'Timer Definition Type': '瀹氭椂鍣ㄥ畾涔夌被鍨�',
+ 'Timer Definition': '瀹氭椂鍣ㄥ畾涔�',
+ Date: '鏃ユ湡',
+ Duration: '鎸佺画',
+ Cycle: '寰幆',
+ Signal: '淇″彿',
+ 'Signal Name': '淇″彿鍚嶇О',
+ Escalation: '鍗囩骇',
+ Error: '閿欒',
+ 'Link Name': '閾炬帴鍚嶇О',
+ Condition: '鏉′欢鍚嶇О',
+ 'Variable Name': '鍙橀噺鍚嶇О',
+ 'Variable Event': '鍙橀噺浜嬩欢',
+ 'Specify more than one variable change event as a comma separated list.':
+ '澶氫釜鍙橀噺浜嬩欢浠ラ�楀彿闅斿紑',
+ 'Wait for Completion': '绛夊緟瀹屾垚',
+ 'Activity Ref': '娲诲姩鍙傝��',
+ 'Version Tag': '鐗堟湰鏍囩',
+ Executable: '鍙墽琛屾枃浠�',
+ 'External Task Configuration': '鎵╁睍浠诲姟閰嶇疆',
+ 'Task Priority': '浠诲姟浼樺厛绾�',
+ External: '澶栭儴',
+ Connector: '杩炴帴鍣�',
+ 'Must configure Connector': '蹇呴』閰嶇疆杩炴帴鍣�',
+ 'Connector Id': '杩炴帴鍣ㄧ紪鍙�',
+ Implementation: '瀹炵幇鏂瑰紡',
+ 'Field Injections': '瀛楁娉ㄥ叆',
+ Fields: '瀛楁',
+ 'Result Variable': '缁撴灉鍙橀噺',
+ Topic: '涓婚',
+ 'Configure Connector': '閰嶇疆杩炴帴鍣�',
+ 'Input Parameter': '杈撳叆鍙傛暟',
+ Assignee: '浠g悊浜�',
+ 'Candidate Users': '鍊欓�夌敤鎴�',
+ 'Candidate Groups': '鍊欓�夌粍',
+ 'Due Date': '鍒版湡鏃堕棿',
+ 'Follow Up Date': '璺熻釜鏃ユ湡',
+ Priority: '浼樺厛绾�',
+ 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
+ '璺熻釜鏃ユ湡蹇呴』绗﹀悎EL琛ㄨ揪寮忥紝濡傦細 ${someDate} ,鎴栬�呬竴涓狪SO鏍囧噯鏃ユ湡锛屽锛�2015-06-26T09:54:00',
+ 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
+ '璺熻釜鏃ユ湡蹇呴』绗﹀悎EL琛ㄨ揪寮忥紝濡傦細 ${someDate} ,鎴栬�呬竴涓狪SO鏍囧噯鏃ユ湡锛屽锛�2015-06-26T09:54:00',
+ Variables: '鍙橀噺',
+ 'Candidate Starter Configuration': '鍊欓�変汉璧峰姩鍣ㄩ厤缃�',
+ 'Candidate Starter Groups': '鍊欓�変汉璧峰姩鍣ㄧ粍',
+ 'This maps to the process definition key.': '杩欐槧灏勫埌娴佺▼瀹氫箟閿��',
+ 'Candidate Starter Users': '鍊欓�変汉璧峰姩鍣ㄧ殑鐢ㄦ埛',
+ 'Specify more than one user as a comma separated list.': '鎸囧畾澶氫釜鐢ㄦ埛浣滀负閫楀彿鍒嗛殧鐨勫垪琛ㄣ��',
+ 'Tasklist Configuration': 'Tasklist閰嶇疆',
+ Startable: '鍚姩',
+ 'Specify more than one group as a comma separated list.': '鎸囧畾澶氫釜缁勪綔涓洪�楀彿鍒嗛殧鐨勫垪琛ㄣ��'
+}
--
Gitblit v1.8.0