VirtualBox

Changeset 56145 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 29, 2015 10:58:12 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Action-pool: Another iteration of NLS consistency fix.

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  
    789789    {
    790790        setName(QApplication::translate("UIActionPool", "&About VirtualBox..."));
    791         setStatusTip(QApplication::translate("UIActionPool", "Show a window with product information"));
     791        setStatusTip(QApplication::translate("UIActionPool", "Display window with product information"));
    792792    }
    793793};
     
    832832    void retranslateUi()
    833833    {
    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"));
    836836    }
    837837};
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp

    r56102 r56145  
    268268    void retranslateUi()
    269269    {
    270         setName(QApplication::translate("UIActionPool", "Save State"));
     270        setName(QApplication::translate("UIActionPool", "&Save State"));
    271271        setStatusTip(QApplication::translate("UIActionPool", "Save the state of the virtual machine"));
    272272    }
     
    638638    {
    639639        setName(QApplication::translate("UIActionPool", "Take Screensh&ot..."));
    640         setStatusTip(QApplication::translate("UIActionPool", "Take the guest display screenshot"));
     640        setStatusTip(QApplication::translate("UIActionPool", "Take a guest display screenshot"));
    641641    }
    642642};
     
    724724    {
    725725        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"));
    727727    }
    728728};
     
    10301030    {
    10311031        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"));
    10331033    }
    10341034};
     
    10641064    void retranslateUi()
    10651065    {
    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"));
    10671067        setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Alt-Del"));
    10681068    }
     
    11001100    void retranslateUi()
    11011101    {
    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"));
    11031103        setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Alt-Backspace"));
    11041104    }
     
    11311131    void retranslateUi()
    11321132    {
    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"));
    11341134        setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Ctrl-Break"));
    11351135    }
     
    11611161    void retranslateUi()
    11621162    {
    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"));
    11641164        setStatusTip(QApplication::translate("UIActionPool", "Send the %1 sequence to the virtual machine").arg("Insert"));
    11651165    }
     
    15441544    void retranslateUi()
    15451545    {
    1546         setName(QApplication::translate("UIActionPool", "Drag and Drop"));
     1546        setName(QApplication::translate("UIActionPool", "&Drag and Drop"));
    15471547    }
    15481548};
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r56126 r56145  
    832832        {
    833833            QAction *pAction = actions.at(i);
    834             pAction->setText(QApplication::translate("UIMachineLogic", "Preview Monitor %1").arg(pAction->data().toInt() + 1));
     834            pAction->setText(QApplication::translate("UIActionPool", "Preview Monitor %1").arg(pAction->data().toInt() + 1));
    835835        }
    836836    }
     
    14101410
    14111411    /* Search for the max available filter index: */
    1412     QString strNameTemplate = QApplication::translate("UIMachineLogic", "Snapshot %1");
     1412    QString strNameTemplate = VBoxTakeSnapshotDlg::tr("Snapshot %1");
    14131413    int iMaxSnapshotIndex = searchMaxSnapshotIndex(machine(), machine().FindSnapshot(QString()), strNameTemplate);
    14141414    pDlg->mLeName->setText(strNameTemplate.arg(++ iMaxSnapshotIndex));
     
    21982198    {
    21992199        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),
    22012202                                            this, SLOT(sltToggleNetworkAdapterConnection()));
    22022203        pAction->setProperty("slot", iSlot);
     
    22192220        QAction *pEmptyMenuAction = pMenu->addAction(UIIconPool::iconSet(":/usb_unavailable_16px.png",
    22202221                                                                         ":/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"));
    22232224        pEmptyMenuAction->setEnabled(false);
    22242225    }
     
    22652266        QAction *pEmptyMenuAction = pMenu->addAction(UIIconPool::iconSet(":/web_camera_unavailable_16px.png",
    22662267                                                                         ":/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"));
    22692270        pEmptyMenuAction->setEnabled(false);
    22702271    }
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp

    r56103 r56145  
    241241    {
    242242        setName(QApplication::translate("UIActionPool", "&New Machine..."));
    243         setStatusTip(QApplication::translate("UIActionPool", "Create a new virtual machine"));
     243        setStatusTip(QApplication::translate("UIActionPool", "Create new virtual machine"));
    244244        setToolTip(text().remove('&').remove('.') +
    245245                   (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString())));
     
    271271    {
    272272        setName(QApplication::translate("UIActionPool", "&Add Machine..."));
    273         setStatusTip(QApplication::translate("UIActionPool", "Add an existing virtual machine"));
     273        setStatusTip(QApplication::translate("UIActionPool", "Add existing virtual machine"));
    274274    }
    275275};
     
    299299    {
    300300        setName(QApplication::translate("UIActionPool", "Rena&me Group..."));
    301         setStatusTip(QApplication::translate("UIActionPool", "Rename the selected virtual machine group"));
     301        setStatusTip(QApplication::translate("UIActionPool", "Rename selected virtual machine group"));
    302302    }
    303303};
     
    326326    void retranslateUi()
    327327    {
    328         setName(QApplication::translate("UIActionPool", "&Ungroup..."));
    329         setStatusTip(QApplication::translate("UIActionPool", "Ungroup items of the selected virtual machine group"));
     328        setName(QApplication::translate("UIActionPool", "&Ungroup"));
     329        setStatusTip(QApplication::translate("UIActionPool", "Ungroup the items of selected virtual machine group"));
    330330    }
    331331};
     
    349349    void retranslateUi()
    350350    {
    351         setName(QApplication::translate("UIActionPool", "Sort"));
    352         setStatusTip(QApplication::translate("UIActionPool", "Sort the items of the selected virtual machine group alphabetically"));
     351        setName(QApplication::translate("UIActionPool", "&Sort"));
     352        setStatusTip(QApplication::translate("UIActionPool", "Sort the items of selected virtual machine group alphabetically"));
    353353    }
    354354};
     
    396396    {
    397397        setName(QApplication::translate("UIActionPool", "&New..."));
    398         setStatusTip(QApplication::translate("UIActionPool", "Create a new virtual machine"));
     398        setStatusTip(QApplication::translate("UIActionPool", "Create new virtual machine"));
    399399        setToolTip(text().remove('&').remove('.') +
    400400                   (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString())));
     
    426426    {
    427427        setName(QApplication::translate("UIActionPool", "&Add..."));
    428         setStatusTip(QApplication::translate("UIActionPool", "Add an existing virtual machine"));
     428        setStatusTip(QApplication::translate("UIActionPool", "Add existing virtual machine"));
    429429    }
    430430};
     
    454454    {
    455455        setName(QApplication::translate("UIActionPool", "Gro&up"));
    456         setStatusTip(QApplication::translate("UIActionPool", "Add a new group based on the selected virtual machines"));
     456        setStatusTip(QApplication::translate("UIActionPool", "Add new group based on selected virtual machines"));
    457457    }
    458458};
     
    514514    {
    515515        setName(QApplication::translate("UIActionPool", "Cl&one..."));
    516         setStatusTip(QApplication::translate("UIActionPool", "Clone the selected virtual machine"));
     516        setStatusTip(QApplication::translate("UIActionPool", "Clone selected virtual machine"));
    517517    }
    518518};
     
    544544    {
    545545        setName(QApplication::translate("UIActionPool", "&Remove..."));
    546         setStatusTip(QApplication::translate("UIActionPool", "Remove the selected virtual machines"));
     546        setStatusTip(QApplication::translate("UIActionPool", "Remove selected virtual machines"));
    547547    }
    548548};
     
    575575                showMenu();
    576576                setName(QApplication::translate("UIActionPool", "S&tart"));
    577                 setStatusTip(QApplication::translate("UIActionPool", "Start the selected virtual machines"));
     577                setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines"));
    578578                setToolTip(text().remove('&').remove('.') +
    579579                           (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString())));
     
    584584                hideMenu();
    585585                setName(QApplication::translate("UIActionPool", "S&how"));
    586                 setStatusTip(QApplication::translate("UIActionPool", "Switch to the windows of the selected virtual machines"));
     586                setStatusTip(QApplication::translate("UIActionPool", "Switch to the windows of selected virtual machines"));
    587587                setToolTip(text().remove('&').remove('.') +
    588588                           (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString())));
     
    616616    {
    617617        setName(QApplication::translate("UIActionPool", "&Normal Start"));
    618         setStatusTip(QApplication::translate("UIActionPool", "Start the selected virtual machines"));
     618        setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines"));
    619619    }
    620620};
     
    641641    {
    642642        setName(QApplication::translate("UIActionPool", "&Headless Start"));
    643         setStatusTip(QApplication::translate("UIActionPool", "Start the selected virtual machines in the background"));
     643        setStatusTip(QApplication::translate("UIActionPool", "Start selected virtual machines in the background"));
    644644    }
    645645};
     
    666666    {
    667667        setName(QApplication::translate("UIActionPool", "&Detachable Start"));
    668         setStatusTip(QApplication::translate("UIActionPool", "Start the selected 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"));
    669669    }
    670670};
     
    694694    {
    695695        setName(QApplication::translate("UIActionPool", "&Pause"));
    696         setStatusTip(QApplication::translate("UIActionPool", "Suspend the execution of the selected virtual machines"));
     696        setStatusTip(QApplication::translate("UIActionPool", "Suspend the execution of selected virtual machines"));
    697697    }
    698698};
     
    722722    {
    723723        setName(QApplication::translate("UIActionPool", "&Reset"));
    724         setStatusTip(QApplication::translate("UIActionPool", "Reset the selected virtual machines"));
     724        setStatusTip(QApplication::translate("UIActionPool", "Reset selected virtual machines"));
    725725    }
    726726};
     
    752752    {
    753753        setIconText(QApplication::translate("UIActionPool", "Discard"));
    754         setName(QApplication::translate("UIActionPool", "D&iscard saved state..."));
    755         setStatusTip(QApplication::translate("UIActionPool", "Discard the saved state of the selected virtual machines"));
     754        setName(QApplication::translate("UIActionPool", "D&iscard Saved State..."));
     755        setStatusTip(QApplication::translate("UIActionPool", "Discard the saved state of selected virtual machines"));
    756756        setToolTip(text().remove('&').remove('.') +
    757757                   (shortcut().toString().isEmpty() ? "" : QString(" (%1)").arg(shortcut().toString())));
     
    788788    {
    789789        setName(QApplication::translate("UIActionPool", "Show &Log..."));
    790         setStatusTip(QApplication::translate("UIActionPool", "Show the log files of the selected virtual machines"));
     790        setStatusTip(QApplication::translate("UIActionPool", "Show the log files of selected virtual machines"));
    791791    }
    792792};
     
    812812    void retranslateUi()
    813813    {
    814         setName(QApplication::translate("UIActionPool", "Re&fresh..."));
    815         setStatusTip(QApplication::translate("UIActionPool", "Refresh the accessibility state of the selected virtual machines"));
     814        setName(QApplication::translate("UIActionPool", "Re&fresh"));
     815        setStatusTip(QApplication::translate("UIActionPool", "Refresh the accessibility state of selected virtual machines"));
    816816    }
    817817};
     
    836836    {
    837837#if defined(Q_WS_MAC)
    838         setName(QApplication::translate("UIActionPool", "Show in Finder"));
     838        setName(QApplication::translate("UIActionPool", "S&how in Finder"));
    839839        setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in Finder"));
    840840#elif defined(Q_WS_WIN)
    841         setName(QApplication::translate("UIActionPool", "Show in Explorer"));
     841        setName(QApplication::translate("UIActionPool", "S&how in Explorer"));
    842842        setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in Explorer"));
    843843#else
    844         setName(QApplication::translate("UIActionPool", "Show in File Manager"));
     844        setName(QApplication::translate("UIActionPool", "S&how in File Manager"));
    845845        setStatusTip(QApplication::translate("UIActionPool", "Show the VirtualBox Machine Definition files in the File Manager"));
    846846#endif
     
    867867    {
    868868#if defined(Q_WS_MAC)
    869         setName(QApplication::translate("UIActionPool", "Create Alias on Desktop"));
     869        setName(QApplication::translate("UIActionPool", "Cr&eate Alias on Desktop"));
    870870        setStatusTip(QApplication::translate("UIActionPool", "Creates an alias files to the VirtualBox Machine Definition files on your desktop"));
    871871#else
    872         setName(QApplication::translate("UIActionPool", "Create Shortcut on Desktop"));
     872        setName(QApplication::translate("UIActionPool", "Cr&eate Shortcut on Desktop"));
    873873        setStatusTip(QApplication::translate("UIActionPool", "Creates a shortcut files to the VirtualBox Machine Definition files on your desktop"));
    874874#endif
     
    894894    void retranslateUi()
    895895    {
    896         setName(QApplication::translate("UIActionPool", "Sort"));
    897         setStatusTip(QApplication::translate("UIActionPool", "Sort the group of the first selected virtual machine alphabetically"));
     896        setName(QApplication::translate("UIActionPool", "&Sort"));
     897        setStatusTip(QApplication::translate("UIActionPool", "Sort the group of first selected virtual machine alphabetically"));
    898898    }
    899899};
     
    940940    void retranslateUi()
    941941    {
    942         setName(QApplication::translate("UIActionPool", "Save State"));
    943         setStatusTip(QApplication::translate("UIActionPool", "Save the state of the selected virtual machines"));
     942        setName(QApplication::translate("UIActionPool", "&Save State"));
     943        setStatusTip(QApplication::translate("UIActionPool", "Save the state of selected virtual machines"));
    944944    }
    945945};
     
    969969    {
    970970        setName(QApplication::translate("UIActionPool", "ACPI Sh&utdown"));
    971         setStatusTip(QApplication::translate("UIActionPool", "Send the ACPI Shutdown signal to the selected virtual machines"));
     971        setStatusTip(QApplication::translate("UIActionPool", "Send the ACPI Shutdown signal to selected virtual machines"));
    972972    }
    973973};
     
    997997    {
    998998        setName(QApplication::translate("UIActionPool", "Po&wer Off"));
    999         setStatusTip(QApplication::translate("UIActionPool", "Power off the selected virtual machines"));
     999        setStatusTip(QApplication::translate("UIActionPool", "Power off selected virtual machines"));
    10001000    }
    10011001};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette