From: Václav Slavík Date: Sat, 20 Jul 2002 18:10:06 +0000 (+0000) Subject: read message catalogs from the location where wxWin was installed, too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5918786f9f81568935710ee9d5ebe1735faeabb5?ds=sidebyside read message catalogs from the location where wxWin was installed, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 7d115e81a6..3f592d7881 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -313,6 +313,7 @@ static wxString GetFullSearchPath(const wxChar *lang) #ifdef __UNIX__ // and finally add some standard ones searchPath + << GetAllMsgCatalogSubdirs(wxString(wxGetInstallPrefix()) + wxT("/share/locale"), lang) << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale"), lang) << GetAllMsgCatalogSubdirs(wxT("/usr/lib/locale"), lang) << GetAllMsgCatalogSubdirs(wxT("/usr/local/share/locale"), lang);