VirtualBox

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


Ignore:
Timestamp:
Jul 9, 2024 3:07:10 PM (7 months ago)
Author:
vboxsync
Message:

FE/Qt: NLS stuff: Make sure medium tools related tags and storage editor related tags are properly distributed across existing contexts.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDetailsGenerator.cpp

    r105240 r105241  
    577577    {
    578578        /* Add controller information: */
    579         const QString strControllerName = QApplication::translate("UIMachineSettingsStorage", "Controller: %1");
     579        const QString strControllerName = QApplication::translate("UIStorageSettingsEditor", "Controller: %1");
    580580        table << UITextTableLine(strControllerName.arg(comController.GetName()), QString());
    581581        /* Populate map (its sorted!): */
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumTools.cpp

    r105081 r105241  
    247247        {
    248248            filters = HDDBackends(gpGlobalSession->virtualBox());
    249             strTitle = QApplication::translate("UICommon", "Please choose a virtual hard disk file");
    250             allType = QApplication::translate("UICommon", "All virtual hard disk files (%1)");
     249            strTitle = QApplication::translate("UIMediumTools", "Please choose a virtual hard disk file");
     250            allType = QApplication::translate("UIMediumTools", "All virtual hard disk files (%1)");
    251251            break;
    252252        }
     
    254254        {
    255255            filters = DVDBackends(gpGlobalSession->virtualBox());
    256             strTitle = QApplication::translate("UICommon", "Please choose a virtual optical disk file");
    257             allType = QApplication::translate("UICommon", "All virtual optical disk files (%1)");
     256            strTitle = QApplication::translate("UIMediumTools", "Please choose a virtual optical disk file");
     257            allType = QApplication::translate("UIMediumTools", "All virtual optical disk files (%1)");
    258258            break;
    259259        }
     
    261261        {
    262262            filters = FloppyBackends(gpGlobalSession->virtualBox());
    263             strTitle = QApplication::translate("UICommon", "Please choose a virtual floppy disk file");
    264             allType = QApplication::translate("UICommon", "All virtual floppy disk files (%1)");
     263            strTitle = QApplication::translate("UIMediumTools", "Please choose a virtual floppy disk file");
     264            allType = QApplication::translate("UIMediumTools", "All virtual floppy disk files (%1)");
    265265            break;
    266266        }
     
    283283    if (!prefixes.isEmpty())
    284284        backends.insert(0, allType.arg(prefixes.join(" ").trimmed()));
    285     backends << QApplication::translate("UICommon", "All files (*)");
     285    backends << QApplication::translate("UIMediumTools", "All files (*)");
    286286    strFilter = backends.join(";;").trimmed();
    287287
     
    360360    pActionOpenExistingMedium->setData(QVariant::fromValue(UIMediumTarget(strControllerName, comCurrentAttachment.GetPort(),
    361361                                                                          comCurrentAttachment.GetDevice(), enmMediumType)));
    362     pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose/Create a disk image..."));
    363 
     362    pActionOpenExistingMedium->setText(QApplication::translate("UIMediumTools", "Choose/Create a disk image..."));
    364363
    365364    /* Prepare open medium file action: */
     
    369368                                                                    comCurrentAttachment.GetDevice(), enmMediumType,
    370369                                                                    UIMediumTarget::UIMediumTargetType_WithFileDialog)));
    371     pActionFileSelector->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a disk file..."));
    372 
     370    pActionFileSelector->setText(QApplication::translate("UIStorageSettingsEditor", "Choose a disk file..."));
    373371
    374372    /* Insert separator: */
     
    483481        pActionUnmountMedium->setData(QVariant::fromValue(UIMediumTarget(strControllerName, comCurrentAttachment.GetPort(),
    484482                                                                         comCurrentAttachment.GetDevice())));
    485         pActionUnmountMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Remove disk from virtual drive"));
     483        pActionUnmountMedium->setText(QApplication::translate("UIStorageSettingsEditor", "Remove disk from virtual drive"));
    486484        if (enmMediumType == UIMediumDeviceType_DVD)
    487485            pActionUnmountMedium->setIcon(UIIconPool::iconSet(":/cd_unmount_16px.png", ":/cd_unmount_disabled_16px.png"));
  • trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotDetailsWidget.cpp

    r104902 r105241  
    18991899    {
    19001900        /* Append controller information: */
    1901         aControllers << QApplication::translate("UIMachineSettingsStorage", "Controller: %1").arg(comController.GetName());
     1901        aControllers << QApplication::translate("UIStorageSettingsEditor", "Controller: %1").arg(comController.GetName());
    19021902
    19031903        /* Prepare attachment information: */
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