translation improvement
This commit is contained in:
@@ -238,6 +238,20 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
|
||||
|
||||
connect(group, SIGNAL(buttonClicked(int)), this, SLOT(protocolChanged(int)));
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
btnLeft->setText(tr("LEFT"));
|
||||
btnRight->setText(tr("RIGHT"));
|
||||
btnRefresh->setText(tr("Refresh"));
|
||||
btnPreview->setText(tr("Preview"));
|
||||
btnStop->setText(tr("Stop"));
|
||||
btnScan->setText(tr("Scan"));
|
||||
lbl_Protocol->setText(tr("Protocol"));
|
||||
lblPreview->setText(tr("Preview Parameters"));
|
||||
lblParams->setText(tr("Scan Parameters"));
|
||||
});
|
||||
|
||||
|
||||
|
||||
previewfunc = [=](bool val)->void {
|
||||
viewer->setVisible(val);
|
||||
btnPreview->setCheckable(val);
|
||||
|
||||
Reference in New Issue
Block a user