From 01f0c1ff3d164a3b9bd05a768bc8c4725ceeb79e Mon Sep 17 00:00:00 2001 From: Dolphin Date: Sat, 13 Aug 2022 13:13:17 +0900 Subject: [PATCH] fix OSD message about ChallengeMode to be translatable --- src/frontend-common/achievements.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend-common/achievements.cpp b/src/frontend-common/achievements.cpp index db7294d12..6c05211f9 100644 --- a/src/frontend-common/achievements.cpp +++ b/src/frontend-common/achievements.cpp @@ -558,8 +558,9 @@ void Achievements::SetChallengeMode(bool enabled) if (HasActiveGame()) { Host::AddKeyedOSDMessage("achievements_set_challenge_mode", - Host::TranslateStdString("Achievements", enabled ? "Hardcore mode is now enabled." : - "Hardcore mode is now disabled."), + enabled ? + Host::TranslateStdString("Achievements", "Hardcore mode is now enabled.") : + Host::TranslateStdString("Achievements", "Hardcore mode is now disabled."), 10.0f); }