mirror of https://github.com/odrling/Aegisub
Use the correct option name for reporting the user's UI language
This commit is contained in:
parent
695de800c3
commit
db30fdedbd
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue