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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Apr 5 11:14:10 EDT 2011


Author: jng
Date: 2011-04-05 08:14:10 -0700 (Tue, 05 Apr 2011)
New Revision: 5682

Modified:
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
   trunk/Tools/Maestro/Maestro.Base/Templates/UserItemTemplate.cs
Log:
Fix incorrect category label for user-defined templates


Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-04-05 15:04:31 UTC (rev 5681)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-04-05 15:14:10 UTC (rev 5682)
@@ -2214,7 +2214,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to User Defined Resource Template.
+        ///   Looks up a localized string similar to User Defined Resource Templates.
         /// </summary>
         internal static string TPL_USER_DEFINED {
             get {

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-04-05 15:04:31 UTC (rev 5681)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-04-05 15:14:10 UTC (rev 5682)
@@ -571,9 +571,6 @@
   <data name="OpenResourceManager_SkipEditorRegistration" xml:space="preserve">
     <value>Skipping registration of editor: {0} because an existing editor is already registered to handle {1} v{2}</value>
   </data>
-  <data name="TPL_USER_DEFINED" xml:space="preserve">
-    <value>User Defined Resource Template</value>
-  </data>
   <data name="TPL_CSD_DESC" xml:space="preserve">
     <value>Create a new Compund Symbol Definition using the v1.0.0 schema</value>
   </data>
@@ -977,4 +974,7 @@
   <data name="Prof_MapRenderingImageSize" xml:space="preserve">
     <value>Rendered image size is: {0}</value>
   </data>
+  <data name="TPL_USER_DEFINED" xml:space="preserve">
+    <value>User Defined Resource Templates</value>
+  </data>
 </root>
\ No newline at end of file

Modified: trunk/Tools/Maestro/Maestro.Base/Templates/UserItemTemplate.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Templates/UserItemTemplate.cs	2011-04-05 15:04:31 UTC (rev 5681)
+++ trunk/Tools/Maestro/Maestro.Base/Templates/UserItemTemplate.cs	2011-04-05 15:14:10 UTC (rev 5682)
@@ -50,7 +50,7 @@
         {
             this.Description = description;
 
-            this.Category = Res.TPL_CATEGORY_DEFAULT;
+            this.Category = Res.TPL_CATEGORY_USERDEF;
             this.Icon = Res.document;
             this.Name = name;
             this.TemplatePath = templatePath;



More information about the mapguide-commits mailing list