VirtualBox

Changeset 108113 in vbox


Ignore:
Timestamp:
Feb 7, 2025 1:20:40 PM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167411
Message:

FE/Qt: bugref:10843 Integrating doc team's text reviews into new vm wizard. part 1.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp

    r107119 r108113  
    285285{
    286286    if (m_pLabelName)
    287         m_pLabelName->setText(tr("&Name:"));
     287        m_pLabelName->setText(tr("VM &Name:"));
    288288    if (m_pLabelPath)
    289         m_pLabelPath->setText(tr("&Folder:"));
     289        m_pLabelPath->setText(tr("VM &Folder:"));
    290290    if (m_pLabelImage)
    291291        m_pLabelImage->setText(tr("&ISO Image:"));
    292292    if (m_pLabelEdition)
    293         m_pLabelEdition->setText(tr("&Edition:"));
     293        m_pLabelEdition->setText(tr("OS &Edition:"));
    294294    if (m_pLabelFamily)
    295295        m_pLabelFamily->setText(tr("&Type:"));
    296296    if (m_pLabelDistribution)
    297         m_pLabelDistribution->setText(tr("&Subtype:"));
     297        m_pLabelDistribution->setText(tr("Va&riant:"));
    298298    if (m_pLabelType)
    299299        m_pLabelType->setText(tr("&Version:"));
    300300
    301301    if (m_pEditorName)
    302         m_pEditorName->setToolTip(tr("Holds the name for virtual machine."));
     302        m_pEditorName->setToolTip(tr("Descriptive name to uniquely identify the virtual machine."));
    303303    if (m_pSelectorPath)
    304         m_pSelectorPath->setToolTip(tr("Selects the folder hosting virtual machine."));
     304        m_pSelectorPath->setToolTip(tr("Storage location for virtual machine files."));
    305305    if (m_pComboEdition)
    306         m_pComboEdition->setToolTip(tr("Selects the operating system edition when possible."));
     306        m_pComboEdition->setToolTip(tr("Edition of guest operating system to install."));
    307307    if (m_pComboFamily)
    308         m_pComboFamily->setToolTip(tr("Selects the operating system type that "
    309                                       "you plan to install into this virtual machine."));
     308        m_pComboFamily->setToolTip(tr("Guest operating systme type."));
     309
    310310    if (m_pComboDistribution)
    311         m_pComboDistribution->setToolTip(tr("Selects the operating system subtype that "
    312                                             "you plan to install into this virtual machine."));
     311        m_pComboDistribution->setToolTip(tr("Guest operating system variant, if applicable."));
    313312    if (m_pComboType)
    314         m_pComboType->setToolTip(tr("Selects the operating system version that "
    315                                     "you plan to install into this virtual machine "
    316                                     "(called a guest operating system)."));
     313        m_pComboType->setToolTip(tr("Guest operating system version to install"));
     314
    317315    if (m_pSelectorImage)
    318         m_pSelectorImage->setToolTip(tr("Selects an ISO image to be attached to the "
    319                                         "virtual machine or used in unattended install."));
     316        m_pSelectorImage->setToolTip(tr("ISO image to be attached to the "
     317                                        "virtual machine and possibly used in unattended install."));
    320318}
    321319
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMExpertPage.cpp

    r106061 r108113  
    106106        m_pCloneModeGroupBox->setTitle(UIWizardCloneVM::tr("Snapshots"));
    107107    if (m_pAdditionalOptionsGroupBox)
    108         m_pAdditionalOptionsGroupBox->setTitle(UIWizardCloneVM::tr("Additional Options"));
     108        m_pAdditionalOptionsGroupBox->setTitle(UIWizardCloneVM::tr("OS Installation Options"));
    109109}
    110110
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainNameEditor.cpp

    r106094 r108113  
    7979    if (m_pHostnameLineEdit)
    8080        m_pHostnameLineEdit->mark(!m_pHostnameLineEdit->hasAcceptableInput(),
    81                                   tr("Hostname should be at least 2 character long. "
     81                                  tr("Host name should be at least 2 character long. "
    8282                                     "Allowed characters are alphanumerics, \"-\" and \".\""),
    83                                   tr("Hostname is valid"));
     83                                  tr("Host name is valid"));
    8484    if (m_pDomainNameLineEdit)
    8585        m_pDomainNameLineEdit->mark(!m_pDomainNameLineEdit->hasAcceptableInput(),
     
    118118{
    119119    if (m_pHostnameLabel)
    120         m_pHostnameLabel->setText(tr("Hostna&me:"));
    121     if (m_pHostnameLineEdit)
    122         m_pHostnameLineEdit->setToolTip(tr("Holds the hostname."));
     120        m_pHostnameLabel->setText(tr("Host Na&me:"));
     121    if (m_pHostnameLineEdit)
     122        m_pHostnameLineEdit->setToolTip(tr("Host name to be assigned to the virtual machine."));
    123123    if (m_pDomainNameLabel)
    124124        m_pDomainNameLabel->setText(tr("&Domain Name:"));
    125125    if (m_pDomainNameLineEdit)
    126         m_pDomainNameLineEdit->setToolTip(tr("Holds the domain name."));
     126        m_pDomainNameLineEdit->setToolTip(tr("Doamin name to be assigned to the virtual machine."));
    127127    if (m_pProductKeyLabel)
    128128        m_pProductKeyLabel->setText(UIWizardNewVM::tr("&Product Key:"));
    129129    if (m_pProductKeyLineEdit)
    130         m_pProductKeyLineEdit->setToolTip(UIWizardNewVM::tr("Holds the product key."));
     130        m_pProductKeyLineEdit->setToolTip(UIWizardNewVM::tr("The product key."));
    131131
    132132    if (m_pStartHeadlessCheckBox)
    133133    {
    134134        m_pStartHeadlessCheckBox->setText(UIWizardNewVM::tr("&Install in Background"));
    135         m_pStartHeadlessCheckBox->setToolTip(UIWizardNewVM::tr("When checked, headless boot (with no GUI) will be enabled for "
    136                                                                "unattended guest OS installation of newly created virtual machine."));
     135        m_pStartHeadlessCheckBox->setToolTip(UIWizardNewVM::tr("Start the virtusl machine without a GUI."));
    137136    }
    138137}
     
    207206{
    208207    m_pHostnameLineEdit->mark(!m_pHostnameLineEdit->hasAcceptableInput(),
    209                               tr("Hostname should be at least 2 character long. "
     208                              tr("Host name should be at least 2 character long. "
    210209                                 "Allowed characters are alphanumerics, \"-\" and \".\""),
    211                               tr("Hostname is valid"));
     210                              tr("Host name is valid"));
    212211    emit sigHostnameDomainNameChanged(hostnameDomainName(), isComplete());
    213212}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIUserNamePasswordEditor.cpp

    r106061 r108113  
    228228    bool fComplete = (m_pUserNameLineEdit && !m_pUserNameLineEdit->text().isEmpty());
    229229    if (m_pUserNameLineEdit)
    230         m_pUserNameLineEdit->mark(!fComplete, UIUserNamePasswordEditor::tr("Username cannot be an empty string"),
    231                                   UIUserNamePasswordEditor::tr("Username is valid"));
     230        m_pUserNameLineEdit->mark(!fComplete, UIUserNamePasswordEditor::tr("User name cannot be an empty string"),
     231                                  UIUserNamePasswordEditor::tr("User name is valid"));
    232232    return fComplete;
    233233}
     
    277277{
    278278    QString strPassword = tr("Pass&word");
    279     QString strRepeatPassword = tr("&Repeat Password");
    280     QString strUsername = tr("U&sername");
     279    QString strRepeatPassword = tr("&Confirm Password");
     280    QString strUsername = tr("U&ser Name");
    281281    if (m_pUserNameLabel)
    282282        m_pUserNameLabel->setText(QString("%1%2").arg(strUsername).arg(":"));
     
    307307    }
    308308    if(m_pUserNameLineEdit)
    309         m_pUserNameLineEdit->setToolTip(tr("Holds username."));
     309        m_pUserNameLineEdit->setToolTip(tr("User name for the guest operating system."));
    310310    if (m_pPasswordLineEdit)
    311         m_pPasswordLineEdit->setToolTip(tr("Holds password."));
     311        m_pPasswordLineEdit->setToolTip(tr("Password for the guest operating system user account."));
    312312    if (m_pPasswordRepeatLineEdit)
    313         m_pPasswordRepeatLineEdit->setToolTip(tr("Holds the repeated password."));
     313        m_pPasswordRepeatLineEdit->setToolTip(tr("Password must match."));
    314314    m_strPasswordError = tr("Invalid password pair");
    315315}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardCloneVMEditors.cpp

    r106061 r108113  
    369369
    370370    if (m_pAdditionalOptionsLabel)
    371         m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("Additional Options:"));
     371        m_pAdditionalOptionsLabel->setText(UIWizardCloneVM::tr("OS Installation Options:"));
    372372    if (m_pKeepDiskNamesCheckBox)
    373373    {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.cpp

    r106094 r108113  
    8080void UIUserNamePasswordGroupBox::sltRetranslateUI()
    8181{
    82     setTitle(UIWizardNewVM::tr("Username and Password"));
     82    setTitle(UIWizardNewVM::tr("User Name and Password"));
    8383}
    8484
     
    178178    if (m_pGAISOPathLabel)
    179179        m_pGAISOPathLabel->setText(UIWizardNewVM::tr("Guest &Additions ISO:"));
    180     setTitle(UIWizardNewVM::tr("Gu&est Additions"));
     180    setTitle(UIWizardNewVM::tr("Install Gu&est Additions"));
    181181    setToolTip(UIWizardNewVM::tr("When checked, the guest additions will be installed after the guest OS install."));
    182182}
     
    256256void UIAdditionalUnattendedOptions::sltRetranslateUI()
    257257{
    258     setTitle(UIWizardNewVM::tr("Additional Options"));
     258    setTitle(UIWizardNewVM::tr("OS Installation Options"));
    259259}
    260260
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r107119 r108113  
    391391{
    392392    UINativeWizard::sltRetranslateUI();
    393     setWindowTitle(tr("Create Virtual Machine"));
     393    setWindowTitle(tr("New Virtual Machine"));
    394394}
    395395
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp

    r107999 r108113  
    168168    bool const fOsTypeFixed = UIWizardNewVMNameOSTypeCommon::guessOSTypeDetectedOSTypeString(m_pNameAndSystemEditor,
    169169                                                                                             pWizard->detectedOSTypeId());
    170     printf("os type %s\n", qPrintable(pWizard->detectedOSTypeId()));
    171170    if (fOsTypeFixed)
    172171        m_userModifiedParameters << "GuestOSTypeFromISO";
     
    470469    if (m_pNameAndSystemEditor)
    471470    {
    472         m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(),
    473                                                tr("Guest machine name cannot be empty"), tr("Guest machine name is valid"));
     471        if (m_pNameAndSystemEditor->name().isEmpty())
     472            m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(),
     473                                                   tr("Virtual machine name cannot be empty"), tr("Virtual machine name is valid"));
     474        else
     475            m_pNameAndSystemEditor->markNameEditor((QDir(m_pNameAndSystemEditor->fullPath()).exists()),
     476                                                   tr("Virtual machine path is not unique"), tr("Virtual machine name is valid"));
     477
    474478        m_pNameAndSystemEditor->markImageEditor(!UIWizardNewVMNameOSTypeCommon::checkISOFile(m_pNameAndSystemEditor),
    475479                                                UIWizardNewVM::tr("Invalid file path or unreadable file"),
    476480                                                UIWizardNewVM::tr("File path is valid"));
    477         m_pNameAndSystemEditor->markNameEditor((QDir(m_pNameAndSystemEditor->fullPath()).exists()),
    478                                                tr("Guest machine path is not unique"), tr("Guest machine name is valid"));
    479481    }
    480482    UIWizardNewVM *pWizard = wizardWindow<UIWizardNewVM>();
     
    604606                m_pToolBox->setPageTitleIcon(ExpertToolboxItems_Unattended,
    605607                                             UIIconPool::iconSet(":/status_error_16px.png"),
    606                                              UIWizardNewVM::tr("Invalid username and/or password"));
     608                                             UIWizardNewVM::tr("Invalid user name and/or password"));
    607609                fIsComplete = false;
    608610            }
     
    614616                m_pToolBox->setPageTitleIcon(ExpertToolboxItems_Unattended,
    615617                                             UIIconPool::iconSet(":/status_error_16px.png"),
    616                                              UIWizardNewVM::tr("Invalid hostname or domain name"));
     618                                             UIWizardNewVM::tr("Invalid host name or domain name"));
    617619                fIsComplete = false;
    618620            }
     
    626628            m_pToolBox->setPageTitleIcon(ExpertToolboxItems_NameAndOSType,
    627629                                         UIIconPool::iconSet(":/status_error_16px.png"),
    628                                          UIWizardNewVM::tr("Virtual machine name is invalid"));
     630                                         UIWizardNewVM::tr("Virtual machine name is invalid (possibly empty)"));
     631            fIsComplete = false;
     632        }
     633        else if (QDir(m_pNameAndSystemEditor->fullPath()).exists())
     634        {
     635            m_pToolBox->setPageTitleIcon(ExpertToolboxItems_NameAndOSType,
     636                                         UIIconPool::iconSet(":/status_error_16px.png"),
     637                                         UIWizardNewVM::tr("Virtual` machine path is not unique"));
    629638            fIsComplete = false;
    630639        }
     
    634643                                         UIIconPool::iconSet(":/status_error_16px.png"),
    635644                                         UIWizardNewVM::tr("Invalid ISO file"));
    636             fIsComplete = false;
    637         }
    638         if (QDir(m_pNameAndSystemEditor->fullPath()).exists())
    639         {
    640             m_pToolBox->setPageTitleIcon(ExpertToolboxItems_NameAndOSType,
    641                                          UIIconPool::iconSet(":/status_error_16px.png"),
    642                                          UIWizardNewVM::tr("Guest machine path is not unique"));
    643645            fIsComplete = false;
    644646        }
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp

    r107961 r108113  
    567567void UIWizardNewVMNameOSTypePage::sltRetranslateUI()
    568568{
    569     setTitle(UIWizardNewVM::tr("Virtual machine Name and Operating System"));
     569    setTitle(UIWizardNewVM::tr("Virtual machine name and operating system"));
    570570
    571571    if (m_pNameOSTypeLabel)
     
    607607        strMessage = UIWizardNewVM::tr("No ISO image is selected, the guest OS will need to be installed manually.");
    608608    else if (pWizard->detectedOSTypeId().isEmpty())
    609         strMessage = UIWizardNewVM::tr("OS type cannot be determined from the selected ISO, "
    610                                        "the guest OS will need to be installed manually.");
     609        strMessage = UIWizardNewVM::tr("VirtualBox can't install an OS from the selected ISO. OS cannot be determined, the guest OS will need to be installed manually.");
    611610    else if (!pWizard->detectedOSTypeId().isEmpty())
    612611    {
     
    615614            strMessage = UIWizardNewVM::tr("Detected OS type: %1. %2")
    616615                                           .arg(strType)
    617                                            .arg(UIWizardNewVM::tr("This OS type cannot be installed unattendedly. "
    618                                                                   "The install needs to be started manually."));
     616                .arg(UIWizardNewVM::tr("This OS can't be installed using Unattended Installation. "
     617                                       "The installation needs to be done manually."));
     618
    619619        else if (pWizard->skipUnattendedInstall())
    620620            strMessage = UIWizardNewVM::tr("You have selected to skip unattended guest OS install, "
     
    623623            strMessage = UIWizardNewVM::tr("Detected OS type: %1. %2")
    624624                                           .arg(strType)
    625                                            .arg(UIWizardNewVM::tr("This OS type can be installed unattendedly. "
    626                                                                   "The install will start after this wizard is closed."));
    627 
    628 
    629 
     625                                           .arg(UIWizardNewVM::tr("VirtualBox will install the OS using an unattended installation when the VM is created. "
     626                                                                  "Supply the required information in the following steps."));
    630627    }
    631628
     
    786783    if (m_pNameAndSystemEditor)
    787784    {
    788         m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(),
    789                                                tr("Guest machine name cannot be empty"), tr("Guest machine name is valid"));
     785        if (m_pNameAndSystemEditor->name().isEmpty())
     786            m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(),
     787                                                   tr("Virtual machine name cannot be empty"), tr("Virtual machine name is valid"));
     788        else
    790789        m_pNameAndSystemEditor->markNameEditor((QDir(m_pNameAndSystemEditor->fullPath()).exists()),
    791                                                tr("Guest machine path is not unique"), tr("Guest machine name is valid"));
     790                                               tr("Virtual machine path is not unique"), tr("Virtual machine name is valid"));
     791
    792792        m_pNameAndSystemEditor->markImageEditor(!UIWizardNewVMNameOSTypeCommon::checkISOFile(m_pNameAndSystemEditor),
    793793                                                UIWizardNewVM::tr("Invalid file path or unreadable file"),
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMSummaryPage.cpp

    r107002 r108113  
    368368    const QString &ISOPath = pWizard->ISOFilePath();
    369369    if (!ISOPath.isNull() && !ISOPath.isEmpty())
    370         pNameRoot->addChild(UIWizardNewVM::tr("Skip Unattended Install"), pWizard->skipUnattendedInstall());
     370        pNameRoot->addChild(UIWizardNewVM::tr("Proceed with Unattended Install"), pWizard->skipUnattendedInstall());
    371371
    372372    /* Unattended install related info: */
     
    377377        pUnattendedRoot->setIsSectionTitle(true);
    378378
    379         pUnattendedRoot->addChild(UIWizardNewVM::tr("Username"), pWizard->userName());
     379        pUnattendedRoot->addChild(UIWizardNewVM::tr("User Name"), pWizard->userName());
    380380        pUnattendedRoot->addChild(UIWizardNewVM::tr("Product Key"), pWizard->installGuestAdditions());
    381         pUnattendedRoot->addChild(UIWizardNewVM::tr("Hostname/Domain Name"), pWizard->hostnameDomainName());
     381        pUnattendedRoot->addChild(UIWizardNewVM::tr("Host Name/Domain Name"), pWizard->hostnameDomainName());
    382382        pUnattendedRoot->addChild(UIWizardNewVM::tr("Install in Background"), pWizard->startHeadless());
    383383        pUnattendedRoot->addChild(UIWizardNewVM::tr("Install Guest Additions"), pWizard->installGuestAdditions());
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.cpp

    r107002 r108113  
    112112void UIWizardNewVMUnattendedPage::sltRetranslateUI()
    113113{
    114     setTitle(UIWizardNewVM::tr("Unattended Guest OS Install Setup"));
     114    setTitle(UIWizardNewVM::tr("Set up unattended guest OS installation"));
    115115    if (m_pLabel)
    116         m_pLabel->setText(UIWizardNewVM::tr("You can configure the unattended guest OS install by modifying username, password, "
    117                                             "and hostname. Additionally you can enable guest additions install. "
    118                                             "For Microsoft Windows guests it is possible to provide a product key."));
     116        m_pLabel->setText(UIWizardNewVM::tr("Enter the information that will be required when the OS is installed."));
     117
    119118    if (m_pUserNamePasswordGroupBox)
    120         m_pUserNamePasswordGroupBox->setTitle(UIWizardNewVM::tr("Username and Password"));
     119        m_pUserNamePasswordGroupBox->setTitle(UIWizardNewVM::tr("User Name and Password"));
    121120}
    122121
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