Merge pull request #1489 from GaborApatiNagy/master_CFU

CP-21176: Showing XC version in the new version alert
This commit is contained in:
Mihaela Stoica 2017-03-15 09:57:27 +00:00 committed by GitHub
commit 5743493a03
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ namespace XenAdmin.Alerts
public override string Title public override string Title
{ {
get { return Messages.ALERT_NEW_VERSION; } get { return string.Format(Messages.ALERT_NEW_VERSION, NewVersion.Name); }
} }
public override string Description public override string Description

View File

@ -4833,7 +4833,7 @@ namespace XenAdmin {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to New [XenCenter] Available. /// Looks up a localized string similar to {0} is now available.
/// </summary> /// </summary>
public static string ALERT_NEW_VERSION { public static string ALERT_NEW_VERSION {
get { get {

View File

@ -1791,7 +1791,7 @@ Note that if RBAC is enabled, only alerts which you have privileges to dismiss w
<value>Go to Web Page</value> <value>Go to Web Page</value>
</data> </data>
<data name="ALERT_NEW_VERSION" xml:space="preserve"> <data name="ALERT_NEW_VERSION" xml:space="preserve">
<value>New [XenCenter] Available</value> <value>{0} is now available</value>
</data> </data>
<data name="ALERT_NEW_VERSION_DETAILS" xml:space="preserve"> <data name="ALERT_NEW_VERSION_DETAILS" xml:space="preserve">
<value>{0} is now available. Download the new version from the [Citrix] website.</value> <value>{0} is now available. Download the new version from the [Citrix] website.</value>