3
0
Fork 0
forked from suyu/suyu

Merge pull request #1429 from lioncash/translate

configure_input: Make analog mapping strings translatable
This commit is contained in:
bunnei 2018-10-03 19:13:20 -04:00 committed by GitHub
commit 5ae5610c13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,9 +152,9 @@ ConfigureInput::ConfigureInput(QWidget* parent)
}
}
connect(analog_map_stick[analog_id], &QPushButton::released, [=]() {
QMessageBox::information(
this, "Information",
"After pressing OK, first move your joystick horizontally, and then vertically.");
QMessageBox::information(this, tr("Information"),
tr("After pressing OK, first move your joystick horizontally, "
"and then vertically."));
handleClick(
analog_map_stick[analog_id],
[=](const Common::ParamPackage& params) { analogs_param[analog_id] = params; },