mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
[CA-120443] Multiple 'DVD drive 0' entries on one host
This commit is contained in:
parent
5a20317be0
commit
5ef42be767
9
XenModel/Messages.Designer.cs
generated
9
XenModel/Messages.Designer.cs
generated
@ -5790,6 +5790,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to DVD drive on {0}.
|
||||
/// </summary>
|
||||
public static string CD_DRIVE {
|
||||
get {
|
||||
return ResourceManager.GetString("CD_DRIVE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Change....
|
||||
/// </summary>
|
||||
|
@ -2109,6 +2109,9 @@ Deleting this bond will disrupt traffic through the secondary interface on the b
|
||||
|
||||
{1}</value>
|
||||
</data>
|
||||
<data name="CD_DRIVE" xml:space="preserve">
|
||||
<value>DVD drive on {0}</value>
|
||||
</data>
|
||||
<data name="CHANGE" xml:space="preserve">
|
||||
<value>Change...</value>
|
||||
</data>
|
||||
|
@ -53,10 +53,7 @@ namespace XenAPI
|
||||
{
|
||||
Host host = sr.GetStorageHost();
|
||||
if (sr.Physical && host != null)
|
||||
{
|
||||
//TODO: we need to find a way to number the DVDs
|
||||
return string.Format(Messages.ISOCOMBOBOX_CD_DRIVE, 0, host.Name);
|
||||
}
|
||||
return string.Format(Messages.CD_DRIVE, host.Name);
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user