VirtualBox

Changeset 1701 in vbox


Ignore:
Timestamp:
Mar 26, 2007 12:30:11 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19851
Message:

FE/Qt: Network UI spelling.

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

Legend:

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

    r1551 r1701  
    10001000                {
    10011001                    CEnums::NetworkAttachmentType type = adapter.GetAttachmentType();
    1002                     QString attType = vboxGlobal().toString (type);
     1002                    QString attType;
     1003                    /* don't use the adapter type string for types that have
     1004                     * an additional symbolic network/interface name field, use
     1005                     * this name instead */
    10031006                    if (type == CEnums::HostInterfaceNetworkAttachment)
    1004                         attType += " \"" + adapter.GetHostInterface() + "\"";
    1005                     if (type == CEnums::InternalNetworkAttachment)
    1006                         attType += " \"" + adapter.GetInternalNetwork() + "\"";
     1007                        attType = adapter.GetHostInterface();
     1008                    else if (type == CEnums::InternalNetworkAttachment)
     1009                        attType = adapter.GetInternalNetwork();
     1010                    else
     1011                        attType = vboxGlobal().toString (type);
    10071012
    10081013                    item += QString (sSectionItemTpl)
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui

    r1628 r1701  
    5454            </property>
    5555            <property name="title">
    56                 <string>&amp;Enable Network Adapter (plug it into the corresponding slot)</string>
     56                <string>&amp;Enable Network Adapter</string>
     57            </property>
     58            <property name="whatsThis" stdset="0">
     59                <string>When checked, plugs this virtual network adapter into
     60                the virtual machine.</string>
    5761            </property>
    5862            <property name="checkable">
     
    103107                                    </property>
    104108                                    <property name="whatsThis" stdset="0">
    105                                         <string>Type of network attachment.</string>
     109                                        <string>Controls the way how this
     110                                        virtual adapter is attached to the
     111                                        real network of the Host OS.</string>
    106112                                    </property>
    107113                                </widget>
     
    146152                                    </property>
    147153                                    <property name="whatsThis" stdset="0">
    148                                         <string>MAC address of the current adapter. It contains exactly 12 characters choosen from {0-9,A-F}.</string>
     154                                        <string>Displays the MAC address of
     155                                        this adapter. It contains exactly 12
     156                                        characters chosen from
     157                                        {0-9,A-F}.</string>
    149158                                    </property>
    150159                                </widget>
     
    190199                                    </property>
    191200                                    <property name="whatsThis" stdset="0">
    192                                         <string>Generate a new random MAC address.</string>
     201                                        <string>Generates a new random MAC address.</string>
    193202                                    </property>
    194203                                </widget>
     
    208217                    </property>
    209218                    <property name="whatsThis" stdset="0">
    210                         <string>This controls whether the virtual network cable is plugged in.</string>
     219                        <string>Indicates whether the virtual network cable is plugged
     220                        in on machine startup or not.</string>
    211221                    </property>
    212222                </widget>
     
    294304                                                    </property>
    295305                                                    <property name="whatsThis" stdset="0">
    296                                                         <string>The name of the interface selected for the current adapter</string>
     306                                                        <string>Displays the
     307                                                        name of the host
     308                                                        interface selected for
     309                                                        this adapter.</string>
    297310                                                    </property>
    298311                                                </widget>
     
    312325                                            </property>
    313326                                            <property name="whatsThis" stdset="0">
    314                                                 <string>The list of interfaces available</string>
     327                                                <string>Lists all available
     328                                                host interfaces.</string>
    315329                                            </property>
    316330                                        </widget>
     
    346360                                                    </property>
    347361                                                    <property name="whatsThis" stdset="0">
    348                                                         <string>Add a new host interface</string>
     362                                                        <string>Adds a new host interface.</string>
    349363                                                    </property>
    350364                                                </widget>
     
    366380                                                    </property>
    367381                                                    <property name="whatsThis" stdset="0">
    368                                                         <string>Remove
    369                                                         the selected host interface</string>
     382                                                        <string>Removes
     383                                                        the selected host interface.</string>
    370384                                                    </property>
    371385                                                </widget>
     
    457471                                                    </property>
    458472                                                    <property name="whatsThis" stdset="0">
    459                                                         <string>TAP interface name</string>
     473                                                        <string>Displays the
     474                                                        TAP interface
     475                                                        name.</string>
    460476                                                    </property>
    461477                                                </widget>
     
    597613                                                    </property>
    598614                                                    <property name="whatsThis" stdset="0">
    599                                                         <string>Setup application</string>
     615                                                        <string>Displays the
     616                                                        command executed to
     617                                                        setup the TAP
     618                                                        interface.</string>
    600619                                                    </property>
    601620                                                </widget>
     
    608627                                                    </property>
    609628                                                    <property name="whatsThis" stdset="0">
    610                                                         <string>Select setup application</string>
     629                                                        <string>Selects the
     630                                                        setup
     631                                                        application.</string>
    611632                                                    </property>
    612633                                                </widget>
     
    686707                                                    </property>
    687708                                                    <property name="whatsThis" stdset="0">
    688                                                         <string>Terminate application</string>
     709                                                        <string>Displays the
     710                                                        command executed to
     711                                                        terminate the TAP
     712                                                        interface.</string>
    689713                                                    </property>
    690714                                                </widget>
     
    697721                                                    </property>
    698722                                                    <property name="whatsThis" stdset="0">
    699                                                         <string>Select terminate application</string>
     723                                                        <string>Selects the
     724                                                        terminate application.</string>
    700725                                                    </property>
    701726                                                </widget>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui.h

    r1628 r1701  
    5151        /* Setup Input layout */
    5252        QHBoxLayout *inputLayout = new QHBoxLayout (mainLayout, 10, "inputLayout");
    53         QLabel *lbName = new QLabel ("Interface Name", this);
     53        QLabel *lbName = new QLabel (tr ("Interface Name"), this);
    5454        mLeName = new QLineEdit (aIfaceName, this);
    55         QWhatsThis::add (mLeName, tr ("Enter name for the interface to be created"));
     55        QWhatsThis::add (mLeName, tr ("Descriptive name of the new network interface"));
    5656        inputLayout->addWidget (lbName);
    5757        inputLayout->addWidget (mLeName);
     
    6161        /* Setup Button layout */
    6262        QHBoxLayout *buttonLayout = new QHBoxLayout (mainLayout, 10, "buttonLayout");
    63         mBtOk = new QPushButton ("OK", this, "btOk");
     63        mBtOk = new QPushButton (tr ("&OK"), this, "mBtOk");
    6464        QSpacerItem *spacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
    65         QPushButton *btCancel = new QPushButton ("Cancel", this, "btCancel");
     65        QPushButton *btCancel = new QPushButton (tr ("Cancel"), this, "btCancel");
    6666        connect (mBtOk, SIGNAL (clicked()), this, SLOT (accept()));
    6767        connect (btCancel, SIGNAL (clicked()), this, SLOT (reject()));
     
    129129    pbHostRemove->setIconSet (VBoxGlobal::iconSet ("remove_host_iface_16px.png",
    130130                                                   "remove_host_iface_disabled_16px.png"));
     131    /* setup languages */
     132    QToolTip::add (pbHostAdd, tr ("Add"));
     133    QToolTip::add (pbHostRemove, tr ("Remove"));
     134    /* setup connections */
    131135    connect (grbEnabled, SIGNAL (toggled (bool)),
    132136             this, SLOT (grbEnabledToggled (bool)));
     
    382386    /* creating add host interface dialog */
    383387    VBoxAddNIDialog dlg (this, lbHostInterface->currentItem() != -1 ?
    384                          tr ("Host Interface %1").arg (++mInterfaceNumber) :
     388                         tr ("VirtualBox Host Interface %1").arg (++mInterfaceNumber) :
    385389                         leHostInterfaceName->text());
    386390    if (dlg.exec() != QDialog::Accepted)
     
    429433    /* asking user about deleting selected network interface */
    430434    int delNetIface = vboxProblem().message (this, VBoxProblemReporter::Question,
    431         tr ("<p>Do you want to remove selected network interface "
     435        tr ("<p>Do you want to remove the selected host network interface "
    432436            "<nobr><b>%1</b>?</nobr></p>"
    433             "<p>If this interface is currently selected you should "
    434             "apply VM settings changes to avoid VM using of non-existing "
    435             "interface</p>").arg (iName),
     437            "<p><b>Note:</b> This interface may be in use by one or more "
     438            "network adapters of this or another VM. After it is removed, these "
     439            "adapters will no longer work until you correct their settings by "
     440            "either choosing a differnet interface name or a different adapter "
     441            "attachment type.</p>").arg (iName),
    436442        0, /* autoConfirmId */
    437443        QIMessageBox::Ok | QIMessageBox::Default,
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