fix OSD message about ChallengeMode to be translatable

This commit is contained in:
Dolphin 2022-08-13 13:13:17 +09:00
parent ff09edf3d7
commit 01f0c1ff3d

View file

@ -558,8 +558,9 @@ void Achievements::SetChallengeMode(bool enabled)
if (HasActiveGame()) if (HasActiveGame())
{ {
Host::AddKeyedOSDMessage("achievements_set_challenge_mode", Host::AddKeyedOSDMessage("achievements_set_challenge_mode",
Host::TranslateStdString("Achievements", enabled ? "Hardcore mode is now enabled." : enabled ?
"Hardcore mode is now disabled."), Host::TranslateStdString("Achievements", "Hardcore mode is now enabled.") :
Host::TranslateStdString("Achievements", "Hardcore mode is now disabled."),
10.0f); 10.0f);
} }