[mapguide-commits] r4296 - in trunk/MgDev: Common/MapGuideCommon/Resources Oem/fusionMG/templates/mapguide/aqua Oem/fusionMG/templates/mapguide/limegold Oem/fusionMG/templates/mapguide/maroon Oem/fusionMG/templates/mapguide/preview Oem/fusionMG/templates/mapguide/slate Oem/fusionMG/templates/mapguide/turquoiseyellow

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Oct 15 15:39:19 EDT 2009


Author: chrisclaydon
Date: 2009-10-15 15:39:18 -0400 (Thu, 15 Oct 2009)
New Revision: 4296

Modified:
   trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res
   trunk/MgDev/Oem/fusionMG/templates/mapguide/aqua/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/limegold/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/maroon/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/slate/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/turquoiseyellow/index.html
Log:
Re #1117 - Submitted on behalf of Christine Bao

Modified: trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Common/MapGuideCommon/Resources/mapguide_en.res	2009-10-15 19:39:18 UTC (rev 4296)
@@ -26,8 +26,8 @@
 MgClassNotFoundException                              = The specified class was not found.
 MgConfigurationException                              = Configuration exception: %1
 MgConfigurationSaveFailedException                    = Failed to save configuration file %1
-MgConnectionFailedException                           = Cannot establish connection.
-MgConnectionNotOpenException                          = The connection is not open.
+MgConnectionFailedException                           = Problem:\nCannot establish connection to the MapGuide Server.\n\nPossible Causes:\n-Your session has been idle for too long;\n-MapGuide Server is no longer responding;\n-Internet connection problems.\n\nSolution:\nRestart your application / session, restart the MapGuide Server service, or contact with the server administrator.
+MgConnectionNotOpenException                          = Problem:\nThe connection to the MapGuide Server is not open as expected.\n\nPossible Causes:\n-Your session has been idle for too long;\n-MapGuide Server is no longer responding;\n-Internet connection problems.\n\nSolution:\nRestart your application / session, restart the MapGuide Server service, or contact with the server administrator.
 MgCoordinateSystemComputationFailedException          = The coordinate system computation failed.
 MgCoordinateSystemConversionFailedException           = The coordinate system conversion failed.
 MgCoordinateSystemInitializationFailedException       = The coordinate system initialization failed.
@@ -144,7 +144,7 @@
 MgStylizeLayerFailedException                         = Failed to stylize layer: %1
 MgTemporaryFileNotAvailableException                  = Temporary file is not available.
 MgUnauthorizedAccessException                         = Unauthorized access.
-MgUnclassifiedException                               = An unclassified exception occurred.
+MgUnclassifiedException                               = Problem:\nThe application encountered a problem and could not finish the operation you just requested properly.\n\nSolution:\nIf it\'s the first time you met this problem, try again or restart the application / session; otherwise, describe the steps to reproduce this problem to the server administrator for suggestions.
 MgUnderflowException                                  = Underflow exception.
 MgUnsupportedProviderThreadModelException             = The FDO provider thread model is not supported.
 MgUriFormatException                                  = Uri format exception.

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/aqua/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/aqua/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/aqua/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -127,8 +127,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -151,6 +151,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/limegold/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/limegold/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/limegold/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -115,8 +115,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -139,6 +139,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/maroon/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/maroon/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/maroon/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -138,8 +138,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -162,6 +162,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -114,8 +114,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -138,6 +138,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/slate/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/slate/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/slate/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -119,8 +119,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -143,6 +143,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/turquoiseyellow/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/turquoiseyellow/index.html	2009-10-14 13:45:06 UTC (rev 4295)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/turquoiseyellow/index.html	2009-10-15 19:39:18 UTC (rev 4296)
@@ -103,8 +103,8 @@
     var indexEnd = errorMessage.indexOf(tagEnd, tagStart);
     if (indexStart != -1 && indexEnd != -1) {
         readableMessage = errorMessage.substring(indexStart + tagStart.length, indexEnd);
-        readableMessage = readableMessage.replace(/\\\\n/g, '\n');
-        readableMessage = readableMessage.replace(/\\\\t/g, '\t');
+        readableMessage = readableMessage.replace(/\\n/g, '\n');
+        readableMessage = readableMessage.replace(/\\t/g, '\t');
     }
 
     //Case 2: For dealing with Function: ajaxException. (fusion.js)
@@ -127,6 +127,8 @@
             var indexReturn = errorMessage.indexOf('\n', indexResponseError);
             if (indexReturn != -1) {
                 readableMessage = errorMessage.substring(indexResponseError + responseError.length, indexReturn);
+                readableMessage = readableMessage.replace(/\\n/g, '\n');
+                readableMessage = readableMessage.replace(/\\t/g, '\t');
             }
         }
     }



More information about the mapguide-commits mailing list