VirtualBox

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


Ignore:
Timestamp:
Feb 18, 2015 9:39:49 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: NLS: Replace CD/DVD to Optical with corresponding disk/drive postfix.

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  
    200200        case KDeviceType_Null:         return QApplication::translate("VBoxGlobal", "None", "DeviceType");
    201201        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");
    203203        case KDeviceType_HardDisk:     return QApplication::translate("VBoxGlobal", "Hard Disk", "DeviceType");
    204204        case KDeviceType_Network:      return QApplication::translate("VBoxGlobal", "Network", "DeviceType");
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r54223 r54285  
    673673{
    674674    return questionBinary(0, MessageType_Warning,
    675                           tr("<p>One or more virtual hard disks, CD/DVD or "
     675                          tr("<p>One or more virtual hard disks, optical or "
    676676                             "floppy disk image files are not currently accessible. As a result, you will "
    677677                             "not be able to operate virtual machines that use these files until "
     
    10431043{
    10441044    return questionTrinary(pParent, MessageType_Question,
    1045                            tr("<p>You are about to add a new CD/DVD drive to controller <b>%1</b>.</p>"
    1046                               "<p>Would you like to choose a virtual CD/DVD disk 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 "
    10471047                              "or to leave it empty for now?</p>")
    10481048                              .arg(strControllerName),
     
    10651065{
    10661066    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 "
    10691069                             "or install the Guest Additions without it!</p>"),
    10701070                          0 /* auto-confirm id */,
     
    10871087        case UIMediumType_DVD:
    10881088        {
    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>.")
    10901090                            .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName());
    10911091            break;
     
    10931093        case UIMediumType_Floppy:
    10941094        {
    1095             strMessage = tr("Failed to attach the floppy device (<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>.")
    10961096                            .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName());
    10971097            break;
     
    13341334        case UIMediumType_DVD:
    13351335        {
    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>.")
    13371337                            .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName());
    13381338            break;
     
    13401340        case UIMediumType_Floppy:
    13411341        {
    1342             strMessage = tr("Failed to detach the floppy device (<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>.")
    13431343                            .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName());
    13441344            break;
     
    20422042    alert(0, MessageType_Error,
    20432043          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/DVD drives. 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 "
    20452045             "virtual machine settings window.</p>")
    20462046             .arg(strMachineName));
     
    21132113                             "from <nobr><a href=\"%1\">%1</a></nobr> "
    21142114                             "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/DVD drive?</p>")
     2115                             "<p>Do you wish to register this disk image file and insert it into the virtual optical drive?</p>")
    21162116                             .arg(strUrl, strSrc),
    21172117                          0 /* auto-confirm id */,
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r54172 r54285  
    11711171                /* Prepare current storage slot: */
    11721172                StorageSlot attachmentSlot(controller.GetBus(), attachment.GetPort(), attachment.GetDevice());
    1173                 /* Append 'device slot name' with 'device type name' for CD/DVD devices 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();
    11751175                if (!strDeviceType.isNull())
    11761176                    strDeviceType.prepend(' ');
     
    17791779            break;
    17801780        case UIMediumType_DVD:
    1781             pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual CD/DVD disk file..."));
     1781            pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual optical disk file..."));
    17821782            break;
    17831783        case UIMediumType_Floppy:
     
    34863486
    34873487/**
    3488  * Figures out which CD/DVD disk formats are currently supported by VirtualBox.
     3488 * Figures out which optical disk formats are currently supported by VirtualBox.
    34893489 * Returned is a list of pairs with the form
    34903490 *   <tt>{"Backend Name", "*.suffix1 .suffix2 ..."}</tt>.
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp

    r54283 r54285  
    11531153    void retranslateUi()
    11541154    {
    1155         setName(QApplication::translate("UIActionPool", "&CD/DVD"));
     1155        setName(QApplication::translate("UIActionPool", "&Optical Drives"));
    11561156    }
    11571157};
     
    11801180    void retranslateUi()
    11811181    {
    1182         setName(QApplication::translate("UIActionPool", "&Floppy"));
     1182        setName(QApplication::translate("UIActionPool", "&Floppy Drives"));
    11831183    }
    11841184};
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r54148 r54285  
    190190        QString strToolTip = QApplication::translate("UIIndicatorsPool",
    191191                                                     "<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");
    193193        QString strFullData;
    194194
     
    267267        QString strToolTip = QApplication::translate("UIIndicatorsPool",
    268268                                                     "<p style='white-space:pre'><nobr>Indicates the activity "
    269                                                      "of the floppy devices:</nobr>%1</p>", "FD tooltip");
     269                                                     "of the floppy drives:</nobr>%1</p>", "FD tooltip");
    270270        QString strFullData;
    271271
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElements.cpp

    r54228 r54285  
    530530                        strAttachmentInfo.replace(strInaccessibleString, strBoldInaccessibleString);
    531531                    } // hack
    532                     /* Append 'device slot name' with 'device type name' for CD/DVD devices only: */
     532                    /* Append 'device slot name' with 'device type name' for optical devices only: */
    533533                    KDeviceType deviceType = attachment.GetType();
    534534                    QString strDeviceType = deviceType == KDeviceType_DVD ?
    535                                 QApplication::translate("UIGDetails", "[CD/DVD]", "details (storage)") : QString();
     535                                QApplication::translate("UIGDetails", "[Optical Drive]", "details (storage)") : QString();
    536536                    if (!strDeviceType.isNull())
    537537                        strDeviceType.append(' ');
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp

    r52733 r54285  
    10701070                            break;
    10711071                        case CDAdderToolTip:
    1072                             tip = UIMachineSettingsStorage::tr ("<nobr>Add&nbsp;CD/DVD&nbsp;Device</nobr>");
     1072                            tip = UIMachineSettingsStorage::tr ("<nobr>Add&nbsp;Optical&nbsp;Drive</nobr>");
    10731073                            break;
    10741074                        case FDAdderToolTip:
    1075                             tip = UIMachineSettingsStorage::tr ("<nobr>Add&nbsp;Floppy&nbsp;Device</nobr>");
     1075                            tip = UIMachineSettingsStorage::tr ("<nobr>Add&nbsp;Floppy&nbsp;Drive</nobr>");
    10761076                            break;
    10771077                        default:
     
    24192419    mAddAttAction->setText (tr ("Add Attachment"));
    24202420    mAddHDAttAction->setText (tr ("Add Hard Disk"));
    2421     mAddCDAttAction->setText (tr ("Add CD/DVD Device"));
    2422     mAddFDAttAction->setText (tr ("Add Floppy Device"));
     2421    mAddCDAttAction->setText (tr ("Add Optical Drive"));
     2422    mAddFDAttAction->setText (tr ("Add Floppy Drive"));
    24232423    mDelAttAction->setText (tr ("Remove Attachment"));
    24242424
     
    27192719                        break;
    27202720                    case KDeviceType_DVD:
    2721                         mLbMedium->setText(tr("CD/DVD &Drive:"));
     2721                        mLbMedium->setText(tr("Optical &Drive:"));
    27222722                        mTbOpen->setIcon(iconPool()->icon(CDAttachmentNormal));
    2723                         mTbOpen->setWhatsThis(tr("Choose a virtual CD/DVD disk 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. "
    27242724                                                 "The virtual machine will see a disk inserted into the drive with the data "
    27252725                                                 "in the file or on the disk in the physical drive as its contents."));
    2726                         mTbOpen->setToolTip(tr("Set up the virtual CD/DVD drive"));
     2726                        mTbOpen->setToolTip(tr("Set up the virtual optical drive"));
    27272727                        break;
    27282728                    case KDeviceType_Floppy:
     
    28892889            case UIMediumType_DVD:
    28902890            {
    2891                 /* Add "Choose a virtual CD/DVD disk file" action: */
    2892                 addChooseExistingMediumAction(pOpenMediumMenu, tr("Choose a virtual CD/DVD disk file..."));
     2891                /* Add "Choose a virtual optical disk file" action: */
     2892                addChooseExistingMediumAction(pOpenMediumMenu, tr("Choose a virtual optical disk file..."));
    28932893                /* Add "Choose a physical drive" actions: */
    28942894                addChooseHostDriveActions(pOpenMediumMenu);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r52730 r54285  
    238238            }
    239239
    240             /* Attach empty CD/DVD ROM Device */
     240            /* Attach empty optical drive: */
    241241            machine.AttachDevice(strDVDName, 1, 0, KDeviceType_DVD, CMedium());
    242242            if (!machine.isOk())
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