feat(context-pad): Translate append ReceiveTask action title

This commit is contained in:
nov rain 2019-12-31 15:54:50 +08:00 committed by fake-join[bot]
parent 4a675b3780
commit 5a1b7f7117

View File

@ -265,7 +265,8 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
assign(actions, { assign(actions, {
'append.receive-task': appendAction( 'append.receive-task': appendAction(
'bpmn:ReceiveTask', 'bpmn:ReceiveTask',
'bpmn-icon-receive-task' 'bpmn-icon-receive-task',
translate('Append ReceiveTask')
), ),
'append.message-intermediate-event': appendAction( 'append.message-intermediate-event': appendAction(
'bpmn:IntermediateCatchEvent', 'bpmn:IntermediateCatchEvent',
@ -440,4 +441,4 @@ function isEventType(eventBo, type, definition) {
}); });
return isType && isDefinition; return isType && isDefinition;
} }