Fix SystemCorrectionForm excute button do not translate.

This commit is contained in:
sunwen
2024-05-08 17:12:00 +08:00
parent 390cf8d646
commit ebe408cddc

View File

@@ -89,6 +89,7 @@ void SystemCorrectionForm::init()
emptyScanDescribe->setText(tr("Empty water scanning involves collecting ultrasound data while the tank is filled with water and free of any objects. It is essential to ensure that the tank is fully filled with water and devoid of any objects before conducting the scan. The purpose of collecting empty water data is to obtain baseline information on the time and energy variations of ultrasound propagation inside the inspection tank. This information is utilized for reconstructing reference data for transmission ultrasound imaging. Additionally, empty water data can be utilized for system status assessment and spatial calibration of the system. Therefore, empty water scanning should be performed regularly, with a frequency of once every month."));
currentEmptyScanDate->setText(tr("Current date for Empty Scanning %1-%2-%3").arg(lastScanDate.year()).arg(lastScanDate.month()).arg(lastScanDate.day()));
expirationEmptyScanDate->setText(tr("Expiration date for Empty Scanning %1").arg(dateFormat));
emptyScanButton->setText(tr("Excute empty scan"));
});
connect(emptyScanButton, &QPushButton::clicked, []()