HostInterface: Mark some more OSD messages as being translatable

This commit is contained in:
Connor McLaughlin committed 2020-10-03 01:06:04 +10:00
1 parent 38244dfcca
commit c051538d03
2 files changed
+22 -12

No files matched your search

@@ -1437,8 +1437,10 @@ void CommonHostInterface::RegisterGraphicsHotkeys()
{
g_settings.gpu_pgxp_enable = !g_settings.gpu_pgxp_enable;
g_gpu->UpdateSettings();
AddFormattedOSDMessage(5.0f, "PGXP is now %s.",
g_settings.gpu_pgxp_enable ? "enabled" : "disabled");
AddOSDMessage(g_settings.gpu_pgxp_enable ?
TranslateStdString("OSDMessage", "PGXP is now enabled.") :
TranslateStdString("OSDMessage", "PGXP is now disabled"),
5.0f);
if (g_settings.gpu_pgxp_enable)
PGXP::Initialize();