VirtualBox

Changeset 55329 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 17, 2015 1:27:10 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: VM settings: Alter few ExtPack related NLS.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r54199 r55329  
    397397
    398398#ifdef VBOX_WITH_EXTPACK
     399        /* VRDE Extension Pack presence test: */
    399400        CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName);
    400401        if (m_pCheckboxRemoteDisplay->isChecked() && (extPack.isNull() || !extPack.GetUsable()))
    401402        {
    402403            message.second << tr("Remote Display is currently enabled for this virtual machine. "
    403                                  "However, this requires the <b>%1</b> to be installed. "
     404                                 "However, this requires the <i>%1</i> to be installed. "
    404405                                 "Please install the Extension Pack from the VirtualBox download site as "
    405406                                 "otherwise your VM will be started with Remote Display disabled.")
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r55305 r55329  
    3131/* COM includes: */
    3232# include "CMedium.h"
     33# include "CExtPack.h"
     34# include "CExtPackManager.h"
    3335# include "CMediumAttachment.h"
    3436#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
     
    398400    if (m_pCheckBoxEncryption->isChecked())
    399401    {
     402#ifdef VBOX_WITH_EXTPACK
     403        /* Encryption Extension Pack presence test: */
     404        const CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName);
     405        if (extPack.isNull() || !extPack.GetUsable())
     406        {
     407            message.second << tr("You are trying to encrypt this virtual machine. "
     408                                 "However, this requires the <i>%1</i> to be installed. "
     409                                 "Please install the Extension Pack from the VirtualBox download site.")
     410                                 .arg(GUI_ExtPackName);
     411            fPass = false;
     412        }
     413#endif /* VBOX_WITH_EXTPACK */
     414
    400415        /* Cipher should be chosen if once changed: */
    401416        AssertPtrReturn(m_pComboCipher, false);
     
    405420            if (m_pComboCipher->currentIndex() == 0)
    406421                message.second << tr("Encryption cipher type not specified.");
     422            fPass = false;
    407423        }
     424
    408425        /* Password should be entered and confirmed if once changed: */
    409426        AssertPtrReturn(m_pEditorEncryptionPassword, false);
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp

    r54644 r55329  
    501501
    502502#ifdef VBOX_WITH_EXTPACK
    503     /* USB 2.0 Extension Pack presence test: */
     503    /* USB 2.0/3.0 Extension Pack presence test: */
    504504    CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName);
    505505    if (   mGbUSB->isChecked()
     
    509509        /* Prepare message: */
    510510        UIValidationMessage message;
    511         message.second << tr("USB 2.0 is currently enabled for this virtual machine. "
    512                              "However, this requires the <b>%1</b> to be installed. "
     511        message.second << tr("USB 2.0/3.0 is currently enabled for this virtual machine. "
     512                             "However, this requires the <i>%1</i> to be installed. "
    513513                             "Please install the Extension Pack from the VirtualBox download site "
    514514                             "or disable USB 2.0 to be able to start the machine.")
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