Changeset 816 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 9, 2007 5:07:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r809 r816 760 760 .arg (toString (hda.GetController())) 761 761 .arg (toString (hda.GetController(), hda.GetDeviceNumber()))) 762 .arg (QString ("%1 <br>[%2]")762 .arg (QString ("%1 [<nobr>%2</nobr>]") 763 763 .arg (prepareFileNameForHTML (src)) 764 764 .arg (details (hd, isNewVM /* predict */))); … … 936 936 if (adapter.GetEnabled()) 937 937 { 938 CEnums::NetworkAttachmentType type = adapter.GetAttachmentType(); 939 QString attType = vboxGlobal().toString (type); 940 if (type == CEnums::HostInterfaceNetworkAttachment) 941 attType += " \"" + adapter.GetHostInterface() + "\""; 942 if (type == CEnums::InternalNetworkAttachment) 943 attType += " \"" + adapter.GetInternalNetwork() + "\""; 944 938 945 item += QString (sSectionItemTpl) 939 .arg (tr ("Adapter (Slot %1)", "details report (network)")946 .arg (tr ("Adapter %1", "details report (network)") 940 947 .arg (adapter.GetSlot())) 941 .arg ( vboxGlobal().toString (adapter.GetAttachmentType()));948 .arg (attType); 942 949 ++ rows; 943 950 } … … 987 994 "#usb", /* link */ 988 995 tr ("USB Controller", "details report"), /* title */ 996 item); /* items */ 997 } 998 } 999 /* VRDP */ 1000 { 1001 CVRDPServer srv = m.GetVRDPServer(); 1002 if (!srv.isNull()) 1003 { 1004 /* the VRDP server may be unavailable (i.e. in VirtualBox OSE) */ 1005 1006 if (srv.GetEnabled()) 1007 { 1008 item = QString (sSectionItemTpl) 1009 .arg (tr ("VRDP Server Port", "details report (VRDP)"), 1010 tr ("%1", "details report (VRDP)") 1011 .arg (srv.GetPort())); 1012 } 1013 else 1014 item = QString (sSectionItemTpl) 1015 .arg (tr ("Disabled", "details report (VRDP)"), ""); 1016 1017 detailsReport += sectionTpl 1018 .arg (2 + 1) /* rows */ 1019 .arg ("vrdp_16px.png", /* icon */ 1020 "#vrdp", /* link */ 1021 tr ("Remote Display", "details report"), /* title */ 989 1022 item); /* items */ 990 1023 } … … 1262 1295 1263 1296 diskControllerTypes [CEnums::IDE0Controller] = 1264 tr (" IDE 0", "DiskControllerType");1297 tr ("Primary", "DiskControllerType"); 1265 1298 diskControllerTypes [CEnums::IDE1Controller] = 1266 tr (" IDE 1", "DiskControllerType");1299 tr ("Secondary", "DiskControllerType"); 1267 1300 1268 1301 diskTypes [CEnums::NormalHardDisk] =
Note:
See TracChangeset
for help on using the changeset viewer.