Changeset 56145 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 29, 2015 10:58:12 AM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r56102 r56145 789 789 { 790 790 setName(QApplication::translate("UIActionPool", "&About VirtualBox...")); 791 setStatusTip(QApplication::translate("UIActionPool", " Show awindow with product information"));791 setStatusTip(QApplication::translate("UIActionPool", "Display window with product information")); 792 792 } 793 793 }; … … 832 832 void retranslateUi() 833 833 { 834 setName(QApplication::translate("UIActionPool", "&Preferences...", "global settings"));835 setStatusTip(QApplication::translate("UIActionPool", "Display the global settings window"));834 setName(QApplication::translate("UIActionPool", "&Preferences...", "global preferences window")); 835 setStatusTip(QApplication::translate("UIActionPool", "Display the global preferences window")); 836 836 } 837 837 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r56102 r56145 268 268 void retranslateUi() 269 269 { 270 setName(QApplication::translate("UIActionPool", " Save State"));270 setName(QApplication::translate("UIActionPool", "&Save State")); 271 271 setStatusTip(QApplication::translate("UIActionPool", "Save the state of the virtual machine")); 272 272 } … … 638 638 { 639 639 setName(QApplication::translate("UIActionPool", "Take Screensh&ot...")); 640 setStatusTip(QApplication::translate("UIActionPool", "Take theguest display screenshot"));640 setStatusTip(QApplication::translate("UIActionPool", "Take a guest display screenshot")); 641 641 } 642 642 }; … … 724 724 { 725 725 setName(QApplication::translate("UIActionPool", "&Video Capture")); 726 setStatusTip(QApplication::translate("UIActionPool", " Activate the guest display video capture"));726 setStatusTip(QApplication::translate("UIActionPool", "Enable guest display video capture")); 727 727 } 728 728 }; … … 1030 1030 { 1031 1031 setName(QApplication::translate("UIActionPool", "&Keyboard Settings...")); 1032 setStatusTip(QApplication::translate("UIActionPool", "Display the global settings window to configure keyboard shortcuts"));1032 setStatusTip(QApplication::translate("UIActionPool", "Display the global preferences window to configure keyboard shortcuts")); 1033 1033 } 1034 1034 }; … … 1064 1064 void retranslateUi() 1065 1065 { 1066 setName(QApplication::translate("UIActionPool", "&Insert %1" ).arg("Ctrl-Alt-Del"));1066 setName(QApplication::translate("UIActionPool", "&Insert %1", "that means send the %1 key sequence to the virtual machine").arg("Ctrl-Alt-Del")); 1067 1067 setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Alt-Del")); 1068 1068 } … … 1100 1100 void retranslateUi() 1101 1101 { 1102 setName(QApplication::translate("UIActionPool", "&Insert %1" ).arg("Ctrl-Alt-Backspace"));1102 setName(QApplication::translate("UIActionPool", "&Insert %1", "that means send the %1 key sequence to the virtual machine").arg("Ctrl-Alt-Backspace")); 1103 1103 setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Alt-Backspace")); 1104 1104 } … … 1131 1131 void retranslateUi() 1132 1132 { 1133 setName(QApplication::translate("UIActionPool", "&Insert %1" ).arg("Ctrl-Break"));1133 setName(QApplication::translate("UIActionPool", "&Insert %1", "that means send the %1 key sequence to the virtual machine").arg("Ctrl-Break")); 1134 1134 setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Break")); 1135 1135 } … … 1161 1161 void retranslateUi() 1162 1162 { 1163 setName(QApplication::translate("UIActionPool", "&Insert %1" ).arg("Insert"));1163 setName(QApplication::translate("UIActionPool", "&Insert %1", "that means send the %1 key sequence to the virtual machine").arg("Insert")); 1164 1164 setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Insert")); 1165 1165 } … … 1544 1544 void retranslateUi() 1545 1545 { 1546 setName(QApplication::translate("UIActionPool", " Drag and Drop"));1546 setName(QApplication::translate("UIActionPool", "&Drag and Drop")); 1547 1547 } 1548 1548 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r56126 r56145 832 832 { 833 833 QAction *pAction = actions.at(i); 834 pAction->setText(QApplication::translate("UI MachineLogic", "Preview Monitor %1").arg(pAction->data().toInt() + 1));834 pAction->setText(QApplication::translate("UIActionPool", "Preview Monitor %1").arg(pAction->data().toInt() + 1)); 835 835 } 836 836 } … … 1410 1410 1411 1411 /* Search for the max available filter index: */ 1412 QString strNameTemplate = QApplication::translate("UIMachineLogic","Snapshot %1");1412 QString strNameTemplate = VBoxTakeSnapshotDlg::tr("Snapshot %1"); 1413 1413 int iMaxSnapshotIndex = searchMaxSnapshotIndex(machine(), machine().FindSnapshot(QString()), strNameTemplate); 1414 1414 pDlg->mLeName->setText(strNameTemplate.arg(++ iMaxSnapshotIndex)); … … 2198 2198 { 2199 2199 QAction *pAction = pMenu->addAction(UIIconPool::iconSet(adapterData[iSlot] ? ":/connect_16px.png": ":/disconnect_16px.png"), 2200 adapterData.size() == 1 ? tr("Connect Network Adapter") : tr("Connect Network Adapter %1").arg(iSlot + 1), 2200 adapterData.size() == 1 ? UIActionPool::tr("&Connect Network Adapter") : 2201 UIActionPool::tr("Connect Network Adapter &%1").arg(iSlot + 1), 2201 2202 this, SLOT(sltToggleNetworkAdapterConnection())); 2202 2203 pAction->setProperty("slot", iSlot); … … 2219 2220 QAction *pEmptyMenuAction = pMenu->addAction(UIIconPool::iconSet(":/usb_unavailable_16px.png", 2220 2221 ":/usb_unavailable_disabled_16px.png"), 2221 tr("No USB Devices Connected"));2222 pEmptyMenuAction->setToolTip( tr("No supported devices connected to the host PC"));2222 UIActionPool::tr("No USB Devices Connected")); 2223 pEmptyMenuAction->setToolTip(UIActionPool::tr("No supported devices connected to the host PC")); 2223 2224 pEmptyMenuAction->setEnabled(false); 2224 2225 } … … 2265 2266 QAction *pEmptyMenuAction = pMenu->addAction(UIIconPool::iconSet(":/web_camera_unavailable_16px.png", 2266 2267 ":/web_camera_unavailable_disabled_16px.png"), 2267 tr("No Webcams Connected"));2268 pEmptyMenuAction->setToolTip( tr("No supported webcams connected to the host PC"));2268 UIActionPool::tr("No Webcams Connected")); 2269 pEmptyMenuAction->setToolTip(UIActionPool::tr("No supported webcams connected to the host PC")); 2269 2270 pEmptyMenuAction->setEnabled(false); 2270 2271 } -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp
r56103 r56145 241 241 { 242 242 setName(QApplication::translate("UIActionPool", "&New Machine...")); 243 setStatusTip(QApplication::translate("UIActionPool", "Create anew virtual machine"));243 setStatusTip(QApplication::translate("UIActionPool", "Create new virtual machine")); 244 244 setToolTip(text().remove('&').remove('.') + 245 245 (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString()))); … … 271 271 { 272 272 setName(QApplication::translate("UIActionPool", "&Add Machine...")); 273 setStatusTip(QApplication::translate("UIActionPool", "Add anexisting virtual machine"));273 setStatusTip(QApplication::translate("UIActionPool", "Add existing virtual machine")); 274 274 } 275 275 }; … … 299 299 { 300 300 setName(QApplication::translate("UIActionPool", "Rena&me Group...")); 301 setStatusTip(QApplication::translate("UIActionPool", "Rename theselected virtual machine group"));301 setStatusTip(QApplication::translate("UIActionPool", "Rename selected virtual machine group")); 302 302 } 303 303 }; … … 326 326 void retranslateUi() 327 327 { 328 setName(QApplication::translate("UIActionPool", "&Ungroup ..."));329 setStatusTip(QApplication::translate("UIActionPool", "Ungroup items of theselected virtual machine group"));328 setName(QApplication::translate("UIActionPool", "&Ungroup")); 329 setStatusTip(QApplication::translate("UIActionPool", "Ungroup the items of selected virtual machine group")); 330 330 } 331 331 }; … … 349 349 void retranslateUi() 350 350 { 351 setName(QApplication::translate("UIActionPool", " Sort"));352 setStatusTip(QApplication::translate("UIActionPool", "Sort the items of theselected virtual machine group alphabetically"));351 setName(QApplication::translate("UIActionPool", "&Sort")); 352 setStatusTip(QApplication::translate("UIActionPool", "Sort the items of selected virtual machine group alphabetically")); 353 353 } 354 354 }; … … 396 396 { 397 397 setName(QApplication::translate("UIActionPool", "&New...")); 398 setStatusTip(QApplication::translate("UIActionPool", "Create anew virtual machine"));398 setStatusTip(QApplication::translate("UIActionPool", "Create new virtual machine")); 399 399 setToolTip(text().remove('&').remove('.') + 400 400 (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString()))); … … 426 426 { 427 427 setName(QApplication::translate("UIActionPool", "&Add...")); 428 setStatusTip(QApplication::translate("UIActionPool", "Add anexisting virtual machine"));428 setStatusTip(QApplication::translate("UIActionPool", "Add existing virtual machine")); 429 429 } 430 430 }; … … 454 454 { 455 455 setName(QApplication::translate("UIActionPool", "Gro&up")); 456 setStatusTip(QApplication::translate("UIActionPool", "Add a new group based on theselected virtual machines"));456 setStatusTip(QApplication::translate("UIActionPool", "Add new group based on selected virtual machines")); 457 457 } 458 458 }; … … 514 514 { 515 515 setName(QApplication::translate("UIActionPool", "Cl&one...")); 516 setStatusTip(QApplication::translate("UIActionPool", "Clone theselected virtual machine"));516 setStatusTip(QApplication::translate("UIActionPool", "Clone selected virtual machine")); 517 517 } 518 518 }; … … 544 544 { 545 545 setName(QApplication::translate("UIActionPool", "&Remove...")); 546 setStatusTip(QApplication::translate("UIActionPool", "Remove theselected virtual machines"));546 setStatusTip(QApplication::translate("UIActionPool", "Remove selected virtual machines")); 547 547 } 548 548 }; … … 575 575 showMenu(); 576 576 setName(QApplication::translate("UIActionPool", "S&tart")); 577 setStatusTip(QApplication::translate("UIActionPool", "Start theselected virtual machines"));577 setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines")); 578 578 setToolTip(text().remove('&').remove('.') + 579 579 (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString()))); … … 584 584 hideMenu(); 585 585 setName(QApplication::translate("UIActionPool", "S&how")); 586 setStatusTip(QApplication::translate("UIActionPool", "Switch to the windows of theselected virtual machines"));586 setStatusTip(QApplication::translate("UIActionPool", "Switch to the windows of selected virtual machines")); 587 587 setToolTip(text().remove('&').remove('.') + 588 588 (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString()))); … … 616 616 { 617 617 setName(QApplication::translate("UIActionPool", "&Normal Start")); 618 setStatusTip(QApplication::translate("UIActionPool", "Start theselected virtual machines"));618 setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines")); 619 619 } 620 620 }; … … 641 641 { 642 642 setName(QApplication::translate("UIActionPool", "&Headless Start")); 643 setStatusTip(QApplication::translate("UIActionPool", "Start theselected virtual machines in the background"));643 setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines in the background")); 644 644 } 645 645 }; … … 666 666 { 667 667 setName(QApplication::translate("UIActionPool", "&Detachable Start")); 668 setStatusTip(QApplication::translate("UIActionPool", "Start theselected virtual machines with the option of continuing them in the background"));668 setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines with the option of continuing them in the background")); 669 669 } 670 670 }; … … 694 694 { 695 695 setName(QApplication::translate("UIActionPool", "&Pause")); 696 setStatusTip(QApplication::translate("UIActionPool", "Suspend the execution of theselected virtual machines"));696 setStatusTip(QApplication::translate("UIActionPool", "Suspend the execution of selected virtual machines")); 697 697 } 698 698 }; … … 722 722 { 723 723 setName(QApplication::translate("UIActionPool", "&Reset")); 724 setStatusTip(QApplication::translate("UIActionPool", "Reset theselected virtual machines"));724 setStatusTip(QApplication::translate("UIActionPool", "Reset selected virtual machines")); 725 725 } 726 726 }; … … 752 752 { 753 753 setIconText(QApplication::translate("UIActionPool", "Discard")); 754 setName(QApplication::translate("UIActionPool", "D&iscard saved state..."));755 setStatusTip(QApplication::translate("UIActionPool", "Discard the saved state of theselected virtual machines"));754 setName(QApplication::translate("UIActionPool", "D&iscard Saved State...")); 755 setStatusTip(QApplication::translate("UIActionPool", "Discard the saved state of selected virtual machines")); 756 756 setToolTip(text().remove('&').remove('.') + 757 757 (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString()))); … … 788 788 { 789 789 setName(QApplication::translate("UIActionPool", "Show &Log...")); 790 setStatusTip(QApplication::translate("UIActionPool", "Show the log files of theselected virtual machines"));790 setStatusTip(QApplication::translate("UIActionPool", "Show the log files of selected virtual machines")); 791 791 } 792 792 }; … … 812 812 void retranslateUi() 813 813 { 814 setName(QApplication::translate("UIActionPool", "Re&fresh ..."));815 setStatusTip(QApplication::translate("UIActionPool", "Refresh the accessibility state of theselected virtual machines"));814 setName(QApplication::translate("UIActionPool", "Re&fresh")); 815 setStatusTip(QApplication::translate("UIActionPool", "Refresh the accessibility state of selected virtual machines")); 816 816 } 817 817 }; … … 836 836 { 837 837 #if defined(Q_WS_MAC) 838 setName(QApplication::translate("UIActionPool", "S how in Finder"));838 setName(QApplication::translate("UIActionPool", "S&how in Finder")); 839 839 setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in Finder")); 840 840 #elif defined(Q_WS_WIN) 841 setName(QApplication::translate("UIActionPool", "S how in Explorer"));841 setName(QApplication::translate("UIActionPool", "S&how in Explorer")); 842 842 setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in Explorer")); 843 843 #else 844 setName(QApplication::translate("UIActionPool", "S how in File Manager"));844 setName(QApplication::translate("UIActionPool", "S&how in File Manager")); 845 845 setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in the File Manager")); 846 846 #endif … … 867 867 { 868 868 #if defined(Q_WS_MAC) 869 setName(QApplication::translate("UIActionPool", "Cr eate Alias on Desktop"));869 setName(QApplication::translate("UIActionPool", "Cr&eate Alias on Desktop")); 870 870 setStatusTip(QApplication::translate("UIActionPool", "Creates an alias files to the VirtualBox Machine Definition files on your desktop")); 871 871 #else 872 setName(QApplication::translate("UIActionPool", "Cr eate Shortcut on Desktop"));872 setName(QApplication::translate("UIActionPool", "Cr&eate Shortcut on Desktop")); 873 873 setStatusTip(QApplication::translate("UIActionPool", "Creates a shortcut files to the VirtualBox Machine Definition files on your desktop")); 874 874 #endif … … 894 894 void retranslateUi() 895 895 { 896 setName(QApplication::translate("UIActionPool", " Sort"));897 setStatusTip(QApplication::translate("UIActionPool", "Sort the group of thefirst selected virtual machine alphabetically"));896 setName(QApplication::translate("UIActionPool", "&Sort")); 897 setStatusTip(QApplication::translate("UIActionPool", "Sort the group of first selected virtual machine alphabetically")); 898 898 } 899 899 }; … … 940 940 void retranslateUi() 941 941 { 942 setName(QApplication::translate("UIActionPool", " Save State"));943 setStatusTip(QApplication::translate("UIActionPool", "Save the state of theselected virtual machines"));942 setName(QApplication::translate("UIActionPool", "&Save State")); 943 setStatusTip(QApplication::translate("UIActionPool", "Save the state of selected virtual machines")); 944 944 } 945 945 }; … … 969 969 { 970 970 setName(QApplication::translate("UIActionPool", "ACPI Sh&utdown")); 971 setStatusTip(QApplication::translate("UIActionPool", "Send the ACPI Shutdown signal to theselected virtual machines"));971 setStatusTip(QApplication::translate("UIActionPool", "Send the ACPI Shutdown signal to selected virtual machines")); 972 972 } 973 973 }; … … 997 997 { 998 998 setName(QApplication::translate("UIActionPool", "Po&wer Off")); 999 setStatusTip(QApplication::translate("UIActionPool", "Power off theselected virtual machines"));999 setStatusTip(QApplication::translate("UIActionPool", "Power off selected virtual machines")); 1000 1000 } 1001 1001 };
Note:
See TracChangeset
for help on using the changeset viewer.