Changeset 8667 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 7, 2008 3:28:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMInformationDlg.ui.h
r8490 r8667 479 479 resolution += QString ("x%1").arg (bpp); 480 480 QString virt = console.GetDebugger().GetHWVirtExEnabled() ? 481 tr ("Enabled") : tr ("Disabled"); 481 VBoxGlobal::tr ("Enabled", "details report (VT-x/AMD-V)") : 482 VBoxGlobal::tr ("Disabled", "details report (VT-x/AMD-V)"); 483 QString addInfo = console.GetGuest().GetAdditionsVersion(); 484 uint addVersion = addInfo.toUInt(); 485 QString addVerisonStr = QString ("%1.%2") 486 .arg (RT_HIWORD (addVersion)).arg (RT_LOWORD (addVersion)); 482 487 483 488 result += hdrRow.arg ("state_running_16px.png").arg (tr ("Runtime Attributes")); 484 489 result += bdyRow.arg (tr ("Screen Resolution")).arg (resolution) + 485 bdyRow.arg (tr ("Hardware Virtualization")).arg (virt); 490 bdyRow.arg (VBoxGlobal::tr ("VT-x/AMD-V", "details report")).arg (virt); 491 result += bdyRow.arg (tr ("Additions Version")).arg (addVerisonStr); 486 492 result += paragraph; 487 493 } … … 513 519 514 520 /* Network Adapters Statistics. */ 515 result += hdrRow.arg ("nw_16px.png").arg (tr ("Network Adapter Statistics")); 516 result += formatAdapter (tr ("Adapter 1"), 0, 16, 17); 521 result += hdrRow.arg ("nw_16px.png") 522 .arg (tr ("Network Adapter Statistics")); 523 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 524 "details report (network)").arg (1), 0, 16, 17); 517 525 result += interline; 518 result += formatAdapter (tr ("Adapter 2"), 1, 18, 19); 526 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 527 "details report (network)").arg (2), 1, 18, 19); 519 528 result += interline; 520 result += formatAdapter (tr ("Adapter 3"), 2, 20, 21); 529 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 530 "details report (network)").arg (3), 2, 20, 21); 521 531 result += interline; 522 result += formatAdapter (tr ("Adapter 4"), 3, 22, 23); 532 result += formatAdapter (VBoxGlobal::tr ("Adapter %1", 533 "details report (network)").arg (4), 3, 22, 23); 523 534 524 535 /* Show full composed page. */ … … 545 556 } 546 557 else 547 result += composeArticle (tr ("Not attached" ), -1, -1);558 result += composeArticle (tr ("Not attached", "information dialog (hard disk)"), -1, -1); 548 559 return result; 549 560 } … … 564 575 result += na.GetEnabled() ? 565 576 composeArticle ("B", aStart, aFinish) : 566 composeArticle (tr ("Disabled" ), -1, -1);577 composeArticle (tr ("Disabled", "information dialog (network adapter)"), -1, -1); 567 578 return result; 568 579 }
Note:
See TracChangeset
for help on using the changeset viewer.