Changeset 108162 in vbox
- Timestamp:
- Feb 11, 2025 3:31:18 PM (10 days ago)
- svn:sync-xref-src-repo-rev:
- 167475
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBaseMemoryEditor.cpp
r106061 r108162 302 302 { 303 303 if (m_pLabelMemory) 304 m_pLabelMemory->setText(tr("Base &Memory :"));305 306 const QString strToolTip(tr(" Holds the amount of base memory the virtual machine will have."));304 m_pLabelMemory->setText(tr("Base &Memory")); 305 306 const QString strToolTip(tr("The amount of RAM that VirtualBox will allocate to the virtual machine every time it is started.")); 307 307 if (m_pSlider) 308 308 m_pSlider->setToolTip(strToolTip); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
r108113 r108162 285 285 { 286 286 if (m_pLabelName) 287 m_pLabelName->setText(tr("VM &Name :"));287 m_pLabelName->setText(tr("VM &Name")); 288 288 if (m_pLabelPath) 289 m_pLabelPath->setText(tr("VM &Folder :"));289 m_pLabelPath->setText(tr("VM &Folder")); 290 290 if (m_pLabelImage) 291 m_pLabelImage->setText(tr("&ISO Image :"));291 m_pLabelImage->setText(tr("&ISO Image")); 292 292 if (m_pLabelEdition) 293 m_pLabelEdition->setText(tr("OS &Edition :"));293 m_pLabelEdition->setText(tr("OS &Edition")); 294 294 if (m_pLabelFamily) 295 m_pLabelFamily->setText(tr(" &Type:"));295 m_pLabelFamily->setText(tr("OS &Type")); 296 296 if (m_pLabelDistribution) 297 m_pLabelDistribution->setText(tr(" Va&riant:"));297 m_pLabelDistribution->setText(tr("OS Va&riant")); 298 298 if (m_pLabelType) 299 m_pLabelType->setText(tr(" &Version:"));299 m_pLabelType->setText(tr("OS &Version")); 300 300 301 301 if (m_pEditorName) … … 306 306 m_pComboEdition->setToolTip(tr("Edition of guest operating system to install.")); 307 307 if (m_pComboFamily) 308 m_pComboFamily->setToolTip(tr("Guest operating syst metype."));308 m_pComboFamily->setToolTip(tr("Guest operating system type.")); 309 309 310 310 if (m_pComboDistribution) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVirtualCPUEditor.cpp
r106061 r108162 84 84 { 85 85 if (m_pLabelVCPU) 86 m_pLabelVCPU->setText(tr("&Processors :"));87 88 QString strToolTip(tr(" Holds the number of virtual CPUs in the virtual machine. You need hardware "89 "virtualization support on your host system to use more than one virtual CPU.")); 86 m_pLabelVCPU->setText(tr("&Processors")); 87 88 QString strToolTip(tr("The number of virtual CPUs in the virtual machine. Do not assign more than half of the total processor threads on the host.")); 89 90 90 if (m_pSlider) 91 91 m_pSlider->setToolTip(strToolTip); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMediumSizeEditor.cpp
r104929 r108162 280 280 281 281 /* Translate fields: */ 282 m_pSlider->setToolTip(tr(" Holds the size of this medium."));283 m_pEditor->setToolTip(tr(" Holds the size of this medium."));284 m_pLabelMinSize->setToolTip(tr("Minimum size for this medium."));285 m_pLabelMaxSize->setToolTip(tr("Maximum size for this medium."));282 m_pSlider->setToolTip(tr("Medium size")); 283 m_pEditor->setToolTip(tr("Medium size")); 284 m_pLabelMinSize->setToolTip(tr("Minimum possible disk size")); 285 m_pLabelMaxSize->setToolTip(tr("Maximum possible disk size")); 286 286 } 287 287 … … 399 399 void UIMediumSizeEditor::updateSizeToolTips(qulonglong uSize) 400 400 { 401 const QString strToolTip = tr(" %1 (%2 B)").arg(UITranslator::formatSize(uSize)).arg(uSize);401 const QString strToolTip = tr("Disk size set to %1").arg(UITranslator::formatSize(uSize)); 402 402 m_pSlider->setToolTip(strToolTip); 403 403 m_pEditor->setToolTip(strToolTip); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardDiskEditors.cpp
r106061 r108162 219 219 { 220 220 m_pFixedCheckBox->setText(tr("Pre-allocate &Full Size")); 221 m_pFixedCheckBox->setToolTip(tr(" When checked, the virtual disk image is allocated with its full size during VM creation time"));221 m_pFixedCheckBox->setToolTip(tr("Disk space is allocated in full to the virtual machine when created")); 222 222 } 223 223 if (m_pSplitBox) 224 224 { 225 m_pSplitBox->setText(tr("&Split Into 2GB Parts"));226 m_pSplitBox->setToolTip(tr(" When checked, the virtual hard disk file is split into 2GB parts."));225 m_pSplitBox->setText(tr("&Split Disk Into 2 GB Parts")); 226 m_pSplitBox->setToolTip(tr("The virtual hard disk file is split into 2 GB parts")); 227 227 } 228 228 } … … 414 414 if (m_pLocationOpenButton) 415 415 { 416 m_pLocationOpenButton->setToolTip(tr("Specify a location fornew virtual hard disk file..."));416 m_pLocationOpenButton->setToolTip(tr("Specify the location for the new virtual hard disk file...")); 417 417 /* Some screen readers do no read tooltips: */ 418 418 m_pLocationOpenButton->setText(tr("Specify a location for new virtual hard disk file...")); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.cpp
r108113 r108162 394 394 if (m_pEFICheckBox) 395 395 { 396 m_pEFICheckBox->setText(UIWizardNewVM::tr("&Enable EFI (special OSes only)")); 397 m_pEFICheckBox->setToolTip(UIWizardNewVM::tr("When checked, the guest will support the Extended Firmware Interface (EFI), " 398 "which is required to boot certain guest OSes. Non-EFI aware OSes will not " 399 "be able to boot if this option is activated.")); 396 m_pEFICheckBox->setText(UIWizardNewVM::tr("&Use EFI")); 397 m_pEFICheckBox->setToolTip(UIWizardNewVM::tr("Use Extended Firmware Interface (EFI). This is required to boot some OSs.")); 400 398 } 401 399 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDExpertPage.cpp
r106061 r108162 145 145 { 146 146 if (m_pFormatVariantGroupBox) 147 m_pFormatVariantGroupBox->setTitle(UIWizardNewVD::tr("Hard Disk File &Type and Variant"));147 m_pFormatVariantGroupBox->setTitle(UIWizardNewVD::tr("Hard Disk File &Type and Format")); 148 148 } 149 149 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.cpp
r107002 r108162 75 75 , m_pDiskSelector(0) 76 76 , m_pDiskSelectionButton(0) 77 , m_pLabel(0)78 77 , m_pMediumSizeEditorLabel(0) 79 78 , m_pMediumSizeEditor(0) … … 94 93 QVBoxLayout *pMainLayout = new QVBoxLayout(this); 95 94 96 m_pLabel = new QIRichTextLabel(this);97 pMainLayout->addWidget(m_pLabel);98 95 pMainLayout->addWidget(createDiskWidgets()); 99 96 … … 219 216 void UIWizardNewVMDiskPage::sltRetranslateUI() 220 217 { 221 setTitle(UIWizardNewVM::tr("Virtual Hard disk")); 222 223 if (m_pLabel) 224 m_pLabel->setText(UIWizardNewVM::tr("If you wish you can add a virtual hard disk to the new machine. " 225 "You can either create a new hard disk file or select an existing one. " 226 "Alternatively you can create a virtual machine without a virtual hard disk.")); 218 setTitle(UIWizardNewVM::tr("Specify virtual hard disk")); 227 219 228 220 if (m_pDiskEmpty) 229 m_pDiskEmpty->setText(UIWizardNewVM::tr(" &Do Not Adda Virtual Hard Disk"));221 m_pDiskEmpty->setText(UIWizardNewVM::tr("C&reate Virtual Machine Without a Virtual Hard Disk")); 230 222 if (m_pDiskNew) 231 m_pDiskNew->setText(UIWizardNewVM::tr("&Create a Virtual Hard Disk Now"));223 m_pDiskNew->setText(UIWizardNewVM::tr("&Create a New Virtual Hard Disk")); 232 224 if (m_pDiskExisting) 233 225 m_pDiskExisting->setText(UIWizardNewVM::tr("U&se an Existing Virtual Hard Disk File")); 234 226 if (m_pDiskSelectionButton) 235 m_pDiskSelectionButton->setToolTip(UIWizardNewVM::tr(" Chooses a Virtual Hard Fisk File..."));227 m_pDiskSelectionButton->setToolTip(UIWizardNewVM::tr("Select a Virtual Hard Disk File...")); 236 228 237 229 if (m_pMediumSizeEditorLabel) 238 m_pMediumSizeEditorLabel->setText(UIWizardNewVM::tr("D&isk Size :"));230 m_pMediumSizeEditorLabel->setText(UIWizardNewVM::tr("D&isk Size")); 239 231 240 232 if (m_pFixedCheckBox) 241 233 { 242 234 m_pFixedCheckBox->setText(UIWizardNewVM::tr("Pre-allocate &Full Size")); 243 m_pFixedCheckBox->setToolTip(UIWizardNewVM::tr(" When checked, the virtual disk image is allocated with its full size during VM creation time"));235 m_pFixedCheckBox->setToolTip(UIWizardNewVM::tr("Disk space is allocated in full to the virtual machine when created")); 244 236 } 245 237 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.h
r107002 r108162 104 104 UIMediaComboBox *m_pDiskSelector; 105 105 QIToolButton *m_pDiskSelectionButton; 106 QIRichTextLabel *m_pLabel;107 106 QLabel *m_pMediumSizeEditorLabel; 108 107 UIMediumSizeEditor *m_pMediumSizeEditor; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp
r108113 r108162 229 229 if (m_pToolBox) 230 230 { 231 m_pToolBox->setPageTitle(ExpertToolboxItems_NameAndOSType, QString(UIWizardNewVM::tr(" Name and &Operating System")));232 m_pToolBox->setPageTitle(ExpertToolboxItems_Unattended, UIWizardNewVM::tr(" &Unattended Install"));233 m_pToolBox->setPageTitle(ExpertToolboxItems_Disk, UIWizardNewVM::tr(" Hard Dis&k"));234 m_pToolBox->setPageTitle(ExpertToolboxItems_Hardware, UIWizardNewVM::tr(" H&ardware"));231 m_pToolBox->setPageTitle(ExpertToolboxItems_NameAndOSType, QString(UIWizardNewVM::tr("Virtual machine name and &operating system"))); 232 m_pToolBox->setPageTitle(ExpertToolboxItems_Unattended, UIWizardNewVM::tr("Set up &unattended guest OS installation")); 233 m_pToolBox->setPageTitle(ExpertToolboxItems_Disk, UIWizardNewVM::tr("Specify virtual hard dis&k")); 234 m_pToolBox->setPageTitle(ExpertToolboxItems_Hardware, UIWizardNewVM::tr("Specify virtual h&ardware")); 235 235 } 236 236 237 237 if (m_pDiskEmpty) 238 m_pDiskEmpty->setText(UIWizardNewVM::tr(" &Do Not Adda Virtual Hard Disk"));238 m_pDiskEmpty->setText(UIWizardNewVM::tr("C&reate Virtual Machine Without a Virtual Hard Disk")); 239 239 if (m_pDiskNew) 240 m_pDiskNew->setText(UIWizardNewVM::tr("&Create a Virtual Hard Disk Now"));240 m_pDiskNew->setText(UIWizardNewVM::tr("&Create a New Virtual Hard Disk")); 241 241 if (m_pDiskExisting) 242 242 m_pDiskExisting->setText(UIWizardNewVM::tr("U&se an Existing Virtual Hard Disk File")); 243 243 if (m_pDiskSelectionButton) 244 m_pDiskSelectionButton->setToolTip(UIWizardNewVM::tr(" Chooses a Virtual Hard Fisk File..."));244 m_pDiskSelectionButton->setToolTip(UIWizardNewVM::tr("Select a Virtual Hard Disk File...")); 245 245 if (m_pDiskSelectionButton) 246 m_pDiskSelectionButton->setText(UIWizardNewVM::tr(" Choose a Virtual Hard Fisk File"));246 m_pDiskSelectionButton->setText(UIWizardNewVM::tr("Select a Virtual Hard Disk File")); 247 247 248 248 if (m_pNameAndSystemLayout && m_pNameAndSystemEditor) … … 250 250 251 251 if (m_pDiskFormatVariantGroupBox) 252 m_pDiskFormatVariantGroupBox->setTitle(UIWizardNewVM::tr("Hard Disk File &Type and Variant"));252 m_pDiskFormatVariantGroupBox->setTitle(UIWizardNewVM::tr("Hard Disk File &Type and Format")); 253 253 } 254 254 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePage.cpp
r107002 r108162 78 78 void UIWizardNewVMHardwarePage::sltRetranslateUI() 79 79 { 80 setTitle(UIWizardNewVM::tr(" Hardware"));80 setTitle(UIWizardNewVM::tr("Specify virtual hardware")); 81 81 82 82 if (m_pLabel) 83 m_pLabel->setText(UIWizardNewVM::tr("You can modify virtual machine's hardware by changing amount of RAM and " 84 "virtual CPU count. Enabling EFI is also possible.")); 83 m_pLabel->setText(UIWizardNewVM::tr("Specify the VM's hardware. Resources allocated to the VM will not be available to the host when the VM is running.")); 85 84 } 86 85 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r108113 r108162 570 570 571 571 if (m_pNameOSTypeLabel) 572 m_pNameOSTypeLabel->setText(UIWizardNewVM::tr("Please choose a descriptive name and destination folder for the new " 573 "virtual machine. The name you choose will be used throughout VirtualBox " 574 "to identify this machine. Additionally, you can select an ISO image which " 575 "may be used to install the guest operating system.")); 572 m_pNameOSTypeLabel->setText(UIWizardNewVM::tr("The ISO image is used to install the operating system on the VM.")); 576 573 577 574 if (m_pUnattendedCheckBox) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMSummaryPage.cpp
r108113 r108162 356 356 m_pRootItem = new UIWizardNewVMSummaryItem(pParentTree, "root"); 357 357 358 UIWizardNewVMSummaryItem *pNameRoot = m_pRootItem->addChild(UIWizardNewVM::tr(" Machine Name and OS Type"),358 UIWizardNewVMSummaryItem *pNameRoot = m_pRootItem->addChild(UIWizardNewVM::tr("Virtual Machine Name and Operating System"), 359 359 QVariant(), UIIconPool::iconSet(":/name_16px.png")); 360 360 pNameRoot->setIsSectionTitle(true); 361 361 362 362 /* Name and OS Type page stuff: */ 363 pNameRoot->addChild(UIWizardNewVM::tr(" MachineName"), pWizard->machineBaseName());364 pNameRoot->addChild(UIWizardNewVM::tr(" MachineFolder"), pWizard->machineFolder());363 pNameRoot->addChild(UIWizardNewVM::tr("VM Name"), pWizard->machineBaseName()); 364 pNameRoot->addChild(UIWizardNewVM::tr("VM Folder"), pWizard->machineFolder()); 365 365 pNameRoot->addChild(UIWizardNewVM::tr("ISO Image"), pWizard->ISOFilePath()); 366 366 pNameRoot->addChild(UIWizardNewVM::tr("Guest OS Type"), gpGlobalSession->guestOSTypeManager().getDescription(pWizard->guestOSTypeId())); … … 368 368 const QString &ISOPath = pWizard->ISOFilePath(); 369 369 if (!ISOPath.isNull() && !ISOPath.isEmpty()) 370 pNameRoot->addChild(UIWizardNewVM::tr("Proceed with Unattended Install"), pWizard->skipUnattendedInstall());370 pNameRoot->addChild(UIWizardNewVM::tr("Proceed with Unattended Install"), !pWizard->skipUnattendedInstall()); 371 371 372 372 /* Unattended install related info: */ 373 373 if (pWizard->isUnattendedEnabled()) 374 374 { 375 UIWizardNewVMSummaryItem *pUnattendedRoot = m_pRootItem->addChild(UIWizardNewVM::tr("Unattended Install "), QVariant(),375 UIWizardNewVMSummaryItem *pUnattendedRoot = m_pRootItem->addChild(UIWizardNewVM::tr("Unattended Installation of Guest OS"), QVariant(), 376 376 UIIconPool::iconSet(":/extension_pack_install_16px.png")); 377 377 pUnattendedRoot->setIsSectionTitle(true); 378 378 379 379 pUnattendedRoot->addChild(UIWizardNewVM::tr("User Name"), pWizard->userName()); 380 pUnattendedRoot->addChild(UIWizardNewVM::tr("Product Key"), pWizard-> installGuestAdditions());380 pUnattendedRoot->addChild(UIWizardNewVM::tr("Product Key"), pWizard->productKey()); 381 381 pUnattendedRoot->addChild(UIWizardNewVM::tr("Host Name/Domain Name"), pWizard->hostnameDomainName()); 382 382 pUnattendedRoot->addChild(UIWizardNewVM::tr("Install in Background"), pWizard->startHeadless()); 383 383 pUnattendedRoot->addChild(UIWizardNewVM::tr("Install Guest Additions"), pWizard->installGuestAdditions()); 384 384 if (pWizard->installGuestAdditions()) 385 pUnattendedRoot->addChild(UIWizardNewVM::tr("Guest Additions ISO "), pWizard->guestAdditionsISOPath());386 } 387 388 389 UIWizardNewVMSummaryItem *pHardwareRoot = m_pRootItem->addChild(UIWizardNewVM::tr(" Hardware"), QVariant(),385 pUnattendedRoot->addChild(UIWizardNewVM::tr("Guest Additions ISO Image"), pWizard->guestAdditionsISOPath()); 386 } 387 388 389 UIWizardNewVMSummaryItem *pHardwareRoot = m_pRootItem->addChild(UIWizardNewVM::tr("Virtual Hardware"), QVariant(), 390 390 UIIconPool::iconSet(":/cpu_16px.png")); 391 391 pHardwareRoot->setIsSectionTitle(true); 392 392 pHardwareRoot->addChild(UIWizardNewVM::tr("Base Memory"), pWizard->memorySize()); 393 pHardwareRoot->addChild(UIWizardNewVM::tr("Processor (s)"), pWizard->CPUCount());394 pHardwareRoot->addChild(UIWizardNewVM::tr(" EFI Enable"), pWizard->EFIEnabled());393 pHardwareRoot->addChild(UIWizardNewVM::tr("Processors"), pWizard->CPUCount()); 394 pHardwareRoot->addChild(UIWizardNewVM::tr("Use EFI"), pWizard->EFIEnabled()); 395 395 396 396 /* Disk related info: */ 397 UIWizardNewVMSummaryItem *pDiskRoot = m_pRootItem->addChild(UIWizardNewVM::tr(" Disk"), QVariant(),397 UIWizardNewVMSummaryItem *pDiskRoot = m_pRootItem->addChild(UIWizardNewVM::tr("Virtual Hard Disk"), QVariant(), 398 398 UIIconPool::iconSet(":/hd_16px.png")); 399 399 pDiskRoot->setIsSectionTitle(true); … … 459 459 setTitle(UIWizardNewVM::tr("Summary")); 460 460 if (m_pLabel) 461 m_pLabel->setText(UIWizardNewVM::tr("The following table summarizes the configuration you have" 462 " chosen for the new virtual machine. When you are happy with the configuration" 463 " press Finish to create the virtual machine. Alternatively you can go back" 464 " and modify the configuration.")); 461 m_pLabel->setText(UIWizardNewVM::tr("A new VM will be created with the following configuration.")); 462 465 463 if (m_pTree) 466 464 m_pTree->setWhatsThis(UIWizardNewVM::tr("Lists chosen configuration of the guest system."));
Note:
See TracChangeset
for help on using the changeset viewer.