From d22e5fb3331d56c935cfb7d99c865e12bbbbadb8 Mon Sep 17 00:00:00 2001 From: Filip Michalski Date: Fri, 27 Dec 2024 16:28:14 +0100 Subject: [PATCH] Fix warn messages --- designer/client/src/components/graph/Graph.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer/client/src/components/graph/Graph.tsx b/designer/client/src/components/graph/Graph.tsx index 427958552f2..f1f045dc0b7 100644 --- a/designer/client/src/components/graph/Graph.tsx +++ b/designer/client/src/components/graph/Graph.tsx @@ -239,7 +239,7 @@ export class Graph extends React.Component { if (!this.props.isPristine) { this.props.notifications.warn( i18next.t( - "notification.warn.cannotDeleteOnUnsavedVersion", + "notification.warn.cannotMoveOnUnsavedVersion", "Save scenario before making any changes to sticky notes", ), ); @@ -484,7 +484,7 @@ export class Graph extends React.Component { if (isStickyNoteElement(cell)) { if (!this.props.isPristine) { this.props.notifications.warn( - i18next.t("notification.warn.cannotDeleteOnUnsavedVersion", "Save scenario before resizing sticky note"), + i18next.t("notification.warn.cannotResizeOnUnsavedVersion", "Save scenario before resizing sticky note"), ); return; } @@ -511,7 +511,7 @@ export class Graph extends React.Component { if (isStickyNoteElement(cell)) { if (!this.props.isPristine) { this.props.notifications.warn( - i18next.t("notification.warn.cannotDeleteOnUnsavedVersion", "Save scenario before updating sticky note"), + i18next.t("notification.warn.cannotUpdateOnUnsavedVersion", "Save scenario before updating sticky note"), ); return; }