VirtualBox

Changeset 30651 in vbox


Ignore:
Timestamp:
Jul 6, 2010 9:37:50 AM (15 years ago)
Author:
vboxsync
Message:

log.cpp: N_() around error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r30112 r30651  
    272272
    273273    if (pszErrorMsg)
    274         RTStrPrintf(pszErrorMsg, cchErrorMsg, "unknown error");
     274        RTStrPrintf(pszErrorMsg, cchErrorMsg, N_("unknown error"));
    275275
    276276    /*
     
    324324# ifdef RT_OS_LINUX
    325325            if (pszErrorMsg) /* Most probably SELinux causing trouble since the larger RTMemAlloc succeeded. */
    326                 RTStrPrintf(pszErrorMsg, cchErrorMsg, "mmap(PROT_WRITE | PROT_EXEC) failed -- SELinux?");
     326                RTStrPrintf(pszErrorMsg, cchErrorMsg, N_("mmap(PROT_WRITE | PROT_EXEC) failed -- SELinux?"));
    327327# endif
    328328            rc = VERR_NO_MEMORY;
     
    393393                rc = RTFileOpen(&pLogger->File, pLogger->pszFilename, fOpen);
    394394                if (RT_FAILURE(rc) && pszErrorMsg)
    395                     RTStrPrintf(pszErrorMsg, cchErrorMsg, "could not open file '%s' (fOpen=%#x)", pLogger->pszFilename, fOpen);
     395                    RTStrPrintf(pszErrorMsg, cchErrorMsg, N_("could not open file '%s' (fOpen=%#x)"), pLogger->pszFilename, fOpen);
    396396            }
    397397#endif  /* IN_RING3 */
     
    422422
    423423                if (pszErrorMsg)
    424                     RTStrPrintf(pszErrorMsg, cchErrorMsg, "failed to create sempahore");
     424                    RTStrPrintf(pszErrorMsg, cchErrorMsg, N_("failed to create sempahore"));
    425425            }
    426426#ifdef IN_RING3
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