partly undid last commit: we still need to look in . for the message catalogs to find them under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,9 +190,11 @@ bool MyApp::OnInit()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the message catalogs are installed in non-default locations you can
|
// normally this wouldn't be necessary as the catalog files would be found
|
||||||
// use this function to let wxLocale know about them
|
// in the default locations, but when the program is not installed the
|
||||||
// wxLocale::AddCatalogLookupPathPrefix(wxT("message_catalogs_subdir"));
|
// catalogs are in the build directory where we wouldn't find them by
|
||||||
|
// default
|
||||||
|
wxLocale::AddCatalogLookupPathPrefix(wxT("."));
|
||||||
|
|
||||||
// Initialize the catalogs we'll be using
|
// Initialize the catalogs we'll be using
|
||||||
m_locale.AddCatalog(wxT("internat"));
|
m_locale.AddCatalog(wxT("internat"));
|
||||||
|
Reference in New Issue
Block a user