X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25a5f9a9e2cc373455b4696760526e31479de247..dece3bfd8265ac467b1013e1a3951b042425a6c7:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index bddfe17c34..470c5d12bb 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -2479,6 +2479,11 @@ bool wxLocale::AddCatalog(const wxChar *szDomain) // don't add it because it couldn't be loaded anyway delete pMsgCat; + // it's OK to not load English catalog, the texts are embedded in + // the program: + if (m_strShort.Mid(0, 2) == wxT("en")) + return TRUE; + return FALSE; } }