HostInterface: Mark some more OSD messages as being translatable
This commit is contained in:
parent
38244dfcca
commit
c051538d03
2 changed files with 22 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue