configure_input: Make analog mapping strings translatable
These strings are user-facing, so they should be specified as translatable with tr().
This commit is contained in:
parent
bc679c9b8c
commit
61b144bbf3
|
@ -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; },
|
||||
|
|
Reference in New Issue