Skip to content

Commit

Permalink
feat(popup-menu): sentence case titles and labels
Browse files Browse the repository at this point in the history
Closes #2023
  • Loading branch information
philippfromme committed Dec 1, 2023
1 parent 3614b9c commit 0e035fc
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 91 deletions.
10 changes: 5 additions & 5 deletions lib/features/popup-menu/ReplaceMenuProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ ReplaceMenuProvider.prototype.getPopupMenuEntries = function(target) {
// collapsed sub process cannot be replaced with itself
if (is(businessObject, 'bpmn:SubProcess') && !isExpanded(target)) {
filteredReplaceOptions = filter(filteredReplaceOptions, function(replaceOption) {
return replaceOption.label !== 'Sub Process (collapsed)';
return replaceOption.label !== 'Sub-process (collapsed)';
});
}

Expand Down Expand Up @@ -511,7 +511,7 @@ ReplaceMenuProvider.prototype._getLoopCharacteristicsHeaderEntries = function(ta
return {
'toggle-parallel-mi' : {
className: 'bpmn-icon-parallel-mi-marker',
title: translate('Parallel Multi Instance'),
title: translate('Parallel multi-instance'),
active: isParallel,
action: toggleLoopEntry,
options: {
Expand All @@ -521,7 +521,7 @@ ReplaceMenuProvider.prototype._getLoopCharacteristicsHeaderEntries = function(ta
},
'toggle-sequential-mi': {
className: 'bpmn-icon-sequential-mi-marker',
title: translate('Sequential Multi Instance'),
title: translate('Sequential multi-instance'),
active: isSequential,
action: toggleLoopEntry,
options: {
Expand Down Expand Up @@ -609,7 +609,7 @@ ReplaceMenuProvider.prototype._getParticipantMultiplicityHeaderEntries = functio
return {
'toggle-participant-multiplicity': {
className: 'bpmn-icon-parallel-mi-marker',
title: translate('Participant Multiplicity'),
title: translate('Participant multiplicity'),
active: !!participantMultiplicity,
action: toggleParticipantMultiplicity,
}
Expand Down Expand Up @@ -668,7 +668,7 @@ ReplaceMenuProvider.prototype._getNonInterruptingHeaderEntries = function(elemen
return {
'toggle-non-interrupting': {
imageHtml: icon,
title: translate('Toggle Non-Interrupting'),
title: translate('Toggle non-interrupting'),
active: isNonInterrupting,
action: function() {
self._modeling.updateProperties(element, {
Expand Down
Loading

0 comments on commit 0e035fc

Please sign in to comment.