VirtualBox

Changeset 87091 in vbox for trunk/src


Ignore:
Timestamp:
Dec 15, 2020 12:45:25 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9889: UI converter: Tweak NLS to avoid sensitive terms.

File:
1 edited

Legend:

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

    r86978 r87091  
    141141            }
    142142            if (storageSlot.port == 0 && storageSlot.device == 0)
    143                 strResult = QApplication::translate("UICommon", "IDE Primary Master", "StorageSlot");
     143                strResult = QApplication::translate("UICommon", "IDE Primary Device 0", "StorageSlot");
    144144            else if (storageSlot.port == 0 && storageSlot.device == 1)
    145                 strResult = QApplication::translate("UICommon", "IDE Primary Slave", "StorageSlot");
     145                strResult = QApplication::translate("UICommon", "IDE Primary Device 1", "StorageSlot");
    146146            else if (storageSlot.port == 1 && storageSlot.device == 0)
    147                 strResult = QApplication::translate("UICommon", "IDE Secondary Master", "StorageSlot");
     147                strResult = QApplication::translate("UICommon", "IDE Secondary Device 0", "StorageSlot");
    148148            else if (storageSlot.port == 1 && storageSlot.device == 1)
    149                 strResult = QApplication::translate("UICommon", "IDE Secondary Slave", "StorageSlot");
     149                strResult = QApplication::translate("UICommon", "IDE Secondary Device 1", "StorageSlot");
    150150            break;
    151151        }
     
    276276    /* Prepare a hash of known port templates: */
    277277    QHash<int, QString> templates;
    278     templates[0] = QApplication::translate("UICommon", "IDE Primary Master", "StorageSlot");
    279     templates[1] = QApplication::translate("UICommon", "IDE Primary Slave", "StorageSlot");
    280     templates[2] = QApplication::translate("UICommon", "IDE Secondary Master", "StorageSlot");
    281     templates[3] = QApplication::translate("UICommon", "IDE Secondary Slave", "StorageSlot");
     278    templates[0] = QApplication::translate("UICommon", "IDE Primary Device 0", "StorageSlot");
     279    templates[1] = QApplication::translate("UICommon", "IDE Primary Device 1", "StorageSlot");
     280    templates[2] = QApplication::translate("UICommon", "IDE Secondary Device 0", "StorageSlot");
     281    templates[3] = QApplication::translate("UICommon", "IDE Secondary Device 1", "StorageSlot");
    282282    templates[4] = QApplication::translate("UICommon", "SATA Port %1", "StorageSlot");
    283283    templates[5] = QApplication::translate("UICommon", "SCSI Port %1", "StorageSlot");
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