CP-15712: Add Automatic mode (internal parameter)

Hard coded strings --> Messages

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2016-03-16 13:22:23 +00:00
parent c48bc2ac44
commit 2a474b01d9
3 changed files with 27 additions and 3 deletions

View File

@ -59,7 +59,7 @@ namespace XenAdmin.Wizards.PatchingWizard
{
get
{
return "Upload and Install";//Messages.PATCHINGWIZARD_PATCHINGPAGE_TEXT;
return Messages.PATCHINGWIZARD_AUTOUPDATINGPAGE_TEXT;
}
}
@ -67,7 +67,7 @@ namespace XenAdmin.Wizards.PatchingWizard
{
get
{
return "Automatically uploading and installing updates";
return Messages.PATCHINGWIZARD_AUTOUPDATINGPAGE_TITLE;
}
}

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -25567,6 +25567,24 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to Upload and Install.
/// </summary>
public static string PATCHINGWIZARD_AUTOUPDATINGPAGE_TEXT {
get {
return ResourceManager.GetString("PATCHINGWIZARD_AUTOUPDATINGPAGE_TEXT", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Automatically uploading and installing updates.
/// </summary>
public static string PATCHINGWIZARD_AUTOUPDATINGPAGE_TITLE {
get {
return ResourceManager.GetString("PATCHINGWIZARD_AUTOUPDATINGPAGE_TITLE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clean up....
/// </summary>

View File

@ -8844,6 +8844,12 @@ However, there is not enough space to perform the repartitioning, so the current
<data name="PASTE" xml:space="preserve">
<value>Paste</value>
</data>
<data name="PATCHINGWIZARD_AUTOUPDATINGPAGE_TEXT" xml:space="preserve">
<value>Upload and Install</value>
</data>
<data name="PATCHINGWIZARD_AUTOUPDATINGPAGE_TITLE" xml:space="preserve">
<value>Automatically uploading and installing updates</value>
</data>
<data name="PATCHINGWIZARD_CLEANUP" xml:space="preserve">
<value>Clean up...</value>
</data>