Skip to content

Commit 2131284

Browse files
authored
Merge pull request #201 from zhanglc0618/translate
fix: 修复一些bpmn-js标签typo问题,新增一些翻译
2 parents a726d81 + c6f805a commit 2131284

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

src/components/bpmnProcessDesigner/package/designer/plugins/translate/zh.js

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default {
1010
'Append Gateway': '追加网关',
1111
'Append Task': '追加任务',
1212
'Append Intermediate/Boundary Event': '追加中间抛出事件/边界事件',
13-
13+
TextAnnotation: '文本注释',
1414
'Activate the global connect tool': '激活全局连接工具',
1515
'Append {type}': '添加 {type}',
1616
'Add Lane above': '在上面添加道',
@@ -29,10 +29,16 @@ export default {
2929
'Create expanded SubProcess': '创建扩展子过程',
3030
'Create IntermediateThrowEvent/BoundaryEvent': '创建中间抛出事件/边界事件',
3131
'Create Pool/Participant': '创建池/参与者',
32-
'Parallel Multi Instance': '并行多重事件',
33-
'Sequential Multi Instance': '时序多重事件',
32+
'Participant Multiplicity': '参与者多重性',
33+
'Empty pool/participant (removes content)': '清空池/参与者(移除内容)',
34+
'Empty pool/participant': '收缩池/参与者',
35+
'Expanded pool/participant': '展开池/参与者',
36+
'Parallel Multi-Instance': '并行多重事件',
37+
'Sequential Multi-Instance': '时序多重事件',
3438
DataObjectReference: '数据对象参考',
3539
DataStoreReference: '数据存储参考',
40+
'Data object reference': '数据对象引用 ',
41+
'Data store reference': '数据存储引用 ',
3642
Loop: '循环',
3743
'Ad-hoc': '即席',
3844
'Create {type}': '创建 {type}',
@@ -47,6 +53,9 @@ export default {
4753
'Call Activity': '调用活动',
4854
'Sub-Process (collapsed)': '子流程(折叠的)',
4955
'Sub-Process (expanded)': '子流程(展开的)',
56+
'Ad-hoc sub-process': '即席子流程',
57+
'Ad-hoc sub-process (collapsed)': '即席子流程(折叠的)',
58+
'Ad-hoc sub-process (expanded)': '即席子流程(展开的)',
5059
'Start Event': '开始事件',
5160
StartEvent: '开始事件',
5261
'Intermediate Throw Event': '中间事件',
@@ -109,10 +118,10 @@ export default {
109118
'Parallel Gateway': '并行网关',
110119
'Inclusive Gateway': '相容网关',
111120
'Complex Gateway': '复杂网关',
112-
'Event based Gateway': '事件网关',
121+
'Event-based Gateway': '事件网关',
113122
Transaction: '转运',
114-
'Sub Process': '子流程',
115-
'Event Sub Process': '事件子流程',
123+
'sub-process': '子流程',
124+
'Event sub-process': '事件子流程',
116125
'Collapsed Pool': '折叠池',
117126
'Expanded Pool': '展开池',
118127

src/views/bpm/processListener/ProcessListenerForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<el-select v-model="formData.event" placeholder="请选择事件">
4040
<el-option
4141
v-for="event in formData.type == 'execution'
42-
? ['start', 'end']
43-
: ['create', 'assignment', 'complete', 'delete', 'update', 'timeout']"
42+
? ['开始', '结束']
43+
: ['创建', '指派', '完成', '删除', '更新', '超时']"
4444
:label="event"
4545
:value="event"
4646
:key="event"

0 commit comments

Comments
 (0)