1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Bug #335 - corrects loading of wxWidgets message catalogs

after changing languages.
This commit is contained in:
lllucius
2011-04-02 01:48:51 +00:00
parent 0c0a853a1b
commit b55fb15b89
2 changed files with 5 additions and 6 deletions

View File

@@ -936,6 +936,11 @@ void AudacityApp::InitLang( const wxString & lang )
for(unsigned int i=0; i<audacityPathList.GetCount(); i++)
mLocale->AddCatalogLookupPathPrefix(audacityPathList[i]);
// LL: Must add the wxWidgets catalog manually since the search
// paths were not set up when mLocale was created. The
// catalogs are search in LIFO order, so add wxstd first.
mLocale->AddCatalog(wxT("wxstd"));
#ifdef AUDACITY_NAME
mLocale->AddCatalog(wxT(AUDACITY_NAME));
#else