Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapAddLayerCommand.cs =================================================================== diff -u -ra950714ad9510756331d862aa35695fa0b2ed03b -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapAddLayerCommand.cs (.../MapAddLayerCommand.cs) (revision a950714ad9510756331d862aa35695fa0b2ed03b) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapAddLayerCommand.cs (.../MapAddLayerCommand.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -5,6 +5,7 @@ using System.Windows.Forms; using Core.GIS.SharpMap.Api.Layers; using Core.GIS.SharpMap.Map; +using Core.Plugins.SharpMapGis.Gui.Properties; using log4net; using MessageBox = Core.Common.Controls.Swf.MessageBox; @@ -90,9 +91,9 @@ } catch (Exception e) { - var message = string.Format("Cannot create layer(s) from file {0}: {1}", file, e.Message); + var message = string.Format(Resources.MapAddLayerCommand_TryAddLayerFromFile_Cannot_create_layer_s__from_file__0____1_, file, e.Message); log.Error(message); - MessageBox.Show(message, "Layer creation failed", + MessageBox.Show(message, Resources.MapAddLayerCommand_TryAddLayerFromFile_Layer_creation_failed, MessageBoxButtons.OK); } } Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs =================================================================== diff -u -r4ab01d57f1ebd03765c25b5adc0a5bdd10a43b56 -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs (.../MapChangeCoordinateSystemCommand.cs) (revision 4ab01d57f1ebd03765c25b5adc0a5bdd10a43b56) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs (.../MapChangeCoordinateSystemCommand.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -3,6 +3,7 @@ using Core.GIS.SharpMap.CoordinateSystems.Transformations; using Core.GIS.SharpMap.Extensions.CoordinateSystems; using Core.GIS.SharpMap.UI.Forms; +using Core.Plugins.SharpMapGis.Gui.Properties; using MessageBox = System.Windows.Forms.MessageBox; namespace Core.Plugins.SharpMapGis.Gui.Commands @@ -34,8 +35,9 @@ } catch (CoordinateTransformException e) { - MessageBox.Show("Cannot convert map to selected coordinate system: " + e.Message, - "Map coordinate system", MessageBoxButtons.OK, MessageBoxIcon.Error); + var message = string.Format(Resources.MapChangeCoordinateSystemCommand_OnExecute_Cannot_convert_map_to_selected_coordinate_system___0_,e.Message); + MessageBox.Show(message, + Resources.MapChangeCoordinateSystemCommand_OnExecute_Map_coordinate_system, MessageBoxButtons.OK, MessageBoxIcon.Error); base.OnExecute(arguments); } } Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/MapProperties.cs =================================================================== diff -u -r9f01c4daf5b7af6549045ed6ac404d18419c2555 -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/MapProperties.cs (.../MapProperties.cs) (revision 9f01c4daf5b7af6549045ed6ac404d18419c2555) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/MapProperties.cs (.../MapProperties.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -33,9 +33,9 @@ } } - [Category("Coordinates")] - [DisplayName("Coordinate system")] - [Description("Coordinate system (geographic or projected) used for drawing.")] + [ResourcesCategory(typeof(Resources), "Categories_Coordinates")] + [ResourcesDisplayName(typeof(Resources), "MapProperties_CoordinateSystem_DisplayName")] + [ResourcesDescription(typeof(Resources), "MapProperties_CoordinateSystem_Description")] [TypeConverter(typeof(CoordinateSystemStringTypeConverter))] [Editor(typeof(CoordinateSystemTypeEditor), typeof(UITypeEditor))] public ICoordinateSystem CoordinateSystem @@ -53,15 +53,16 @@ } catch (CoordinateTransformException e) { - MessageBox.Show("Cannot convert map to coordinate system: " + e.Message, - "Coordinate transformation error", MessageBoxButtons.OK, MessageBoxIcon.Error); + var message = string.Format(Resources.MapProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_system___0_, e.Message); + MessageBox.Show(message, + Resources.MapProperties_CoordinateSystem_Coordinate_transformation_error, MessageBoxButtons.OK, MessageBoxIcon.Error); } } } - [Category("Coordinates")] - [DisplayName("Show grid")] - [Description("Shows or hides latitude / longitude grid.")] + [ResourcesCategory(typeof(Resources), "Categories_Coordinates")] + [ResourcesDisplayName(typeof(Resources), "MapProperties_ShowGrid_DisplayName")] + [ResourcesDescription(typeof(Resources), "MapProperties_ShowGrid_Description")] public bool ShowGrid { get @@ -72,7 +73,7 @@ { if (data.CoordinateSystem == null) { - Log.DebugFormat("Showing latitude / longitude grid is supported only when map coordinate system is non-empty"); + Log.DebugFormat(Resources.MapProperties_ShowGrid_Showing_latitude___longitude_grid_is_supported_only_when_map_coordinate_system_is_non_empty); return; } Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/VectorLayerPolygonProperties.cs =================================================================== diff -u -r9f01c4daf5b7af6549045ed6ac404d18419c2555 -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/VectorLayerPolygonProperties.cs (.../VectorLayerPolygonProperties.cs) (revision 9f01c4daf5b7af6549045ed6ac404d18419c2555) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/GridProperties/VectorLayerPolygonProperties.cs (.../VectorLayerPolygonProperties.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -67,8 +67,9 @@ } catch (CoordinateTransformException e) { - MessageBox.Show("Cannot convert map to coordinate system: " + e.Message, - "Coordinate transformation error", MessageBoxButtons.OK, MessageBoxIcon.Error); + var message = string.Format(Resources.VectorLayerPolygonProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_system___0_, e.Message); + MessageBox.Show(message, + Resources.MapProperties_CoordinateSystem_Coordinate_transformation_error, MessageBoxButtons.OK, MessageBoxIcon.Error); } } } Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.Designer.cs =================================================================== diff -u -ra950714ad9510756331d862aa35695fa0b2ed03b -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.Designer.cs (.../MapLegendView.Designer.cs) (revision a950714ad9510756331d862aa35695fa0b2ed03b) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.Designer.cs (.../MapLegendView.Designer.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -34,36 +34,36 @@ this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapLegendView)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.buttonAddLayer = new System.Windows.Forms.ToolStripButton(); this.buttonAddWmsLayer = new System.Windows.Forms.ToolStripButton(); + this.buttonAddLayer = new System.Windows.Forms.ToolStripButton(); this.buttonRemoveLayer = new System.Windows.Forms.ToolStripButton(); this.contextMenuLayer = new System.Windows.Forms.ContextMenuStrip(this.components); - this.contextMenuLayerOpenAttributeTable = new ClonableToolStripMenuItem(); + this.contextMenuLayerOpenAttributeTable = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); - this.contextMenuLayerDelete = new ClonableToolStripMenuItem(); - this.contextMenuLayerRename = new ClonableToolStripMenuItem(); + this.contextMenuLayerDelete = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.contextMenuLayerRename = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.orderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bringToFrontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sendToBackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.bringForwardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sendBackwardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.zoomToLayerToolStripMenuItem1 = new ClonableToolStripMenuItem(); - this.zoomToMapExtentsToolStripMenuItem1 = new ClonableToolStripMenuItem(); + this.zoomToLayerToolStripMenuItem1 = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.zoomToMapExtentsToolStripMenuItem1 = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.showLabelsToolStripMenuItem = new ClonableToolStripMenuItem(); - this.showInLegendToolStripMenuItem = new ClonableToolStripMenuItem(); - this.hideAllButThisOneToolStripMenuItem = new ClonableToolStripMenuItem(); - this.TreeView = new TreeView(); + this.showLabelsToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.showInLegendToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.hideAllButThisOneToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.TreeView = new Core.Common.Controls.Swf.TreeViewControls.TreeView(); this.contextMenuWmsLayer = new System.Windows.Forms.ContextMenuStrip(this.components); - this.zoomToLayerToolStripMenuItem = new ClonableToolStripMenuItem(); + this.zoomToLayerToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.contextMenuMap = new System.Windows.Forms.ContextMenuStrip(this.components); - this.addLayerToolStripMenuItem = new ClonableToolStripMenuItem(); - this.addLayergroupToolStripMenuItem = new ClonableToolStripMenuItem(); + this.addLayerToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.addLayergroupToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.zoomToExtentsToolStripMenuItem = new ClonableToolStripMenuItem(); - this.zoomToMapExtentsToolStripMenuItem = new ClonableToolStripMenuItem(); + this.zoomToExtentsToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); + this.zoomToMapExtentsToolStripMenuItem = new Core.Common.Controls.Swf.ClonableToolStripMenuItem(); this.changeCoordinateSystemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1.SuspendLayout(); this.contextMenuLayer.SuspendLayout(); @@ -73,53 +73,37 @@ // // toolStrip1 // - this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + resources.ApplyResources(this.toolStrip1, "toolStrip1"); this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.buttonAddWmsLayer, this.buttonAddLayer, this.buttonRemoveLayer}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; - this.toolStrip1.Size = new System.Drawing.Size(263, 25); - this.toolStrip1.TabIndex = 3; - this.toolStrip1.Text = "toolStrip1"; // - // buttonAddLayer - // - this.buttonAddLayer.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.buttonAddLayer.Image = ((System.Drawing.Image)(resources.GetObject("buttonAddLayer.Image"))); - this.buttonAddLayer.ImageTransparentColor = System.Drawing.Color.Magenta; - this.buttonAddLayer.Name = "buttonAddLayer"; - this.buttonAddLayer.Size = new System.Drawing.Size(23, 22); - this.buttonAddLayer.Tag = "AddNewLayer"; - this.buttonAddLayer.Text = "Add New layer ..."; - this.buttonAddLayer.ToolTipText = "Add New Layer ..."; - this.buttonAddLayer.Click += new System.EventHandler(this.ButtonAddLayerClick); - // // buttonAddWmsLayer // this.buttonAddWmsLayer.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.buttonAddWmsLayer.Image = ((System.Drawing.Image)(resources.GetObject("buttonAddWmsLayer.Image"))); - this.buttonAddWmsLayer.ImageTransparentColor = System.Drawing.Color.Magenta; + resources.ApplyResources(this.buttonAddWmsLayer, "buttonAddWmsLayer"); this.buttonAddWmsLayer.Name = "buttonAddWmsLayer"; - this.buttonAddWmsLayer.Size = new System.Drawing.Size(23, 22); this.buttonAddWmsLayer.Tag = "AddNewWmsLayer"; - this.buttonAddWmsLayer.Text = "Add New Wms Layer ..."; - this.buttonAddWmsLayer.ToolTipText = "Add New Wms Layer ..."; this.buttonAddWmsLayer.Click += new System.EventHandler(this.ButtonAddWmsLayerClick); // + // buttonAddLayer + // + this.buttonAddLayer.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.buttonAddLayer, "buttonAddLayer"); + this.buttonAddLayer.Name = "buttonAddLayer"; + this.buttonAddLayer.Tag = "AddNewLayer"; + this.buttonAddLayer.Click += new System.EventHandler(this.ButtonAddLayerClick); + // // buttonRemoveLayer // this.buttonRemoveLayer.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.buttonRemoveLayer.Image = ((System.Drawing.Image)(resources.GetObject("buttonRemoveLayer.Image"))); - this.buttonRemoveLayer.ImageTransparentColor = System.Drawing.Color.Magenta; + resources.ApplyResources(this.buttonRemoveLayer, "buttonRemoveLayer"); this.buttonRemoveLayer.Name = "buttonRemoveLayer"; - this.buttonRemoveLayer.Size = new System.Drawing.Size(23, 22); this.buttonRemoveLayer.Tag = "RemoveSelectedLayer"; - this.buttonRemoveLayer.Text = "Remove Selected Layer"; - this.buttonRemoveLayer.ToolTipText = "Remove Selected Layer"; this.buttonRemoveLayer.Click += new System.EventHandler(this.ButtonRemoveLayerClick); // // contextMenuLayer @@ -138,42 +122,39 @@ this.showInLegendToolStripMenuItem, this.hideAllButThisOneToolStripMenuItem}); this.contextMenuLayer.Name = "contextMenuLayer"; - this.contextMenuLayer.Size = new System.Drawing.Size(257, 220); + resources.ApplyResources(this.contextMenuLayer, "contextMenuLayer"); this.contextMenuLayer.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuLayerOpening); this.contextMenuLayer.VisibleChanged += new System.EventHandler(this.ContextMenuLayerVisibleChanged); // // contextMenuLayerOpenAttributeTable // this.contextMenuLayerOpenAttributeTable.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.table; this.contextMenuLayerOpenAttributeTable.Name = "contextMenuLayerOpenAttributeTable"; - this.contextMenuLayerOpenAttributeTable.Size = new System.Drawing.Size(256, 22); - this.contextMenuLayerOpenAttributeTable.Text = "Open Attribute Table"; + resources.ApplyResources(this.contextMenuLayerOpenAttributeTable, "contextMenuLayerOpenAttributeTable"); this.contextMenuLayerOpenAttributeTable.Click += new System.EventHandler(this.ContextMenuOpenLayerAttributeTableClick); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(253, 6); + resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2"); // // contextMenuLayerDelete // this.contextMenuLayerDelete.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.DeleteHS; this.contextMenuLayerDelete.Name = "contextMenuLayerDelete"; - this.contextMenuLayerDelete.Size = new System.Drawing.Size(256, 22); - this.contextMenuLayerDelete.Text = "&Delete"; + resources.ApplyResources(this.contextMenuLayerDelete, "contextMenuLayerDelete"); this.contextMenuLayerDelete.Click += new System.EventHandler(this.ContextMenuLayerDeleteClick); // // contextMenuLayerRename // this.contextMenuLayerRename.Name = "contextMenuLayerRename"; - this.contextMenuLayerRename.Size = new System.Drawing.Size(256, 22); - this.contextMenuLayerRename.Text = "&Rename"; + resources.ApplyResources(this.contextMenuLayerRename, "contextMenuLayerRename"); this.contextMenuLayerRename.Click += new System.EventHandler(this.ContextMenuLayerRenameClick); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(253, 6); + resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1"); // // orderToolStripMenuItem // @@ -185,70 +166,62 @@ this.sendBackwardToolStripMenuItem}); this.orderToolStripMenuItem.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.layers_stack; this.orderToolStripMenuItem.Name = "orderToolStripMenuItem"; - this.orderToolStripMenuItem.Size = new System.Drawing.Size(256, 22); - this.orderToolStripMenuItem.Text = "Order"; + resources.ApplyResources(this.orderToolStripMenuItem, "orderToolStripMenuItem"); // // bringToFrontToolStripMenuItem // this.bringToFrontToolStripMenuItem.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.layers_stack_arrange; this.bringToFrontToolStripMenuItem.Name = "bringToFrontToolStripMenuItem"; - this.bringToFrontToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.bringToFrontToolStripMenuItem.Text = "Bring to front"; + resources.ApplyResources(this.bringToFrontToolStripMenuItem, "bringToFrontToolStripMenuItem"); this.bringToFrontToolStripMenuItem.Click += new System.EventHandler(this.BringToFrontToolStripMenuItemClick); // // sendToBackToolStripMenuItem // this.sendToBackToolStripMenuItem.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.layers_stack_arrange_back; this.sendToBackToolStripMenuItem.Name = "sendToBackToolStripMenuItem"; - this.sendToBackToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.sendToBackToolStripMenuItem.Text = "Send to back"; + resources.ApplyResources(this.sendToBackToolStripMenuItem, "sendToBackToolStripMenuItem"); this.sendToBackToolStripMenuItem.Click += new System.EventHandler(this.SendToBackToolStripMenuItemClick); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(151, 6); + resources.ApplyResources(this.toolStripSeparator6, "toolStripSeparator6"); // // bringForwardToolStripMenuItem // this.bringForwardToolStripMenuItem.Name = "bringForwardToolStripMenuItem"; - this.bringForwardToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.bringForwardToolStripMenuItem.Text = "Bring forward"; + resources.ApplyResources(this.bringForwardToolStripMenuItem, "bringForwardToolStripMenuItem"); this.bringForwardToolStripMenuItem.Click += new System.EventHandler(this.BringForwardToolStripMenuItemClick); // // sendBackwardToolStripMenuItem // this.sendBackwardToolStripMenuItem.Name = "sendBackwardToolStripMenuItem"; - this.sendBackwardToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.sendBackwardToolStripMenuItem.Text = "Send backward"; + resources.ApplyResources(this.sendBackwardToolStripMenuItem, "sendBackwardToolStripMenuItem"); this.sendBackwardToolStripMenuItem.Click += new System.EventHandler(this.SendBackwardToolStripMenuItemClick); // // zoomToLayerToolStripMenuItem1 // this.zoomToLayerToolStripMenuItem1.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.MapZoomToExtentsImage; this.zoomToLayerToolStripMenuItem1.Name = "zoomToLayerToolStripMenuItem1"; - this.zoomToLayerToolStripMenuItem1.Size = new System.Drawing.Size(256, 22); - this.zoomToLayerToolStripMenuItem1.Text = "&Zoom to Extent"; + resources.ApplyResources(this.zoomToLayerToolStripMenuItem1, "zoomToLayerToolStripMenuItem1"); this.zoomToLayerToolStripMenuItem1.Click += new System.EventHandler(this.ZoomToLayerToolStripMenuItem1Click); // // zoomToMapExtentsToolStripMenuItem1 // this.zoomToMapExtentsToolStripMenuItem1.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.layers_ungroup; this.zoomToMapExtentsToolStripMenuItem1.Name = "zoomToMapExtentsToolStripMenuItem1"; - this.zoomToMapExtentsToolStripMenuItem1.Size = new System.Drawing.Size(256, 22); - this.zoomToMapExtentsToolStripMenuItem1.Text = "Synchronize Zoom Level with Map"; + resources.ApplyResources(this.zoomToMapExtentsToolStripMenuItem1, "zoomToMapExtentsToolStripMenuItem1"); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(253, 6); + resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); // // showLabelsToolStripMenuItem // this.showLabelsToolStripMenuItem.CheckOnClick = true; this.showLabelsToolStripMenuItem.Name = "showLabelsToolStripMenuItem"; - this.showLabelsToolStripMenuItem.Size = new System.Drawing.Size(256, 22); - this.showLabelsToolStripMenuItem.Text = "Show Labels"; + resources.ApplyResources(this.showLabelsToolStripMenuItem, "showLabelsToolStripMenuItem"); this.showLabelsToolStripMenuItem.CheckStateChanged += new System.EventHandler(this.ShowLabelsToolStripMenuItemCheckStateChanged); // // showInLegendToolStripMenuItem @@ -257,44 +230,36 @@ this.showInLegendToolStripMenuItem.CheckOnClick = true; this.showInLegendToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.showInLegendToolStripMenuItem.Name = "showInLegendToolStripMenuItem"; - this.showInLegendToolStripMenuItem.Size = new System.Drawing.Size(256, 22); - this.showInLegendToolStripMenuItem.Text = "Show in Legend"; + resources.ApplyResources(this.showInLegendToolStripMenuItem, "showInLegendToolStripMenuItem"); this.showInLegendToolStripMenuItem.Click += new System.EventHandler(this.ShowInLegendToolStripMenuItemClick); // // hideAllButThisOneToolStripMenuItem // this.hideAllButThisOneToolStripMenuItem.Name = "hideAllButThisOneToolStripMenuItem"; - this.hideAllButThisOneToolStripMenuItem.Size = new System.Drawing.Size(256, 22); - this.hideAllButThisOneToolStripMenuItem.Text = "Hide All Layers but this one"; + resources.ApplyResources(this.hideAllButThisOneToolStripMenuItem, "hideAllButThisOneToolStripMenuItem"); this.hideAllButThisOneToolStripMenuItem.Click += new System.EventHandler(this.HideAllButThisOneToolStripMenuItemClick); // // TreeView // this.TreeView.AllowDrop = true; - this.TreeView.Dock = System.Windows.Forms.DockStyle.Fill; + resources.ApplyResources(this.TreeView, "TreeView"); this.TreeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll; this.TreeView.HideSelection = false; - this.TreeView.ImageIndex = 0; this.TreeView.LabelEdit = true; - this.TreeView.Location = new System.Drawing.Point(0, 25); this.TreeView.Name = "TreeView"; - this.TreeView.SelectedImageIndex = 0; this.TreeView.SelectNodeOnRightMouseClick = true; - this.TreeView.Size = new System.Drawing.Size(263, 363); - this.TreeView.TabIndex = 4; // // contextMenuWmsLayer // this.contextMenuWmsLayer.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomToLayerToolStripMenuItem}); this.contextMenuWmsLayer.Name = "contextMenuLayer"; - this.contextMenuWmsLayer.Size = new System.Drawing.Size(152, 26); + resources.ApplyResources(this.contextMenuWmsLayer, "contextMenuWmsLayer"); // // zoomToLayerToolStripMenuItem // this.zoomToLayerToolStripMenuItem.Name = "zoomToLayerToolStripMenuItem"; - this.zoomToLayerToolStripMenuItem.Size = new System.Drawing.Size(151, 22); - this.zoomToLayerToolStripMenuItem.Text = "Zoom to Layer"; + resources.ApplyResources(this.zoomToLayerToolStripMenuItem, "zoomToLayerToolStripMenuItem"); this.zoomToLayerToolStripMenuItem.Click += new System.EventHandler(this.ZoomToLayerToolStripMenuItemClick); // // contextMenuMap @@ -307,58 +272,52 @@ this.zoomToMapExtentsToolStripMenuItem, this.changeCoordinateSystemToolStripMenuItem}); this.contextMenuMap.Name = "contextMenuMap"; - this.contextMenuMap.Size = new System.Drawing.Size(258, 142); + resources.ApplyResources(this.contextMenuMap, "contextMenuMap"); this.contextMenuMap.VisibleChanged += new System.EventHandler(this.ContextMenuMapVisibleChanged); // // addLayerToolStripMenuItem // this.addLayerToolStripMenuItem.Name = "addLayerToolStripMenuItem"; - this.addLayerToolStripMenuItem.Size = new System.Drawing.Size(257, 22); - this.addLayerToolStripMenuItem.Text = "Add Layer"; + resources.ApplyResources(this.addLayerToolStripMenuItem, "addLayerToolStripMenuItem"); this.addLayerToolStripMenuItem.Click += new System.EventHandler(this.AddLayerToolStripMenuItemClick); // // addLayergroupToolStripMenuItem // this.addLayergroupToolStripMenuItem.Name = "addLayergroupToolStripMenuItem"; - this.addLayergroupToolStripMenuItem.Size = new System.Drawing.Size(257, 22); - this.addLayergroupToolStripMenuItem.Text = "Add Layer Group"; + resources.ApplyResources(this.addLayergroupToolStripMenuItem, "addLayergroupToolStripMenuItem"); this.addLayergroupToolStripMenuItem.Click += new System.EventHandler(this.AddLayergroupToolStripMenuItemClick); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(254, 6); + resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4"); // // zoomToExtentsToolStripMenuItem // this.zoomToExtentsToolStripMenuItem.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.MapZoomToExtentsImage; this.zoomToExtentsToolStripMenuItem.Name = "zoomToExtentsToolStripMenuItem"; - this.zoomToExtentsToolStripMenuItem.Size = new System.Drawing.Size(257, 22); - this.zoomToExtentsToolStripMenuItem.Text = "Zoom to Extents"; + resources.ApplyResources(this.zoomToExtentsToolStripMenuItem, "zoomToExtentsToolStripMenuItem"); this.zoomToExtentsToolStripMenuItem.Click += new System.EventHandler(this.ZoomToExtentsToolStripMenuItemClick); // // zoomToMapExtentsToolStripMenuItem // this.zoomToMapExtentsToolStripMenuItem.Name = "zoomToMapExtentsToolStripMenuItem"; - this.zoomToMapExtentsToolStripMenuItem.Size = new System.Drawing.Size(257, 22); - this.zoomToMapExtentsToolStripMenuItem.Text = "Zoom to Map"; + resources.ApplyResources(this.zoomToMapExtentsToolStripMenuItem, "zoomToMapExtentsToolStripMenuItem"); // // changeCoordinateSystemToolStripMenuItem // this.changeCoordinateSystemToolStripMenuItem.Image = global::Core.Plugins.SharpMapGis.Gui.Properties.Resources.globe__pencil; this.changeCoordinateSystemToolStripMenuItem.Name = "changeCoordinateSystemToolStripMenuItem"; - this.changeCoordinateSystemToolStripMenuItem.Size = new System.Drawing.Size(257, 22); - this.changeCoordinateSystemToolStripMenuItem.Text = "Change Map Coordinate System ..."; + resources.ApplyResources(this.changeCoordinateSystemToolStripMenuItem, "changeCoordinateSystemToolStripMenuItem"); this.changeCoordinateSystemToolStripMenuItem.Click += new System.EventHandler(this.ChangeCoordinateSystemToolStripMenuItem_Click); // // MapLegendView // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.TreeView); this.Controls.Add(this.toolStrip1); this.Name = "MapLegendView"; - this.Size = new System.Drawing.Size(263, 388); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.contextMenuLayer.ResumeLayout(false); Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.resx =================================================================== diff -u -ra950714ad9510756331d862aa35695fa0b2ed03b -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.resx (.../MapLegendView.resx) (revision a950714ad9510756331d862aa35695fa0b2ed03b) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/MapLegendView/MapLegendView.resx (.../MapLegendView.resx) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -117,27 +117,18 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 160, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGqSURBVDhPrZHNK4RBHMfnH1g5CeHiIlKraEO05SZlCzka - 8rK4PBdRkkfCwbJPsrWFmgO1UnpYaS2H3YvEweMl7XFXWXLQXuTma2ae9bI9i5JvfZqZw+f3m98M+ff4 - TmehRhSTEIUi0F2gAYETLuaE022HstmBtPIZdr4M9UQBi7EvaBLNUKGdqFIeCQ5Z5Y2LFdn1T7Ls/K1s - FhDyZCiL7DsdBeVzUp3D53T5ORpH5bOOcZT0zMwOI5CLeIDA0Ajuzmasxe7vDCSibUg9MKRSuonYxzWO - ipRBpXwbrLPKydtjPL3LHwXEPi3HlO/lrJ2zyIntCqv8mOSyXo44IyZ+PqOAC19pbK6E29OO/sVWtE80 - oLQuz1osePYM6gdYJBMtBExtdWPv2gcjGYb3cAid3kqU1Od8FhGye+01q9w13YSdKw07N0sQ8Rz1wXs0 - gBp3vlngJ1nQMl6F/etVKb9n99IHx3AByHr0hf+3YaIIIvzfBTqcVIedMjgGCzEf7sFcmEp57oBm3uC3 - FDlsaPOUYSHcKzuLVZwz3uC3FNfaUN2fL68tVnEmhJA3WjnrBAYk7poAAAAASUVORK5CYII= - + + 160, 17 + + + None + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALQSURBVDhPhZJ7TI1xGMff4d/8YzMZmWyWZLRJiuxMF0qU + YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAALQSURBVDhPhZJ7TI1xGMff4d/8YzMZmWyWZLRJiuxMF0qU nJY1m0PFW5GMmrSQSyldzlplWtdlRBfVSdONN+VylDqlKRXK6jTV5tZFs/XRe2LtsPHdvnv27LfP9/fs 2SP8KVHanhEoOQyIkt2Yn2TX4Fuz0fzX0791Uav0v9V6YvLbxBOGvnbRPtDLozeNxD+JJOi+M6oCzxkr 8MxVoBA3EHrHm1+oIJyfgbtG08egF/hM16dhtB/HyG4ZJaPxFcVtOZx+4I76+QUDHKYJmoNlpXYGTY1Q @@ -152,10 +143,47 @@ 1f6Gn+Uq90Y7+J+W25mw8cgSw9hylXtBEISfzK0EcgEH9gUAAAAASUVORK5CYII= + + Magenta + + + 23, 22 + + + Voeg nieuwe "Wms"-laag toe... + + + Voeg nieuwe "Wms"-laag toe... + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAGqSURBVDhPrZHNK4RBHMfnH1g5CeHiIlKraEO05SZlCzka + 8rK4PBdRkkfCwbJPsrWFmgO1UnpYaS2H3YvEweMl7XFXWXLQXuTma2ae9bI9i5JvfZqZw+f3m98M+ff4 + TmehRhSTEIUi0F2gAYETLuaE022HstmBtPIZdr4M9UQBi7EvaBLNUKGdqFIeCQ5Z5Y2LFdn1T7Ls/K1s + FhDyZCiL7DsdBeVzUp3D53T5ORpH5bOOcZT0zMwOI5CLeIDA0Ajuzmasxe7vDCSibUg9MKRSuonYxzWO + ipRBpXwbrLPKydtjPL3LHwXEPi3HlO/lrJ2zyIntCqv8mOSyXo44IyZ+PqOAC19pbK6E29OO/sVWtE80 + oLQuz1osePYM6gdYJBMtBExtdWPv2gcjGYb3cAid3kqU1Od8FhGye+01q9w13YSdKw07N0sQ8Rz1wXs0 + gBp3vlngJ1nQMl6F/etVKb9n99IHx3AByHr0hf+3YaIIIvzfBTqcVIedMjgGCzEf7sFcmEp57oBm3uC3 + FDlsaPOUYSHcKzuLVZwz3uC3FNfaUN2fL68tVnEmhJA3WjnrBAYk7poAAAAASUVORK5CYII= + + + + Magenta + + + 23, 22 + + + Voeg nieuwe laag toe... + + + Voeg nieuwe laag toe... + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGkSURBVDhPrZExSAJhGIYvtN22VqGWanAuq6M5QYigtqMa + YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAGkSURBVDhPrZExSAJhGIYvtN22VqGWanAuq6M5QYigtqMa xOmIypq8JYcoOCJBiOKvFGyJAwmEInQRK6JriZZAhSwKyiGrybfvv7vKOI2IPnjgX573+15+4d8nehKB kpFN0hJkjuaHlOSI8DMRYsADeXcUlvI17HwNSl4Gu2J1qAaqrkDNK4Y8mwra5cTFurH1T7KxualsBnA5 nG4gR09CkKinpBHU0x8jVEKhrvOEbHVmHuhJFwpJAboq4OZ00R52e6OjmB1B5Y6hUtFM+LugEgoqumTI @@ -165,13 +193,416 @@ fqEV11MtOBh2Yszd8vsAPtteh3E2v8iUBeEdjJDlBJIptcwAAAAASUVORK5CYII= - + + Magenta + + + 23, 22 + + + Wis geselecteerde laag + + + Wis geselecteerde laag + + + 0, 0 + + + 263, 25 + + + + 3 + + + toolStrip1 + + + toolStrip1 + + + System.Windows.Forms.ToolStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + + 25, 15 - - + + + 256, 22 + + + Attributentabel openen + + + 253, 6 + + + 256, 22 + + + &Verwijderen + + + 256, 22 + + + &Hernoemen + + + 253, 6 + + + 154, 22 + + + Op de voorgrond plaatsen + + + 154, 22 + + + Naar de achterkant verplaatsen + + + 151, 6 + + + 154, 22 + + + Naar voren halen + + + 154, 22 + + + Naar achteren sturen + + + 256, 22 + + + Volgorde + + + 256, 22 + + + &Zoomen naar omvang + + + 256, 22 + + + Synchroniseer zoomniveau met kaart + + + 253, 6 + + + 256, 22 + + + Labels weergeven + + + 256, 22 + + + Weergeven in de legenda + + + 256, 22 + + + Alle lagen op deze na verbergen + + + 257, 220 + + + contextMenuLayer + + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Fill + + + 0 + + + 0, 25 + + + 0 + + + 263, 363 + + + 4 + + + TreeView + + + Core.Common.Controls.Swf.TreeViewControls.TreeView, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + $this + + + 3 + + 259, 17 - - + + + 151, 22 + + + Zoom naar laag + + + 152, 26 + + + contextMenuWmsLayer + + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 426, 17 - + + + 257, 22 + + + Voeg laag toe + + + 257, 22 + + + Toevoegen groeplaag + + + 254, 6 + + + 257, 22 + + + Zoom naar alles + + + 257, 22 + + + Inzoomen tot de kaart + + + 257, 22 + + + Veranderen kaartcoördinatenstelsel... + + + 258, 120 + + + contextMenuMap + + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + 6, 13 + + + 263, 388 + + + buttonAddWmsLayer + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + buttonAddLayer + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + buttonRemoveLayer + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + contextMenuLayerOpenAttributeTable + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + toolStripMenuItem2 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + contextMenuLayerDelete + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + contextMenuLayerRename + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + toolStripMenuItem1 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + orderToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bringToFrontToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + sendToBackToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator6 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bringForwardToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + sendBackwardToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + zoomToLayerToolStripMenuItem1 + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + zoomToMapExtentsToolStripMenuItem1 + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + toolStripSeparator2 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + showLabelsToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + showInLegendToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + hideAllButThisOneToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + zoomToLayerToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + addLayerToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + addLayergroupToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + toolStripSeparator4 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + zoomToExtentsToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + zoomToMapExtentsToolStripMenuItem + + + Core.Common.Controls.Swf.ClonableToolStripMenuItem, Core.Common.Controls.Swf, Version=0.5.0.786, Culture=neutral, PublicKeyToken=null + + + changeCoordinateSystemToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + MapLegendView + + + System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + \ No newline at end of file Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/VectorLayerAttributeTableView.cs =================================================================== diff -u -r9f01c4daf5b7af6549045ed6ac404d18419c2555 -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/VectorLayerAttributeTableView.cs (.../VectorLayerAttributeTableView.cs) (revision 9f01c4daf5b7af6549045ed6ac404d18419c2555) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Forms/VectorLayerAttributeTableView.cs (.../VectorLayerAttributeTableView.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -377,10 +377,10 @@ const string addAttributeItemName = "btnAddAttribute"; const string zoomItemName = "btnzoomToMenuItem"; const string openViewItemName = "btnOpenViewMenuItem"; - const string addAttributeCaption = "Add Attribute"; - const string deleteAttributeCaption = "Delete Attribute"; - const string zoomToItemCaption = "Zoom to item"; - const string openViewCaption = "Open view..."; + string addAttributeCaption = Resources.VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Add_Attribute; + string deleteAttributeCaption = Resources.VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Delete_Attribute; + string zoomToItemCaption = Resources.VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Zoom_to_item; + string openViewCaption = Resources.VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Open_view___; if (CanAddDeleteAttributes) { Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.Designer.cs =================================================================== diff -u -r67e117952bef2b1524aebb434c654c2c9be77dbd -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 67e117952bef2b1524aebb434c654c2c9be77dbd) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -90,6 +90,15 @@ } /// + /// Looks up a localized string similar to Coördinaten. + /// + public static string Categories_Coordinates { + get { + return ResourceManager.GetString("Categories_Coordinates", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Dimensies. /// public static string Categories_Dimensions { @@ -1244,6 +1253,43 @@ } /// + /// Looks up a localized string similar to Kan met dit bestand ({0}) geen lagen aanmaken: {1}. + /// + public static string MapAddLayerCommand_TryAddLayerFromFile_Cannot_create_layer_s__from_file__0____1_ { + get { + return ResourceManager.GetString("MapAddLayerCommand_TryAddLayerFromFile_Cannot_create_layer_s__from_file__0____1_", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Laag aanmaken is mislukt. + /// + public static string MapAddLayerCommand_TryAddLayerFromFile_Layer_creation_failed { + get { + return ResourceManager.GetString("MapAddLayerCommand_TryAddLayerFromFile_Layer_creation_failed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kan kaart niet converteren naar geselecteerde coördinatenstelsel: {0}. + /// + public static string MapChangeCoordinateSystemCommand_OnExecute_Cannot_convert_map_to_selected_coordinate_system___0_ { + get { + return ResourceManager.GetString("MapChangeCoordinateSystemCommand_OnExecute_Cannot_convert_map_to_selected_coordin" + + "ate_system___0_", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Coördinatenstelsel van de kaart. + /// + public static string MapChangeCoordinateSystemCommand_OnExecute_Map_coordinate_system { + get { + return ResourceManager.GetString("MapChangeCoordinateSystemCommand_OnExecute_Map_coordinate_system", resourceCulture); + } + } + + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// public static System.Drawing.Bitmap MapPanZoomImage { @@ -1254,6 +1300,42 @@ } /// + /// Looks up a localized string similar to Kan de kaart niet converteren naar het coördinatenstelsel: {0}. + /// + public static string MapProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_system___0_ { + get { + return ResourceManager.GetString("MapProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_system___0_", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Coördinaat-transformatie fout. + /// + public static string MapProperties_CoordinateSystem_Coordinate_transformation_error { + get { + return ResourceManager.GetString("MapProperties_CoordinateSystem_Coordinate_transformation_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Coördinaatsysteem (geografisch of geprojecteerd) dat gebruikt wordt voor het tekenen.. + /// + public static string MapProperties_CoordinateSystem_Description { + get { + return ResourceManager.GetString("MapProperties_CoordinateSystem_Description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Coördinaatsysteem. + /// + public static string MapProperties_CoordinateSystem_DisplayName { + get { + return ResourceManager.GetString("MapProperties_CoordinateSystem_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Kaart. /// public static string MapProperties_Map_DisplayName { @@ -1272,6 +1354,34 @@ } /// + /// Looks up a localized string similar to Het breedtegraad-/lengtegraadraster weergeven of verbergen.. + /// + public static string MapProperties_ShowGrid_Description { + get { + return ResourceManager.GetString("MapProperties_ShowGrid_Description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Raster weergeven. + /// + public static string MapProperties_ShowGrid_DisplayName { + get { + return ResourceManager.GetString("MapProperties_ShowGrid_DisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weergegeven breedtegraad-/lengtegraadraster wordt alleen ondersteund als coördinatenstelsel van de kaart niet leeg is. + /// + public static string MapProperties_ShowGrid_Showing_latitude___longitude_grid_is_supported_only_when_map_coordinate_system_is_non_empty { + get { + return ResourceManager.GetString("MapProperties_ShowGrid_Showing_latitude___longitude_grid_is_supported_only_when_m" + + "ap_coordinate_system_is_non_empty", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Kaart. /// public static string mapToolbar { @@ -2417,6 +2527,44 @@ } /// + /// Looks up a localized string similar to Attribuut toevoegen. + /// + public static string VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Add_Attribute { + get { + return ResourceManager.GetString("VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Add_Attribute" + + "", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Attribuut verwijderen. + /// + public static string VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Delete_Attribute { + get { + return ResourceManager.GetString("VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Delete_Attrib" + + "ute", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weergave openen.... + /// + public static string VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Open_view___ { + get { + return ResourceManager.GetString("VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Open_view___", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Zoom naar item. + /// + public static string VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Zoom_to_item { + get { + return ResourceManager.GetString("VectorLayerAttributeTableView_InitializeDynamicAttributeContextMenu_Zoom_to_item", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Vector laag (lijn). /// public static string VectorLayerLineProperties_DisplayName { @@ -2435,6 +2583,16 @@ } /// + /// Looks up a localized string similar to Kan de kaart niet converteren naar het coördinatenstelsel: {0}. + /// + public static string VectorLayerPolygonProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_system___0_ { + get { + return ResourceManager.GetString("VectorLayerPolygonProperties_CoordinateSystem_Cannot_convert_map_to_coordinate_sy" + + "stem___0_", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Vector laag (polygoon). /// public static string VectorLayerPolygonProperties_DisplayName { Index: Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.resx =================================================================== diff -u -r67e117952bef2b1524aebb434c654c2c9be77dbd -r6562ca56583ecdfadc430b33c3dd4d676f7703ef --- Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.resx (.../Resources.resx) (revision 67e117952bef2b1524aebb434c654c2c9be77dbd) +++ Core/Plugins/src/Core.Plugins.SharpMapGis.Gui/Properties/Resources.resx (.../Resources.resx) (revision 6562ca56583ecdfadc430b33c3dd4d676f7703ef) @@ -985,4 +985,55 @@ Kaart + + Kan met dit bestand ({0}) geen lagen aanmaken: {1} + + + Laag aanmaken is mislukt + + + Kan kaart niet converteren naar geselecteerde coördinatenstelsel: {0} + + + Coördinatenstelsel van de kaart + + + Kan de kaart niet converteren naar het coördinatenstelsel: {0} + + + Coördinaat-transformatie fout + + + Coördinaten + + + Coördinaatsysteem (geografisch of geprojecteerd) dat gebruikt wordt voor het tekenen. + + + Coördinaatsysteem + + + Het breedtegraad-/lengtegraadraster weergeven of verbergen. + + + Raster weergeven + + + Weergegeven breedtegraad-/lengtegraadraster wordt alleen ondersteund als coördinatenstelsel van de kaart niet leeg is + + + Kan de kaart niet converteren naar het coördinatenstelsel: {0} + + + Attribuut toevoegen + + + Attribuut verwijderen + + + Zoom naar item + + + Weergave openen... + \ No newline at end of file