Fix non translatable strings in code (#3239)

This commit is contained in:
Stranger
2019-12-05 14:21:26 +03:00
committed by Alejandro Martinez
parent 43ab7d4afc
commit 0aa24acd3d

View File

@@ -2583,10 +2583,10 @@ MultiDeviceDialog::MultiDeviceDialog(Context *, TrainSidebar *traintool) : train
buttons->addStretch();
main->addLayout(buttons);
cancelButton = new QPushButton("Cancel", this);
cancelButton = new QPushButton(tr("Cancel"), this);
buttons->addWidget(cancelButton);
applyButton = new QPushButton("Apply", this);
applyButton = new QPushButton(tr("Apply"), this);
buttons->addWidget(applyButton);
connect(cancelButton, SIGNAL(clicked()), this, SLOT(cancelClicked()));