made error "locale couldn't be set" a verbose message instead, use WXDIR to
find wxstd.mo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,11 @@ understand: first of all, the application locale is changed - note that this
|
||||
will affect many of standard C library functions such as printf() or strftime().
|
||||
Second, this wxLocale object becomes the new current global locale for the
|
||||
application and so all subsequent calls to wxGetTranslation() will try to
|
||||
translate the messages using the message catalogs for this locale.
|
||||
translate the messages using the message catalogs for this locale. Finally,
|
||||
unless bLoadDefault parameter is FALSE, the method also loads the wxstd.mo
|
||||
catalog (which is looked for in all the usual places and, additionally, under
|
||||
the location specified bythe environment variable WXDIR if it is set) which
|
||||
will allow to translate all the messages generated by the library itself.
|
||||
|
||||
\membersection{wxLocale::\destruct{wxLocale}}\label{wxlocaledtor}
|
||||
|
||||
|
Reference in New Issue
Block a user