Qt: Fix OSD messages not rendering in Japanese translation
This commit is contained in:
@ -1414,7 +1414,7 @@ static bool AddImGuiFont(const std::string& language, float size, float framebuf
|
||||
std::string path;
|
||||
const ImWchar* range = nullptr;
|
||||
#ifdef WIN32
|
||||
if (language == "jp")
|
||||
if (language == "ja")
|
||||
{
|
||||
path = GetFontPath("msgothic.ttc");
|
||||
range = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();
|
||||
|
||||
Reference in New Issue
Block a user