VirtualBox

Changeset 14398 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 20, 2008 11:13:36 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: Language; another attempt to make the warning color more readable.

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/QILabelSeparator.h

    r10649 r14398  
    4444    void clear();
    4545    void setText (const QString &aText);
    46 
     46    QString text() const;
    4747
    4848protected:
  • trunk/src/VBox/Frontends/VirtualBox4/src/QILabelSeparator.cpp

    r10649 r14398  
    5858}
    5959
     60QString QILabelSeparator::text() const
     61{
     62    return mLabel->text();
     63}
     64
    6065void QILabelSeparator::init()
    6166{
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSettingsDialog.cpp

    r14393 r14398  
    131131
    132132    mErrorHint = tr ("Invalid settings detected");
    133     mWarnHint = tr ("Important warnings detected");
     133    mWarnHint = tr ("Non-optimal settings detected");
    134134    if (!mValid)
    135135        mIconLabel->setWarningText (mErrorHint);
     
    169169{
    170170    mWarnString = aWarning.isEmpty() ? QString::null :
    171                   QString ("<font color=#ff6c00>%1</font>").arg (aWarning);
     171                  QString ("<font color=#ff5400>%1</font>").arg (aWarning);
    172172
    173173    /* Not touching QILabel until dialog is polished otherwise
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSettingsDialogSpecific.cpp

    r14339 r14398  
    367367    valid = page->revalidate (text, pageTitle);
    368368    text = text.isEmpty() ? QString::null :
    369            tr ("%1 on the <b>%2</b> page.").arg (text, pageTitle);
     369           tr ("On the <b>%1</b> page, %2").arg (pageTitle, text);
    370370    aWval->setLastWarning (text);
    371371    valid ? setWarning (text) : setError (text);
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp

    r14387 r14398  
    386386    if (mSlRam->value() + mSlVideo->value() > 0.75 * fullSize)
    387387    {
    388         aWarning = tr ("You have assigned more than 75% of your computer's memory (%1) to "
    389                        "the virtual machine. Not enough memory is left for your host "
    390                        "operating system. Please select a smaller amount. Error found")
    391                        .arg (vboxGlobal().formatSize (fullSize * _1M));
     388        aWarning = tr (
     389            "you have assigned more than <b>75%</b> of your computer's memory "
     390            "(<b>%1</b>) to the virtual machine. Not enough memory is left "
     391            "for your host operating system. Please select a smaller amount.")
     392            .arg (vboxGlobal().formatSize (fullSize * _1M));
    392393        return false;
    393394    } else
    394395    if (mSlRam->value() + mSlVideo->value() > 0.5 * fullSize)
    395396    {
    396         aWarning = tr ("You have assigned more than 50% of your computer's memory (%1) to "
    397                        "the virtual machine. Not enough memory might be left for your host "
    398                        "operating system. Continue at your own risk. Problem found")
    399                        .arg (vboxGlobal().formatSize (fullSize * _1M));
     397        aWarning = tr (
     398            "you have assigned more than <b>50%</b> of your computer's memory "
     399            "(<b>%1</b>) to the virtual machine. Not enough memory might be "
     400            "left for your host operating system. Continue at your own risk.")
     401            .arg (vboxGlobal().formatSize (fullSize * _1M));
    400402        return true;
    401403    } else
    402     if ((quint64)mSlVideo->value() * _1M < needBytes)
    403     {
    404         aWarning = tr ("You have assigned less than %1 for video memory. This is the minimum "
    405                        "requirement for the guest to be able to switch to fullscreen or "
    406                        "seamless mode. Problem found")
    407                        .arg (vboxGlobal().formatSize (needBytes));
     404    if ((quint64) mSlVideo->value() * _1M < needBytes)
     405    {
     406        aWarning = tr (
     407            "you have assigned less than <b>%1</b> for video memory which is "
     408            "the minimum amount required to switch the virtual machine to "
     409            "fullscreen or seamless mode.")
     410            .arg (vboxGlobal().formatSize (needBytes),
     411            VBoxGlobal::removeAccelMark (mGbVideo->text()));
    408412        return true;
    409413    }
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsGeneral.ui

    r14312 r14398  
    728728           </property>
    729729           <property name="whatsThis" >
    730             <string>When checked, the VirtualBox allows guests to make use of the 3D graphics support available on the host.</string>
     730            <string>When checked, the virtual machine will get access to the 3D graphics capabilities available on the host.</string>
    731731           </property>
    732732           <property name="text" >
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