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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user