Changeset 92535 in vbox
- Timestamp:
- Nov 21, 2021 8:59:41 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148410
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r92372 r92535 414 414 } 415 415 if (details != VMINFO_MACHINEREADABLE) 416 RTPrintf(bwGroups.size() != 0 ? "\n" : Info::tr("<none>\n \n"));416 RTPrintf(bwGroups.size() != 0 ? "\n" : Info::tr("<none>\n")); 417 417 418 418 return rc; … … 2326 2326 if (SUCCEEDED(rc)) 2327 2327 { 2328 if (details != VMINFO_MACHINEREADABLE) 2329 RTPrintf(Info::tr("\nUSB Device Filters:\n\n")); 2330 2331 if (Coll.size() == 0) 2328 if (Coll.size() > 0) 2332 2329 { 2333 2330 if (details != VMINFO_MACHINEREADABLE) 2334 RTPrintf(Info::tr("<none>\n\n")); 2335 } 2336 else 2337 { 2331 RTPrintf(Info::tr("USB Device Filters:\n")); 2338 2332 for (size_t index = 0; index < Coll.size(); ++index) 2339 2333 { … … 2361 2355 } 2362 2356 } 2357 else if (details != VMINFO_MACHINEREADABLE) 2358 RTPrintf("%-28s %s\n", Info::tr("USB Device Filters:"), Info::tr("<none>")); 2363 2359 } 2364 2360 … … 2501 2497 */ 2502 2498 if (details != VMINFO_MACHINEREADABLE) 2503 RTPrintf( Info::tr("Bandwidth groups:"));2499 RTPrintf("%-28s ", Info::tr("Bandwidth groups:")); 2504 2500 { 2505 2501 ComPtr<IBandwidthControl> bwCtrl; … … 2514 2510 */ 2515 2511 if (details != VMINFO_MACHINEREADABLE) 2516 RTPrintf( Info::tr("Shared folders:"));2512 RTPrintf("%-28s ", Info::tr("Shared folders:")); 2517 2513 uint32_t numSharedFolders = 0; 2518 2514 #if 0 // not yet implemented … … 2552 2548 } 2553 2549 } 2554 if (!numSharedFolders && details != VMINFO_MACHINEREADABLE)2555 RTPrintf(Info::tr("<none>\n"));2556 2550 if (details != VMINFO_MACHINEREADABLE) 2557 RTPrintf("\n"); 2551 { 2552 if (!numSharedFolders) 2553 RTPrintf(Info::tr("<none>\n")); 2554 else 2555 RTPrintf("\n"); 2556 } 2558 2557 2559 2558 if (pConsole)
Note:
See TracChangeset
for help on using the changeset viewer.