mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-207901: Fixed grammar in the vGPU description (error manifested itself on the Assign vGPU page in the NewVM wizard).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
6078612916
commit
dae95e1065
13
XenModel/Messages.Designer.cs
generated
13
XenModel/Messages.Designer.cs
generated
@ -33998,9 +33998,18 @@ namespace XenAdmin {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} virtual GPU ({1} per GPU, {2}, {3} displays).
|
||||
/// </summary>
|
||||
public static string VGPU_DESCRIPTION {
|
||||
public static string VGPU_DESCRIPTION_MANY {
|
||||
get {
|
||||
return ResourceManager.GetString("VGPU_DESCRIPTION", resourceCulture);
|
||||
return ResourceManager.GetString("VGPU_DESCRIPTION_MANY", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} virtual GPU ({1} per GPU, {2}, {3} display).
|
||||
/// </summary>
|
||||
public static string VGPU_DESCRIPTION_ONE {
|
||||
get {
|
||||
return ResourceManager.GetString("VGPU_DESCRIPTION_ONE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11799,9 +11799,12 @@ To learn more about the [XenServer] Dynamic Workload Balancing feature or to sta
|
||||
<data name="VERSION_NUMBER" xml:space="preserve">
|
||||
<value>[XenCenter] version {0} (build {1}.{2}) {3}-bit</value>
|
||||
</data>
|
||||
<data name="VGPU_DESCRIPTION" xml:space="preserve">
|
||||
<data name="VGPU_DESCRIPTION_MANY" xml:space="preserve">
|
||||
<value>{0} virtual GPU ({1} per GPU, {2}, {3} displays)</value>
|
||||
</data>
|
||||
<data name="VGPU_DESCRIPTION_ONE" xml:space="preserve">
|
||||
<value>{0} virtual GPU ({1} per GPU, {2}, {3} display)</value>
|
||||
</data>
|
||||
<data name="VGPU_PASSTHRU_TOSTRING" xml:space="preserve">
|
||||
<value>Pass-through whole GPU</value>
|
||||
</data>
|
||||
|
@ -55,7 +55,8 @@ namespace XenAPI
|
||||
if (IsPassthrough)
|
||||
return Messages.VGPU_PASSTHRU_TOSTRING;
|
||||
|
||||
return string.Format(Messages.VGPU_DESCRIPTION, model_name, Capacity, MaxResolution, max_heads);
|
||||
return string.Format(max_heads == 1 ? Messages.VGPU_DESCRIPTION_ONE : Messages.VGPU_DESCRIPTION_MANY,
|
||||
model_name, Capacity, MaxResolution, max_heads);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user