diff --git a/src/mhed/AppStrings.Designer.cs b/src/mhed/AppStrings.Designer.cs index 8152832..d40f2c1 100644 --- a/src/mhed/AppStrings.Designer.cs +++ b/src/mhed/AppStrings.Designer.cs @@ -520,29 +520,29 @@ internal static string UP_RetryUpdateCheckQuestion { } /// - /// Looks up a localized string similar to The application update is available. New version: {0}.. + /// Looks up a localized string similar to An error occurred while trying to run the installer of the new version! The application has not been updated.. /// - internal static string UP_UpdateAvailable { + internal static string UP_StartUpdateInstallerFailure { get { - return ResourceManager.GetString("UP_UpdateAvailable", resourceCulture); + return ResourceManager.GetString("UP_StartUpdateInstallerFailure", resourceCulture); } } /// - /// Looks up a localized string similar to Update check failed. Please try again later.. + /// Looks up a localized string similar to The application update is available. New version: {0}.. /// - internal static string UP_UpdateCheckFailure { + internal static string UP_UpdateAvailable { get { - return ResourceManager.GetString("UP_UpdateCheckFailure", resourceCulture); + return ResourceManager.GetString("UP_UpdateAvailable", resourceCulture); } } /// - /// Looks up a localized string similar to An error occurred while trying to run the installer of the new version! The application has not been updated.. + /// Looks up a localized string similar to Update check failed. Please try again later.. /// - internal static string UP_UpdateFailure { + internal static string UP_UpdateCheckFailure { get { - return ResourceManager.GetString("UP_UpdateFailure", resourceCulture); + return ResourceManager.GetString("UP_UpdateCheckFailure", resourceCulture); } } diff --git a/src/mhed/AppStrings.resx b/src/mhed/AppStrings.resx index e827acf..c2b7268 100644 --- a/src/mhed/AppStrings.resx +++ b/src/mhed/AppStrings.resx @@ -273,7 +273,7 @@ Version: {0} - + An error occurred while trying to run the installer of the new version! The application has not been updated. diff --git a/src/mhed/AppStrings.ru.resx b/src/mhed/AppStrings.ru.resx index 99baa61..3c669de 100644 --- a/src/mhed/AppStrings.ru.resx +++ b/src/mhed/AppStrings.ru.resx @@ -273,7 +273,7 @@ Версия: {0} - + Произошла ошибка при попытке запуска модуля установки новой версии! Программа не была обновлена. diff --git a/src/mhed/DebugStrings.Designer.cs b/src/mhed/DebugStrings.Designer.cs index 241440f..f20e457 100644 --- a/src/mhed/DebugStrings.Designer.cs +++ b/src/mhed/DebugStrings.Designer.cs @@ -304,20 +304,20 @@ internal static string AppDbgExUpDeleteFile { } /// - /// Looks up a localized string similar to Exception while trying to run the installer of the new version.. + /// Looks up a localized string similar to Exception while trying to download and install the application update.. /// - internal static string AppDbgExUpInstallBinaryUpdate { + internal static string AppDbgExUpInstallUpdate { get { - return ResourceManager.GetString("AppDbgExUpInstallBinaryUpdate", resourceCulture); + return ResourceManager.GetString("AppDbgExUpInstallUpdate", resourceCulture); } } /// - /// Looks up a localized string similar to Exception while trying to download and install the application update.. + /// Looks up a localized string similar to Exception while trying to run the installer of the new version.. /// - internal static string AppDbgExUpInstallUpdate { + internal static string AppDbgExUpStartUpdateInstaller { get { - return ResourceManager.GetString("AppDbgExUpInstallUpdate", resourceCulture); + return ResourceManager.GetString("AppDbgExUpStartUpdateInstaller", resourceCulture); } } diff --git a/src/mhed/DebugStrings.resx b/src/mhed/DebugStrings.resx index 2925902..3f54cf2 100644 --- a/src/mhed/DebugStrings.resx +++ b/src/mhed/DebugStrings.resx @@ -198,12 +198,12 @@ Exception when trying to delete the downloaded file with an incorrect hash. - - Exception while trying to run the installer of the new version. - Exception while trying to download and install the application update. + + Exception while trying to run the installer of the new version. + Hosts file does not exists. diff --git a/src/mhed/FrmUpdate.cs b/src/mhed/FrmUpdate.cs index f19a7e7..e13a56f 100644 --- a/src/mhed/FrmUpdate.cs +++ b/src/mhed/FrmUpdate.cs @@ -172,8 +172,8 @@ private bool InstallBinaryUpdate() } catch (Exception Ex) { - Logger.Error(Ex, DebugStrings.AppDbgExUpInstallBinaryUpdate); - MessageBox.Show(AppStrings.UP_UpdateFailure, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error); + Logger.Error(Ex, DebugStrings.AppDbgExUpStartUpdateInstaller); + MessageBox.Show(AppStrings.UP_StartUpdateInstallerFailure, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error); } } else