From: Włodzimierz Skiba Date: Tue, 25 Jul 2006 09:08:46 +0000 (+0000) Subject: Allow wxUSE_INTL==0 builds. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/459b97dfcb58bd4e1ca6f5e3f2302b069e779825 Allow wxUSE_INTL==0 builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);