[mapguide-commits] r7284 - in trunk/Tools/Maestro/Maestro.Base: . Events

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Dec 24 00:58:30 PST 2012


Author: jng
Date: 2012-12-24 00:58:29 -0800 (Mon, 24 Dec 2012)
New Revision: 7284

Modified:
   trunk/Tools/Maestro/Maestro.Base/Events/EventWatcher.cs
   trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Strings.resx
Log:
#2177: Indicate the session id that we failed to keep alive.

Modified: trunk/Tools/Maestro/Maestro.Base/Events/EventWatcher.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Events/EventWatcher.cs	2012-12-24 08:43:54 UTC (rev 7283)
+++ trunk/Tools/Maestro/Maestro.Base/Events/EventWatcher.cs	2012-12-24 08:58:29 UTC (rev 7284)
@@ -78,7 +78,7 @@
                         try
                         {
                             smShowingError = true;
-                            MessageService.ShowError(Strings.KeepAliveFailed);
+                            MessageService.ShowError(string.Format(Strings.KeepAliveFailed, sessionId));
                         }
                         finally
                         {

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2012-12-24 08:43:54 UTC (rev 7283)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2012-12-24 08:58:29 UTC (rev 7284)
@@ -740,7 +740,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Failed to keep session alive. This would happen if connectivity to the MapGuide Server has been lost (it has been stopped or restarted). Refresh the Site Explorer to create a new session. Also close any existing editors and re-open them..
+        ///   Looks up a localized string similar to Failed to keep session ({0}) alive. This would happen if connectivity to the MapGuide Server has been lost (it has been stopped or restarted). Refresh the Site Explorer to create a new session. Also close any existing editors and re-open them..
         /// </summary>
         internal static string KeepAliveFailed {
             get {

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.resx	2012-12-24 08:43:54 UTC (rev 7283)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.resx	2012-12-24 08:58:29 UTC (rev 7284)
@@ -354,7 +354,7 @@
     <value>{0} items were successfully translated</value>
   </data>
   <data name="KeepAliveFailed" xml:space="preserve">
-    <value>Failed to keep session alive. This would happen if connectivity to the MapGuide Server has been lost (it has been stopped or restarted). Refresh the Site Explorer to create a new session. Also close any existing editors and re-open them.</value>
+    <value>Failed to keep session ({0}) alive. This would happen if connectivity to the MapGuide Server has been lost (it has been stopped or restarted). Refresh the Site Explorer to create a new session. Also close any existing editors and re-open them.</value>
   </data>
   <data name="Label_ExtraTools" xml:space="preserve">
     <value>Extra Tools</value>



More information about the mapguide-commits mailing list