Remove incorrect usage of _trans

It only marks a string for translation. It doesn't actually do anything
at runtime, so the string will always be displayed in English. Even if
we would've had a way to make the translation work, we shouldn't
translate this, because OSD doesn't support non-ASCII characters.
This commit is contained in:
JosJuice 2017-04-30 15:15:08 +02:00
parent fcc2ed4550
commit 8b5980f33e

View File

@ -54,9 +54,9 @@ void ModifySettingsButton::GetState()
associated_settings[i] = !associated_settings[i];
if (associated_settings[i])
OSD::AddMessage(controls[i]->name + ": " + _trans("on"));
OSD::AddMessage(controls[i]->name + ": on");
else
OSD::AddMessage(controls[i]->name + ": " + _trans("off"));
OSD::AddMessage(controls[i]->name + ": off");
threshold_exceeded[i] = true;
}