VirtualBox

Changeset 56165 in vbox for trunk/src


Ignore:
Timestamp:
May 30, 2015 11:53:05 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: NLS consistency fix for 'hard disk' => 'hard drive'.

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

Legend:

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

    r56005 r56165  
    209209        case KDeviceType_Floppy:       return QApplication::translate("VBoxGlobal", "Floppy", "DeviceType");
    210210        case KDeviceType_DVD:          return QApplication::translate("VBoxGlobal", "Optical", "DeviceType");
    211         case KDeviceType_HardDisk:     return QApplication::translate("VBoxGlobal", "Hard Disk", "DeviceType");
     211        case KDeviceType_HardDisk:     return QApplication::translate("VBoxGlobal", "Hard Drive", "DeviceType");
    212212        case KDeviceType_Network:      return QApplication::translate("VBoxGlobal", "Network", "DeviceType");
    213213        case KDeviceType_USB:          return QApplication::translate("VBoxGlobal", "USB", "DeviceType");
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r56164 r56165  
    650650                      tr("<p>You are about to remove following virtual machines from the machine list:</p>"
    651651                         "<p>%1</p>"
    652                          "<p>Would you like to delete the files containing the virtual machine from your hard disk as well? "
    653                          "Doing this will also remove the files containing the machine's virtual hard disks "
     652                         "<p>Would you like to delete the files containing the virtual machine from your hard drive as well? "
     653                         "Doing this will also remove the files containing the machine's virtual hard drives "
    654654                         "if they are not in use by another machine.</p>")
    655655                         .arg(strMachineNames) :
    656656                      tr("<p>You are about to remove following virtual machines from the machine list:</p>"
    657657                         "<p>%1</p>"
    658                          "<p>Would you like to delete the files containing the virtual machine from your hard disk as well?</p>")
     658                         "<p>Would you like to delete the files containing the virtual machine from your hard drive as well?</p>")
    659659                         .arg(strMachineNames);
    660660
     
    697697{
    698698    return questionBinary(0, MessageType_Warning,
    699                           tr("<p>One or more virtual hard disks, optical or "
    700                              "floppy disk image files are not currently accessible. As a result, you will "
     699                          tr("<p>One or more disk image files are not currently accessible. As a result, you will "
    701700                             "not be able to operate virtual machines that use these files until "
    702701                             "they become accessible later.</p>"
     
    844843{
    845844    return questionBinary(0, MessageType_Question,
    846                           tr("<p>Deleting the snapshot will cause the state information saved in it to be lost, and disk data spread over "
     845                          tr("<p>Deleting the snapshot will cause the state information saved in it to be lost, and storage data spread over "
    847846                             "several image files that VirtualBox has created together with the snapshot will be merged into one file. "
    848847                             "This can be a lengthy process, and the information in the snapshot cannot be recovered.</p>"
     
    859858{
    860859    return questionBinary(0, MessageType_Question,
    861                           tr("<p>Deleting the snapshot %1 will temporarily need more disk space. In the worst case the size of image %2 will grow by %3, "
    862                               "however on this filesystem there is only %4 free.</p><p>Running out of disk space during the merge operation can result in "
     860                          tr("<p>Deleting the snapshot %1 will temporarily need more storage space. In the worst case the size of image %2 will grow by %3, "
     861                              "however on this filesystem there is only %4 free.</p><p>Running out of storage space during the merge operation can result in "
    863862                              "corruption of the image and the VM configuration, i.e. loss of the VM and its data.</p><p>You may continue with deleting "
    864863                              "the snapshot at your own risk.</p>")
     
    10641063{
    10651064    return questionTrinary(pParent, MessageType_Question,
    1066                            tr("<p>You are about to add a virtual hard disk to controller <b>%1</b>.</p>"
    1067                               "<p>Would you like to create a new, empty file to hold the disk contents or select an existing one?</p>")
     1065                           tr("<p>You are about to add a virtual hard drive to controller <b>%1</b>.</p>"
     1066                              "<p>Would you like to create a new, empty file to hold the drive contents or select an existing one?</p>")
    10681067                              .arg(strControllerName),
    10691068                           0 /* auto-confirm id */,
    1070                            tr("Create &new disk"), tr("&Choose existing disk"));
     1069                           tr("Create &new drive"), tr("&Choose existing drive"));
    10711070}
    10721071
     
    11121111        case UIMediumType_HardDisk:
    11131112        {
    1114             strMessage = tr("Failed to attach the hard disk (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.")
     1113            strMessage = tr("Failed to attach the hard drive (<nobr><b>%1</b></nobr>) to the slot <i>%2</i> of the machine <b>%3</b>.")
    11151114                            .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName());
    11161115            break;
     
    12401239        case UIMediumType_HardDisk:
    12411240        {
    1242             strMessage = tr("<p>Are you sure you want to release the virtual hard disk <nobr><b>%1</b></nobr>?</p>"
     1241            strMessage = tr("<p>Are you sure you want to release the virtual hard drive <nobr><b>%1</b></nobr>?</p>"
    12431242                            "<p>This will detach it from the following virtual machine(s): <b>%2</b>.</p>");
    12441243            break;
     
    12741273        case UIMediumType_HardDisk:
    12751274        {
    1276             strMessage = tr("<p>Are you sure you want to remove the virtual hard disk "
     1275            strMessage = tr("<p>Are you sure you want to remove the virtual hard drive "
    12771276                            "<nobr><b>%1</b></nobr> from the list of known disk image files?</p>");
    12781277            /* Compose capabilities flag: */
     
    12861285            {
    12871286                if (medium.state() == KMediumState_Inaccessible)
    1288                     strMessage += tr("<p>As this hard disk is inaccessible its image file"
     1287                    strMessage += tr("<p>As this hard drive is inaccessible its image file"
    12891288                                     " can not be deleted.</p>");
    12901289            }
     
    13201319{
    13211320    return questionTrinary(pParent, MessageType_Question,
    1322                            tr("<p>Do you want to delete the storage unit of the hard disk "
     1321                           tr("<p>Do you want to delete the storage unit of the hard drive "
    13231322                              "<nobr><b>%1</b></nobr>?</p>"
    13241323                              "<p>If you select <b>Delete</b> then the specified storage unit "
     
    13591358        case UIMediumType_HardDisk:
    13601359        {
    1361             strMessage = tr("Failed to detach the hard disk (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.")
     1360            strMessage = tr("Failed to detach the hard drive (<nobr><b>%1</b></nobr>) from the slot <i>%2</i> of the machine <b>%3</b>.")
    13621361                            .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName());
    13631362            break;
     
    14361435}
    14371436
    1438 void UIMessageCenter::cannotOpenMedium(const CVirtualBox &vbox, UIMediumType type, const QString &strLocation, QWidget *pParent /* = 0*/) const
    1439 {
    1440     /* Prepare the message: */
    1441     QString strMessage;
    1442     switch (type)
    1443     {
    1444         case UIMediumType_HardDisk:
    1445         {
    1446             strMessage = tr("Failed to open the hard disk file <nobr><b>%1</b></nobr>.");
    1447             break;
    1448         }
    1449         case UIMediumType_DVD:
    1450         {
    1451             strMessage = tr("Failed to open the optical disk file <nobr><b>%1</b></nobr>.");
    1452             break;
    1453         }
    1454         case UIMediumType_Floppy:
    1455         {
    1456             strMessage = tr("Failed to open the floppy disk file <nobr><b>%1</b></nobr>.");
    1457             break;
    1458         }
    1459         default:
    1460             break;
    1461     }
     1437void UIMessageCenter::cannotOpenMedium(const CVirtualBox &vbox, UIMediumType /* type */, const QString &strLocation, QWidget *pParent /* = 0*/) const
     1438{
    14621439    /* Show the error: */
    14631440    error(pParent, MessageType_Error,
    1464           strMessage.arg(strLocation), formatErrorInfo(vbox));
     1441          tr("Failed to open the disk image file <nobr><b>%1</b></nobr>.").arg(strLocation), formatErrorInfo(vbox));
    14651442}
    14661443
    14671444void UIMessageCenter::cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent /* = 0*/) const
    14681445{
    1469     /* Prepare the message: */
    1470     QString strMessage;
    1471     switch (medium.type())
    1472     {
    1473         case UIMediumType_HardDisk:
    1474         {
    1475             strMessage = tr("Failed to close the hard disk file <nobr><b>%2</b></nobr>.");
    1476             break;
    1477         }
    1478         case UIMediumType_DVD:
    1479         {
    1480             strMessage = tr("Failed to close the optical disk file <nobr><b>%2</b></nobr>.");
    1481             break;
    1482         }
    1483         case UIMediumType_Floppy:
    1484         {
    1485             strMessage = tr("Failed to close the floppy disk file <nobr><b>%2</b></nobr>.");
    1486             break;
    1487         }
    1488         default:
    1489             break;
    1490     }
    14911446    /* Show the error: */
    14921447    error(pParent, MessageType_Error,
    1493           strMessage.arg(medium.location()), formatErrorInfo(rc));
     1448          tr("Failed to close the disk image file <nobr><b>%1</b></nobr>.").arg(medium.location()), formatErrorInfo(rc));
    14941449}
    14951450
     
    15401495{
    15411496    alert(pParent, MessageType_Info,
    1542           tr("<p>The hard disk storage unit at location <b>%1</b> already exists. "
    1543              "You cannot create a new virtual hard disk that uses this location "
    1544              "because it can be already used by another virtual hard disk.</p>"
     1497          tr("<p>The hard drive storage unit at location <b>%1</b> already exists. "
     1498             "You cannot create a new virtual hard drive that uses this location "
     1499             "because it can be already used by another virtual hard drive.</p>"
    15451500             "<p>Please specify a different location.</p>")
    15461501             .arg(strLocation));
     
    15501505{
    15511506    error(pParent, MessageType_Error,
    1552           tr("Failed to create the hard disk storage <nobr><b>%1</b>.</nobr>")
     1507          tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>")
    15531508             .arg(strLocation),
    15541509          formatErrorInfo(vbox));
     
    15581513{
    15591514    error(pParent, MessageType_Error,
    1560           tr("Failed to create the hard disk storage <nobr><b>%1</b>.</nobr>")
     1515          tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>")
    15611516             .arg(strLocation),
    15621517          formatErrorInfo(medium));
     
    15661521{
    15671522    error(pParent, MessageType_Error,
    1568           tr("Failed to create the hard disk storage <nobr><b>%1</b>.</nobr>")
     1523          tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>")
    15691524             .arg(strLocation),
    15701525          formatErrorInfo(progress));
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r56020 r56165  
    17861786    pActionOpenExistingMedium->setData(QVariant::fromValue(UIMediumTarget(strControllerName, currentAttachment.GetPort(), currentAttachment.GetDevice(),
    17871787                                                                          mediumType)));
    1788     switch (mediumType)
    1789     {
    1790         case UIMediumType_HardDisk:
    1791             pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual hard disk file..."));
    1792             break;
    1793         case UIMediumType_DVD:
    1794             pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual optical disk file..."));
    1795             break;
    1796         case UIMediumType_Floppy:
    1797             pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual floppy disk file..."));
    1798             break;
    1799         default:
    1800             break;
    1801     }
     1788    pActionOpenExistingMedium->setText(QApplication::translate("UIMachineSettingsStorage", "Choose a virtual disk image file..."));
    18021789
    18031790
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r56154 r56165  
    117117        QString strToolTip = QApplication::translate("UIIndicatorsPool",
    118118                                                     "<p style='white-space:pre'><nobr>Indicates the activity "
    119                                                      "of the virtual hard disks:</nobr>%1</p>", "HDD tooltip");
     119                                                     "of the hard drives:</nobr>%1</p>", "HDD tooltip");
    120120        QString strFullData;
    121121
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIVMCloseDialog.cpp

    r53086 r56165  
    412412                                    "<p>You can use the VirtualBox Manager to return to running the virtual machine in a window.</p>"));
    413413    m_pSaveRadio->setText(tr("&Save the machine state"));
    414     m_pSaveRadio->setWhatsThis(tr("<p>Saves the current execution state of the virtual machine to the physical hard disk of the host PC.</p>"
     414    m_pSaveRadio->setWhatsThis(tr("<p>Saves the current execution state of the virtual machine to the physical hard drive of the host PC.</p>"
    415415                                  "<p>Next time this machine is started, it will be restored from the saved state and continue execution "
    416416                                  "from the same place you saved it at, which will let you continue your work immediately.</p>"
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r55329 r56165  
    479479    mPsSnapshot->setWhatsThis(tr("Holds the path where snapshots of this "
    480480                                 "virtual machine will be stored. Be aware that "
    481                                  "snapshots can take quite a lot of disk space."));
     481                                 "snapshots can take quite a lot of storage space."));
    482482    /* Translate Shared Clipboard mode combo: */
    483483    AssertPtrReturnVoid(mCbClipboard);
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.ui

    r56158 r56165  
    379379            </property>
    380380            <property name="whatsThis">
    381              <string>When checked, the guest system will see the virtual disk as a solid state device.</string>
     381             <string>When checked, the guest system will see the virtual drive as a solid-state device.</string>
    382382            </property>
    383383            <property name="text">
     
    395395            </property>
    396396            <property name="whatsThis">
    397              <string>When checked, the guest system will see the virtual disk as a hot-pluggable device.</string>
     397             <string>When checked, the guest system will see the virtual drive as a hot-pluggable device.</string>
    398398            </property>
    399399            <property name="text">
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp

    r56040 r56165  
    214214                    case KVirtualSystemDescriptionType_CPU:                    v = UIApplianceEditorWidget::tr("CPU"); break;
    215215                    case KVirtualSystemDescriptionType_Memory:                 v = UIApplianceEditorWidget::tr("RAM"); break;
    216                     case KVirtualSystemDescriptionType_HardDiskControllerIDE:  v = UIApplianceEditorWidget::tr("Hard Disk Controller (IDE)"); break;
    217                     case KVirtualSystemDescriptionType_HardDiskControllerSATA: v = UIApplianceEditorWidget::tr("Hard Disk Controller (SATA)"); break;
    218                     case KVirtualSystemDescriptionType_HardDiskControllerSCSI: v = UIApplianceEditorWidget::tr("Hard Disk Controller (SCSI)"); break;
    219                     case KVirtualSystemDescriptionType_HardDiskControllerSAS:  v = UIApplianceEditorWidget::tr("Hard Disk Controller (SAS)"); break;
     216                    case KVirtualSystemDescriptionType_HardDiskControllerIDE:  v = UIApplianceEditorWidget::tr("Storage Controller (IDE)"); break;
     217                    case KVirtualSystemDescriptionType_HardDiskControllerSATA: v = UIApplianceEditorWidget::tr("Storage Controller (SATA)"); break;
     218                    case KVirtualSystemDescriptionType_HardDiskControllerSCSI: v = UIApplianceEditorWidget::tr("Storage Controller (SCSI)"); break;
     219                    case KVirtualSystemDescriptionType_HardDiskControllerSAS:  v = UIApplianceEditorWidget::tr("Storage Controller (SAS)"); break;
    220220                    case KVirtualSystemDescriptionType_CDROM:                  v = UIApplianceEditorWidget::tr("DVD"); break;
    221221                    case KVirtualSystemDescriptionType_Floppy:                 v = UIApplianceEditorWidget::tr("Floppy"); break;
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