diff --git a/XenModel/Messages.Designer.cs b/XenModel/Messages.Designer.cs index fd1736111..d93977e49 100755 --- a/XenModel/Messages.Designer.cs +++ b/XenModel/Messages.Designer.cs @@ -33998,9 +33998,18 @@ namespace XenAdmin { /// /// Looks up a localized string similar to {0} virtual GPU ({1} per GPU, {2}, {3} displays). /// - 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); + } + } + + /// + /// Looks up a localized string similar to {0} virtual GPU ({1} per GPU, {2}, {3} display). + /// + public static string VGPU_DESCRIPTION_ONE { + get { + return ResourceManager.GetString("VGPU_DESCRIPTION_ONE", resourceCulture); } } diff --git a/XenModel/Messages.resx b/XenModel/Messages.resx index bf850aa31..062aaca73 100755 --- a/XenModel/Messages.resx +++ b/XenModel/Messages.resx @@ -11799,9 +11799,12 @@ To learn more about the [XenServer] Dynamic Workload Balancing feature or to sta [XenCenter] version {0} (build {1}.{2}) {3}-bit - + {0} virtual GPU ({1} per GPU, {2}, {3} displays) + + {0} virtual GPU ({1} per GPU, {2}, {3} display) + Pass-through whole GPU diff --git a/XenModel/XenAPI-Extensions/VGPU_type.cs b/XenModel/XenAPI-Extensions/VGPU_type.cs index bfe13a370..8d3edeb56 100644 --- a/XenModel/XenAPI-Extensions/VGPU_type.cs +++ b/XenModel/XenAPI-Extensions/VGPU_type.cs @@ -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); } }