- Timestamp:
- Dec 15, 2020 12:45:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp
r86978 r87091 141 141 } 142 142 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"); 144 144 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"); 146 146 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"); 148 148 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"); 150 150 break; 151 151 } … … 276 276 /* Prepare a hash of known port templates: */ 277 277 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"); 282 282 templates[4] = QApplication::translate("UICommon", "SATA Port %1", "StorageSlot"); 283 283 templates[5] = QApplication::translate("UICommon", "SCSI Port %1", "StorageSlot");
Note:
See TracChangeset
for help on using the changeset viewer.