Index: Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.Designer.cs
===================================================================
diff -u
--- Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.Designer.cs (revision 0)
+++ Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.Designer.cs (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -0,0 +1,102 @@
+// Copyright (C) Stichting Deltares 2021. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Riskeer.Common.Plugin.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ public class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Riskeer.Common.Plugin.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Doelkans toevoegen.
+ ///
+ public static string ContextMenuStrip_Add_TargetProbability {
+ get {
+ return ResourceManager.GetString("ContextMenuStrip_Add_TargetProbability", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Voeg een nieuwe doelkans toe aan deze map..
+ ///
+ public static string ContextMenuStrip_Add_TargetProbability_ToolTip {
+ get {
+ return ResourceManager.GetString("ContextMenuStrip_Add_TargetProbability_ToolTip", resourceCulture);
+ }
+ }
+ }
+}
Index: Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.resx
===================================================================
diff -u
--- Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.resx (revision 0)
+++ Riskeer/Common/src/Riskeer.Common.Plugin/Properties/Resources.resx (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Doelkans toevoegen
+
+
+ Voeg een nieuwe doelkans toe aan deze map.
+
+
\ No newline at end of file
Index: Riskeer/Common/src/Riskeer.Common.Plugin/Riskeer.Common.Plugin.csproj
===================================================================
diff -u -r46db3bf684506a5debce4a61d9b6a7aac16b13cc -r4f72d4267fd1efaea51ba50c83f31d086e10020a
--- Riskeer/Common/src/Riskeer.Common.Plugin/Riskeer.Common.Plugin.csproj (.../Riskeer.Common.Plugin.csproj) (revision 46db3bf684506a5debce4a61d9b6a7aac16b13cc)
+++ Riskeer/Common/src/Riskeer.Common.Plugin/Riskeer.Common.Plugin.csproj (.../Riskeer.Common.Plugin.csproj) (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -17,4 +17,17 @@
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
\ No newline at end of file
Index: Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.Designer.cs
===================================================================
diff -u -ra6ad14af66d490a23fdd37ccd333a4809e640bb6 -r4f72d4267fd1efaea51ba50c83f31d086e10020a
--- Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision a6ad14af66d490a23fdd37ccd333a4809e640bb6)
+++ Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -321,24 +321,6 @@
}
///
- /// Looks up a localized string similar to Doelkans toevoegen.
- ///
- public static string ContextMenuStrip_Add_TargetProbability {
- get {
- return ResourceManager.GetString("ContextMenuStrip_Add_TargetProbability", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Voeg een nieuwe doelkans toe aan deze map..
- ///
- public static string ContextMenuStrip_Add_TargetProbability_ToolTip {
- get {
- return ResourceManager.GetString("ContextMenuStrip_Add_TargetProbability_ToolTip", resourceCulture);
- }
- }
-
- ///
/// Looks up a localized string similar to Als u de norm aanpast, dan worden alle rekenresultaten van alle hydraulische belastingenlocaties en toetssporen verwijderd.
///
///Weet u zeker dat u wilt doorgaan?.
Index: Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.resx
===================================================================
diff -u -ra6ad14af66d490a23fdd37ccd333a4809e640bb6 -r4f72d4267fd1efaea51ba50c83f31d086e10020a
--- Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.resx (.../Resources.resx) (revision a6ad14af66d490a23fdd37ccd333a4809e640bb6)
+++ Riskeer/Integration/src/Riskeer.Integration.Plugin/Properties/Resources.resx (.../Resources.resx) (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -262,12 +262,6 @@
Het traject kan niet aangemaakt worden met een ondergrens van {0} en een signaleringswaarde van {1}. De waarde van de ondergrens en signaleringswaarde moet in het bereik {2} liggen en de ondergrens moet gelijk zijn aan of groter zijn dan de signaleringswaarde.
-
- Doelkans toevoegen
-
-
- Voeg een nieuwe doelkans toe aan deze map.
-
Als u de doelkans aanpast, dan worden alle bijbehorende hydraulische belastingen verwijderd.
Index: Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs
===================================================================
diff -u -ra6ad14af66d490a23fdd37ccd333a4809e640bb6 -r4f72d4267fd1efaea51ba50c83f31d086e10020a
--- Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs (.../RiskeerPlugin.cs) (revision a6ad14af66d490a23fdd37ccd333a4809e640bb6)
+++ Riskeer/Integration/src/Riskeer.Integration.Plugin/RiskeerPlugin.cs (.../RiskeerPlugin.cs) (revision 4f72d4267fd1efaea51ba50c83f31d086e10020a)
@@ -108,6 +108,7 @@
using RiskeerCommonDataResources = Riskeer.Common.Data.Properties.Resources;
using RiskeerCommonIOResources = Riskeer.Common.IO.Properties.Resources;
using RiskeerCommonFormsResources = Riskeer.Common.Forms.Properties.Resources;
+using RiskeerCommonPluginResources = Riskeer.Common.Plugin.Properties.Resources;
using RiskeerCommonServiceResources = Riskeer.Common.Service.Properties.Resources;
namespace Riskeer.Integration.Plugin
@@ -2348,8 +2349,8 @@
IAssessmentSection assessmentSection = nodeData.AssessmentSection;
var addTargetProbabilityItem = new StrictContextMenuItem(
- Resources.ContextMenuStrip_Add_TargetProbability,
- Resources.ContextMenuStrip_Add_TargetProbability_ToolTip,
+ RiskeerCommonPluginResources.ContextMenuStrip_Add_TargetProbability,
+ RiskeerCommonPluginResources.ContextMenuStrip_Add_TargetProbability_ToolTip,
RiskeerCommonFormsResources.GenericInputOutputIcon,
(sender, args) =>
{
@@ -2450,8 +2451,8 @@
IAssessmentSection assessmentSection = nodeData.AssessmentSection;
var addTargetProbabilityItem = new StrictContextMenuItem(
- Resources.ContextMenuStrip_Add_TargetProbability,
- Resources.ContextMenuStrip_Add_TargetProbability_ToolTip,
+ RiskeerCommonPluginResources.ContextMenuStrip_Add_TargetProbability,
+ RiskeerCommonPluginResources.ContextMenuStrip_Add_TargetProbability_ToolTip,
RiskeerCommonFormsResources.GenericInputOutputIcon,
(sender, args) =>
{