feat: Supplement translations.

This commit is contained in:
sunwen
2024-06-25 10:25:26 +08:00
parent 9d89a06c67
commit 749e125a95
10 changed files with 378 additions and 227 deletions

View File

@@ -166,12 +166,11 @@ void MainWindow::checkEmptyScanValidity()
QDate currentDate = QDate::currentDate();
if(lastScanDate.isNull() || currentDate.daysTo(expirationScanDate) < 0)
{
mTabWidget->setTabEnabled(0, false);
mTabWidget->setTabEnabled(1, false);
mTabWidget->setTabEnabled(2, false);
mTabWidget->setCurrentIndex(3);
DialogManager::Default()->requestAlertMessage(tr("Please execute the empty scan, assist with system calibration, when empty scan is completed, the system should operate normally."), OkOnly, tr("Warning"));
mTabWidget->setTabEnabled(2, false);
mTabWidget->setTabEnabled(1, false);
mTabWidget->setTabEnabled(0, false);
return;
}