diff --git a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_UploadPage.cs b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_UploadPage.cs index 7eb46efa0..8d18dc261 100644 --- a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_UploadPage.cs +++ b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_UploadPage.cs @@ -381,7 +381,8 @@ namespace XenAdmin.Wizards.PatchingWizard { if (!canDownload) { - var msg = string.Format(Messages.PATCH_DOWNLOAD_FAILED_MORE_INFO, SelectedExistingPatch.name_label, SelectedExistingPatch.Connection.Name); + var msgtemplate = SelectedExistingPatch.host_patches.Count > 0 ? Messages.PATCH_DOWNLOAD_FAILED_MORE_INFO : Messages.PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED; + var msg = string.Format(msgtemplate, SelectedExistingPatch.name_label, SelectedExistingPatch.Connection.Name); new ThreeButtonDialog( new ThreeButtonDialog.Details(SystemIcons.Error, msg)) .ShowDialog(this); diff --git a/XenModel/Messages.Designer.cs b/XenModel/Messages.Designer.cs index d0d3387bf..9a80c6502 100644 --- a/XenModel/Messages.Designer.cs +++ b/XenModel/Messages.Designer.cs @@ -24654,6 +24654,19 @@ namespace XenAdmin { } } + /// + /// Looks up a localized string similar to Failed to download the update {0} from '{1}'. + /// + ///The update has previously been uploaded to '{1}', but the update installation file may have since been deleted. + /// + ///Upload the update from an .xsupdate file instead.. + /// + public static string PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED { + get { + return ResourceManager.GetString("PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED", resourceCulture); + } + } + /// /// Looks up a localized string similar to {0} ///Date modified: {1} diff --git a/XenModel/Messages.resx b/XenModel/Messages.resx index 4f77f885d..e645b3527 100755 --- a/XenModel/Messages.resx +++ b/XenModel/Messages.resx @@ -1,4 +1,4 @@ - +