Fisheye: Tag 6924 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/Dam/Application/Properties/Resources.Designer.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 6924 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/Dam/Application/Properties/Resources.resx'. Fisheye: No comparison available. Pass `N' to diff? Index: DamClients/DamUI/trunk/src/Dam/Application/Program.cs =================================================================== diff -u -r6922 -r6924 --- DamClients/DamUI/trunk/src/Dam/Application/Program.cs (.../Program.cs) (revision 6922) +++ DamClients/DamUI/trunk/src/Dam/Application/Program.cs (.../Program.cs) (revision 6924) @@ -32,7 +32,6 @@ using Deltares.Geotechnics.Forms; using Deltares.Standard; using Deltares.Standard.Forms.DExpress; -using Deltares.Standard.Language; using Deltares.Standard.Reflection; namespace Deltares.Dam.Application @@ -109,37 +108,37 @@ string versionCommonFiles = RegistryReader.GetRegistryValueFromLocalMachine(registryPathCommonFiles, registryKeyCommonFiles); if (string.IsNullOrEmpty(versionCommonFiles)) { - errorMessages.Add(LocalizationManager.GetTranslatedText(null, "CommonFilesNotFound")); + errorMessages.Add("Common Files not found."); } else if (!VersionComparer.IsVersionGreaterOrEqual(versionCommonFiles, requiredVersionCommonFiles)) { - errorMessages.Add(String.Format(LocalizationManager.GetTranslatedText(null, "CommonFilesOutdated"), + errorMessages.Add(String.Format("Common files version is outdated: {0}. Required version is {1} or higher.", versionCommonFiles, requiredVersionCommonFiles)); } // Check version of DS_Flex string versionDsFlex = RegistryReader.GetRegistryValueFromLocalMachine(registryPathDsFlex, registryKeyDsFlex); - if (string.IsNullOrEmpty(versionCommonFiles)) + if (string.IsNullOrEmpty(versionDsFlex)) { - errorMessages.Add(LocalizationManager.GetTranslatedText(null, "DSFlexNotFound")); + errorMessages.Add("DS_Flex not found."); } else if (!VersionComparer.IsVersionGreaterOrEqual(versionDsFlex, requiredVersionDsFlex)) { - errorMessages.Add(String.Format(LocalizationManager.GetTranslatedText(null, "DSFLexOutdated"), + errorMessages.Add(String.Format("DS_Flex version is outdated: {0}. Required version is {1} or higher.", versionDsFlex, requiredVersionDsFlex)); } if (errorMessages.Count > 0) { var errorMessage = new StringBuilder(); - errorMessage.AppendLine(LocalizationManager.GetTranslatedText(null, "ApplicationNotInstalledCorrectly")); + errorMessage.AppendLine("The application cannot be started because it is not properly installed. Please reinstall the application."); foreach (string msg in errorMessages) { errorMessage.AppendLine(msg); } MessageBox.Show(errorMessage.ToString(), - LocalizationManager.GetTranslatedText(null, "Error"), + "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); Environment.Exit(0); } @@ -206,7 +205,7 @@ exceptionMessage.AppendLine(); } - exceptionMessage.Append(LocalizationManager.GetTranslatedText(null, "UnhandledExceptionMessage")); + exceptionMessage.Append("An unhandled error occurred. The application is terminating. For more information see your trace log."); LocalizedMessageBox.ShowException(String.Concat(exceptionMessage.ToString(), ": ", ex.Message, ex.StackTrace)); System.Windows.Forms.Application.Exit(); }