feat(contextPad): Adjustments for IntermediateCatchEvents

adjust tooltip titles
i18n support
This commit is contained in:
Niklas Kiefer 2018-10-01 16:37:45 +02:00 committed by Nico Rehwaldt
parent 6b0a73145d
commit 350a5ab75e

View File

@ -266,25 +266,25 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
'append.message-intermediate-event': appendAction( 'append.message-intermediate-event': appendAction(
'bpmn:IntermediateCatchEvent', 'bpmn:IntermediateCatchEvent',
'bpmn-icon-intermediate-event-catch-message', 'bpmn-icon-intermediate-event-catch-message',
'MessageIntermediateCatchEvent', translate('Append MessageIntermediateCatchEvent'),
{ eventDefinitionType: 'bpmn:MessageEventDefinition' } { eventDefinitionType: 'bpmn:MessageEventDefinition' }
), ),
'append.timer-intermediate-event': appendAction( 'append.timer-intermediate-event': appendAction(
'bpmn:IntermediateCatchEvent', 'bpmn:IntermediateCatchEvent',
'bpmn-icon-intermediate-event-catch-timer', 'bpmn-icon-intermediate-event-catch-timer',
'TimerIntermediateCatchEvent', translate('Append TimerIntermediateCatchEvent'),
{ eventDefinitionType: 'bpmn:TimerEventDefinition' } { eventDefinitionType: 'bpmn:TimerEventDefinition' }
), ),
'append.condtion-intermediate-event': appendAction( 'append.condtion-intermediate-event': appendAction(
'bpmn:IntermediateCatchEvent', 'bpmn:IntermediateCatchEvent',
'bpmn-icon-intermediate-event-catch-condition', 'bpmn-icon-intermediate-event-catch-condition',
'ConditionIntermediateCatchEvent', translate('Append ConditionIntermediateCatchEvent'),
{ eventDefinitionType: 'bpmn:ConditionalEventDefinition' } { eventDefinitionType: 'bpmn:ConditionalEventDefinition' }
), ),
'append.signal-intermediate-event': appendAction( 'append.signal-intermediate-event': appendAction(
'bpmn:IntermediateCatchEvent', 'bpmn:IntermediateCatchEvent',
'bpmn-icon-intermediate-event-catch-signal', 'bpmn-icon-intermediate-event-catch-signal',
'SignalIntermediateCatchEvent', translate('Append SignalIntermediateCatchEvent'),
{ eventDefinitionType: 'bpmn:SignalEventDefinition' } { eventDefinitionType: 'bpmn:SignalEventDefinition' }
) )
}); });