Index: src/Deltares.DSoilModel.Forms/BoringLookupControl.cs =================================================================== diff -u -r115 -r117 --- src/Deltares.DSoilModel.Forms/BoringLookupControl.cs (.../BoringLookupControl.cs) (revision 115) +++ src/Deltares.DSoilModel.Forms/BoringLookupControl.cs (.../BoringLookupControl.cs) (revision 117) @@ -1,8 +1,8 @@ using System.Windows.Forms; using Deltares.Geotechnics; -using Deltares.Geotechnics.Forms; using Deltares.Standard.Forms; using Deltares.Standard.Forms.DExpress; +using Deltares.Standard.Language; namespace Deltares.DSoilModel.Forms { @@ -14,10 +14,12 @@ { InitializeComponent(); - ((IPropertyControl)this).Name = "Boring"; + const string caption = "Boring Lookup"; + ((IPropertyControl)this).Name = LocalizationManager.GetTranslatedText(this, caption); + BindSupport.BindTextValueAndUnit(this, XLabel, XEdit, typeof(BoringLookup2D), "Xlocal"); - OffsetGroupControl.Text = "Boring Lookup"; + OffsetGroupControl.Text = caption; LocalizationSupport.RegisterAndTranslate(typeof(CPTControl), OffsetGroupControl); FormsSupport.RepairRightAnchoredControls(this); } Index: src/Deltares.DSoilModel.Forms/CPTLookupControl.cs =================================================================== diff -u -r114 -r117 --- src/Deltares.DSoilModel.Forms/CPTLookupControl.cs (.../CPTLookupControl.cs) (revision 114) +++ src/Deltares.DSoilModel.Forms/CPTLookupControl.cs (.../CPTLookupControl.cs) (revision 117) @@ -2,6 +2,7 @@ using Deltares.Geotechnics.ConePenetrationTest; using Deltares.Standard.Forms; using Deltares.Standard.Forms.DExpress; +using Deltares.Standard.Language; namespace Deltares.DSoilModel.Forms { @@ -13,14 +14,16 @@ { InitializeComponent(); - ((IPropertyControl)this).Name = "Sondering"; + const string caption = "CPT Lookup"; + ((IPropertyControl)this).Name = LocalizationManager.GetTranslatedText(this, caption); + BindSupport.BindTextValueAndUnit(this, XLabel, XEdit, typeof(ConePenetrationTestLookup2D), "Xlocal"); BindSupport.BindTextValueAndUnit(this, ZLabel, ZEdit, typeof(ConePenetrationTestLookup2D), "Zlocal"); BindSupport.BindTextValueAndUnit(this, CPTNameLabelControl, CPTNameTextEdit, typeof(ConePenetrationTestLookup2D), "CPTName"); BindSupport.BindTextValueAndUnit(this, ProfileNameLabelControl, ProfileNameTextEdit, typeof(ConePenetrationTestLookup2D), "SoilProfileName"); - OffsetGroupControl.Text = "CPT Lookup"; + OffsetGroupControl.Text = caption; LocalizationSupport.RegisterAndTranslate(typeof(CPTControl), OffsetGroupControl); FormsSupport.RepairRightAnchoredControls(this); }