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
This commit is contained in:
Václav Slavík
2002-07-20 18:10:06 +00:00
parent 799690a0a9
commit 5918786f9f

View File

@@ -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);