VirtualBox

Ignore:
Timestamp:
Oct 23, 2008 10:41:13 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38366
Message:

improve the hardened error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp

    r13518 r13526  
    414414    vsprintf (msgBuf, pszMsgFmt, va);
    415415
    416     QString msgText = QApplication::tr ("%1\n\nrc=%2").arg (msgBuf).arg(rc);
     416    QString msgText = QApplication::tr (
     417            "<html><b>%1 (rc=%2)</b><br/><br/>").arg (msgBuf).arg (rc);
    417418    switch (enmWhat)
    418419    {
    419420        case kSupInitOp_Driver:
    420             msgText += QApplication::tr ("\n\n"
     421            msgText += QApplication::tr (
    421422#ifdef RT_OS_LINUX
    422423            "The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or "
    423424            "there is a permission problem with /dev/vboxdrv. Re-setup the kernel "
    424             "module by executing\n\n"
    425             "  '/etc/init.d/vboxdrv setup'\n\n"
     425            "module by executing<br/><br/>"
     426            "  <font color=blue>'/etc/init.d/vboxdrv setup'</font><br/><br/>"
    426427            "as root. Users of Ubuntu or Fedora should install the DKMS package "
    427428            "at first. This package keeps track of Linux kernel changes and "
     
    435436        case kSupInitOp_Integrity:
    436437        case kSupInitOp_RootCheck:
    437             msgText += QApplication::tr ("\n\nIt may help to reinstall VirtualBox."); /* hope this isn't (C), (TM) or (R) Microsoft support ;-) */
     438            msgText += QApplication::tr ("It may help to reinstall VirtualBox."); /* hope this isn't (C), (TM) or (R) Microsoft support ;-) */
    438439            break;
    439440        default:
     
    441442            break;
    442443    }
     444    msgText += "</html>";
    443445
    444446#ifdef RT_OS_LINUX
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