mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user