[mapguide-commits] r7931 - in trunk/Tools/Maestro/Maestro.Editors: . MapDefinition

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Nov 26 20:38:14 PST 2013


Author: jng
Date: 2013-11-26 20:38:13 -0800 (Tue, 26 Nov 2013)
New Revision: 7931

Modified:
   trunk/Tools/Maestro/Maestro.Editors/MapDefinition/CommonPropertyCtrl.cs
   trunk/Tools/Maestro/Maestro.Editors/Strings.Designer.cs
   trunk/Tools/Maestro/Maestro.Editors/Strings.resx
Log:
#2281: Use a better label than just the number of items being edited

Modified: trunk/Tools/Maestro/Maestro.Editors/MapDefinition/CommonPropertyCtrl.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/MapDefinition/CommonPropertyCtrl.cs	2013-11-26 08:44:00 UTC (rev 7930)
+++ trunk/Tools/Maestro/Maestro.Editors/MapDefinition/CommonPropertyCtrl.cs	2013-11-27 04:38:13 UTC (rev 7931)
@@ -49,7 +49,7 @@
         {
             if (count > 1)
             {
-                grpProperties.Text += " (" + count + ")";
+                grpProperties.Text += " (" + string.Format(Strings.SelectedItemCount, count) + ")";
             }
             else
             {

Modified: trunk/Tools/Maestro/Maestro.Editors/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Strings.Designer.cs	2013-11-26 08:44:00 UTC (rev 7930)
+++ trunk/Tools/Maestro/Maestro.Editors/Strings.Designer.cs	2013-11-27 04:38:13 UTC (rev 7931)
@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.18408
+//     Runtime Version:4.0.30319.18213
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
@@ -2180,6 +2180,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to {0} selected items.
+        /// </summary>
+        internal static string SelectedItemCount {
+            get {
+                return ResourceManager.GetString("SelectedItemCount", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Select Feature Class.
         /// </summary>
         internal static string SelectFeatureClass {

Modified: trunk/Tools/Maestro/Maestro.Editors/Strings.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Strings.resx	2013-11-26 08:44:00 UTC (rev 7930)
+++ trunk/Tools/Maestro/Maestro.Editors/Strings.resx	2013-11-27 04:38:13 UTC (rev 7931)
@@ -1545,4 +1545,7 @@
   <data name="MdfEditorVisible" xml:space="preserve">
     <value>Visible</value>
   </data>
+  <data name="SelectedItemCount" xml:space="preserve">
+    <value>{0} selected items</value>
+  </data>
 </root>
\ No newline at end of file



More information about the mapguide-commits mailing list