- Timestamp:
- May 27, 2015 2:24:28 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r56086 r56102 526 526 { 527 527 setName(QApplication::translate("UIActionPool", "&Minimize")); 528 setStatusTip(QApplication::translate("UIActionPool", "Minimize active machine-window"));528 setStatusTip(QApplication::translate("UIActionPool", "Minimize active window")); 529 529 } 530 530 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r56098 r56102 530 530 { 531 531 setName(QApplication::translate("UIActionPool", "&Minimize Window")); 532 setStatusTip(QApplication::translate("UIActionPool", "Minimize currentlyactive window"));532 setStatusTip(QApplication::translate("UIActionPool", "Minimize active window")); 533 533 } 534 534 }; … … 603 603 { 604 604 setName(QApplication::translate("UIActionPool", "Auto-resize &Guest Display")); 605 setStatusTip(QApplication::translate("UIActionPool", "Automatically resize the guest display when the window is resized (requires Guest Additions)"));605 setStatusTip(QApplication::translate("UIActionPool", "Automatically resize the guest display when the window is resized")); 606 606 } 607 607 }; … … 1382 1382 void retranslateUi() 1383 1383 { 1384 setName(QApplication::translate("UIActionPool", " Network"));1384 setName(QApplication::translate("UIActionPool", "&Network")); 1385 1385 } 1386 1386 }; … … 2447 2447 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2448 2448 ":/virtual_screen_disabled_16px.png"), 2449 QApplication::translate("UIMultiScreenLayout", 2450 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2449 QApplication::translate("UIMultiScreenLayout", "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2451 2450 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); 2452 2451 connect(pSubMenu, SIGNAL(aboutToShow()), this, SLOT(sltPrepareMenuViewScreen())); … … 2463 2462 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2464 2463 ":/virtual_screen_disabled_16px.png"), 2465 QApplication::translate("UIMultiScreenLayout", 2466 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2464 QApplication::translate("UIMultiScreenLayout", "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2467 2465 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); 2468 2466 connect(pSubMenu, SIGNAL(aboutToShow()), this, SLOT(sltPrepareMenuViewMultiscreen())); … … 2511 2509 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2512 2510 ":/virtual_screen_disabled_16px.png"), 2513 QApplication::translate("UIMultiScreenLayout", 2514 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2511 QApplication::translate("UIMultiScreenLayout", "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2515 2512 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); 2516 2513 connect(pSubMenu, SIGNAL(aboutToShow()), this, SLOT(sltPrepareMenuViewScreen())); … … 2616 2613 { 2617 2614 /* Create exclusive 'scale-factor' action: */ 2618 QAction *pAction = pActionGroup->addAction( tr("%1%", "scale-factor")2619 .arg(dScaleFactor * 100));2615 QAction *pAction = pActionGroup->addAction(QApplication::translate("UIActionPool", "%1%", "scale-factor") 2616 .arg(dScaleFactor * 100)); 2620 2617 AssertPtrReturnVoid(pAction); 2621 2618 { … … 2667 2664 { 2668 2665 /* Create 'toggle' action: */ 2669 QAction *pToggleAction = pMenu->addAction( UIActionPoolRuntime::tr("Enable", "Virtual Screen"),2666 QAction *pToggleAction = pMenu->addAction(QApplication::translate("UIActionPool", "Enable", "Virtual Screen"), 2670 2667 this, SLOT(sltHandleActionTriggerViewScreenToggle())); 2671 2668 AssertPtrReturnVoid(pToggleAction); … … 2691 2688 { 2692 2689 /* Create exclusive 'resize' action: */ 2693 QAction *pAction = pActionGroup->addAction( UIActionPoolRuntime::tr("Resize to %1x%2", "Virtual Screen")2690 QAction *pAction = pActionGroup->addAction(QApplication::translate("UIActionPool", "Resize to %1x%2", "Virtual Screen") 2694 2691 .arg(size.width()).arg(size.height())); 2695 2692 AssertPtrReturnVoid(pAction);
Note:
See TracChangeset
for help on using the changeset viewer.