VirtualBox

Ignore:
Timestamp:
Jun 5, 2019 12:03:27 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9484: Export Appliance wizard: 3rd page: Using different NLS tag for cloud export case.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp

    r78991 r78992  
    157157    setTitle(UIWizardExportApp::tr("Virtual system settings"));
    158158
    159     /* Translate widgets: */
    160     m_pLabel->setText(UIWizardExportApp::tr("This is the descriptive information which will be added "
    161                                             "to the virtual appliance.  You can change it by double "
    162                                             "clicking on individual lines."));
     159    /* Update page appearance: */
     160    updatePageAppearance();
    163161}
    164162
     
    190188    return fResult;
    191189}
     190
     191void UIWizardExportAppPageBasic3::updatePageAppearance()
     192{
     193    /* Check whether there was cloud target selected: */
     194    const bool fIsFormatCloudOne = field("isFormatCloudOne").toBool();
     195    if (fIsFormatCloudOne)
     196        m_pLabel->setText(UIWizardExportApp::tr("This is the descriptive information which will be used to determine settings "
     197                                                "for a cloud storage your VM being exported to.  You can change it by double "
     198                                                "clicking on individual lines."));
     199    else
     200        m_pLabel->setText(UIWizardExportApp::tr("This is the descriptive information which will be added to the virtual "
     201                                                "appliance.  You can change it by double clicking on individual lines."));
     202}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.h

    r78991 r78992  
    8686    virtual bool validatePage() /* override */;
    8787
     88    /** Updates page appearance. */
     89    void updatePageAppearance();
     90
    8891private:
    8992
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