translation improvement

This commit is contained in:
xueyan hu
2021-12-28 18:23:02 +08:00
parent f43fd26411
commit 656f46c17e
32 changed files with 1620 additions and 914 deletions

View File

@@ -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);