mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-20 15:36:03 +01:00
Merge pull request #1518 from GaborApatiNagy/REQ-411_2
CP-21182: Improved wording in the Install Updates Wizard
This commit is contained in:
commit
82361d83ac
@ -139,7 +139,16 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Assert(WizardMode != WizardMode.NewVersion || (WizardMode == WizardMode.NewVersion && UpdateAlert != null), "For version updates the UpdateAlert shouldn't be null");
|
Debug.Assert(WizardMode == WizardMode.AutomatedUpdates || WizardMode == WizardMode.NewVersion && UpdateAlert != null);
|
||||||
|
|
||||||
|
if (WizardMode == WizardMode.AutomatedUpdates)
|
||||||
|
{
|
||||||
|
labelTitle.Text = Messages.PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_AUTOMATED_MODE;
|
||||||
|
}
|
||||||
|
else if (WizardMode == WizardMode.NewVersion)
|
||||||
|
{
|
||||||
|
labelTitle.Text = Messages.PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_NEW_VERSION_AUTOMATED_MODE;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var pool in SelectedPools)
|
foreach (var pool in SelectedPools)
|
||||||
{
|
{
|
||||||
@ -613,8 +622,16 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void AllWorkersFinished()
|
private void AllWorkersFinished()
|
||||||
|
{
|
||||||
|
if (WizardMode == WizardMode.AutomatedUpdates)
|
||||||
{
|
{
|
||||||
labelTitle.Text = Messages.PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_UPDATES_MODE;
|
labelTitle.Text = Messages.PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_UPDATES_MODE;
|
||||||
|
}
|
||||||
|
else if (WizardMode == WizardMode.NewVersion)
|
||||||
|
{
|
||||||
|
labelTitle.Text = Messages.PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_NEW_VERSION_MODE;
|
||||||
|
}
|
||||||
|
|
||||||
progressBar.Value = 100;
|
progressBar.Value = 100;
|
||||||
pictureBox1.Image = null;
|
pictureBox1.Image = null;
|
||||||
labelError.Text = Messages.CLOSE_WIZARD_CLICK_FINISH;
|
labelError.Text = Messages.CLOSE_WIZARD_CLICK_FINISH;
|
||||||
|
@ -86,7 +86,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
this.errorLinkLabel.Name = "errorLinkLabel";
|
this.errorLinkLabel.Name = "errorLinkLabel";
|
||||||
this.errorLinkLabel.TabStop = true;
|
this.errorLinkLabel.TabStop = true;
|
||||||
//
|
//
|
||||||
// PatchingWizard_AutoUpdatingPage
|
// PatchingWizard_AutomatedUpdatesPage
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||||
@ -94,7 +94,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
this.Controls.Add(this.progressBar);
|
this.Controls.Add(this.progressBar);
|
||||||
this.Controls.Add(this.textBoxLog);
|
this.Controls.Add(this.textBoxLog);
|
||||||
this.Controls.Add(this.labelTitle);
|
this.Controls.Add(this.labelTitle);
|
||||||
this.Name = "PatchingWizard_AutoUpdatingPage";
|
this.Name = "PatchingWizard_AutomatedUpdatesPage";
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
|
@ -126,14 +126,11 @@
|
|||||||
<value>3, 13</value>
|
<value>3, 13</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelTitle.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="labelTitle.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>92, 13</value>
|
<value>0, 13</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelTitle.TabIndex" type="System.Int32, mscorlib">
|
<data name="labelTitle.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelTitle.Text" xml:space="preserve">
|
|
||||||
<value>Installing updates:</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>labelTitle.Name" xml:space="preserve">
|
<data name=">>labelTitle.Name" xml:space="preserve">
|
||||||
<value>labelTitle</value>
|
<value>labelTitle</value>
|
||||||
</data>
|
</data>
|
||||||
@ -355,7 +352,7 @@
|
|||||||
<value>511, 335</value>
|
<value>511, 335</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Name" xml:space="preserve">
|
<data name=">>$this.Name" xml:space="preserve">
|
||||||
<value>PatchingWizard_AutoUpdatingPage</value>
|
<value>PatchingWizard_AutomatedUpdatesPage</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Type" xml:space="preserve">
|
<data name=">>$this.Type" xml:space="preserve">
|
||||||
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
<value>XenAdmin.Controls.XenTabPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||||
|
@ -241,13 +241,14 @@
|
|||||||
<value>23, 83</value>
|
<value>23, 83</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="automatedUpdatesOptionLabel.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="automatedUpdatesOptionLabel.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>575, 13</value>
|
<value>575, 26</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="automatedUpdatesOptionLabel.TabIndex" type="System.Int32, mscorlib">
|
<data name="automatedUpdatesOptionLabel.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>3</value>
|
<value>3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="automatedUpdatesOptionLabel.Text" xml:space="preserve">
|
<data name="automatedUpdatesOptionLabel.Text" xml:space="preserve">
|
||||||
<value>[XenCenter] will download and install all current updates from [Citrix], usually with only a single reboot at the end.</value>
|
<value>[XenCenter] will download and install all released updates on the current version from [Citrix], usually with only a single reboot at the end.
|
||||||
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>automatedUpdatesOptionLabel.Name" xml:space="preserve">
|
<data name=">>automatedUpdatesOptionLabel.Name" xml:space="preserve">
|
||||||
<value>automatedUpdatesOptionLabel</value>
|
<value>automatedUpdatesOptionLabel</value>
|
||||||
@ -268,19 +269,19 @@
|
|||||||
<value>NoControl</value>
|
<value>NoControl</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="downloadUpdateRadioButton.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="downloadUpdateRadioButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>3, 108</value>
|
<value>3, 121</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="downloadUpdateRadioButton.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
<data name="downloadUpdateRadioButton.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||||
<value>3, 12, 3, 3</value>
|
<value>3, 12, 3, 3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="downloadUpdateRadioButton.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="downloadUpdateRadioButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>163, 17</value>
|
<value>235, 17</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="downloadUpdateRadioButton.TabIndex" type="System.Int32, mscorlib">
|
<data name="downloadUpdateRadioButton.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>4</value>
|
<value>4</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="downloadUpdateRadioButton.Text" xml:space="preserve">
|
<data name="downloadUpdateRadioButton.Text" xml:space="preserve">
|
||||||
<value>&Download update from [Citrix]</value>
|
<value>&Download update or new version from [Citrix]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>downloadUpdateRadioButton.Name" xml:space="preserve">
|
<data name=">>downloadUpdateRadioButton.Name" xml:space="preserve">
|
||||||
<value>downloadUpdateRadioButton</value>
|
<value>downloadUpdateRadioButton</value>
|
||||||
@ -583,7 +584,7 @@
|
|||||||
<value>1</value>
|
<value>1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="tableLayoutPanelSpinner.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="tableLayoutPanelSpinner.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>178, 81</value>
|
<value>178, 75</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="tableLayoutPanelSpinner.RowCount" type="System.Int32, mscorlib">
|
<data name="tableLayoutPanelSpinner.RowCount" type="System.Int32, mscorlib">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@ -664,7 +665,7 @@
|
|||||||
<value>Vertical</value>
|
<value>Vertical</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewPatches.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="dataGridViewPatches.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>575, 189</value>
|
<value>575, 176</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dataGridViewPatches.TabIndex" type="System.Int32, mscorlib">
|
<data name="dataGridViewPatches.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
@ -685,10 +686,10 @@
|
|||||||
<value>Fill</value>
|
<value>Fill</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>23, 131</value>
|
<value>23, 144</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>575, 189</value>
|
<value>575, 176</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>5</value>
|
<value>5</value>
|
||||||
|
@ -42,6 +42,7 @@ using XenAdmin.Properties;
|
|||||||
using XenAPI;
|
using XenAPI;
|
||||||
using XenAdmin.Alerts;
|
using XenAdmin.Alerts;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace XenAdmin.Wizards.PatchingWizard
|
namespace XenAdmin.Wizards.PatchingWizard
|
||||||
{
|
{
|
||||||
@ -96,9 +97,19 @@ namespace XenAdmin.Wizards.PatchingWizard
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
poolSelectionOnly = WizardMode == WizardMode.AutomatedUpdates || SelectedUpdateAlert != null || FileFromDiskAlert != null;
|
poolSelectionOnly = WizardMode == WizardMode.AutomatedUpdates || SelectedUpdateAlert != null || FileFromDiskAlert != null;
|
||||||
label1.Text = WizardMode == WizardMode.AutomatedUpdates
|
|
||||||
? Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_AUTOMATED_MODE
|
switch (WizardMode)
|
||||||
: poolSelectionOnly ? Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_POOL_SELECTION : Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_DEFAULT;
|
{
|
||||||
|
case WizardMode.AutomatedUpdates :
|
||||||
|
label1.Text = Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_AUTOMATED_MODE;
|
||||||
|
break;
|
||||||
|
case WizardMode.NewVersion :
|
||||||
|
label1.Text = Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_NEW_VERSION_MODE;
|
||||||
|
break;
|
||||||
|
case WizardMode.SingleUpdate :
|
||||||
|
label1.Text = poolSelectionOnly ? Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_POOL_SELECTION : Messages.PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_DEFAULT;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// catch selected servers, in order to restore selection after the dataGrid is reloaded
|
// catch selected servers, in order to restore selection after the dataGrid is reloaded
|
||||||
List<Host> selectedServers = SelectedServers;
|
List<Host> selectedServers = SelectedServers;
|
||||||
|
@ -132,9 +132,6 @@
|
|||||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="label1.Text" xml:space="preserve">
|
|
||||||
<value>rubric</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>label1.Name" xml:space="preserve">
|
<data name=">>label1.Name" xml:space="preserve">
|
||||||
<value>label1</value>
|
<value>label1</value>
|
||||||
</data>
|
</data>
|
||||||
|
36
XenModel/Messages.Designer.cs
generated
36
XenModel/Messages.Designer.cs
generated
@ -27210,6 +27210,15 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Select one or more pools or standalone servers that you want to update to the new version..
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_NEW_VERSION_MODE {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_NEW_VERSION_MODE", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Select one or more pools or standalone servers where you want to apply the selected update.
|
/// Looks up a localized string similar to Select one or more pools or standalone servers where you want to apply the selected update.
|
||||||
///Servers where this update cannot be applied appear disabled in this list..
|
///Servers where this update cannot be applied appear disabled in this list..
|
||||||
@ -27256,6 +27265,15 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to The new version has been installed..
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_NEW_VERSION_MODE {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_NEW_VERSION_MODE", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Automated updates have finished..
|
/// Looks up a localized string similar to Automated updates have finished..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -27265,6 +27283,24 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Installing updates:.
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_AUTOMATED_MODE {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_AUTOMATED_MODE", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Installing new version:.
|
||||||
|
/// </summary>
|
||||||
|
public static string PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_NEW_VERSION_AUTOMATED_MODE {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_NEW_VERSION_AUTOMATED_MODE", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to [XenCenter] is now downloading your update and uploading it to the servers specified in the previous step.
|
/// Looks up a localized string similar to [XenCenter] is now downloading your update and uploading it to the servers specified in the previous step.
|
||||||
///Please wait for these operations to complete, then click Next to continue with the installation..
|
///Please wait for these operations to complete, then click Next to continue with the installation..
|
||||||
|
@ -9388,6 +9388,9 @@ Greyed out servers cannot be updated with automated updates.</value>
|
|||||||
<value>Select one or more servers where you want to apply the selected update.
|
<value>Select one or more servers where you want to apply the selected update.
|
||||||
Servers where this update cannot be applied appear disabled in this list.</value>
|
Servers where this update cannot be applied appear disabled in this list.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_NEW_VERSION_MODE" xml:space="preserve">
|
||||||
|
<value>Select one or more pools or standalone servers that you want to update to the new version.</value>
|
||||||
|
</data>
|
||||||
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_POOL_SELECTION" xml:space="preserve">
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_RUBRIC_POOL_SELECTION" xml:space="preserve">
|
||||||
<value>Select one or more pools or standalone servers where you want to apply the selected update.
|
<value>Select one or more pools or standalone servers where you want to apply the selected update.
|
||||||
Servers where this update cannot be applied appear disabled in this list.</value>
|
Servers where this update cannot be applied appear disabled in this list.</value>
|
||||||
@ -9404,6 +9407,9 @@ Servers where this update cannot be applied appear disabled in this list.</value
|
|||||||
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_TITLE" xml:space="preserve">
|
<data name="PATCHINGWIZARD_SELECTSERVERPAGE_TITLE" xml:space="preserve">
|
||||||
<value>Select the servers you wish to update</value>
|
<value>Select the servers you wish to update</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_NEW_VERSION_MODE" xml:space="preserve">
|
||||||
|
<value>The new version has been installed.</value>
|
||||||
|
</data>
|
||||||
<data name="PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_UPDATES_MODE" xml:space="preserve">
|
<data name="PATCHINGWIZARD_UPDATES_DONE_AUTOMATED_UPDATES_MODE" xml:space="preserve">
|
||||||
<value>Automated updates have finished.</value>
|
<value>Automated updates have finished.</value>
|
||||||
</data>
|
</data>
|
||||||
@ -9424,6 +9430,12 @@ Please wait for this operation to complete, then click Next to continue with the
|
|||||||
<data name="PATCHINGWIZARD_UPLOADPAGE_TITLE_ONLY_UPLOAD" xml:space="preserve">
|
<data name="PATCHINGWIZARD_UPLOADPAGE_TITLE_ONLY_UPLOAD" xml:space="preserve">
|
||||||
<value>Uploading the selected file to your servers</value>
|
<value>Uploading the selected file to your servers</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_AUTOMATED_MODE" xml:space="preserve">
|
||||||
|
<value>Installing updates:</value>
|
||||||
|
</data>
|
||||||
|
<data name="PATCHINGWIZARD_UPLOAD_AND_INSTALL_TITLE_NEW_VERSION_AUTOMATED_MODE" xml:space="preserve">
|
||||||
|
<value>Installing new version:</value>
|
||||||
|
</data>
|
||||||
<data name="PATCHING_EJECT_CDS" xml:space="preserve">
|
<data name="PATCHING_EJECT_CDS" xml:space="preserve">
|
||||||
<value>Eject any virtual CDs from your VMs</value>
|
<value>Eject any virtual CDs from your VMs</value>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user