VirtualBox

Changeset 4203 in vbox


Ignore:
Timestamp:
Aug 17, 2007 2:16:52 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23697
Message:

FE/Qt: Wording.

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

Legend:

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

    r4202 r4203  
    11901190
    11911191                emit usbStateChange();
    1192                 /// @todo update menu entries
    11931192
    11941193                return true;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r4202 r4203  
    15891589
    15901590        /* update tooltip */
    1591         QString ttip = VBoxConsoleWnd::tr (
    1592             "<qt><nobr>Indicates the activity of the network interfaces:</nobr>"
    1593             "%1</qt>",
    1594             "Network adapters indicator");
     1591        QString ttip = tr ("<qt><nobr>Indicates the activity of the network "
     1592                           "interfaces:</nobr>"
     1593                           "%1</qt>",
     1594                           "Network adapters tooltip");
    15951595        QString info;
    15961596
     
    15991599            CNetworkAdapter adapter = cmachine.GetNetworkAdapter (slot);
    16001600            if (adapter.GetEnabled())
    1601                 info += VBoxConsoleWnd::tr ("<br><nobr><b>Adapter %1 (%2)</b>: cable %3</nobr>",
    1602                                             "Network adapters indicator")
     1601                info += tr ("<br><nobr><b>Adapter %1 (%2)</b>: cable %3</nobr>",
     1602                            "Network adapters tooltip")
    16031603                    .arg (slot)
    16041604                    .arg (vboxGlobal().toString (adapter.GetAttachmentType()))
    16051605                    .arg (adapter.GetCableConnected() ?
    1606                           VBoxConsoleWnd::tr ("connected", "Network adapters indicator") :
    1607                           VBoxConsoleWnd::tr ("disconnected", "Network adapters indicator"));
     1606                          tr ("connected", "Network adapters tooltip") :
     1607                          tr ("disconnected", "Network adapters tooltip"));
    16081608        }
    16091609
    16101610        if (info.isNull())
    1611             info = VBoxConsoleWnd::tr ("<br><nobr><b>All network adapters are disabled</b></nobr>",
    1612                                        "Network adapters indicator");
     1611            info = tr ("<br><nobr><b>All network adapters are disabled</b></nobr>",
     1612                       "Network adapters tooltip");
    16131613
    16141614        QToolTip::add (net_light, ttip.arg (info));
     
    16231623
    16241624            /* update tooltip */
    1625             QString ttip = VBoxConsoleWnd::tr (
    1626                 "<qt><nobr>Indicates the activity of "
    1627                 "attached USB devices:</nobr>"
    1628                 "%1</qt>",
    1629                 "USB device indicator");
     1625            QString ttip = tr ("<qt><nobr>Indicates the activity of the "
     1626                               "attached USB devices:</nobr>"
     1627                               "%1</qt>",
     1628                               "USB device tooltip");
    16301629            QString info;
    16311630
     
    16401639                }
    16411640                if (info.isNull())
    1642                     info = VBoxConsoleWnd::tr ("<br><nobr><b>No USB devices attached</b></nobr>",
    1643                                                "USB device indicator");
     1641                    info = tr ("<br><nobr><b>No USB devices attached</b></nobr>",
     1642                               "USB device tooltip");
    16441643            }
    16451644            else
    1646                 info = VBoxConsoleWnd::tr ("<br><nobr><b>USB Controller is disabled</b></nobr>",
    1647                                            "USB device indicator");
     1645                info = tr ("<br><nobr><b>USB Controller is disabled</b></nobr>",
     1646                           "USB device tooltip");
    16481647
    16491648            QToolTip::add (usb_light, ttip.arg (info));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette