mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
Fixed typos.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
4623d65a4d
commit
d2a3a17369
@ -169,8 +169,8 @@ namespace XenAdmin.Commands
|
||||
if (actionsToComplete.Count == 1)
|
||||
actionsToComplete[0].RunAsync();
|
||||
else
|
||||
RunMultipleActions(actionsToComplete, Messages.ACTION_DETATCHING_MULTIPLE_VDIS_TITLE,
|
||||
Messages.ACTION_DETATCHING_MULTIPLE_VDIS_STATUS, Messages.COMPLETED, true);
|
||||
RunMultipleActions(actionsToComplete, Messages.ACTION_DETACHING_MULTIPLE_VDIS_TITLE,
|
||||
Messages.ACTION_DETACHING_MULTIPLE_VDIS_STATUS, Messages.COMPLETED, true);
|
||||
}
|
||||
|
||||
private List<AsyncAction> getDetachVDIAction(VDI vdi)
|
||||
@ -194,9 +194,9 @@ namespace XenAdmin.Commands
|
||||
return true;
|
||||
|
||||
MultipleWarningDialog warningDialog = new MultipleWarningDialog(
|
||||
Messages.MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE,
|
||||
Messages.MULTI_VDI_DETATCH_WARNING,
|
||||
Messages.DETATCH_ALL_BUTTON_LABEL);
|
||||
Messages.MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE,
|
||||
Messages.MULTI_VDI_DETACH_WARNING,
|
||||
Messages.DETACH_ALL_BUTTON_LABEL);
|
||||
|
||||
SelectedItemCollection selectedItems = GetSelection();
|
||||
List<VDI> sysDisks = new List<VDI>();
|
||||
|
@ -345,7 +345,7 @@ namespace XenAdmin.TabPages
|
||||
}
|
||||
else
|
||||
{
|
||||
// this is the default cause in the mixed attached/detatched scenario. We try to activate all the selection
|
||||
// this is the default cause in the mixed attached/detached scenario. We try to activate all the selection
|
||||
// The command error reports afterwards about the ones which are already attached
|
||||
DeactivateButton.Text = Messages.ACTIVATE;
|
||||
activationCmd = new ActivateVBDCommand(Program.MainWindow, selectedVBDs);
|
||||
|
@ -74,7 +74,7 @@ namespace XenAdmin.Actions
|
||||
|
||||
protected override void Run()
|
||||
{
|
||||
log.DebugFormat("Detatching VDI '{0}'", Helpers.GetName(vdi));
|
||||
log.DebugFormat("Detaching VDI '{0}'", Helpers.GetName(vdi));
|
||||
Description = Messages.ACTION_DISK_DETACHING;
|
||||
try
|
||||
{
|
||||
@ -96,7 +96,7 @@ namespace XenAdmin.Actions
|
||||
PollToCompletion(51, 100);
|
||||
}
|
||||
Description = Messages.ACTION_DISK_DETACHED;
|
||||
log.DebugFormat("Detatched VDI '{0}'", Helpers.GetName(vdi));
|
||||
log.DebugFormat("Detached VDI '{0}'", Helpers.GetName(vdi));
|
||||
}
|
||||
|
||||
protected override void Clean()
|
||||
|
52
XenModel/Messages.Designer.cs
generated
52
XenModel/Messages.Designer.cs
generated
@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.34209
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@ -484,20 +484,20 @@ namespace XenAdmin {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Detatching storage items....
|
||||
/// Looks up a localized string similar to Detaching storage items....
|
||||
/// </summary>
|
||||
public static string ACTION_DETATCHING_MULTIPLE_VDIS_STATUS {
|
||||
public static string ACTION_DETACHING_MULTIPLE_VDIS_STATUS {
|
||||
get {
|
||||
return ResourceManager.GetString("ACTION_DETATCHING_MULTIPLE_VDIS_STATUS", resourceCulture);
|
||||
return ResourceManager.GetString("ACTION_DETACHING_MULTIPLE_VDIS_STATUS", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Detaching Multiple Storage Items.
|
||||
/// </summary>
|
||||
public static string ACTION_DETATCHING_MULTIPLE_VDIS_TITLE {
|
||||
public static string ACTION_DETACHING_MULTIPLE_VDIS_TITLE {
|
||||
get {
|
||||
return ResourceManager.GetString("ACTION_DETATCHING_MULTIPLE_VDIS_TITLE", resourceCulture);
|
||||
return ResourceManager.GetString("ACTION_DETACHING_MULTIPLE_VDIS_TITLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -6442,7 +6442,7 @@ namespace XenAdmin {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You must detatch this virtual disk before it can be moved..
|
||||
/// Looks up a localized string similar to You must detach this virtual disk before it can be moved..
|
||||
/// </summary>
|
||||
public static string CANNOT_MOVE_VDI_WITH_VBDS {
|
||||
get {
|
||||
@ -10681,6 +10681,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to &Detach all.
|
||||
/// </summary>
|
||||
public static string DETACH_ALL_BUTTON_LABEL {
|
||||
get {
|
||||
return ResourceManager.GetString("DETACH_ALL_BUTTON_LABEL", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to &Detach.
|
||||
/// </summary>
|
||||
@ -10726,15 +10735,6 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to &Detatch all.
|
||||
/// </summary>
|
||||
public static string DETATCH_ALL_BUTTON_LABEL {
|
||||
get {
|
||||
return ResourceManager.GetString("DETATCH_ALL_BUTTON_LABEL", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Device.
|
||||
/// </summary>
|
||||
@ -13350,20 +13350,20 @@ namespace XenAdmin {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to The following virtual disks could not be detatched:.
|
||||
/// Looks up a localized string similar to The following virtual disks could not be detached:.
|
||||
/// </summary>
|
||||
public static string ERROR_DETATCHING_VDIS_MESSAGE {
|
||||
public static string ERROR_DETACHING_VDIS_MESSAGE {
|
||||
get {
|
||||
return ResourceManager.GetString("ERROR_DETATCHING_VDIS_MESSAGE", resourceCulture);
|
||||
return ResourceManager.GetString("ERROR_DETACHING_VDIS_MESSAGE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Error Detatching Virtual Disks.
|
||||
/// Looks up a localized string similar to Error Detaching Virtual Disks.
|
||||
/// </summary>
|
||||
public static string ERROR_DETATCHING_VDIS_TITLE {
|
||||
public static string ERROR_DETACHING_VDIS_TITLE {
|
||||
get {
|
||||
return ResourceManager.GetString("ERROR_DETATCHING_VDIS_TITLE", resourceCulture);
|
||||
return ResourceManager.GetString("ERROR_DETACHING_VDIS_TITLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21422,9 +21422,9 @@ namespace XenAdmin {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Detach Multiple Virtual Disks.
|
||||
/// </summary>
|
||||
public static string MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE {
|
||||
public static string MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE {
|
||||
get {
|
||||
return ResourceManager.GetString("MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE", resourceCulture);
|
||||
return ResourceManager.GetString("MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21997,9 +21997,9 @@ namespace XenAdmin {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You are about to detach multiple virtual disks, are you sure you wish to proceed?.
|
||||
/// </summary>
|
||||
public static string MULTI_VDI_DETATCH_WARNING {
|
||||
public static string MULTI_VDI_DETACH_WARNING {
|
||||
get {
|
||||
return ResourceManager.GetString("MULTI_VDI_DETATCH_WARNING", resourceCulture);
|
||||
return ResourceManager.GetString("MULTI_VDI_DETACH_WARNING", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -258,10 +258,10 @@
|
||||
<data name="ACTION_DESTROY_BOND_TITLE" xml:space="preserve">
|
||||
<value>{0} の破棄</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<value>ストレージの接続を解除しています...</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<value>複数ストレージの接続解除</value>
|
||||
</data>
|
||||
<data name="ACTION_DISABLE_VM_ENLIGHTENMENT_DESCRIPTION" xml:space="preserve">
|
||||
@ -3799,7 +3799,7 @@ VM 移行処理のパフォーマンスや信頼性を向上させるため、
|
||||
<data name="DETAILS" xml:space="preserve">
|
||||
<value>詳細</value>
|
||||
</data>
|
||||
<data name="DETATCH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<data name="DETACH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<value>すべて接続解除(&D)</value>
|
||||
</data>
|
||||
<data name="DEVICE_NAME" xml:space="preserve">
|
||||
@ -4679,10 +4679,10 @@ CD をイジェクトしてから再試行してください。</value>
|
||||
<data name="ERROR_DESTROYING_STORAGE_ITEMS_TITLE" xml:space="preserve">
|
||||
<value>ストレージの破棄エラー</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<data name="ERROR_DETACHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<value>以下の仮想ディスクを接続解除できません。</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_TITLE" xml:space="preserve">
|
||||
<data name="ERROR_DETACHING_VDIS_TITLE" xml:space="preserve">
|
||||
<value>仮想ディスクの接続解除エラー</value>
|
||||
</data>
|
||||
<data name="ERROR_DIALOG_ADD_TO_POOL_TEXT" xml:space="preserve">
|
||||
@ -7384,7 +7384,7 @@ SCSI ID: {2}
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE" xml:space="preserve">
|
||||
<value>仮想ディスクの接続解除</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<value>複数仮想ディスクの接続解除</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_ERRORTEXT" xml:space="preserve">
|
||||
@ -7611,7 +7611,7 @@ SCSI ID: {2}
|
||||
<data name="MULTI_VDI_DELETE_WARNING" xml:space="preserve">
|
||||
<value>複数の仮想ディスクが削除されます。続行しますか?</value>
|
||||
</data>
|
||||
<data name="MULTI_VDI_DETATCH_WARNING" xml:space="preserve">
|
||||
<data name="MULTI_VDI_DETACH_WARNING" xml:space="preserve">
|
||||
<value>複数の仮想ディスクが接続解除されます。続行しますか?</value>
|
||||
</data>
|
||||
<data name="MUST_SELECT_NETWORK" xml:space="preserve">
|
||||
|
@ -258,10 +258,10 @@
|
||||
<data name="ACTION_DESTROY_BOND_TITLE" xml:space="preserve">
|
||||
<value>Destroying {0}</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<value>Detatching storage items...</value>
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<value>Detaching storage items...</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<value>Detaching Multiple Storage Items</value>
|
||||
</data>
|
||||
<data name="ACTION_DISABLE_LIVE_PATCHING" xml:space="preserve">
|
||||
@ -2347,7 +2347,7 @@ Deleting this bond will disrupt traffic through the secondary interface on the b
|
||||
<value>Snapshot disks cannot be moved</value>
|
||||
</data>
|
||||
<data name="CANNOT_MOVE_VDI_WITH_VBDS" xml:space="preserve">
|
||||
<value>You must detatch this virtual disk before it can be moved.</value>
|
||||
<value>You must detach this virtual disk before it can be moved.</value>
|
||||
</data>
|
||||
<data name="CANNOT_PARSE_NODE_PARAM" xml:space="preserve">
|
||||
<value>Cannot parse required parameter '{1}' on XML node '{0}'</value>
|
||||
@ -3831,15 +3831,15 @@ This will also delete its subfolders.</value>
|
||||
<data name="DETACHED_ISCI_DETECTED" xml:space="preserve">
|
||||
<value>[XenCenter] has detected that an SR already exists on this LUN. This SR is not currently in use by '{0}', would you like to attach it?</value>
|
||||
</data>
|
||||
<data name="DETACH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<value>&Detach all</value>
|
||||
</data>
|
||||
<data name="DETACH_SR" xml:space="preserve">
|
||||
<value>&Detach</value>
|
||||
</data>
|
||||
<data name="DETAILS" xml:space="preserve">
|
||||
<value>Details</value>
|
||||
</data>
|
||||
<data name="DETATCH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<value>&Detatch all</value>
|
||||
</data>
|
||||
<data name="DEVICE_NAME" xml:space="preserve">
|
||||
<value>Device</value>
|
||||
</data>
|
||||
@ -4717,11 +4717,11 @@ Would you like to eject these ISOs before continuing?</value>
|
||||
<data name="ERROR_DESTROYING_STORAGE_ITEMS_TITLE" xml:space="preserve">
|
||||
<value>Error Destroying Storage Items</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<value>The following virtual disks could not be detatched:</value>
|
||||
<data name="ERROR_DETACHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<value>The following virtual disks could not be detached:</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_TITLE" xml:space="preserve">
|
||||
<value>Error Detatching Virtual Disks</value>
|
||||
<data name="ERROR_DETACHING_VDIS_TITLE" xml:space="preserve">
|
||||
<value>Error Detaching Virtual Disks</value>
|
||||
</data>
|
||||
<data name="ERROR_DIALOG_ADD_TO_POOL_TEXT" xml:space="preserve">
|
||||
<value>The following servers could not be added to the pool '{0}':</value>
|
||||
@ -7461,7 +7461,7 @@ Are you sure you want to detach this storage repository?</value>
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE" xml:space="preserve">
|
||||
<value>Detach virtual disk</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<value>Detach Multiple Virtual Disks</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_ERRORTEXT" xml:space="preserve">
|
||||
@ -7688,7 +7688,7 @@ To learn more about the [XenServer] Live VDI Migration feature or to start a [Xe
|
||||
<data name="MULTI_VDI_DELETE_WARNING" xml:space="preserve">
|
||||
<value>You are about to delete multiple virtual disks. Are you sure you wish to proceed?</value>
|
||||
</data>
|
||||
<data name="MULTI_VDI_DETATCH_WARNING" xml:space="preserve">
|
||||
<data name="MULTI_VDI_DETACH_WARNING" xml:space="preserve">
|
||||
<value>You are about to detach multiple virtual disks, are you sure you wish to proceed?</value>
|
||||
</data>
|
||||
<data name="MUST_SELECT_NETWORK" xml:space="preserve">
|
||||
|
@ -258,10 +258,10 @@
|
||||
<data name="ACTION_DESTROY_BOND_TITLE" xml:space="preserve">
|
||||
<value>正在销毁 {0}</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_STATUS" xml:space="preserve">
|
||||
<value>正在分离存储项...</value>
|
||||
</data>
|
||||
<data name="ACTION_DETATCHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<data name="ACTION_DETACHING_MULTIPLE_VDIS_TITLE" xml:space="preserve">
|
||||
<value>正在分离多个存储项</value>
|
||||
</data>
|
||||
<data name="ACTION_DISABLE_VM_ENLIGHTENMENT_DESCRIPTION" xml:space="preserve">
|
||||
@ -3794,7 +3794,7 @@
|
||||
<data name="DETAILS" xml:space="preserve">
|
||||
<value>详细信息</value>
|
||||
</data>
|
||||
<data name="DETATCH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<data name="DETACH_ALL_BUTTON_LABEL" xml:space="preserve">
|
||||
<value>全部分离(&D)</value>
|
||||
</data>
|
||||
<data name="DEVICE_NAME" xml:space="preserve">
|
||||
@ -4674,10 +4674,10 @@
|
||||
<data name="ERROR_DESTROYING_STORAGE_ITEMS_TITLE" xml:space="preserve">
|
||||
<value>销毁存储项时出错</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<data name="ERROR_DETACHING_VDIS_MESSAGE" xml:space="preserve">
|
||||
<value>无法分离以下虚拟磁盘:</value>
|
||||
</data>
|
||||
<data name="ERROR_DETATCHING_VDIS_TITLE" xml:space="preserve">
|
||||
<data name="ERROR_DETACHING_VDIS_TITLE" xml:space="preserve">
|
||||
<value>分离虚拟磁盘时出错</value>
|
||||
</data>
|
||||
<data name="ERROR_DIALOG_ADD_TO_POOL_TEXT" xml:space="preserve">
|
||||
@ -7379,7 +7379,7 @@ SCSI ID: {2}
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE" xml:space="preserve">
|
||||
<value>分离虚拟磁盘</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_DETATCH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<data name="MESSAGEBOX_DETACH_VD_TITLE_MUTLIPLE" xml:space="preserve">
|
||||
<value>分离多个虚拟磁盘</value>
|
||||
</data>
|
||||
<data name="MESSAGEBOX_ERRORTEXT" xml:space="preserve">
|
||||
@ -7606,7 +7606,7 @@ SCSI ID: {2}
|
||||
<data name="MULTI_VDI_DELETE_WARNING" xml:space="preserve">
|
||||
<value>您将删除多个虚拟磁盘。是否确实要继续?</value>
|
||||
</data>
|
||||
<data name="MULTI_VDI_DETATCH_WARNING" xml:space="preserve">
|
||||
<data name="MULTI_VDI_DETACH_WARNING" xml:space="preserve">
|
||||
<value>您将分离多个虚拟磁盘,是否确实要继续?</value>
|
||||
</data>
|
||||
<data name="MUST_SELECT_NETWORK" xml:space="preserve">
|
||||
|
Loading…
Reference in New Issue
Block a user