Changeset 56165 in vbox
- Timestamp:
- May 30, 2015 11:53:05 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
r56005 r56165 209 209 case KDeviceType_Floppy: return QApplication::translate("VBoxGlobal", "Floppy", "DeviceType"); 210 210 case KDeviceType_DVD: return QApplication::translate("VBoxGlobal", "Optical", "DeviceType"); 211 case KDeviceType_HardDisk: return QApplication::translate("VBoxGlobal", "Hard D isk", "DeviceType");211 case KDeviceType_HardDisk: return QApplication::translate("VBoxGlobal", "Hard Drive", "DeviceType"); 212 212 case KDeviceType_Network: return QApplication::translate("VBoxGlobal", "Network", "DeviceType"); 213 213 case KDeviceType_USB: return QApplication::translate("VBoxGlobal", "USB", "DeviceType"); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r56164 r56165 650 650 tr("<p>You are about to remove following virtual machines from the machine list:</p>" 651 651 "<p>%1</p>" 652 "<p>Would you like to delete the files containing the virtual machine from your hard d iskas well? "653 "Doing this will also remove the files containing the machine's virtual hard d isks "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 " 654 654 "if they are not in use by another machine.</p>") 655 655 .arg(strMachineNames) : 656 656 tr("<p>You are about to remove following virtual machines from the machine list:</p>" 657 657 "<p>%1</p>" 658 "<p>Would you like to delete the files containing the virtual machine from your hard d iskas well?</p>")658 "<p>Would you like to delete the files containing the virtual machine from your hard drive as well?</p>") 659 659 .arg(strMachineNames); 660 660 … … 697 697 { 698 698 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 " 701 700 "not be able to operate virtual machines that use these files until " 702 701 "they become accessible later.</p>" … … 844 843 { 845 844 return questionBinary(0, MessageType_Question, 846 tr("<p>Deleting the snapshot will cause the state information saved in it to be lost, and diskdata spread over "845 tr("<p>Deleting the snapshot will cause the state information saved in it to be lost, and storage data spread over " 847 846 "several image files that VirtualBox has created together with the snapshot will be merged into one file. " 848 847 "This can be a lengthy process, and the information in the snapshot cannot be recovered.</p>" … … 859 858 { 860 859 return questionBinary(0, MessageType_Question, 861 tr("<p>Deleting the snapshot %1 will temporarily need more diskspace. 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 diskspace 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 " 863 862 "corruption of the image and the VM configuration, i.e. loss of the VM and its data.</p><p>You may continue with deleting " 864 863 "the snapshot at your own risk.</p>") … … 1064 1063 { 1065 1064 return questionTrinary(pParent, MessageType_Question, 1066 tr("<p>You are about to add a virtual hard d iskto controller <b>%1</b>.</p>"1067 "<p>Would you like to create a new, empty file to hold the d iskcontents 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>") 1068 1067 .arg(strControllerName), 1069 1068 0 /* auto-confirm id */, 1070 tr("Create &new d isk"), tr("&Choose existing disk"));1069 tr("Create &new drive"), tr("&Choose existing drive")); 1071 1070 } 1072 1071 … … 1112 1111 case UIMediumType_HardDisk: 1113 1112 { 1114 strMessage = tr("Failed to attach the hard d isk(<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>.") 1115 1114 .arg(strLocation).arg(gpConverter->toString(storageSlot)).arg(CMachine(machine).GetName()); 1116 1115 break; … … 1240 1239 case UIMediumType_HardDisk: 1241 1240 { 1242 strMessage = tr("<p>Are you sure you want to release the virtual hard d isk<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>" 1243 1242 "<p>This will detach it from the following virtual machine(s): <b>%2</b>.</p>"); 1244 1243 break; … … 1274 1273 case UIMediumType_HardDisk: 1275 1274 { 1276 strMessage = tr("<p>Are you sure you want to remove the virtual hard d isk"1275 strMessage = tr("<p>Are you sure you want to remove the virtual hard drive " 1277 1276 "<nobr><b>%1</b></nobr> from the list of known disk image files?</p>"); 1278 1277 /* Compose capabilities flag: */ … … 1286 1285 { 1287 1286 if (medium.state() == KMediumState_Inaccessible) 1288 strMessage += tr("<p>As this hard d iskis inaccessible its image file"1287 strMessage += tr("<p>As this hard drive is inaccessible its image file" 1289 1288 " can not be deleted.</p>"); 1290 1289 } … … 1320 1319 { 1321 1320 return questionTrinary(pParent, MessageType_Question, 1322 tr("<p>Do you want to delete the storage unit of the hard d isk"1321 tr("<p>Do you want to delete the storage unit of the hard drive " 1323 1322 "<nobr><b>%1</b></nobr>?</p>" 1324 1323 "<p>If you select <b>Delete</b> then the specified storage unit " … … 1359 1358 case UIMediumType_HardDisk: 1360 1359 { 1361 strMessage = tr("Failed to detach the hard d isk(<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>.") 1362 1361 .arg(strLocation, gpConverter->toString(storageSlot), CMachine(machine).GetName()); 1363 1362 break; … … 1436 1435 } 1437 1436 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 } 1437 void UIMessageCenter::cannotOpenMedium(const CVirtualBox &vbox, UIMediumType /* type */, const QString &strLocation, QWidget *pParent /* = 0*/) const 1438 { 1462 1439 /* Show the error: */ 1463 1440 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)); 1465 1442 } 1466 1443 1467 1444 void UIMessageCenter::cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent /* = 0*/) const 1468 1445 { 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 }1491 1446 /* Show the error: */ 1492 1447 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)); 1494 1449 } 1495 1450 … … 1540 1495 { 1541 1496 alert(pParent, MessageType_Info, 1542 tr("<p>The hard d iskstorage unit at location <b>%1</b> already exists. "1543 "You cannot create a new virtual hard d iskthat uses this location "1544 "because it can be already used by another virtual hard d isk.</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>" 1545 1500 "<p>Please specify a different location.</p>") 1546 1501 .arg(strLocation)); … … 1550 1505 { 1551 1506 error(pParent, MessageType_Error, 1552 tr("Failed to create the hard d iskstorage <nobr><b>%1</b>.</nobr>")1507 tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>") 1553 1508 .arg(strLocation), 1554 1509 formatErrorInfo(vbox)); … … 1558 1513 { 1559 1514 error(pParent, MessageType_Error, 1560 tr("Failed to create the hard d iskstorage <nobr><b>%1</b>.</nobr>")1515 tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>") 1561 1516 .arg(strLocation), 1562 1517 formatErrorInfo(medium)); … … 1566 1521 { 1567 1522 error(pParent, MessageType_Error, 1568 tr("Failed to create the hard d iskstorage <nobr><b>%1</b>.</nobr>")1523 tr("Failed to create the hard drive storage <nobr><b>%1</b>.</nobr>") 1569 1524 .arg(strLocation), 1570 1525 formatErrorInfo(progress)); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r56020 r56165 1786 1786 pActionOpenExistingMedium->setData(QVariant::fromValue(UIMediumTarget(strControllerName, currentAttachment.GetPort(), currentAttachment.GetDevice(), 1787 1787 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...")); 1802 1789 1803 1790 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r56154 r56165 117 117 QString strToolTip = QApplication::translate("UIIndicatorsPool", 118 118 "<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"); 120 120 QString strFullData; 121 121 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIVMCloseDialog.cpp
r53086 r56165 412 412 "<p>You can use the VirtualBox Manager to return to running the virtual machine in a window.</p>")); 413 413 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 d iskof 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>" 415 415 "<p>Next time this machine is started, it will be restored from the saved state and continue execution " 416 416 "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 479 479 mPsSnapshot->setWhatsThis(tr("Holds the path where snapshots of this " 480 480 "virtual machine will be stored. Be aware that " 481 "snapshots can take quite a lot of diskspace."));481 "snapshots can take quite a lot of storage space.")); 482 482 /* Translate Shared Clipboard mode combo: */ 483 483 AssertPtrReturnVoid(mCbClipboard); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.ui
r56158 r56165 379 379 </property> 380 380 <property name="whatsThis"> 381 <string>When checked, the guest system will see the virtual d isk as a solidstate device.</string>381 <string>When checked, the guest system will see the virtual drive as a solid-state device.</string> 382 382 </property> 383 383 <property name="text"> … … 395 395 </property> 396 396 <property name="whatsThis"> 397 <string>When checked, the guest system will see the virtual d iskas a hot-pluggable device.</string>397 <string>When checked, the guest system will see the virtual drive as a hot-pluggable device.</string> 398 398 </property> 399 399 <property name="text"> -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r56040 r56165 214 214 case KVirtualSystemDescriptionType_CPU: v = UIApplianceEditorWidget::tr("CPU"); break; 215 215 case KVirtualSystemDescriptionType_Memory: v = UIApplianceEditorWidget::tr("RAM"); break; 216 case KVirtualSystemDescriptionType_HardDiskControllerIDE: v = UIApplianceEditorWidget::tr(" Hard DiskController (IDE)"); break;217 case KVirtualSystemDescriptionType_HardDiskControllerSATA: v = UIApplianceEditorWidget::tr(" Hard DiskController (SATA)"); break;218 case KVirtualSystemDescriptionType_HardDiskControllerSCSI: v = UIApplianceEditorWidget::tr(" Hard DiskController (SCSI)"); break;219 case KVirtualSystemDescriptionType_HardDiskControllerSAS: v = UIApplianceEditorWidget::tr(" Hard DiskController (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; 220 220 case KVirtualSystemDescriptionType_CDROM: v = UIApplianceEditorWidget::tr("DVD"); break; 221 221 case KVirtualSystemDescriptionType_Floppy: v = UIApplianceEditorWidget::tr("Floppy"); break;
Note:
See TracChangeset
for help on using the changeset viewer.