Changeset 54285 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 18, 2015 9:39:49 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendCOM.cpp
r52830 r54285 200 200 case KDeviceType_Null: return QApplication::translate("VBoxGlobal", "None", "DeviceType"); 201 201 case KDeviceType_Floppy: return QApplication::translate("VBoxGlobal", "Floppy", "DeviceType"); 202 case KDeviceType_DVD: return QApplication::translate("VBoxGlobal", " CD/DVD", "DeviceType");202 case KDeviceType_DVD: return QApplication::translate("VBoxGlobal", "Optical", "DeviceType"); 203 203 case KDeviceType_HardDisk: return QApplication::translate("VBoxGlobal", "Hard Disk", "DeviceType"); 204 204 case KDeviceType_Network: return QApplication::translate("VBoxGlobal", "Network", "DeviceType"); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r54223 r54285 673 673 { 674 674 return questionBinary(0, MessageType_Warning, 675 tr("<p>One or more virtual hard disks, CD/DVDor "675 tr("<p>One or more virtual hard disks, optical or " 676 676 "floppy disk image files are not currently accessible. As a result, you will " 677 677 "not be able to operate virtual machines that use these files until " … … 1043 1043 { 1044 1044 return questionTrinary(pParent, MessageType_Question, 1045 tr("<p>You are about to add a new CD/DVDdrive to controller <b>%1</b>.</p>"1046 "<p>Would you like to choose a virtual CD/DVDdisk to put in the drive "1045 tr("<p>You are about to add a new optical drive to controller <b>%1</b>.</p>" 1046 "<p>Would you like to choose a virtual optical disk to put in the drive " 1047 1047 "or to leave it empty for now?</p>") 1048 1048 .arg(strControllerName), … … 1065 1065 { 1066 1066 return questionBinary(pParent, MessageType_Info, 1067 tr("<p>Are you sure you want to delete the CD/DVD device?</p>"1068 "<p>You will not be able to insert any CDs or ISO images "1067 tr("<p>Are you sure you want to delete the optical drive?</p>" 1068 "<p>You will not be able to insert any optical disks or ISO images " 1069 1069 "or install the Guest Additions without it!</p>"), 1070 1070 0 /* auto-confirm id */, … … 1087 1087 case UIMediumType_DVD: 1088 1088 { 1089 strMessage = tr("Failed to attach the CD/DVD device (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.")1089 strMessage = tr("Failed to attach the optical drive (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.") 1090 1090 .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName()); 1091 1091 break; … … 1093 1093 case UIMediumType_Floppy: 1094 1094 { 1095 strMessage = tr("Failed to attach the floppy d evice (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.")1095 strMessage = tr("Failed to attach the floppy drive (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.") 1096 1096 .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName()); 1097 1097 break; … … 1334 1334 case UIMediumType_DVD: 1335 1335 { 1336 strMessage = tr("Failed to detach the CD/DVD device (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.")1336 strMessage = tr("Failed to detach the optical drive (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.") 1337 1337 .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName()); 1338 1338 break; … … 1340 1340 case UIMediumType_Floppy: 1341 1341 { 1342 strMessage = tr("Failed to detach the floppy d evice (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.")1342 strMessage = tr("Failed to detach the floppy drive (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.") 1343 1343 .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName()); 1344 1344 break; … … 2042 2042 alert(0, MessageType_Error, 2043 2043 tr("<p>Could not insert the <b>VirtualBox Guest Additions</b> disk image file into the virtual machine <b>%1</b>, " 2044 "as the machine has no CD/DVDdrives. Please add a drive using the storage page of the "2044 "as the machine has no optical drives. Please add a drive using the storage page of the " 2045 2045 "virtual machine settings window.</p>") 2046 2046 .arg(strMachineName)); … … 2113 2113 "from <nobr><a href=\"%1\">%1</a></nobr> " 2114 2114 "and saved locally as <nobr><b>%2</b>.</nobr></p>" 2115 "<p>Do you wish to register this disk image file and insert it into the virtual CD/DVDdrive?</p>")2115 "<p>Do you wish to register this disk image file and insert it into the virtual optical drive?</p>") 2116 2116 .arg(strUrl, strSrc), 2117 2117 0 /* auto-confirm id */, -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r54172 r54285 1171 1171 /* Prepare current storage slot: */ 1172 1172 StorageSlot attachmentSlot(controller.GetBus(), attachment.GetPort(), attachment.GetDevice()); 1173 /* Append 'device slot name' with 'device type name' for CD/DVDdevices only: */1174 QString strDeviceType = attachment.GetType() == KDeviceType_DVD ? tr("( CD/DVD)") : QString();1173 /* Append 'device slot name' with 'device type name' for optical devices only: */ 1174 QString strDeviceType = attachment.GetType() == KDeviceType_DVD ? tr("(Optical Drive)") : QString(); 1175 1175 if (!strDeviceType.isNull()) 1176 1176 strDeviceType.prepend(' '); … … 1779 1779 break; 1780 1780 case UIMediumType_DVD: 1781 pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual CD/DVDdisk file..."));1781 pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual optical disk file...")); 1782 1782 break; 1783 1783 case UIMediumType_Floppy: … … 3486 3486 3487 3487 /** 3488 * Figures out which CD/DVDdisk formats are currently supported by VirtualBox.3488 * Figures out which optical disk formats are currently supported by VirtualBox. 3489 3489 * Returned is a list of pairs with the form 3490 3490 * <tt>{"Backend Name", "*.suffix1 .suffix2 ..."}</tt>. -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r54283 r54285 1153 1153 void retranslateUi() 1154 1154 { 1155 setName(QApplication::translate("UIActionPool", "& CD/DVD"));1155 setName(QApplication::translate("UIActionPool", "&Optical Drives")); 1156 1156 } 1157 1157 }; … … 1180 1180 void retranslateUi() 1181 1181 { 1182 setName(QApplication::translate("UIActionPool", "&Floppy "));1182 setName(QApplication::translate("UIActionPool", "&Floppy Drives")); 1183 1183 } 1184 1184 }; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r54148 r54285 190 190 QString strToolTip = QApplication::translate("UIIndicatorsPool", 191 191 "<p style='white-space:pre'><nobr>Indicates the activity " 192 "of the CD/DVD devices:</nobr>%1</p>", "CD/DVD tooltip");192 "of the optical drives:</nobr>%1</p>", "CD tooltip"); 193 193 QString strFullData; 194 194 … … 267 267 QString strToolTip = QApplication::translate("UIIndicatorsPool", 268 268 "<p style='white-space:pre'><nobr>Indicates the activity " 269 "of the floppy d evices:</nobr>%1</p>", "FD tooltip");269 "of the floppy drives:</nobr>%1</p>", "FD tooltip"); 270 270 QString strFullData; 271 271 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElements.cpp
r54228 r54285 530 530 strAttachmentInfo.replace(strInaccessibleString, strBoldInaccessibleString); 531 531 } // hack 532 /* Append 'device slot name' with 'device type name' for CD/DVDdevices only: */532 /* Append 'device slot name' with 'device type name' for optical devices only: */ 533 533 KDeviceType deviceType = attachment.GetType(); 534 534 QString strDeviceType = deviceType == KDeviceType_DVD ? 535 QApplication::translate("UIGDetails", "[ CD/DVD]", "details (storage)") : QString();535 QApplication::translate("UIGDetails", "[Optical Drive]", "details (storage)") : QString(); 536 536 if (!strDeviceType.isNull()) 537 537 strDeviceType.append(' '); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r52733 r54285 1070 1070 break; 1071 1071 case CDAdderToolTip: 1072 tip = UIMachineSettingsStorage::tr ("<nobr>Add CD/DVD Device</nobr>");1072 tip = UIMachineSettingsStorage::tr ("<nobr>Add Optical Drive</nobr>"); 1073 1073 break; 1074 1074 case FDAdderToolTip: 1075 tip = UIMachineSettingsStorage::tr ("<nobr>Add Floppy D evice</nobr>");1075 tip = UIMachineSettingsStorage::tr ("<nobr>Add Floppy Drive</nobr>"); 1076 1076 break; 1077 1077 default: … … 2419 2419 mAddAttAction->setText (tr ("Add Attachment")); 2420 2420 mAddHDAttAction->setText (tr ("Add Hard Disk")); 2421 mAddCDAttAction->setText (tr ("Add CD/DVD Device"));2422 mAddFDAttAction->setText (tr ("Add Floppy D evice"));2421 mAddCDAttAction->setText (tr ("Add Optical Drive")); 2422 mAddFDAttAction->setText (tr ("Add Floppy Drive")); 2423 2423 mDelAttAction->setText (tr ("Remove Attachment")); 2424 2424 … … 2719 2719 break; 2720 2720 case KDeviceType_DVD: 2721 mLbMedium->setText(tr(" CD/DVD&Drive:"));2721 mLbMedium->setText(tr("Optical &Drive:")); 2722 2722 mTbOpen->setIcon(iconPool()->icon(CDAttachmentNormal)); 2723 mTbOpen->setWhatsThis(tr("Choose a virtual CD/DVDdisk or a physical drive to use with the virtual drive. "2723 mTbOpen->setWhatsThis(tr("Choose a virtual optical disk or a physical drive to use with the virtual drive. " 2724 2724 "The virtual machine will see a disk inserted into the drive with the data " 2725 2725 "in the file or on the disk in the physical drive as its contents.")); 2726 mTbOpen->setToolTip(tr("Set up the virtual CD/DVDdrive"));2726 mTbOpen->setToolTip(tr("Set up the virtual optical drive")); 2727 2727 break; 2728 2728 case KDeviceType_Floppy: … … 2889 2889 case UIMediumType_DVD: 2890 2890 { 2891 /* Add "Choose a virtual CD/DVDdisk file" action: */2892 addChooseExistingMediumAction(pOpenMediumMenu, tr("Choose a virtual CD/DVDdisk file..."));2891 /* Add "Choose a virtual optical disk file" action: */ 2892 addChooseExistingMediumAction(pOpenMediumMenu, tr("Choose a virtual optical disk file...")); 2893 2893 /* Add "Choose a physical drive" actions: */ 2894 2894 addChooseHostDriveActions(pOpenMediumMenu); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r52730 r54285 238 238 } 239 239 240 /* Attach empty CD/DVD ROM Device*/240 /* Attach empty optical drive: */ 241 241 machine.AttachDevice(strDVDName, 1, 0, KDeviceType_DVD, CMedium()); 242 242 if (!machine.isOk())
Note:
See TracChangeset
for help on using the changeset viewer.