X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f830b2b1fc8dfb094db2274b49d7ce9b882bccc4..a3669332df65cfae18e7540a267bc3400a64aa09:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index ba154e7ee4..2014d6dd84 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1014,11 +1014,12 @@ wxString GetMsgCatalogSubdir(const wxChar *prefix, const wxChar *lang) searchPath << prefix << wxFILE_SEP_PATH << lang; // under Unix, the message catalogs are supposed to go into LC_MESSAGES - // subdirectory but there is no such requirement/tradition on the other - // systems + // subdirectory so look there too #ifdef __UNIX__ - searchPath << wxFILE_SEP_PATH << wxT("LC_MESSAGES"); -#endif + const wxString searchPathOrig(searchPath); + searchPath << wxFILE_SEP_PATH << wxT("LC_MESSAGES") + << wxPATH_SEP << searchPathOrig; +#endif // __UNIX__ return searchPath; }