VirtualBox

Changeset 37592 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 22, 2011 4:01:17 PM (13 years ago)
Author:
vboxsync
Message:

5746: FE/Qt: Create generic network adapter UI in Machine settings / Network page: Another NLS update.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp

    r37585 r37592  
    842842                                                 "details report (network)").arg(adapter.GetHostOnlyInterface()));
    843843                    else if (type == KNetworkAttachmentType_Generic)
    844                         attType = attType.arg(tr("Generic driver, '%1' { %2 }",
    845                                                  "details report (network)").arg(adapter.GetGenericDriver(), summarizeGenericProperties(adapter)));
     844                    {
     845                        QString strGenericDriverProperties(summarizeGenericProperties(adapter));
     846                        attType = strGenericDriverProperties.isNull() ?
     847                                  attType.arg(tr("Generic driver, '%1'", "details report (network)").arg(adapter.GetGenericDriver())) :
     848                                  attType.arg(tr("Generic driver, '%1' { %2 }", "details report (network)")
     849                                              .arg(adapter.GetGenericDriver(), strGenericDriverProperties));
     850                    }
    846851                    else
    847852                        attType = attType.arg(vboxGlobal().toString(type));
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp

    r37585 r37592  
    357357    {
    358358        case KNetworkAttachmentType_Bridged:
     359            m_pAdapterNameCombo->setWhatsThis(tr("Selects the network adapter on the host system that traffic "
     360                                                 "to and from this network card will go through."));
    359361            m_pAdapterNameCombo->insertItems(0, m_pParent->brgList());
    360362            m_pAdapterNameCombo->setEditable(false);
    361363            break;
    362364        case KNetworkAttachmentType_Internal:
     365            m_pAdapterNameCombo->setWhatsThis(tr("Enter the name of the internal network that this network card "
     366                                                 "will be connected to. You can create a new internal network by "
     367                                                 "choosing a name which is not used by any other network cards "
     368                                                 "in this virtual machine or others."));
    363369            m_pAdapterNameCombo->insertItems(0, m_pParent->fullIntList());
    364370            m_pAdapterNameCombo->setEditable(true);
     
    366372            break;
    367373        case KNetworkAttachmentType_HostOnly:
     374            m_pAdapterNameCombo->setWhatsThis(tr("Selects the virtual network adapter on the host system that traffic "
     375                                                 "to and from this network card will go through. "
     376                                                 "You can create and remove adapters using the global network "
     377                                                 "settings in the virtual machine manager window."));
    368378            m_pAdapterNameCombo->insertItems(0, m_pParent->hoiList());
    369379            m_pAdapterNameCombo->setEditable(false);
    370380            break;
    371381        case KNetworkAttachmentType_Generic:
     382            m_pAdapterNameCombo->setWhatsThis(tr("Selects the driver to be used with this network card."));
    372383            m_pAdapterNameCombo->insertItem(0, alternativeName());
    373384            m_pAdapterNameCombo->setEditable(true);
     
    375386            break;
    376387        default:
     388            m_pAdapterNameCombo->setWhatsThis(QString());
    377389            break;
    378390    }
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.ui

    r37579 r37592  
    105105          <verstretch>0</verstretch>
    106106         </sizepolicy>
    107         </property>
    108         <property name="whatsThis">
    109          <string>Selects the name of the network adapter for &lt;b&gt;Bridged Adapter&lt;/b&gt; or &lt;b&gt;Host-only Adapter&lt;/b&gt; attachments and the name of the network &lt;b&gt;Internal Network&lt;/b&gt; attachments.</string>
    110107        </property>
    111108       </widget>
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