Changeset 8698 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 8, 2008 10:20:46 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30636
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMInformationDlg.ui.h
r8673 r8698 483 483 QString addInfo = console.GetGuest().GetAdditionsVersion(); 484 484 uint addVersion = addInfo.toUInt(); 485 QString addVerisonStr = !addInfo.isNull() ? QString ("%1.%2") 486 .arg (RT_HIWORD (addVersion)).arg (RT_LOWORD (addVersion)) : 487 tr ("Not detected", "information dialog (guest additions version)"); 485 QString addVerisonStr = !addInfo.isNull() ? 486 tr ("Version %1.%2", "guest additions") 487 .arg (RT_HIWORD (addVersion)).arg (RT_LOWORD (addVersion)) : 488 tr ("Not Detected", "guest additions"); 488 489 489 490 result += hdrRow.arg ("state_running_16px.png").arg (tr ("Runtime Attributes")); 490 491 result += bdyRow.arg (tr ("Screen Resolution")).arg (resolution) + 491 492 bdyRow.arg (VBoxGlobal::tr ("VT-x/AMD-V", "details report")).arg (virt); 492 result += bdyRow.arg (tr (" Additions Version")).arg (addVerisonStr);493 result += bdyRow.arg (tr ("Guest Additions")).arg (addVerisonStr); 493 494 result += paragraph; 494 495 } … … 520 521 521 522 /* Network Adapters Statistics. */ 522 result += hdrRow.arg ("nw_16px.png") 523 .arg (tr ("Network Adapter Statistics")); 524 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 525 "details report (network)").arg (1), 0, 16, 17); 526 result += interline; 527 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 528 "details report (network)").arg (2), 1, 18, 19); 529 result += interline; 530 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 531 "details report (network)").arg (3), 2, 20, 21); 532 result += interline; 533 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 534 "details report (network)").arg (4), 3, 22, 23); 523 { 524 result += hdrRow.arg ("nw_16px.png") 525 .arg (tr ("Network Adapter Statistics")); 526 ulong count = vboxGlobal().virtualBox() 527 .GetSystemProperties().GetNetworkAdapterCount(); 528 for (ulong slot = 0; slot < count; ++ slot) 529 { 530 result += formatAdapter ( 531 VBoxGlobal::tr ("Adapter %1", "details report (network)") 532 .arg (slot), slot, 16 + slot * 2, 17 + slot * 2); 533 if (slot < count - 1) 534 result += interline; 535 } 536 } 535 537 536 538 /* Show full composed page. */ … … 557 559 } 558 560 else 559 result += composeArticle (tr ("Not attached", "information dialog (hard disk)"), -1, -1);561 result += composeArticle (tr ("Not Attached", "hard disk"), -1, -1); 560 562 return result; 561 563 } … … 576 578 result += na.GetEnabled() ? 577 579 composeArticle ("B", aStart, aFinish) : 578 composeArticle (tr ("Disabled", " information dialog (network adapter)"), -1, -1);580 composeArticle (tr ("Disabled", "network adapter"), -1, -1); 579 581 return result; 580 582 }
Note:
See TracChangeset
for help on using the changeset viewer.