X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/374b4f1c0b24ffb096e33a8c9f63031247a2efe0..72f8c792205f18e8f171468240b6c04ceca000d2:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 73e6d1a58a..275ed6dcd9 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -365,10 +365,14 @@ unsigned wxLog::DoLogNumberOfRepeats() if ( pLogger && ms_prevCounter > 0 ) { wxString msg; +#if wxUSE_INTL msg.Printf(wxPLURAL("The previous message repeated once.", "The previous message repeated %lu times.", ms_prevCounter), ms_prevCounter); +#else + msg.Printf(wxT("The previous message was repeated.")); +#endif ms_prevCounter = 0; ms_prevString.clear(); pLogger->DoLog(ms_prevLevel, msg.c_str(), ms_prevTimeStamp);