mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-6083: Improved the subtext for the GPU page on the Properties dialog when no
GPUs are available on the server. # HG changeset patch # User Konstantina Chremmou <Konstantina.Chremmou@citrix.com> # Date 1382711930 -3600 # Fri Oct 25 15:38:50 2013 +0100 # Node ID 20d8cfbaca8448b7aac43cc3640d35f536789c47 # Parent addf480a5eeb1c2bfc1a2756fee55dfa966d1751 Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
569b35e854
commit
713f108a7b
@ -131,9 +131,17 @@ namespace XenAdmin.SettingsPanels
|
||||
public string SubText
|
||||
{
|
||||
get
|
||||
{
|
||||
string txt = Messages.GPU_UNAVAILABLE;
|
||||
|
||||
if (gpusAvailable)
|
||||
{
|
||||
var tuple = comboBoxGpus.SelectedItem as GpuTuple;
|
||||
return tuple == null ? "" : tuple.ToString();
|
||||
if (tuple != null)
|
||||
txt = tuple.ToString();
|
||||
}
|
||||
|
||||
return txt;
|
||||
}
|
||||
}
|
||||
|
||||
|
9
XenModel/Messages.Designer.cs
generated
9
XenModel/Messages.Designer.cs
generated
@ -14037,6 +14037,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Not available.
|
||||
/// </summary>
|
||||
public static string GPU_UNAVAILABLE {
|
||||
get {
|
||||
return ResourceManager.GetString("GPU_UNAVAILABLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Loading Data....
|
||||
/// </summary>
|
||||
|
@ -4916,6 +4916,9 @@ Would you like to eject these ISOs before continuing?</value>
|
||||
<data name="GPU_RUBRIC_PLEASE_SELECT_WHICH_GPU_ONE" xml:space="preserve">
|
||||
<value>Select which vGPU types are allowed on this GPU:</value>
|
||||
</data>
|
||||
<data name="GPU_UNAVAILABLE" xml:space="preserve">
|
||||
<value>Not available</value>
|
||||
</data>
|
||||
<data name="GRAPHS" xml:space="preserve">
|
||||
<value>Graphs</value>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user