From: Vadim Zeitlin Date: Tue, 29 Mar 2005 18:12:26 +0000 (+0000) Subject: removed extra dot from msg catalog names (fix for the fix for the patch 1169837) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/de085fccce8453b9aa4fdfc2a5452f1f7ffda110 removed extra dot from msg catalog names (fix for the fix for the patch 1169837) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 9dfb288cd0..e068eeb93f 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -100,9 +100,6 @@ typedef wxUint32 size_t32; const size_t32 MSGCATALOG_MAGIC = 0x950412de; const size_t32 MSGCATALOG_MAGIC_SW = 0xde120495; -// extension of ".mo" files -#define MSGCATALOG_EXTENSION _T(".mo") - // the constants describing the format of lang_LANG locale string static const size_t LEN_LANG = 2; static const size_t LEN_SUBLANG = 2; @@ -1106,7 +1103,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName, szName, searchPath.c_str()); wxFileName fn(szName); - fn.SetExt(MSGCATALOG_EXTENSION); + fn.SetExt(_T("mo")); wxString strFullName; if ( !wxFindFileInPath(&strFullName, searchPath, fn.GetFullPath()) ) { wxLogVerbose(_("catalog file for domain '%s' not found."), szName);