1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 07:43:50 +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

@@ -124,12 +124,6 @@ bool EffectsPrefs::Apply()
ShuttleGui S(this, eIsSavingToPrefs);
PopulateOrExchange(S);
// If language has changed, we want to change it now, not on the next reboot.
wxString lang = gPrefs->Read(wxT("/Locale/Language"), wxT(""));
if (lang == wxT(""))
lang = GetSystemLanguageCode();
wxGetApp().InitLang(lang);
return true;
}