Use the correct option name for reporting the user's UI language

This commit is contained in:
Thomas Goyne 2012-10-07 19:54:34 -07:00
parent 695de800c3
commit db30fdedbd
1 changed files with 1 additions and 2 deletions

View File

@ -333,8 +333,7 @@ static wxString GetSystemLanguage()
static wxString GetAegisubLanguage()
{
const wxLanguageInfo *info = wxLocale::GetLanguageInfo(OPT_GET("App/Locale")->GetInt());
return info ? info->CanonicalName : "unknown";
return lagi_wxString(OPT_GET("App/Language")->GetString());
}
template<class OutIter>