From aee5382ff64ada6abd0ee12cdb08c13b7e217b92 Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Tue, 22 Oct 2024 13:38:37 +0200 Subject: [PATCH] Remove plural from caption --- Source/Editor/Surface/VisjectSurfaceWindow.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Editor/Surface/VisjectSurfaceWindow.cs b/Source/Editor/Surface/VisjectSurfaceWindow.cs index 39c1ce8b2..fdb9fa9bc 100644 --- a/Source/Editor/Surface/VisjectSurfaceWindow.cs +++ b/Source/Editor/Surface/VisjectSurfaceWindow.cs @@ -794,10 +794,9 @@ namespace FlaxEditor.Surface string singularPlural = connectedParameterNodeCount > 1 ? "s" : ""; string msg = $"Delete parameter {param.Name}?\nParameter is being used in a graph {connectedParameterNodeCount} time{singularPlural}.\n\nYou can disable this warning in the editor settings."; - string caption = "Delete parameter" + singularPlural; if (connectedParameterNodeCount > 0) - if (MessageBox.Show(msg, caption, MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK) + if (MessageBox.Show(msg, "Delete parameter", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK) return; var action = new AddRemoveParamAction