Changeset 1701 in vbox
- Timestamp:
- Mar 26, 2007 12:30:11 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19851
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r1551 r1701 1000 1000 { 1001 1001 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 */ 1003 1006 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); 1007 1012 1008 1013 item += QString (sSectionItemTpl) -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui
r1628 r1701 54 54 </property> 55 55 <property name="title"> 56 <string>&Enable Network Adapter (plug it into the corresponding slot)</string> 56 <string>&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> 57 61 </property> 58 62 <property name="checkable"> … … 103 107 </property> 104 108 <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> 106 112 </property> 107 113 </widget> … … 146 152 </property> 147 153 <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> 149 158 </property> 150 159 </widget> … … 190 199 </property> 191 200 <property name="whatsThis" stdset="0"> 192 <string>Generate a new random MAC address.</string>201 <string>Generates a new random MAC address.</string> 193 202 </property> 194 203 </widget> … … 208 217 </property> 209 218 <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> 211 221 </property> 212 222 </widget> … … 294 304 </property> 295 305 <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> 297 310 </property> 298 311 </widget> … … 312 325 </property> 313 326 <property name="whatsThis" stdset="0"> 314 <string>The list of interfaces available</string> 327 <string>Lists all available 328 host interfaces.</string> 315 329 </property> 316 330 </widget> … … 346 360 </property> 347 361 <property name="whatsThis" stdset="0"> 348 <string>Add a new host interface</string>362 <string>Adds a new host interface.</string> 349 363 </property> 350 364 </widget> … … 366 380 </property> 367 381 <property name="whatsThis" stdset="0"> 368 <string>Remove 369 the selected host interface </string>382 <string>Removes 383 the selected host interface.</string> 370 384 </property> 371 385 </widget> … … 457 471 </property> 458 472 <property name="whatsThis" stdset="0"> 459 <string>TAP interface name</string> 473 <string>Displays the 474 TAP interface 475 name.</string> 460 476 </property> 461 477 </widget> … … 597 613 </property> 598 614 <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> 600 619 </property> 601 620 </widget> … … 608 627 </property> 609 628 <property name="whatsThis" stdset="0"> 610 <string>Select setup application</string> 629 <string>Selects the 630 setup 631 application.</string> 611 632 </property> 612 633 </widget> … … 686 707 </property> 687 708 <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> 689 713 </property> 690 714 </widget> … … 697 721 </property> 698 722 <property name="whatsThis" stdset="0"> 699 <string>Select terminate application</string> 723 <string>Selects the 724 terminate application.</string> 700 725 </property> 701 726 </widget> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui.h
r1628 r1701 51 51 /* Setup Input layout */ 52 52 QHBoxLayout *inputLayout = new QHBoxLayout (mainLayout, 10, "inputLayout"); 53 QLabel *lbName = new QLabel ( "Interface Name", this);53 QLabel *lbName = new QLabel (tr ("Interface Name"), this); 54 54 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")); 56 56 inputLayout->addWidget (lbName); 57 57 inputLayout->addWidget (mLeName); … … 61 61 /* Setup Button layout */ 62 62 QHBoxLayout *buttonLayout = new QHBoxLayout (mainLayout, 10, "buttonLayout"); 63 mBtOk = new QPushButton ( "OK", this, "btOk");63 mBtOk = new QPushButton (tr ("&OK"), this, "mBtOk"); 64 64 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"); 66 66 connect (mBtOk, SIGNAL (clicked()), this, SLOT (accept())); 67 67 connect (btCancel, SIGNAL (clicked()), this, SLOT (reject())); … … 129 129 pbHostRemove->setIconSet (VBoxGlobal::iconSet ("remove_host_iface_16px.png", 130 130 "remove_host_iface_disabled_16px.png")); 131 /* setup languages */ 132 QToolTip::add (pbHostAdd, tr ("Add")); 133 QToolTip::add (pbHostRemove, tr ("Remove")); 134 /* setup connections */ 131 135 connect (grbEnabled, SIGNAL (toggled (bool)), 132 136 this, SLOT (grbEnabledToggled (bool))); … … 382 386 /* creating add host interface dialog */ 383 387 VBoxAddNIDialog dlg (this, lbHostInterface->currentItem() != -1 ? 384 tr (" Host Interface %1").arg (++mInterfaceNumber) :388 tr ("VirtualBox Host Interface %1").arg (++mInterfaceNumber) : 385 389 leHostInterfaceName->text()); 386 390 if (dlg.exec() != QDialog::Accepted) … … 429 433 /* asking user about deleting selected network interface */ 430 434 int delNetIface = vboxProblem().message (this, VBoxProblemReporter::Question, 431 tr ("<p>Do you want to remove selectednetwork interface "435 tr ("<p>Do you want to remove the selected host network interface " 432 436 "<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), 436 442 0, /* autoConfirmId */ 437 443 QIMessageBox::Ok | QIMessageBox::Default,
Note:
See TracChangeset
for help on using the changeset viewer.