Changeset 76203 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 13, 2018 10:54:59 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp
r76177 r76203 1175 1175 switch (enmDetailsElementOptionTypeNetwork) 1176 1176 { 1177 case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NotAttached: strResult = QApplication::translate("VBoxGlobal", "Not Attached" ); break;1177 case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NotAttached: strResult = QApplication::translate("VBoxGlobal", "Not Attached", "network adapter"); break; 1178 1178 case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_NAT: strResult = QApplication::translate("VBoxGlobal", "NAT"); break; 1179 1179 case UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_BridgetAdapter: strResult = QApplication::translate("VBoxGlobal", "Bridget Adapter"); break; … … 1236 1236 switch (enmDetailsElementOptionTypeSerial) 1237 1237 { 1238 case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_Disconnected: strResult = QApplication::translate("VBoxGlobal", "Disconnected" ); break;1238 case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_Disconnected: strResult = QApplication::translate("VBoxGlobal", "Disconnected", "serial port"); break; 1239 1239 case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_HostPipe: strResult = QApplication::translate("VBoxGlobal", "Host Pipe"); break; 1240 1240 case UIExtraDataMetaDefs::DetailsElementOptionTypeSerial_HostDevice: strResult = QApplication::translate("VBoxGlobal", "Host Device"); break; -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestProcessControlWidget.cpp
r75425 r76203 88 88 if (sessionTreeItem) 89 89 { 90 pSessionCloseAction = menu->addAction( UIVMInformationDialog::tr("Close Session"));90 pSessionCloseAction = menu->addAction(tr("Close Session")); 91 91 if (pSessionCloseAction) 92 92 connect(pSessionCloseAction, &QAction::triggered, … … 99 99 if (processTreeItem) 100 100 { 101 pProcessTerminateAction = menu->addAction( UIVMInformationDialog::tr("Terminate Process"));101 pProcessTerminateAction = menu->addAction(tr("Terminate Process")); 102 102 if (pProcessTerminateAction) 103 103 connect(pProcessTerminateAction, &QAction::triggered, … … 107 107 menu->addSeparator(); 108 108 // Add actions to expand/collapse all tree items 109 QAction *pExpandAllAction = menu->addAction( UIVMInformationDialog::tr("Expand All"));109 QAction *pExpandAllAction = menu->addAction(tr("Expand All")); 110 110 if (pExpandAllAction) 111 111 connect(pExpandAllAction, &QAction::triggered, 112 112 this, &UIGuestControlTreeWidget::sltExpandAll); 113 QAction *pCollapseAllAction = menu->addAction( UIVMInformationDialog::tr("Collapse All"));113 QAction *pCollapseAllAction = menu->addAction(tr("Collapse All")); 114 114 if (pCollapseAllAction) 115 115 connect(pCollapseAllAction, &QAction::triggered, -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIFDCreationDialog.cpp
r74878 r76203 69 69 void UIFDCreationDialog::retranslateUi() 70 70 { 71 setWindowTitle( QApplication::translate("UIMediumManager","Create a Floppy Disk"));71 setWindowTitle(tr("Create a Floppy Disk")); 72 72 if (m_pPathLabel) 73 m_pPathLabel->setText( QApplication::translate("UIMediumManager","File Path:"));73 m_pPathLabel->setText(tr("File Path:")); 74 74 if (m_pSizeLabel) 75 m_pSizeLabel->setText( QApplication::translate("UIMediumManager","Size:"));75 m_pSizeLabel->setText(tr("Size:")); 76 76 if (m_pButtonBox) 77 77 m_pButtonBox->button(QDialogButtonBox::Ok)->setText("Create"); 78 78 if (m_pFormatCheckBox) 79 m_pFormatCheckBox->setText( QApplication::translate("UIMediumManager","Format disk as FAT12"));79 m_pFormatCheckBox->setText(tr("Format disk as FAT12")); 80 80 if (m_pSizeCombo) 81 81 { 82 //m_pSizeCombo->setItemText(FDSize_2_88M, QApplication::translate("UIMediumManager","2.88M"));83 m_pSizeCombo->setItemText(FDSize_1_44M, QApplication::translate("UIMediumManager","1.44M"));84 m_pSizeCombo->setItemText(FDSize_1_2M, QApplication::translate("UIMediumManager","1.2M"));85 m_pSizeCombo->setItemText(FDSize_720K, QApplication::translate("UIMediumManager","720K"));86 m_pSizeCombo->setItemText(FDSize_360K, QApplication::translate("UIMediumManager","360K"));82 //m_pSizeCombo->setItemText(FDSize_2_88M, tr("2.88M")); 83 m_pSizeCombo->setItemText(FDSize_1_44M, tr("1.44M")); 84 m_pSizeCombo->setItemText(FDSize_1_2M, tr("1.2M")); 85 m_pSizeCombo->setItemText(FDSize_720K, tr("720K")); 86 m_pSizeCombo->setItemText(FDSize_360K, tr("360K")); 87 87 } 88 88 } -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r75027 r76203 191 191 if (m_pActionAdd) 192 192 { 193 m_pActionAdd->setText( QApplication::translate("UIMediumManager", "&Add"));194 m_pActionAdd->setToolTip( QApplication::translate("UIMediumManager", "Add Disk Image File"));195 m_pActionAdd->setStatusTip( QApplication::translate("UIMediumManager", "Adddisk image file"));193 m_pActionAdd->setText(tr("&Add...")); 194 m_pActionAdd->setToolTip(tr("Add Disk Image")); 195 m_pActionAdd->setStatusTip(tr("Add existing disk image file")); 196 196 } 197 197 198 198 if (m_pActionCreate) 199 199 { 200 m_pActionCreate->setText( QApplication::translate("UIMediumManager", "&Create"));201 m_pActionCreate->setToolTip( QApplication::translate("UIMediumManager", "Create an EmptyDisk Image"));202 m_pActionCreate->setStatusTip( QApplication::translate("UIMediumManager", "Create an Empty Disk Image"));200 m_pActionCreate->setText(tr("&Create...")); 201 m_pActionCreate->setToolTip(tr("Create Disk Image")); 202 m_pActionCreate->setStatusTip(tr("Create new disk image file")); 203 203 } 204 204 205 205 if (m_pActionRefresh) 206 206 { 207 m_pActionRefresh->setText( QApplication::translate("UIMediumManager","Re&fresh"));208 m_pActionRefresh->setToolTip( QApplication::translate("UIMediumManager","Refresh Disk Image Files (%1)").arg(m_pActionRefresh->shortcut().toString()));209 m_pActionRefresh->setStatusTip( QApplication::translate("UIMediumManager","Refresh the list of disk image files"));207 m_pActionRefresh->setText(tr("&Refresh")); 208 m_pActionRefresh->setToolTip(tr("Refresh Disk Image Files (%1)").arg(m_pActionRefresh->shortcut().toString())); 209 m_pActionRefresh->setStatusTip(tr("Refresh the list of disk image files")); 210 210 } 211 211 212 212 if (m_pButtonBox) 213 m_pButtonBox->button(QDialogButtonBox::Ok)->setText( "Choose");213 m_pButtonBox->button(QDialogButtonBox::Ok)->setText(tr("Choose")); 214 214 215 215 if (m_pTreeWidget) 216 216 { 217 m_pTreeWidget->headerItem()->setText(0, QApplication::translate("UIMediumManager","Name"));218 m_pTreeWidget->headerItem()->setText(1, QApplication::translate("UIMediumManager","Virtual Size"));219 m_pTreeWidget->headerItem()->setText(2, QApplication::translate("UIMediumManager","Actual Size"));217 m_pTreeWidget->headerItem()->setText(0, tr("Name")); 218 m_pTreeWidget->headerItem()->setText(1, tr("Virtual Size")); 219 m_pTreeWidget->headerItem()->setText(2, tr("Actual Size")); 220 220 } 221 221 } -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.cpp
r76185 r76203 320 320 UIApplianceEditorWidget::retranslateUi(); 321 321 if (m_pPathSelectorLabel) 322 m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host all the virtual machines. \n"323 "Home folders can also be individually (per virtual machine) 322 m_pPathSelectorLabel->setText(UIWizardImportApp::tr("You can modify the base folder which will host all the virtual machines. " 323 "Home folders can also be individually (per virtual machine) modified.")); 324 324 if (m_pImportHDsAsVDI) 325 325 { … … 337 337 tr("Generate new MAC addresses for all network adapters")); 338 338 m_pMACComboBox->setItemData(MACAddressImportPolicy_KeepAllMACs, 339 tr("Include all network adapter MAC addresses in exported " 340 "during cloning."), Qt::ToolTipRole); 339 tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole); 341 340 m_pMACComboBox->setItemData(MACAddressImportPolicy_KeepNATMACs, 342 tr("Include only NAT network adapter MAC addresses " 343 "during cloning."), Qt::ToolTipRole); 341 tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole); 344 342 m_pMACComboBox->setItemData(MACAddressImportPolicy_StripAllMACs, 345 tr("Generate new MAC addresses for all network adapters " 346 "during cloning."), Qt::ToolTipRole); 343 tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole); 347 344 348 345 m_pAdditionalOptionsLabel->setText(tr("Additional Options:")); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp
r74627 r76203 287 287 { 288 288 /* Translate page: */ 289 setTitle(UIWizardCloneVM::tr("New machine name "));289 setTitle(UIWizardCloneVM::tr("New machine name and path")); 290 290 291 291 /* Translate widgets: */ … … 310 310 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters")); 311 311 m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepAllMACs, 312 UIWizardCloneVM::tr("Include all network adapter MAC addresses in exported " 313 "during cloning."), Qt::ToolTipRole); 312 UIWizardCloneVM::tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole); 314 313 m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepNATMACs, 315 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses " 316 "during cloning."), Qt::ToolTipRole); 314 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole); 317 315 m_pMACComboBox->setItemData(MACAddressClonePolicy_StripAllMACs, 318 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters " 319 "during cloning."), Qt::ToolTipRole); 316 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole); 320 317 321 318 m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("Additional Options:")); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp
r74627 r76203 218 218 m_pNameLabel->setText(UIWizardCloneVM::tr("Name:")); 219 219 m_pPathLabel->setText(UIWizardCloneVM::tr("Path:")); 220 221 m_pCloneOptionsCnt->setTitle(UIWizardCloneVM::tr("Clone options")); 220 m_pCloneOptionsCnt->setTitle(UIWizardCloneVM::tr("Additional options")); 222 221 223 222 /* Translate MAC address policy combo-box: */ … … 230 229 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters")); 231 230 m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepAllMACs, 232 UIWizardCloneVM::tr("Include all network adapter MAC addresses in exported " 233 "during cloning."), Qt::ToolTipRole); 231 UIWizardCloneVM::tr("Include all network adapter MAC addresses during cloning."), Qt::ToolTipRole); 234 232 m_pMACComboBox->setItemData(MACAddressClonePolicy_KeepNATMACs, 235 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses " 236 "during cloning."), Qt::ToolTipRole); 233 UIWizardCloneVM::tr("Include only NAT network adapter MAC addresses during cloning."), Qt::ToolTipRole); 237 234 m_pMACComboBox->setItemData(MACAddressClonePolicy_StripAllMACs, 238 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters " 239 "during cloning."), Qt::ToolTipRole); 235 UIWizardCloneVM::tr("Generate new MAC addresses for all network adapters during cloning."), Qt::ToolTipRole); 240 236 241 237 m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("Additional Options:")); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r75921 r76203 1095 1095 UIWizardExportApp::tr("Strip all network adapter MAC addresses")); 1096 1096 m_pMACComboBox->setItemData(MACAddressPolicy_KeepAllMACs, 1097 UIWizardExportApp::tr("Include all network adapter MAC addresses in exported " 1098 "appliance archive."), Qt::ToolTipRole); 1097 UIWizardExportApp::tr("Include all network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole); 1099 1098 m_pMACComboBox->setItemData(MACAddressPolicy_StripAllNonNATMACs, 1100 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in " 1101 "exported appliance archive."), Qt::ToolTipRole); 1099 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole); 1102 1100 m_pMACComboBox->setItemData(MACAddressPolicy_StripAllMACs, 1103 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported " 1104 "appliance archive."), Qt::ToolTipRole); 1101 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported appliance archive."), Qt::ToolTipRole); 1105 1102 1106 1103 /* Translate addtional stuff: */ … … 1207 1204 m_pLabelSettings->setText(UIWizardExportApp:: 1208 1205 tr("<p>Please choose one of cloud service accounts you have registered to export virtual " 1209 "machines to. Make sure profile settings reflected in the underlying table are valid."1206 "machines to. Make sure profile settings reflected in the underlying table are valid. " 1210 1207 "They will be used to establish network connection required to upload your virtual machine " 1211 "files to a remote cloud facility. "));1208 "files to a remote cloud facility.</p>")); 1212 1209 m_pAccountComboBox->setFocus(); 1213 1210 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r75227 r76203 431 431 m_pFormatComboBox->setItemText(1, UIWizardExportApp::tr("Open Virtualization Format 1.0")); 432 432 m_pFormatComboBox->setItemText(2, UIWizardExportApp::tr("Open Virtualization Format 2.0")); 433 m_pFormatComboBox->setItemText(3, UIWizardExportApp::tr("Oracle Cloud Infrastructure - Classic"));434 433 m_pFormatComboBox->setItemData(0, UIWizardExportApp::tr("Write in legacy OVF 0.9 format for compatibility " 435 434 "with other virtualization products."), Qt::ToolTipRole); 436 435 m_pFormatComboBox->setItemData(1, UIWizardExportApp::tr("Write in standard OVF 1.0 format."), Qt::ToolTipRole); 437 436 m_pFormatComboBox->setItemData(2, UIWizardExportApp::tr("Write in new OVF 2.0 format."), Qt::ToolTipRole); 438 m_pFormatComboBox->setItemData(3, UIWizardExportApp::tr("Write in Oracle Cloud Infrastructure - Classic format."), Qt::ToolTipRole);439 437 /* Translate received values of Format combo-box. 440 438 * We are enumerating starting from 0 for simplicity: */ … … 455 453 UIWizardExportApp::tr("Strip all network adapter MAC addresses")); 456 454 m_pMACComboBox->setItemData(MACAddressPolicy_KeepAllMACs, 457 UIWizardExportApp::tr("Include all network adapter MAC addresses to exported " 458 "appliance archive."), Qt::ToolTipRole); 455 UIWizardExportApp::tr("Include all network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole); 459 456 m_pMACComboBox->setItemData(MACAddressPolicy_StripAllNonNATMACs, 460 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses to " 461 "exported appliance archive."), Qt::ToolTipRole); 457 UIWizardExportApp::tr("Include only NAT network adapter MAC addresses in exported appliance archive."), Qt::ToolTipRole); 462 458 m_pMACComboBox->setItemData(MACAddressPolicy_StripAllMACs, 463 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported " 464 "appliance archive."), Qt::ToolTipRole); 459 UIWizardExportApp::tr("Strip all network adapter MAC addresses from exported appliance archive."), Qt::ToolTipRole); 465 460 466 461 /* Translate addtional stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.