[mapguide-commits] r7523 - in trunk/Tools/Maestro/Maestro.Base: . Commands/SiteExplorer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon May 27 04:50:08 PDT 2013


Author: jng
Date: 2013-05-27 04:50:08 -0700 (Mon, 27 May 2013)
New Revision: 7523

Modified:
   trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/ResourcePropertiesCommand.cs
   trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Strings.resx
Log:
#2276: Tweak unsupported error message

Modified: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/ResourcePropertiesCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/ResourcePropertiesCommand.cs	2013-05-27 11:36:29 UTC (rev 7522)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/ResourcePropertiesCommand.cs	2013-05-27 11:50:08 UTC (rev 7523)
@@ -37,7 +37,7 @@
 
             if (!IsValid(conn))
             {
-                MessageService.ShowError(Strings.ConnectionDoesNotSupportRequiredInterfaces);
+                MessageService.ShowError(string.Format(Strings.ConnectionDoesNotSupportRequiredInterfaces, conn.ProviderName));
                 return;
             }
 

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2013-05-27 11:36:29 UTC (rev 7522)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2013-05-27 11:50:08 UTC (rev 7523)
@@ -388,7 +388,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to The current connection does not support the required interfaces to perform this action.
+        ///   Looks up a localized string similar to The current connection ({0}) does not support the required interfaces to display properties of this resource.
         /// </summary>
         internal static string ConnectionDoesNotSupportRequiredInterfaces {
             get {

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.resx	2013-05-27 11:36:29 UTC (rev 7522)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.resx	2013-05-27 11:50:08 UTC (rev 7523)
@@ -226,7 +226,7 @@
     <value>You have already established such a connection</value>
   </data>
   <data name="ConnectionDoesNotSupportRequiredInterfaces" xml:space="preserve">
-    <value>The current connection does not support the required interfaces to perform this action</value>
+    <value>The current connection ({0}) does not support the required interfaces to display properties of this resource</value>
   </data>
   <data name="Content_Messages" xml:space="preserve">
     <value>Messages</value>



More information about the mapguide-commits mailing list