mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-161460: Correct help text in the case that the patch has been deleted without being installed
This commit is contained in:
parent
3d7db537e7
commit
5990c53617
@ -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);
|
||||
|
13
XenModel/Messages.Designer.cs
generated
13
XenModel/Messages.Designer.cs
generated
@ -24654,6 +24654,19 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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..
|
||||
/// </summary>
|
||||
public static string PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED {
|
||||
get {
|
||||
return ResourceManager.GetString("PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0}
|
||||
///Date modified: {1}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
@ -12606,4 +12606,11 @@ You will need to navigate to the Console on each of the selected VMs to complete
|
||||
<data name="YOU_ARE_HERE" xml:space="preserve">
|
||||
<value>You are here</value>
|
||||
</data>
|
||||
<data name="PATCH_DOWNLOAD_FAILED_MORE_INFO_NOT_APPLIED" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user