Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Configurations/Helpers/ConfigurationAssessmentSectionCategoryTypeConverter.cs =================================================================== diff -u -rafc4ddd4d8276689024294adf847df07a8a21e6f -ra706f1add8b655e9acb76fbff1267102d5fc6c83 --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Configurations/Helpers/ConfigurationAssessmentSectionCategoryTypeConverter.cs (.../ConfigurationAssessmentSectionCategoryTypeConverter.cs) (revision afc4ddd4d8276689024294adf847df07a8a21e6f) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Configurations/Helpers/ConfigurationAssessmentSectionCategoryTypeConverter.cs (.../ConfigurationAssessmentSectionCategoryTypeConverter.cs) (revision a706f1add8b655e9acb76fbff1267102d5fc6c83) @@ -23,6 +23,7 @@ using System.ComponentModel; using System.Globalization; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Revetment.IO.Properties; namespace Ringtoets.Revetment.IO.Configurations.Helpers { @@ -73,13 +74,13 @@ switch (categoryType) { case ConfigurationAssessmentSectionCategoryType.FactorizedSignalingNorm: - return "A+->A"; + return Resources.FactorizedSignalingNorm_DisplayName; case ConfigurationAssessmentSectionCategoryType.SignalingNorm: - return "A->B"; + return Resources.SignalingNorm_DisplayName; case ConfigurationAssessmentSectionCategoryType.LowerLimitNorm: - return "B->C"; + return Resources.LowerLimitNorm_DisplayName; case ConfigurationAssessmentSectionCategoryType.FactorizedLowerLimitNorm: - return "C->D"; + return Resources.FactorizedLowerLimitNorm_DisplayName; default: throw new NotSupportedException(); } @@ -128,22 +129,22 @@ var stringValue = value as string; if (stringValue != null) { - if (stringValue == "A+->A") + if (stringValue == Resources.FactorizedSignalingNorm_DisplayName) { return ConfigurationAssessmentSectionCategoryType.FactorizedSignalingNorm; } - if (stringValue == "A->B") + if (stringValue == Resources.SignalingNorm_DisplayName) { return ConfigurationAssessmentSectionCategoryType.SignalingNorm; } - if (stringValue == "B->C") + if (stringValue == Resources.LowerLimitNorm_DisplayName) { return ConfigurationAssessmentSectionCategoryType.LowerLimitNorm; } - if (stringValue == "C->D") + if (stringValue == Resources.FactorizedLowerLimitNorm_DisplayName) { return ConfigurationAssessmentSectionCategoryType.FactorizedLowerLimitNorm; } Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.Designer.cs =================================================================== diff -u -rbc3e9533de8e4e270211af3ef1821373fe907569 -ra706f1add8b655e9acb76fbff1267102d5fc6c83 --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision bc3e9533de8e4e270211af3ef1821373fe907569) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision a706f1add8b655e9acb76fbff1267102d5fc6c83) @@ -138,6 +138,33 @@ } /// + /// Looks up a localized string similar to C->D. + /// + internal static string FactorizedLowerLimitNorm_DisplayName { + get { + return ResourceManager.GetString("FactorizedLowerLimitNorm_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A+->A. + /// + internal static string FactorizedSignalingNorm_DisplayName { + get { + return ResourceManager.GetString("FactorizedSignalingNorm_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to B->C. + /// + internal static string LowerLimitNorm_DisplayName { + get { + return ResourceManager.GetString("LowerLimitNorm_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to nee. /// internal static string No { @@ -147,6 +174,15 @@ } /// + /// Looks up a localized string similar to A->B. + /// + internal static string SignalingNorm_DisplayName { + get { + return ResourceManager.GetString("SignalingNorm_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to ondergrens bekledingen. /// internal static string WaveConditionsCalculationConfigurationImporter_LowerBoundaryRevetment_DisplayName { Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.resx =================================================================== diff -u -rbc3e9533de8e4e270211af3ef1821373fe907569 -ra706f1add8b655e9acb76fbff1267102d5fc6c83 --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.resx (.../Resources.resx) (revision bc3e9533de8e4e270211af3ef1821373fe907569) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/Properties/Resources.resx (.../Resources.resx) (revision a706f1add8b655e9acb76fbff1267102d5fc6c83) @@ -157,4 +157,16 @@ ondergrens van de waterstanden + + A+->A + + + A->B + + + B->C + + + C->D + \ No newline at end of file