mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-02 14:50:17 +01:00
Another part of the fix begun at 8640a83
This commit is contained in:
@@ -319,7 +319,7 @@ wxString GUIPrefs::SetLang( const wxString & lang )
|
||||
#endif
|
||||
|
||||
const wxLanguageInfo *info = NULL;
|
||||
if (!lang.empty()) {
|
||||
if (!lang.empty() && lang != wxT("System")) {
|
||||
info = wxLocale::FindLanguageInfo(lang);
|
||||
if (!info)
|
||||
::AudacityMessageBox(wxString::Format(_("Language \"%s\" is unknown"), lang));
|
||||
|
||||
Reference in New Issue
Block a user