VirtualBox

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


Ignore:
Timestamp:
Sep 19, 2013 12:00:06 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Video capture feature: Status-bar indicator: NLS fix.

File:
1 edited

Legend:

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

    r48314 r48530  
    545545
    546546        /* Update LED tool-tip: */
    547         QString strToolTip = QApplication::translate("UIIndicatorsPool", "<nobr>Indicates the activity of the video capture:</nobr>");
    548         strToolTip += "<br>";
     547        QString strToolTip = QApplication::translate("UIIndicatorsPool", "<nobr>Indicates the activity of the video capture:</nobr><br>%1");
    549548        switch (state())
    550549        {
    551550            case UIIndicatorStateVideoCapture_Disabled:
    552551            {
    553                 strToolTip += QApplication::translate("UIIndicatorsPool", "<b>Video capture disabled</b>");
     552                strToolTip = strToolTip.arg(QApplication::translate("UIIndicatorsPool", "<nobr><b>Video capture disabled</b></nobr>"));
    554553                break;
    555554            }
    556555            case UIIndicatorStateVideoCapture_Enabled:
    557556            {
    558                 strToolTip += QApplication::translate("UIIndicatorsPool", "<nobr><b>Video capture file:</b> %1</nobr>")
    559                                                                           .arg(machine.GetVideoCaptureFile());
     557                strToolTip = strToolTip.arg(QApplication::translate("UIIndicatorsPool", "<nobr><b>Video capture file:</b> %1</nobr>"));
     558                strToolTip = strToolTip.arg(machine.GetVideoCaptureFile());
    560559                break;
    561560            }
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