From dbc5ab2399c0d0dd4657d2b81c4dd7b4694f9199 Mon Sep 17 00:00:00 2001 From: smbea Date: Wed, 17 Jan 2024 11:59:10 +0000 Subject: [PATCH] chore(context-pad): user friendly titles --- .../src/features/context-pad/ContextPadProvider.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/dmn-js-drd/src/features/context-pad/ContextPadProvider.js b/packages/dmn-js-drd/src/features/context-pad/ContextPadProvider.js index 690af750..8105663e 100644 --- a/packages/dmn-js-drd/src/features/context-pad/ContextPadProvider.js +++ b/packages/dmn-js-drd/src/features/context-pad/ContextPadProvider.js @@ -222,14 +222,15 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) { assign(actions, { 'append.text-annotation': appendAction( 'dmn:TextAnnotation', - 'dmn-icon-text-annotation' + 'dmn-icon-text-annotation', + translate('Add text annotation') ), 'connect': { group: 'connect', className: 'dmn-icon-connection-multi', title: translate( - 'Connect using authority/information/knowledge requirement or association' + 'Connect to other element' ), action: { click: startConnect, @@ -245,7 +246,7 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) { group: 'connect', className: 'dmn-icon-connection-multi', title: translate( - 'Connect using association' + 'Connect to other element' ), action: { click: startConnect, @@ -292,7 +293,7 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) { 'delete': { group: 'edit', className: 'dmn-icon-trash', - title: translate('Remove'), + title: translate('Delete'), action: { click: removeElement }