diff --git a/XenAdmin/Commands/CrossPoolMigrateToHomeCommand.cs b/XenAdmin/Commands/CrossPoolMigrateToHomeCommand.cs index 843173433..43a8d35d9 100644 --- a/XenAdmin/Commands/CrossPoolMigrateToHomeCommand.cs +++ b/XenAdmin/Commands/CrossPoolMigrateToHomeCommand.cs @@ -38,7 +38,7 @@ using XenAPI; namespace XenAdmin.Commands { /// - /// The command for the 'Home Server' subitem which is shown when WLB isn't enabled in the submenu for start-on, resume-on or migrate. + /// The command for the 'Target Server' subitem which is shown when WLB isn't enabled in the submenu for start-on, resume-on or migrate. /// internal class CrossPoolMigrateToHomeCommand : CrossPoolMigrateCommand { diff --git a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateDestinationPage.cs b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateDestinationPage.cs index b0a77e654..7a9d2ec17 100644 --- a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateDestinationPage.cs +++ b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateDestinationPage.cs @@ -112,9 +112,9 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard } } - protected override string HomeServerText { get { return Messages.CPM_WIZARD_DESTINATION_DESTINATION; } } + protected override string TargetServerText { get { return Messages.CPM_WIZARD_DESTINATION_DESTINATION; } } - protected override string HomeServerSelectionIntroText { get { return Messages.CPM_WIZARD_DESTINATION_TABLE_INTRO; } } + protected override string TargetServerSelectionIntroText { get { return Messages.CPM_WIZARD_DESTINATION_TABLE_INTRO; } } public override DelayLoadingOptionComboBoxItem CreateDelayLoadingOptionComboBoxItem(IXenObject xenItem) @@ -122,7 +122,7 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard return new CrossPoolMigrateDelayLoadingComboBoxItem(xenItem, preSelectedHost, selectedVMs); } - protected override List CreateHomeServerFilterList(IEnableableXenObjectComboBoxItem selectedItem) + protected override List CreateTargetServerFilterList(IEnableableXenObjectComboBoxItem selectedItem) { List filters = new List{ new ResidentHostIsSameAsSelectionFilter(selectedVMs) }; @@ -168,5 +168,13 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard return TemplatesOnly ? Messages.TEMPLATE : Messages.VM; } } + + protected override string TargetColumnHeaderText + { + get + { + return Messages.TARGET_SERVER; + } + } } } diff --git a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.Designer.cs b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.Designer.cs index d42ed11a5..ce0cf45df 100644 --- a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.Designer.cs +++ b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.Designer.cs @@ -67,10 +67,10 @@ resources.ApplyResources(this.networkComboBox, "networkComboBox"); this.networkComboBox.Name = "networkComboBox"; // - // label3 + // blurbText // - resources.ApplyResources(this.blurbText, "label3"); - this.blurbText.Name = "label3"; + resources.ApplyResources(this.blurbText, "blurbText"); + this.blurbText.Name = "blurbText"; // // CrossPoolMigrateTransferNetworkPage // diff --git a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.resx b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.resx index bfcc7f320..e23aa401e 100644 --- a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.resx +++ b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateTransferNetworkPage.resx @@ -145,7 +145,7 @@ 0, 0, 10, 0 - 88, 27 + 229, 46 0 @@ -172,10 +172,10 @@ False - 101, 3 + 242, 3 - 432, 21 + 432, 39 11 @@ -196,13 +196,13 @@ Top - 3, 36 + 3, 55 1 - 608, 27 + 1529, 46 2 @@ -222,40 +222,40 @@ <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="networkComboBox" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,Percent,100" /><Rows Styles="AutoSize,100" /></TableLayoutSettings> - + True - + Fill - + NoControl - + 3, 0 - + 0, 0, 0, 20 - - 608, 33 + + 1529, 52 - + 14 - + label3 - - label3 + + blurbText - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tableLayoutPanel1 - + 1 @@ -268,7 +268,7 @@ 2 - 614, 332 + 1535, 830 0 @@ -286,16 +286,19 @@ 0 - <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="label3" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Percent,100" /></TableLayoutSettings> + <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="blurbText" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,Percent,100" /></TableLayoutSettings> True - 96, 96 + 240, 240 + + + 8, 8, 8, 8 - 614, 332 + 1535, 830 CrossPoolMigrateTransferNetworkPage diff --git a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateWizard.cs b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateWizard.cs index 8c2e422df..5ec9739cb 100644 --- a/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateWizard.cs +++ b/XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateWizard.cs @@ -419,7 +419,7 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard summary = new VmTitleSummary(summary, pair.Value); summary = new DestinationPoolSummary(summary, pair.Value, TargetConnection); - summary = new HomeServerSummary(summary, pair.Value, TargetConnection); + summary = new TargetServerSummary(summary, pair.Value, TargetConnection); summary = new TransferNetworkSummary(summary, m_pageTransferNetwork.NetworkUuid.Value); summary = new StorageSummary(summary, pair.Value, xenConnection); summary = new NetworkSummary(summary, pair.Value, xenConnection); diff --git a/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.cs b/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.cs index 31f7b4558..9255ef54e 100644 --- a/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.cs +++ b/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.cs @@ -101,9 +101,10 @@ namespace XenAdmin.Wizards.GenericPages protected void InitializeText() { m_labelIntro.Text = InstructionText; - label1.Text = HomeServerText; - label2.Text = HomeServerSelectionIntroText; + label1.Text = TargetServerText; + label2.Text = TargetServerSelectionIntroText; m_colVmName.HeaderText = VmColumnHeaderText; + m_colTarget.HeaderText = TargetColumnHeaderText; } private IXenObject _chosenItem; @@ -123,9 +124,9 @@ namespace XenAdmin.Wizards.GenericPages protected abstract string InstructionText { get; } /// - /// Text demarking what the label fot the home server drop down should be + /// Text demarking what the label for the target server drop down should be /// - protected abstract string HomeServerText { get; } + protected abstract string TargetServerText { get; } protected virtual string VmColumnHeaderText { @@ -135,10 +136,19 @@ namespace XenAdmin.Wizards.GenericPages } } + protected virtual string TargetColumnHeaderText + { + get + { + return m_colTarget.HeaderText; + } + } + + /// /// Text above the table containing a list of VMs and concomitant home server /// - protected abstract string HomeServerSelectionIntroText { get; } + protected abstract string TargetServerSelectionIntroText { get; } protected virtual void OnChosenItemChanged() {} @@ -553,7 +563,7 @@ namespace XenAdmin.Wizards.GenericPages { Cursor.Current = Cursors.WaitCursor; ChosenItem = item == null ? null : item.Item; - Program.Invoke(Program.MainWindow, ()=> PopulateDataGridView(CreateHomeServerFilterList(item))); + Program.Invoke(Program.MainWindow, ()=> PopulateDataGridView(CreateTargetServerFilterList(item))); } finally { @@ -569,7 +579,7 @@ namespace XenAdmin.Wizards.GenericPages /// /// selected item from the host combobox /// - protected virtual List CreateHomeServerFilterList(IEnableableXenObjectComboBoxItem item) + protected virtual List CreateTargetServerFilterList(IEnableableXenObjectComboBoxItem item) { return new List(); } diff --git a/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.resx b/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.resx index 32172821c..ce852f56e 100644 --- a/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.resx +++ b/XenAdmin/Wizards/GenericPages/SelectMultipleVMDestinationPage.resx @@ -112,26 +112,26 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 1 True - + Fill NoControl - + 3, 0 @@ -285,18 +285,18 @@ 2 - + True - + VM 48 - + True - + Home Server @@ -447,9 +447,9 @@ <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="m_labelIntro" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="label2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="m_dataGridView" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanelWarning" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,100" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0,Absolute,20" /></TableLayoutSettings> - + True - + 96, 96 diff --git a/XenAdmin/Wizards/GenericPages/VMMappingSummary.cs b/XenAdmin/Wizards/GenericPages/VMMappingSummary.cs index e1b032d8a..f7abf257f 100644 --- a/XenAdmin/Wizards/GenericPages/VMMappingSummary.cs +++ b/XenAdmin/Wizards/GenericPages/VMMappingSummary.cs @@ -168,12 +168,12 @@ namespace XenAdmin.Wizards.GenericPages } } - public class HomeServerSummary : MappingSummaryDecorator + public class TargetServerSummary : MappingSummaryDecorator { private readonly VmMapping mapping; private readonly IXenConnection connection; - public HomeServerSummary(MappingSummary summary, VmMapping mapping, IXenConnection connection) + public TargetServerSummary(MappingSummary summary, VmMapping mapping, IXenConnection connection) : base(summary) { this.mapping = mapping; @@ -185,7 +185,7 @@ namespace XenAdmin.Wizards.GenericPages get { List decoratedSummary = summary.Details; - decoratedSummary.Add(new SummaryDetails(Messages.CPM_SUMMARY_KEY_HOME_SERVER, ResolveLabel())); + decoratedSummary.Add(new SummaryDetails(Messages.CPM_SUMMARY_KEY_TARGET_SERVER, ResolveLabel())); return decoratedSummary; } } diff --git a/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs b/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs index f128bff2d..81a61d0b5 100644 --- a/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs +++ b/XenAdmin/Wizards/ImportWizard/ImportSelectHostPage.cs @@ -84,9 +84,9 @@ namespace XenAdmin.Wizards.ImportWizard protected override string InstructionText { get { return Messages.IMPORT_WIZARD_DESTINATION_INSTRUCTIONS; } } - protected override string HomeServerText { get { return Messages.IMPORT_WIZARD_DESTINATION_DESTINATION; } } + protected override string TargetServerText { get { return Messages.IMPORT_WIZARD_DESTINATION_DESTINATION; } } - protected override string HomeServerSelectionIntroText { get { return Messages.IMPORT_WIZARD_DESTINATION_TABLE_INTRO; } } + protected override string TargetServerSelectionIntroText { get { return Messages.IMPORT_WIZARD_DESTINATION_TABLE_INTRO; } } protected override void OnChosenItemChanged() { diff --git a/XenAdmin/XenAdmin.csproj b/XenAdmin/XenAdmin.csproj index a3d3273b3..2dec906d8 100644 --- a/XenAdmin/XenAdmin.csproj +++ b/XenAdmin/XenAdmin.csproj @@ -6755,4 +6755,4 @@ copy "$(ProjectDir)\..\putty\putty.exe" "$(TargetDir)" - + \ No newline at end of file diff --git a/XenModel/Messages.Designer.cs b/XenModel/Messages.Designer.cs index a10815199..e16add6cf 100755 --- a/XenModel/Messages.Designer.cs +++ b/XenModel/Messages.Designer.cs @@ -8571,15 +8571,6 @@ namespace XenAdmin { } } - /// - /// Looks up a localized string similar to Home Server:. - /// - public static string CPM_SUMMARY_KEY_HOME_SERVER { - get { - return ResourceManager.GetString("CPM_SUMMARY_KEY_HOME_SERVER", resourceCulture); - } - } - /// /// Looks up a localized string similar to Template:. /// @@ -8616,6 +8607,15 @@ namespace XenAdmin { } } + /// + /// Looks up a localized string similar to Target Server:. + /// + public static string CPM_SUMMARY_KEY_TARGET_SERVER { + get { + return ResourceManager.GetString("CPM_SUMMARY_KEY_TARGET_SERVER", resourceCulture); + } + } + /// /// Looks up a localized string similar to Migration Network:. /// @@ -8743,7 +8743,7 @@ namespace XenAdmin { } /// - /// Looks up a localized string similar to Specify a &home server in the destination pool (optional):. + /// Looks up a localized string similar to Specify a &target server in the destination pool (optional):. /// public static string CPM_WIZARD_DESTINATION_TABLE_INTRO { get { @@ -31263,6 +31263,15 @@ namespace XenAdmin { } } + /// + /// Looks up a localized string similar to Target Server. + /// + public static string TARGET_SERVER { + get { + return ResourceManager.GetString("TARGET_SERVER", resourceCulture); + } + } + /// /// Looks up a localized string similar to Tell me more .... /// diff --git a/XenModel/Messages.ja.resx b/XenModel/Messages.ja.resx index c9e3e44d5..006f0f895 100644 --- a/XenModel/Messages.ja.resx +++ b/XenModel/Messages.ja.resx @@ -59,46 +59,46 @@ : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> - - - + + + - + - - - - + + + + - - + + - - + + - - - - + + + + - + - + @@ -10416,7 +10416,7 @@ VM が再起動したら、[[XenServer product] Tools のインストール] を 権限のより多いユーザー アカウントで再試行してください。 - + いくつかのエラーが発生しました。詳しくは、[XenCenter] のログを参照してください。 @@ -11036,7 +11036,7 @@ VM が再起動したら、[[XenServer product] Tools のインストール] を OVF または OVA パッケージからアプライアンスをインポートします。 - + ローカルに格納された VM、テンプレート、またはスナップショットを新規 VM としてインポートします。 @@ -12235,7 +12235,7 @@ To learn more about the [XenServer] Active Directory feature or to start a [XenS 詳細 - + 最大 @@ -12948,4 +12948,10 @@ To learn more about the [XenServer] Active Directory feature or to start a [XenS 現在の位置 - + + Target Server + + + Target Server: + + \ No newline at end of file diff --git a/XenModel/Messages.resx b/XenModel/Messages.resx index e5a016820..61003a7e0 100755 --- a/XenModel/Messages.resx +++ b/XenModel/Messages.resx @@ -3110,9 +3110,6 @@ You can only connect to a single [Citrix] [XenServer product] Express Edition se Destination: - - Home Server: - Template: @@ -3125,6 +3122,9 @@ You can only connect to a single [Citrix] [XenServer product] Express Edition se Storage: + + Target Server: + Migration Network: @@ -3165,7 +3165,7 @@ You can only connect to a single [Citrix] [XenServer product] Express Edition se Select the pool or standalone server where you want to migrate the selected VM to. - Specify a &home server in the destination pool (optional): + Specify a &target server in the destination pool (optional): Destination Pool @@ -10861,6 +10861,9 @@ Refer to the "[XenServer product] Administrator's Guide" for instructions on how Target + + Target Server + Tell me more ... diff --git a/XenModel/Messages.zh-CN.resx b/XenModel/Messages.zh-CN.resx index 61a199692..00f4bef40 100644 --- a/XenModel/Messages.zh-CN.resx +++ b/XenModel/Messages.zh-CN.resx @@ -59,46 +59,46 @@ : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> - - - + + + - + - - - - + + + + - - + + - - + + - - - - + + + + - + - + @@ -10415,7 +10415,7 @@ VM 克隆使用文件管理器的快照和克隆功能来实现高性能,并 使用权限更大的用户帐户重试。 - + 遇到一些错误。有关详细信息,请参阅 [XenCenter] 日志。 @@ -11035,7 +11035,7 @@ VM 克隆使用文件管理器的快照和克隆功能来实现高性能,并 从 OVF 或 OVA 包导入设备。 - + 将本地存储的 VM、模板或快照作为新 VM 导入。 @@ -12234,7 +12234,7 @@ VM 克隆使用文件管理器的快照和克隆功能来实现高性能,并 高级 - + 最大值 @@ -12947,4 +12947,10 @@ VM 克隆使用文件管理器的快照和克隆功能来实现高性能,并 您在此处 - + + Target Server + + + Target Server: + + \ No newline at end of file