Index: Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.Designer.cs =================================================================== diff -u -r6049b52f0552bb346a429c06d7395d19a36ef26a -r48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1 --- Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.Designer.cs (.../MapControl.Designer.cs) (revision 6049b52f0552bb346a429c06d7395d19a36ef26a) +++ Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.Designer.cs (.../MapControl.Designer.cs) (revision 48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1) @@ -20,6 +20,7 @@ // All rights reserved. using System.ComponentModel; +using Core.Components.DotSpatial.Properties; namespace Core.Components.DotSpatial.Forms { @@ -74,7 +75,7 @@ this.panToolStripButton.Name = "panToolStripButton"; this.panToolStripButton.Size = new System.Drawing.Size(39, 29); this.panToolStripButton.Text = ""; - this.panToolStripButton.ToolTipText = "Verschuiven"; + this.panToolStripButton.ToolTipText = Resources.MapControl_Pan; this.panToolStripButton.Click += new System.EventHandler(this.PanToolStripButtonClick); // // zoomToRectangleToolStripButton @@ -84,7 +85,7 @@ this.zoomToRectangleToolStripButton.Name = "zoomToRectangleToolStripButton"; this.zoomToRectangleToolStripButton.Size = new System.Drawing.Size(39, 29); this.zoomToRectangleToolStripButton.Text = ""; - this.zoomToRectangleToolStripButton.ToolTipText = "Zoom door rechthoek"; + this.zoomToRectangleToolStripButton.ToolTipText = Resources.MapControl_ZoomToRectangle; this.zoomToRectangleToolStripButton.Click += new System.EventHandler(this.ZoomToRectangleToolStripButtonClick); // // toolStripSeparator1 @@ -99,7 +100,7 @@ this.zoomToAllVisibleLayersToolStripButton.Name = "zoomToAllVisibleLayersToolStripButton"; this.zoomToAllVisibleLayersToolStripButton.Size = new System.Drawing.Size(39, 29); this.zoomToAllVisibleLayersToolStripButton.Text = ""; - this.zoomToAllVisibleLayersToolStripButton.ToolTipText = "Zoom naar alles"; + this.zoomToAllVisibleLayersToolStripButton.ToolTipText = Resources.MapControl_ZoomToVisibleLayers; this.zoomToAllVisibleLayersToolStripButton.Click += new System.EventHandler(this.ZoomToAllVisibleLayersToolStripButtonClick); // // toolStripSeparator2 @@ -114,7 +115,7 @@ this.showCoordinatesToolStripButton.Name = "showCoordinatesToolStripButton"; this.showCoordinatesToolStripButton.Size = new System.Drawing.Size(39, 29); this.showCoordinatesToolStripButton.Text = ""; - this.showCoordinatesToolStripButton.ToolTipText = "Toon coördinaten"; + this.showCoordinatesToolStripButton.ToolTipText = Resources.MapControl_ShowCoordinates; this.showCoordinatesToolStripButton.Click += new System.EventHandler(this.ShowCoordinatesToolStripButtonClick); // // MapControl Index: Core/Components/src/Core.Components.DotSpatial/Core.Components.DotSpatial.csproj =================================================================== diff -u -rd993e5ebe5851ea9c65753d8709d73a926a24afd -r48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1 --- Core/Components/src/Core.Components.DotSpatial/Core.Components.DotSpatial.csproj (.../Core.Components.DotSpatial.csproj) (revision d993e5ebe5851ea9c65753d8709d73a926a24afd) +++ Core/Components/src/Core.Components.DotSpatial/Core.Components.DotSpatial.csproj (.../Core.Components.DotSpatial.csproj) (revision 48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1) @@ -30,7 +30,7 @@ - ResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs Index: Core/Components/src/Core.Components.DotSpatial/Properties/Resources.Designer.cs =================================================================== diff -u -r98b126b6d45b128483be32b5d76285ddfbe5655b -r48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1 --- Core/Components/src/Core.Components.DotSpatial/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 98b126b6d45b128483be32b5d76285ddfbe5655b) +++ Core/Components/src/Core.Components.DotSpatial/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1) @@ -40,10 +40,10 @@ // 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", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { + public class Resources { private static global::System.Resources.ResourceManager resourceMan; @@ -57,7 +57,7 @@ /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + public static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Core.Components.DotSpatial.Properties.Resources", typeof(Resources).Assembly); @@ -72,7 +72,7 @@ /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + public static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -84,16 +84,52 @@ /// /// Looks up a localized string similar to Transparantie moet in het bereik {0} liggen.. /// - internal static string BruTileLayer_Transparency_Value_out_of_Range_0_ { + public static string BruTileLayer_Transparency_Value_out_of_Range_0_ { get { return ResourceManager.GetString("BruTileLayer_Transparency_Value_out_of_Range_0_", resourceCulture); } } /// + /// Looks up a localized string similar to Verschuiven. + /// + public static string MapControl_Pan { + get { + return ResourceManager.GetString("MapControl_Pan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toon coördinaten. + /// + public static string MapControl_ShowCoordinates { + get { + return ResourceManager.GetString("MapControl_ShowCoordinates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zoom door rechthoek. + /// + public static string MapControl_ZoomToRectangle { + get { + return ResourceManager.GetString("MapControl_ZoomToRectangle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zoom naar alles. + /// + public static string MapControl_ZoomToVisibleLayers { + get { + return ResourceManager.GetString("MapControl_ZoomToVisibleLayers", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Ongeldige transformatie parameters: transformatie moet omkeerbaar zijn.. /// - internal static string WorldFile_Not_invertable_transformation_arguments_error { + public static string WorldFile_Not_invertable_transformation_arguments_error { get { return ResourceManager.GetString("WorldFile_Not_invertable_transformation_arguments_error", resourceCulture); } Index: Core/Components/src/Core.Components.DotSpatial/Properties/Resources.resx =================================================================== diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -r48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1 --- Core/Components/src/Core.Components.DotSpatial/Properties/Resources.resx (.../Resources.resx) (revision 99f9004206bfb9de084275d749b7aeccafd6da18) +++ Core/Components/src/Core.Components.DotSpatial/Properties/Resources.resx (.../Resources.resx) (revision 48e634ab3ef98a7eaeec8626d3ce618cf1fcbac1) @@ -123,4 +123,16 @@ Transparantie moet in het bereik {0} liggen. + + Verschuiven + + + Zoom door rechthoek + + + Zoom naar alles + + + Toon coördinaten + \ No newline at end of file