VirtualBox

Ignore:
Timestamp:
Feb 25, 2015 5:12:48 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 7614: Make sure 'desired' and 'actual' option values have different NLS to let the user distinguish them.

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

Legend:

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

    r53006 r54505  
    614614        CMachineDebugger debugger = console.GetDebugger();
    615615        QString strVirtualization = debugger.GetHWVirtExEnabled() ?
    616             VBoxGlobal::tr("Enabled", "details report (VT-x/AMD-V)") :
    617             VBoxGlobal::tr("Disabled", "details report (VT-x/AMD-V)");
     616            VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") :
     617            VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)");
    618618        QString strNestedPaging = debugger.GetHWVirtExNestedPagingEnabled() ?
    619             VBoxGlobal::tr("Enabled", "details report (Nested Paging)") :
    620             VBoxGlobal::tr("Disabled", "details report (Nested Paging)");
     619            VBoxGlobal::tr("Active", "details report (Nested Paging)") :
     620            VBoxGlobal::tr("Inactive", "details report (Nested Paging)");
    621621        QString strUnrestrictedExecution = debugger.GetHWVirtExUXEnabled() ?
    622             VBoxGlobal::tr("Enabled", "details report (Unrestricted Execution)") :
    623             VBoxGlobal::tr("Disabled", "details report (Unrestricted Execution)");
     622            VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") :
     623            VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)");
    624624        QString strParavirtProvider = gpConverter->toString(m.GetEffectiveParavirtProvider());
    625625
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r54305 r54505  
    17901790}
    17911791
    1792 bool UIMessageCenter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported) const
     1792bool UIMessageCenter::warnAboutVirtExInactiveFor64BitsGuest(bool fHWVirtExSupported) const
    17931793{
    17941794    if (fHWVirtExSupported)
    17951795        return questionBinary(0, MessageType_Error,
    1796                               tr("<p>VT-x/AMD-V hardware acceleration has been enabled, but is "
    1797                                  "not operational. Your 64-bit guest will fail to detect a "
    1798                                  "64-bit CPU and will not be able to boot.</p><p>Please ensure "
    1799                                  "that you have enabled VT-x/AMD-V properly in the BIOS of your "
    1800                                  "host computer.</p>"),
     1796                              tr("<p>VT-x/AMD-V hardware acceleration has been enabled, but is not operational. "
     1797                                 "Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.</p>"
     1798                                 "<p>Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.</p>"),
    18011799                              0 /* auto-confirm id */,
    18021800                              tr("Close VM"), tr("Continue"));
     
    18041802        return questionBinary(0, MessageType_Error,
    18051803                              tr("<p>VT-x/AMD-V hardware acceleration is not available on your system. "
    1806                                  "Your 64-bit guest will fail to detect a 64-bit CPU and will "
    1807                                  "not be able to boot."),
     1804                                 "Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot."),
    18081805                              0 /* auto-confirm id */,
    18091806                              tr("Close VM"), tr("Continue"));
    18101807}
    18111808
    1812 bool UIMessageCenter::warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported) const
     1809bool UIMessageCenter::warnAboutVirtExInactiveForRecommendedGuest(bool fHWVirtExSupported) const
    18131810{
    18141811    if (fHWVirtExSupported)
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r54305 r54505  
    279279    bool remindAboutGuruMeditation(const QString &strLogFolder);
    280280    void warnAboutVBoxSVCUnavailable() const;
    281     bool warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported) const;
    282     bool warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported) const;
     281    bool warnAboutVirtExInactiveFor64BitsGuest(bool fHWVirtExSupported) const;
     282    bool warnAboutVirtExInactiveForRecommendedGuest(bool fHWVirtExSupported) const;
    283283    bool cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames) const;
    284284    void cannotStartMachine(const CConsole &console, const QString &strName) const;
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r54285 r54505  
    989989    /* System */
    990990    {
     991#ifdef VBOX_WITH_FULL_DETAILS_REPORT
    991992        /* BIOS Settings holder */
    992993        CBIOSSettings biosSettings = aMachine.GetBIOSSettings();
     994#endif /* VBOX_WITH_FULL_DETAILS_REPORT */
    993995
    994996        /* System details row count: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r54285 r54505  
    838838        bool bVirtEnabled = debugger.GetHWVirtExEnabled();
    839839        QString virtualization = bVirtEnabled ?
    840             VBoxGlobal::tr("Enabled", "details report (VT-x/AMD-V)") :
    841             VBoxGlobal::tr("Disabled", "details report (VT-x/AMD-V)");
     840            VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") :
     841            VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)");
    842842
    843843        /* Nested Paging feature: */
    844844        bool bNestEnabled = debugger.GetHWVirtExNestedPagingEnabled();
    845845        QString nestedPaging = bNestEnabled ?
    846             VBoxGlobal::tr("Enabled", "details report (Nested Paging)") :
    847             VBoxGlobal::tr("Disabled", "details report (Nested Paging)");
     846            VBoxGlobal::tr("Active", "details report (Nested Paging)") :
     847            VBoxGlobal::tr("Inactive", "details report (Nested Paging)");
    848848
    849849        /* Unrestricted Execution feature: */
    850850        bool bUXEnabled = debugger.GetHWVirtExUXEnabled();
    851851        QString unrestrictExec = bUXEnabled ?
    852             VBoxGlobal::tr("Enabled", "details report (Unrestricted Execution)") :
    853             VBoxGlobal::tr("Disabled", "details report (Unrestricted Execution)");
     852            VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") :
     853            VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)");
    854854
    855855        /* CPU Execution Cap feature: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r54459 r54505  
    18491849    const bool fRecommendVirtEx = vboxGlobal().virtualBox().GetGuestOSType(guest().GetOSTypeId()).GetRecommendedVirtEx();
    18501850    AssertMsg(!fIs64BitsGuest || fRecommendVirtEx, ("Virtualization support missed for 64bit guest!\n"));
    1851     bool fIsVirtEnabled = debugger().GetHWVirtExEnabled();
    1852     if (fRecommendVirtEx && !fIsVirtEnabled)
     1851    const bool fIsVirtActive = debugger().GetHWVirtExEnabled();
     1852    if (fRecommendVirtEx && !fIsVirtActive)
    18531853    {
    18541854        /* Check whether vt-x / amd-v supported: */
     
    18611861        bool fShouldWeClose;
    18621862        if (fIs64BitsGuest)
    1863             fShouldWeClose = msgCenter().warnAboutVirtNotEnabled64BitsGuest(fVTxAMDVSupported);
     1863            fShouldWeClose = msgCenter().warnAboutVirtExInactiveFor64BitsGuest(fVTxAMDVSupported);
    18641864        else
    1865             fShouldWeClose = msgCenter().warnAboutVirtNotEnabledGuestRequired(fVTxAMDVSupported);
     1865            fShouldWeClose = msgCenter().warnAboutVirtExInactiveForRecommendedGuest(fVTxAMDVSupported);
    18661866
    18671867        /* If user asked to close VM: */
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