1
0
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:
Paul Licameli
2019-12-04 16:23:12 -05:00
parent ca70cc940f
commit 4fdd1b005c

View File

@@ -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));