CP-43000: Add new license purchase URL to InvisibleMessages

Also merge duplicate strings into unique `LICENSE_BUY_URL` string

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
Danilo Del Busso 2023-06-27 15:39:44 +01:00
parent 066a59a0b4
commit a086ac30ed
No known key found for this signature in database
6 changed files with 8 additions and 38 deletions

View File

@ -355,7 +355,7 @@ namespace XenAdmin.Alerts
case Message.MessageType.LICENSE_EXPIRES_SOON:
case Message.MessageType.LICENSE_DOES_NOT_SUPPORT_POOLING:
return () => Program.OpenURL(HiddenFeatures.LinkLabelHidden ? null : InvisibleMessages.LICENSE_EXPIRY_WEBPAGE);
return () => Program.OpenURL(HiddenFeatures.LinkLabelHidden ? null : InvisibleMessages.LICENSE_BUY_URL);
case Message.MessageType.VBD_QOS_FAILED:
case Message.MessageType.VCPU_QOS_FAILED:
case Message.MessageType.VIF_QOS_FAILED:

View File

@ -54,6 +54,6 @@ namespace XenAdmin.Diagnostics.Problems.HostProblem
public override string HelpMessage => LinkText;
public override Uri UriToLaunch => new Uri(InvisibleMessages.UPSELL_SA);
public override Uri UriToLaunch => new Uri(InvisibleMessages.LICENSE_BUY_URL);
}
}

View File

@ -124,11 +124,11 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to https://store.citrix.com/dr_product/citrix-hypervisor-subscription.
/// Looks up a localized string similar to https://xenserver.com/buy.
/// </summary>
public static string LICENSE_EXPIRY_WEBPAGE {
public static string LICENSE_BUY_URL {
get {
return ResourceManager.GetString("LICENSE_EXPIRY_WEBPAGE", resourceCulture);
return ResourceManager.GetString("LICENSE_BUY_URL", resourceCulture);
}
}
@ -212,14 +212,5 @@ namespace XenAdmin {
return ResourceManager.GetString("UPSELL_LEARNMOREURL_TRIAL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to https://store.citrix.com/dr_product/citrix-hypervisor-subscription.
/// </summary>
public static string UPSELL_SA {
get {
return ResourceManager.GetString("UPSELL_SA", resourceCulture);
}
}
}
}

View File

@ -129,12 +129,6 @@
<data name="HOMEPAGE" xml:space="preserve">
<value>https://www.citrix.com/ja-jp/products/citrix-hypervisor</value>
</data>
<data name="ISL_DEPRECATION_URL" xml:space="preserve">
<value>http://support.citrix.com/article/CTX141433</value>
</data>
<data name="LICENSE_EXPIRY_WEBPAGE" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
</data>
<data name="LICENSE_SERVER_DOWNLOAD_LINK" xml:space="preserve">
<value>http://www.citrix.com/downloads/licensing/license-server</value>
</data>
@ -156,7 +150,4 @@
<data name="UPSELL_LEARNMOREURL_TRIAL" xml:space="preserve">
<value>https://www.citrix.com/products/citrix-hypervisor/get-started.html</value>
</data>
<data name="UPSELL_SA" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
</data>
</root>

View File

@ -138,8 +138,8 @@
<data name="HOMEPAGE" xml:space="preserve">
<value>https://www.citrix.com/products/citrix-hypervisor</value>
</data>
<data name="LICENSE_EXPIRY_WEBPAGE" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
<data name="LICENSE_BUY_URL" xml:space="preserve">
<value>https://xenserver.com/buy</value>
</data>
<data name="LICENSE_SERVER_DOWNLOAD_LINK" xml:space="preserve">
<value>http://www.citrix.com/downloads/licensing/license-server</value>
@ -168,7 +168,4 @@
<data name="UPSELL_LEARNMOREURL_TRIAL" xml:space="preserve">
<value>https://www.citrix.com/products/citrix-hypervisor/get-started.html</value>
</data>
<data name="UPSELL_SA" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
</data>
</root>
</root>

View File

@ -129,12 +129,6 @@
<data name="HOMEPAGE" xml:space="preserve">
<value>https://www.citrix.com.cn/products/citrix-hypervisor/</value>
</data>
<data name="ISL_DEPRECATION_URL" xml:space="preserve">
<value>http://support.citrix.com/article/CTX141433</value>
</data>
<data name="LICENSE_EXPIRY_WEBPAGE" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
</data>
<data name="LICENSE_SERVER_DOWNLOAD_LINK" xml:space="preserve">
<value>http://www.citrix.com/downloads/licensing/license-server</value>
</data>
@ -156,7 +150,4 @@
<data name="UPSELL_LEARNMOREURL_TRIAL" xml:space="preserve">
<value>https://www.citrix.com/products/citrix-hypervisor/get-started.html</value>
</data>
<data name="UPSELL_SA" xml:space="preserve">
<value>https://store.citrix.com/dr_product/citrix-hypervisor-subscription</value>
</data>
</root>