VirtualBox

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


Ignore:
Timestamp:
Dec 13, 2018 10:54:59 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: A bunch of various NLS fixes: Medium related, wizard related, some converter stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp

    r76177 r76203  
    11751175    switch (enmDetailsElementOptionTypeNetwork)
    11761176    {
    1177         case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NotAttached:     strResult = QApplication::translate("VBoxGlobal", "Not Attached"); break;
     1177        case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NotAttached:     strResult = QApplication::translate("VBoxGlobal", "Not Attached", "network adapter"); break;
    11781178        case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NAT:             strResult = QApplication::translate("VBoxGlobal", "NAT"); break;
    11791179        case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_BridgetAdapter:  strResult = QApplication::translate("VBoxGlobal", "Bridget Adapter"); break;
     
    12361236    switch (enmDetailsElementOptionTypeSerial)
    12371237    {
    1238         case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_Disconnected: strResult = QApplication::translate("VBoxGlobal", "Disconnected"); break;
     1238        case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_Disconnected: strResult = QApplication::translate("VBoxGlobal", "Disconnected", "serial port"); break;
    12391239        case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_HostPipe:     strResult = QApplication::translate("VBoxGlobal", "Host Pipe"); break;
    12401240        case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_HostDevice:   strResult = QApplication::translate("VBoxGlobal", "Host Device"); break;
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestProcessControlWidget.cpp

    r75425 r76203  
    8888        if (sessionTreeItem)
    8989        {
    90             pSessionCloseAction = menu->addAction(UIVMInformationDialog::tr("Close Session"));
     90            pSessionCloseAction = menu->addAction(tr("Close Session"));
    9191            if (pSessionCloseAction)
    9292                connect(pSessionCloseAction, &QAction::triggered,
     
    9999        if (processTreeItem)
    100100        {
    101             pProcessTerminateAction = menu->addAction(UIVMInformationDialog::tr("Terminate Process"));
     101            pProcessTerminateAction = menu->addAction(tr("Terminate Process"));
    102102            if (pProcessTerminateAction)
    103103                connect(pProcessTerminateAction, &QAction::triggered,
     
    107107            menu->addSeparator();
    108108        // Add actions to expand/collapse all tree items
    109         QAction *pExpandAllAction = menu->addAction(UIVMInformationDialog::tr("Expand All"));
     109        QAction *pExpandAllAction = menu->addAction(tr("Expand All"));
    110110        if (pExpandAllAction)
    111111            connect(pExpandAllAction, &QAction::triggered,
    112112                    this, &UIGuestControlTreeWidget::sltExpandAll);
    113         QAction *pCollapseAllAction = menu->addAction(UIVMInformationDialog::tr("Collapse All"));
     113        QAction *pCollapseAllAction = menu->addAction(tr("Collapse All"));
    114114        if (pCollapseAllAction)
    115115            connect(pCollapseAllAction, &QAction::triggered,
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIFDCreationDialog.cpp

    r74878 r76203  
    6969void UIFDCreationDialog::retranslateUi()
    7070{
    71     setWindowTitle(QApplication::translate("UIMediumManager", "Create a Floppy Disk"));
     71    setWindowTitle(tr("Create a Floppy Disk"));
    7272    if (m_pPathLabel)
    73         m_pPathLabel->setText(QApplication::translate("UIMediumManager", "File Path:"));
     73        m_pPathLabel->setText(tr("File Path:"));
    7474    if (m_pSizeLabel)
    75         m_pSizeLabel->setText(QApplication::translate("UIMediumManager", "Size:"));
     75        m_pSizeLabel->setText(tr("Size:"));
    7676    if (m_pButtonBox)
    7777        m_pButtonBox->button(QDialogButtonBox::Ok)->setText("Create");
    7878    if (m_pFormatCheckBox)
    79         m_pFormatCheckBox->setText(QApplication::translate("UIMediumManager", "Format disk as FAT12"));
     79        m_pFormatCheckBox->setText(tr("Format disk as FAT12"));
    8080    if (m_pSizeCombo)
    8181    {
    82         //m_pSizeCombo->setItemText(FDSize_2_88M, QApplication::translate("UIMediumManager", "2.88M"));
    83         m_pSizeCombo->setItemText(FDSize_1_44M, QApplication::translate("UIMediumManager", "1.44M"));
    84         m_pSizeCombo->setItemText(FDSize_1_2M, QApplication::translate("UIMediumManager", "1.2M"));
    85         m_pSizeCombo->setItemText(FDSize_720K, QApplication::translate("UIMediumManager", "720K"));
    86         m_pSizeCombo->setItemText(FDSize_360K, QApplication::translate("UIMediumManager", "360K"));
     82        //m_pSizeCombo->setItemText(FDSize_2_88M, tr("2.88M"));
     83        m_pSizeCombo->setItemText(FDSize_1_44M, tr("1.44M"));
     84        m_pSizeCombo->setItemText(FDSize_1_2M, tr("1.2M"));
     85        m_pSizeCombo->setItemText(FDSize_720K, tr("720K"));
     86        m_pSizeCombo->setItemText(FDSize_360K, tr("360K"));
    8787    }
    8888}
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp

    r75027 r76203  
    191191    if (m_pActionAdd)
    192192    {
    193         m_pActionAdd->setText(QApplication::translate("UIMediumManager", "&Add"));
    194         m_pActionAdd->setToolTip(QApplication::translate("UIMediumManager", "Add Disk Image File"));
    195         m_pActionAdd->setStatusTip(QApplication::translate("UIMediumManager", "Add disk image file"));
     193        m_pActionAdd->setText(tr("&Add..."));
     194        m_pActionAdd->setToolTip(tr("Add Disk Image"));
     195        m_pActionAdd->setStatusTip(tr("Add existing disk image file"));
    196196    }
    197197
    198198    if (m_pActionCreate)
    199199    {
    200         m_pActionCreate->setText(QApplication::translate("UIMediumManager", "&Create"));
    201         m_pActionCreate->setToolTip(QApplication::translate("UIMediumManager", "Create an Empty Disk Image"));
    202         m_pActionCreate->setStatusTip(QApplication::translate("UIMediumManager", "Create an Empty Disk Image"));
     200        m_pActionCreate->setText(tr("&Create..."));
     201        m_pActionCreate->setToolTip(tr("Create Disk Image"));
     202        m_pActionCreate->setStatusTip(tr("Create new disk image file"));
    203203    }
    204204
    205205    if (m_pActionRefresh)
    206206    {
    207         m_pActionRefresh->setText(QApplication::translate("UIMediumManager","Re&fresh"));
    208         m_pActionRefresh->setToolTip(QApplication::translate("UIMediumManager","Refresh Disk Image Files (%1)").arg(m_pActionRefresh->shortcut().toString()));
    209         m_pActionRefresh->setStatusTip(QApplication::translate("UIMediumManager","Refresh the list of disk image files"));
     207        m_pActionRefresh->setText(tr("&Refresh"));
     208        m_pActionRefresh->setToolTip(tr("Refresh Disk Image Files (%1)").arg(m_pActionRefresh->shortcut().toString()));
     209        m_pActionRefresh->setStatusTip(tr("Refresh the list of disk image files"));
    210210    }
    211211
    212212    if (m_pButtonBox)
    213         m_pButtonBox->button(QDialogButtonBox::Ok)->setText("Choose");
     213        m_pButtonBox->button(QDialogButtonBox::Ok)->setText(tr("Choose"));
    214214
    215215    if (m_pTreeWidget)
    216216    {
    217         m_pTreeWidget->headerItem()->setText(0, QApplication::translate("UIMediumManager","Name"));
    218         m_pTreeWidget->headerItem()->setText(1, QApplication::translate("UIMediumManager","Virtual Size"));
    219         m_pTreeWidget->headerItem()->setText(2, QApplication::translate("UIMediumManager","Actual Size"));
     217        m_pTreeWidget->headerItem()->setText(0, tr("Name"));
     218        m_pTreeWidget->headerItem()->setText(1, tr("Virtual Size"));
     219        m_pTreeWidget->headerItem()->setText(2, tr("Actual Size"));
    220220    }
    221221}
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.cpp

    r76185 r76203  
    320320    UIApplianceEditorWidget::retranslateUi();
    321321    if (m_pPathSelectorLabel)
    322         m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host all the virtual machines.\n"
    323                                                             "Home folders can also be individually (per virtual machine)  modified."));
     322        m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host all the virtual machines. "
     323                                                            "Home folders can also be individually (per virtual machine) modified."));
    324324    if (m_pImportHDsAsVDI)
    325325    {
     
    337337                                tr("Generate new MAC addresses for all network adapters"));
    338338    m_pMACComboBox->setItemData(MACAddressImportPolicy_KeepAllMACs,
    339                                 tr("Include all network adapter MAC addresses in exported "
    340                                                     "during cloning."), Qt::ToolTipRole);
     339                                tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    341340    m_pMACComboBox->setItemData(MACAddressImportPolicy_KeepNATMACs,
    342                                 tr("Include only NAT network adapter MAC addresses "
    343                                                     "during cloning."), Qt::ToolTipRole);
     341                                tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    344342    m_pMACComboBox->setItemData(MACAddressImportPolicy_StripAllMACs,
    345                                 tr("Generate new MAC addresses for all network adapters "
    346                                                     "during cloning."), Qt::ToolTipRole);
     343                                tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole);
    347344
    348345    m_pAdditionalOptionsLabel->setText(tr("Additional Options:"));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp

    r74627 r76203  
    287287{
    288288    /* Translate page: */
    289     setTitle(UIWizardCloneVM::tr("New machine name"));
     289    setTitle(UIWizardCloneVM::tr("New machine name and path"));
    290290
    291291    /* Translate widgets: */
     
    310310                                UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters"));
    311311    m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepAllMACs,
    312                                 UIWizardCloneVM::tr("Include all network adapter MAC addresses in exported "
    313                                                       "during cloning."), Qt::ToolTipRole);
     312                                UIWizardCloneVM::tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    314313    m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepNATMACs,
    315                                 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses "
    316                                                       "during cloning."), Qt::ToolTipRole);
     314                                UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    317315    m_pMACComboBox->setItemData(MACAddressClonePolicy_StripAllMACs,
    318                                 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters "
    319                                                       "during cloning."), Qt::ToolTipRole);
     316                                UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole);
    320317
    321318    m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("Additional Options:"));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp

    r74627 r76203  
    218218    m_pNameLabel->setText(UIWizardCloneVM::tr("Name:"));
    219219    m_pPathLabel->setText(UIWizardCloneVM::tr("Path:"));
    220 
    221     m_pCloneOptionsCnt->setTitle(UIWizardCloneVM::tr("Clone options"));
     220    m_pCloneOptionsCnt->setTitle(UIWizardCloneVM::tr("Additional options"));
    222221
    223222    /* Translate MAC address policy combo-box: */
     
    230229                                UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters"));
    231230    m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepAllMACs,
    232                                 UIWizardCloneVM::tr("Include all network adapter MAC addresses in exported "
    233                                                       "during cloning."), Qt::ToolTipRole);
     231                                UIWizardCloneVM::tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    234232    m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepNATMACs,
    235                                 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses "
    236                                                       "during cloning."), Qt::ToolTipRole);
     233                                UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole);
    237234    m_pMACComboBox->setItemData(MACAddressClonePolicy_StripAllMACs,
    238                                 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters "
    239                                                       "during cloning."), Qt::ToolTipRole);
     235                                UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole);
    240236
    241237    m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("Additional Options:"));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp

    r75921 r76203  
    10951095                                UIWizardExportApp::tr("Strip all network adapter MAC addresses"));
    10961096    m_pMACComboBox->setItemData(MACAddressPolicy_KeepAllMACs,
    1097                                 UIWizardExportApp::tr("Include all network adapter MAC addresses in exported "
    1098                                                       "appliance archive."), Qt::ToolTipRole);
     1097                                UIWizardExportApp::tr("Include all network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole);
    10991098    m_pMACComboBox->setItemData(MACAddressPolicy_StripAllNonNATMACs,
    1100                                 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in "
    1101                                                       "exported appliance archive."), Qt::ToolTipRole);
     1099                                UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole);
    11021100    m_pMACComboBox->setItemData(MACAddressPolicy_StripAllMACs,
    1103                                 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported "
    1104                                                       "appliance archive."), Qt::ToolTipRole);
     1101                                UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported appliance archive."), Qt::ToolTipRole);
    11051102
    11061103    /* Translate addtional stuff: */
     
    12071204        m_pLabelSettings->setText(UIWizardExportApp::
    12081205                                  tr("<p>Please choose one of cloud service accounts you have registered to export virtual "
    1209                                      "machines to.  Make sure profile settings reflected in the underlying table are valid. "
     1206                                     "machines to. Make sure profile settings reflected in the underlying table are valid. "
    12101207                                     "They will be used to establish network connection required to upload your virtual machine "
    1211                                      "files to a remote cloud facility."));
     1208                                     "files to a remote cloud facility.</p>"));
    12121209        m_pAccountComboBox->setFocus();
    12131210    }
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp

    r75227 r76203  
    431431    m_pFormatComboBox->setItemText(1, UIWizardExportApp::tr("Open Virtualization Format 1.0"));
    432432    m_pFormatComboBox->setItemText(2, UIWizardExportApp::tr("Open Virtualization Format 2.0"));
    433     m_pFormatComboBox->setItemText(3, UIWizardExportApp::tr("Oracle Cloud Infrastructure - Classic"));
    434433    m_pFormatComboBox->setItemData(0, UIWizardExportApp::tr("Write in legacy OVF 0.9 format for compatibility "
    435434                                                            "with other virtualization products."), Qt::ToolTipRole);
    436435    m_pFormatComboBox->setItemData(1, UIWizardExportApp::tr("Write in standard OVF 1.0 format."), Qt::ToolTipRole);
    437436    m_pFormatComboBox->setItemData(2, UIWizardExportApp::tr("Write in new OVF 2.0 format."), Qt::ToolTipRole);
    438     m_pFormatComboBox->setItemData(3, UIWizardExportApp::tr("Write in Oracle Cloud Infrastructure - Classic format."), Qt::ToolTipRole);
    439437    /* Translate received values of Format combo-box.
    440438     * We are enumerating starting from 0 for simplicity: */
     
    455453                                UIWizardExportApp::tr("Strip all network adapter MAC addresses"));
    456454    m_pMACComboBox->setItemData(MACAddressPolicy_KeepAllMACs,
    457                                 UIWizardExportApp::tr("Include all network adapter MAC addresses to exported "
    458                                                       "appliance archive."), Qt::ToolTipRole);
     455                                UIWizardExportApp::tr("Include all network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole);
    459456    m_pMACComboBox->setItemData(MACAddressPolicy_StripAllNonNATMACs,
    460                                 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses to "
    461                                                       "exported appliance archive."), Qt::ToolTipRole);
     457                                UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole);
    462458    m_pMACComboBox->setItemData(MACAddressPolicy_StripAllMACs,
    463                                 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported "
    464                                                       "appliance archive."), Qt::ToolTipRole);
     459                                UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported appliance archive."), Qt::ToolTipRole);
    465460
    466461    /* Translate addtional stuff: */
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