diff --git a/src/DynamoCoreWpf/Properties/Resources.Designer.cs b/src/DynamoCoreWpf/Properties/Resources.Designer.cs index 678040e808e..fea4f5cea3c 100644 --- a/src/DynamoCoreWpf/Properties/Resources.Designer.cs +++ b/src/DynamoCoreWpf/Properties/Resources.Designer.cs @@ -5026,6 +5026,15 @@ public static string NodeHelpWindowNodeType { } } + /// + /// Looks up a localized string similar to Failed to create node: . + /// + public static string NodeInCanvasSearchCreationError { + get { + return ResourceManager.GetString("NodeInCanvasSearchCreationError", resourceCulture); + } + } + /// /// Looks up a localized string similar to Dismisses the info messages on this node. Utilize when you want to design in graph failures, or the info message will not be relevant during graph execution.. /// diff --git a/src/DynamoCoreWpf/Properties/Resources.en-US.resx b/src/DynamoCoreWpf/Properties/Resources.en-US.resx index 249a2a95c4b..1d3c271eb00 100644 --- a/src/DynamoCoreWpf/Properties/Resources.en-US.resx +++ b/src/DynamoCoreWpf/Properties/Resources.en-US.resx @@ -582,7 +582,7 @@ Don't worry, you'll have the option to save your work. _Select All Edit menu | Select all nodes - + _Unpin All Preview Bubbles Edit menu | Unpin preview bubbles @@ -3983,4 +3983,7 @@ To make this file into a new template, save it to a different folder, then move #Learn more=https://primer2.dynamobim.org/1_developer_primer_intro/3_developing_for_dynamo/updating-your-packages-and-dynamo-libraries-for-dynamo-3x-net8 - + + Failed to create node: + + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Properties/Resources.resx b/src/DynamoCoreWpf/Properties/Resources.resx index dbf2af5204f..1938f65dbc9 100644 --- a/src/DynamoCoreWpf/Properties/Resources.resx +++ b/src/DynamoCoreWpf/Properties/Resources.resx @@ -330,7 +330,7 @@ _Select All Edit menu | Select all nodes - + _Unpin All Preview Bubbles Edit menu | Unpin preview bubbles @@ -3970,4 +3970,7 @@ To make this file into a new template, save it to a different folder, then move #Learn more=https://primer2.dynamobim.org/1_developer_primer_intro/3_developing_for_dynamo/updating-your-packages-and-dynamo-libraries-for-dynamo-3x-net8 - + + Failed to create node: + + \ No newline at end of file diff --git a/src/DynamoCoreWpf/ViewModels/Search/NodeSearchElementViewModel.cs b/src/DynamoCoreWpf/ViewModels/Search/NodeSearchElementViewModel.cs index 2949fc8b30e..02530cd611c 100644 --- a/src/DynamoCoreWpf/ViewModels/Search/NodeSearchElementViewModel.cs +++ b/src/DynamoCoreWpf/ViewModels/Search/NodeSearchElementViewModel.cs @@ -373,7 +373,7 @@ protected virtual void OnClicked() catch (Exception) { searchViewModel.dynamoViewModel.Model.Logger.Log("Failed to create node from search element: " + Model.Name); - searchViewModel.dynamoViewModel.MainGuideManager.CreateRealTimeInfoWindow("Failed to create node: " + Model.Name, true); + searchViewModel.dynamoViewModel.MainGuideManager.CreateRealTimeInfoWindow(Wpf.Properties.Resources.NodeInCanvasSearchCreationError + Model.Name, true); } } }