mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CP-6317: Importing from branch clearwater-ln.
# HG changeset patch # User Stephen Turner <stephen.turner@citrix.com> # Date 1378992269 -3600 # Node ID 5b5548029247d300baddfac9f2aac881ed6cc086 # Parent 28eb1719f7f648773bd707c3cb81bb537d8f78d8 CA-114912: Unlocalised strings Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
11fc4cdc22
commit
a879e50df1
@ -48,7 +48,7 @@ namespace XenAdmin.Actions.VMActions
|
||||
private Action<VM, bool> _warningDialogHAInvalidConfig;
|
||||
|
||||
public ResumeAndStartVMsAction(IXenConnection connection, Host host, List<VM> vmsToResume, List<VM> vmsToStart,Action<VM, bool> warningDialogHAInvalidConfig, Action<VMStartAbstractAction, Failure> startDiagnosisForm)
|
||||
: base(connection, "Preparing to resume and start VMs...", true)
|
||||
: base(connection, Messages.ACTION_RESUMEANDSTARTVMS_PREPARING, true)
|
||||
{
|
||||
Host = host;
|
||||
VmsToResume = vmsToResume;
|
||||
@ -74,7 +74,7 @@ namespace XenAdmin.Actions.VMActions
|
||||
|
||||
foreach (VM vm in VmsToResume)
|
||||
{
|
||||
Description = string.Format("Resuming VM {0} of {1}", ActionCountCompleted, VmsToResume.Count);
|
||||
Description = string.Format(Messages.ACTION_RESUMEANDSTARTVMS_RESUMINGN, ActionCountCompleted, VmsToResume.Count);
|
||||
|
||||
AsyncAction action;
|
||||
if (CanVMBootOnHost(vm, Host))
|
||||
@ -89,7 +89,7 @@ namespace XenAdmin.Actions.VMActions
|
||||
|
||||
foreach (VM vm in VmsToStart)
|
||||
{
|
||||
Description = string.Format("Starting VM {0} of {1}", ActionCountCompleted - VmsToResume.Count, VmsToStart.Count);
|
||||
Description = string.Format(Messages.ACTION_RESUMEANDSTARTVMS_STARTINGN, ActionCountCompleted - VmsToResume.Count, VmsToStart.Count);
|
||||
|
||||
AsyncAction action;
|
||||
if (CanVMBootOnHost(vm, Host))
|
||||
|
29
XenModel/Messages.Designer.cs
generated
29
XenModel/Messages.Designer.cs
generated
@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.5466
|
||||
// Runtime Version:2.0.50727.5472
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@ -1266,6 +1266,33 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Preparing to resume and start VMs....
|
||||
/// </summary>
|
||||
public static string ACTION_RESUMEANDSTARTVMS_PREPARING {
|
||||
get {
|
||||
return ResourceManager.GetString("ACTION_RESUMEANDSTARTVMS_PREPARING", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Resuming VM {0} of {1}.
|
||||
/// </summary>
|
||||
public static string ACTION_RESUMEANDSTARTVMS_RESUMINGN {
|
||||
get {
|
||||
return ResourceManager.GetString("ACTION_RESUMEANDSTARTVMS_RESUMINGN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Starting VM {0} of {1}.
|
||||
/// </summary>
|
||||
public static string ACTION_RESUMEANDSTARTVMS_STARTINGN {
|
||||
get {
|
||||
return ResourceManager.GetString("ACTION_RESUMEANDSTARTVMS_STARTINGN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Save alerts.
|
||||
/// </summary>
|
||||
|
@ -519,6 +519,15 @@
|
||||
<data name="ACTION_REMOVE_ALERTS_PROGRESS_DESCRIPTION" xml:space="preserve">
|
||||
<value>Removing alert {0} of {1}...</value>
|
||||
</data>
|
||||
<data name="ACTION_RESUMEANDSTARTVMS_PREPARING" xml:space="preserve">
|
||||
<value>Preparing to resume and start VMs...</value>
|
||||
</data>
|
||||
<data name="ACTION_RESUMEANDSTARTVMS_RESUMINGN" xml:space="preserve">
|
||||
<value>Resuming VM {0} of {1}</value>
|
||||
</data>
|
||||
<data name="ACTION_RESUMEANDSTARTVMS_STARTINGN" xml:space="preserve">
|
||||
<value>Starting VM {0} of {1}</value>
|
||||
</data>
|
||||
<data name="ACTION_SAVE_ALERTS" xml:space="preserve">
|
||||
<value>Save alerts</value>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user