[mapguide-commits] r5694 - in trunk/Tools/Maestro/Maestro.Base: . Properties

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Apr 12 05:56:44 EDT 2011


Author: jng
Date: 2011-04-12 02:56:44 -0700 (Tue, 12 Apr 2011)
New Revision: 5694

Modified:
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
Log:
#1660: Add labels for toolbar commands which are not readily apparent by looking at its icon


Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2011-04-12 09:33:05 UTC (rev 5693)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2011-04-12 09:56:44 UTC (rev 5694)
@@ -331,24 +331,28 @@
         <Condition action="Disable" name="EditorFunction" property="CanPreview">
             <ToolbarItem id="Preview"
                          icon="document_search_result"
+                         label="${res:Toolbar_Preview}"
                          tooltip="${res:Menu_File_PreviewResource}"
                          class="Maestro.Base.Commands.PreviewResourceCommand" />
         </Condition>
         <Condition action="Disable" name="EditorFunction" property="CanEditAsXml">
             <ToolbarItem id="XmlEdit"
                          icon="document_code"
+                         label="${res:Toolbar_EditAsXml}"
                          tooltip="${res:Menu_File_EditResourceWithXml}"
                          class="Maestro.Base.Commands.EditAsXmlCommand" />
         </Condition>
         <Condition action="Disable" name="EditorFunction" property="CanProfile">
             <ToolbarItem id="Profile"
                          icon="clock"
+                         label="${res:Toolbar_Profile}"
                          tooltip="${res:Menu_File_ProfileResource}"
                          class="Maestro.Base.Commands.ProfileResourceCommand" />
         </Condition>
         <Condition action="Disable" name="EditorFunction" property="CanValidate">
             <ToolbarItem id="Validate"
                          icon="tick"
+                         label="${res:Toolbar_Validate}"
                          tooltip="${res:Menu_File_ValidateResource}"
                          class="Maestro.Base.Commands.SiteExplorer.ValidateCommand" />
         </Condition>

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-04-12 09:33:05 UTC (rev 5693)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-04-12 09:56:44 UTC (rev 5694)
@@ -1989,6 +1989,42 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Edit as XML.
+        /// </summary>
+        internal static string Toolbar_EditAsXml {
+            get {
+                return ResourceManager.GetString("Toolbar_EditAsXml", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Preview.
+        /// </summary>
+        internal static string Toolbar_Preview {
+            get {
+                return ResourceManager.GetString("Toolbar_Preview", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Profile.
+        /// </summary>
+        internal static string Toolbar_Profile {
+            get {
+                return ResourceManager.GetString("Toolbar_Profile", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Validate.
+        /// </summary>
+        internal static string Toolbar_Validate {
+            get {
+                return ResourceManager.GetString("Toolbar_Validate", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Create a new Fusion Application Definition (Flexible Layout).
         /// </summary>
         internal static string TPL_ADF_DESC {

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-04-12 09:33:05 UTC (rev 5693)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-04-12 09:56:44 UTC (rev 5694)
@@ -980,4 +980,16 @@
   <data name="Prefs_Editor" xml:space="preserve">
     <value>Editors</value>
   </data>
+  <data name="Toolbar_EditAsXml" xml:space="preserve">
+    <value>Edit as XML</value>
+  </data>
+  <data name="Toolbar_Preview" xml:space="preserve">
+    <value>Preview</value>
+  </data>
+  <data name="Toolbar_Profile" xml:space="preserve">
+    <value>Profile</value>
+  </data>
+  <data name="Toolbar_Validate" xml:space="preserve">
+    <value>Validate</value>
+  </data>
 </root>
\ No newline at end of file



More information about the mapguide-commits mailing list