forked from mia/Aegisub
Use the correct option name for reporting the user's UI language
This commit is contained in:
parent
695de800c3
commit
db30fdedbd
1 changed files with 1 additions and 2 deletions
|
@ -333,8 +333,7 @@ static wxString GetSystemLanguage()
|
||||||
|
|
||||||
static wxString GetAegisubLanguage()
|
static wxString GetAegisubLanguage()
|
||||||
{
|
{
|
||||||
const wxLanguageInfo *info = wxLocale::GetLanguageInfo(OPT_GET("App/Locale")->GetInt());
|
return lagi_wxString(OPT_GET("App/Language")->GetString());
|
||||||
return info ? info->CanonicalName : "unknown";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class OutIter>
|
template<class OutIter>
|
||||||
|
|
Loading…
Reference in a new issue