]> git.saurik.com Git - wxWidgets.git/commitdiff
read message catalogs from the location where wxWin was installed, too
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 20 Jul 2002 18:10:06 +0000 (18:10 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 20 Jul 2002 18:10:06 +0000 (18:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 7d115e81a6f694b674a46b032266f5dc3d6c5abe..3f592d7881f538217981797b71c420635608c02e 100644 (file)
@@ -313,6 +313,7 @@ static wxString GetFullSearchPath(const wxChar *lang)
 #ifdef __UNIX__
     // and finally add some standard ones
     searchPath
 #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);
         << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale"), lang)
         << GetAllMsgCatalogSubdirs(wxT("/usr/lib/locale"), lang)
         << GetAllMsgCatalogSubdirs(wxT("/usr/local/share/locale"), lang);