forked from Mirror/Ryujinx
make UI display correct content in Chinese (#4155)
This commit is contained in:
parent
479d1fd8b0
commit
55a23e5ec8
2 changed files with 4 additions and 4 deletions
|
@ -57,9 +57,9 @@ namespace Ryujinx.HLE.HOS.SystemState
|
||||||
DesiredTitleLanguage = language switch
|
DesiredTitleLanguage = language switch
|
||||||
{
|
{
|
||||||
SystemLanguage.Taiwanese or
|
SystemLanguage.Taiwanese or
|
||||||
SystemLanguage.TraditionalChinese => TitleLanguage.Taiwanese,
|
SystemLanguage.TraditionalChinese => TitleLanguage.TraditionalChinese,
|
||||||
SystemLanguage.Chinese or
|
SystemLanguage.Chinese or
|
||||||
SystemLanguage.SimplifiedChinese => TitleLanguage.Chinese,
|
SystemLanguage.SimplifiedChinese => TitleLanguage.SimplifiedChinese,
|
||||||
_ => Enum.Parse<TitleLanguage>(Enum.GetName<SystemLanguage>(language)),
|
_ => Enum.Parse<TitleLanguage>(Enum.GetName<SystemLanguage>(language)),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
Portuguese,
|
Portuguese,
|
||||||
Russian,
|
Russian,
|
||||||
Korean,
|
Korean,
|
||||||
Taiwanese,
|
TraditionalChinese,
|
||||||
Chinese,
|
SimplifiedChinese,
|
||||||
BrazilianPortuguese
|
BrazilianPortuguese
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue