Qt: Fix OSD messages not rendering in Japanese translation
This commit is contained in:
parent
ea996a0305
commit
c1f802c397
|
@ -1414,7 +1414,7 @@ static bool AddImGuiFont(const std::string& language, float size, float framebuf
|
||||||
std::string path;
|
std::string path;
|
||||||
const ImWchar* range = nullptr;
|
const ImWchar* range = nullptr;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (language == "jp")
|
if (language == "ja")
|
||||||
{
|
{
|
||||||
path = GetFontPath("msgothic.ttc");
|
path = GetFontPath("msgothic.ttc");
|
||||||
range = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();
|
range = ImGui::GetIO().Fonts->GetGlyphRangesJapanese();
|
||||||
|
|
|
@ -4144,7 +4144,7 @@ This will download approximately 4 megabytes over your current internet connecti
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Loading state from '%s'...</source>
|
<source>Loading state from '%s'...</source>
|
||||||
<translation>'%s'からステートロード中...</translation>
|
<translation>'%s'からステートロード中...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Saved %u cheats to '%s'.</source>
|
<source>Saved %u cheats to '%s'.</source>
|
||||||
|
@ -4619,7 +4619,7 @@ The saves will not be recoverable.</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Failed to open CD image from save state: '%s'.</source>
|
<source>Failed to open CD image from save state: '%s'.</source>
|
||||||
<translation>ステートセーブからCDイメージを開くことができませんでした: '%s'。</translation>
|
<translation>ステートセーブからCDイメージを開くことができませんでした: '%s'。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Changing current media from playlist, replacing current media.</source>
|
<source>Changing current media from playlist, replacing current media.</source>
|
||||||
|
|
Loading…
Reference in New Issue