feat: Update translation files.
This commit is contained in:
@@ -118,7 +118,7 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
|
||||
|
||||
mDrainageButton->setObjectName("btnDrainage");
|
||||
mDrainageButton->setCheckable(true);
|
||||
mDrainageButton->setText(tr("Drainage"));
|
||||
mDrainageButton->setText(tr("Drain"));
|
||||
layout->addWidget(mDrainageButton);
|
||||
|
||||
mCleanButton->setObjectName("btnClean");
|
||||
@@ -159,7 +159,7 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
|
||||
setWaterProcessModeEnable(false);
|
||||
if(aStatus == true)
|
||||
{
|
||||
mDrainageButton->setText(tr("Drainaging"));
|
||||
mDrainageButton->setText(tr("Draining"));
|
||||
EventCenter::Default()->triggerEvent(RequestDrainage, nullptr, nullptr);
|
||||
LOG_USER_OPERATION("Perform Drainage");
|
||||
}
|
||||
@@ -200,7 +200,7 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
|
||||
{
|
||||
setWaterProcessModeEnable(true);
|
||||
mDrainageButton->setChecked(false);
|
||||
mDrainageButton->setText(tr("Drainage"));
|
||||
mDrainageButton->setText(tr("Drain"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -218,7 +218,7 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
|
||||
{
|
||||
setWaterProcessModeEnable(true);
|
||||
mWaterfloodButton->setChecked(false);
|
||||
mWaterfloodButton->setText(tr("Drainage"));
|
||||
mWaterfloodButton->setText(tr("Waterflood"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -260,7 +260,7 @@ void ScanFormWidget::initCommandWidget(QHBoxLayout *layout)
|
||||
waterProcessMode = tr("Waterflood");
|
||||
break;
|
||||
case DrainageMode:
|
||||
waterProcessMode = tr("Drainage");
|
||||
waterProcessMode = tr("Drain");
|
||||
break;
|
||||
case WaterCleanMode:
|
||||
waterProcessMode = tr("Cleaning");
|
||||
@@ -442,7 +442,7 @@ void ScanFormWidget::finishWaterPorcess(WaterProcessMode aMode)
|
||||
break;
|
||||
case DrainageMode:
|
||||
mDrainageTimer->stop();
|
||||
mDrainageButton->setText(tr("Drainage"));
|
||||
mDrainageButton->setText(tr("Drain"));
|
||||
mDrainageButton->setChecked(false);
|
||||
mWaveWidget->stopCharge();
|
||||
break;
|
||||
@@ -613,7 +613,7 @@ void ScanFormWidget::reloadLanguage()
|
||||
mShutdownButton->setText(tr("ShutDown"));
|
||||
mStartScanButton->setText(tr("Start Scan"));
|
||||
mScanProcessLabel->setText(tr("Please confirm checking patient information to start the process"));
|
||||
mDrainageButton->isChecked() ? mDrainageButton->setText(tr("Drainaging")) : mDrainageButton->setText(tr("Drainage"));
|
||||
mDrainageButton->isChecked() ? mDrainageButton->setText(tr("Draining")) : mDrainageButton->setText(tr("Drain"));
|
||||
mWaterfloodButton->isChecked() ? mWaterfloodButton->setText(tr("Waterflooding")) : mWaterfloodButton->setText(tr("Waterflood"));
|
||||
mCleanButton->isChecked() ? mCleanButton->setText(tr("Cleaning")) : mCleanButton->setText(tr("Clean"));
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ GeneralForm::GeneralForm(QWidget* aParent)
|
||||
QWidget* scanProtocolHeader = new QWidget(this);
|
||||
mLayout->addWidget(scanProtocolHeader);
|
||||
QHBoxLayout* scanProtocalHeaderLayout = new QHBoxLayout(scanProtocolHeader);
|
||||
QLabel* scanProtocolLabel = new QLabel(tr("Scan Protocol"), this);
|
||||
QLabel* scanProtocolLabel = new QLabel(tr("Default Scan Protocol"), this);
|
||||
scanProtocalHeaderLayout->addWidget(scanProtocolLabel);
|
||||
scanProtocalHeaderLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
ListBox* scanProtocolButton = new ListBox(scanProtocolHeader);
|
||||
@@ -260,7 +260,7 @@ GeneralForm::GeneralForm(QWidget* aParent)
|
||||
institutionNameLabel->setText(tr("Institution Addr"));
|
||||
institutionAddressLabel->setText(tr("Institution Addr"));
|
||||
lockScreenLabel->setText(tr("Lock Screen"));
|
||||
scanProtocolLabel->setText(tr("Scan Protocol"));
|
||||
scanProtocolLabel->setText(tr("Default Scan Protocol"));
|
||||
scanCompleteLabel->setText(tr("Complete Notify"));
|
||||
anonyLabel->setText(tr("Anonymous Mode"));
|
||||
screenSaverLabel->setText(tr("Screen Saver"));
|
||||
@@ -341,7 +341,7 @@ GeneralForm::GeneralForm(QWidget* aParent)
|
||||
|
||||
connect(filterUsageResetButton, &QPushButton::clicked, []()
|
||||
{
|
||||
if (DialogManager::Default()->requestAlertMessage(tr("Please confirm if the filter usage reset is required?"),DialogButtonMode::OkAndCancel) == QDialog::Accepted)
|
||||
if (DialogManager::Default()->requestAlertMessage(tr("Please confirm whether to reset the filter usage?"),DialogButtonMode::OkAndCancel) == QDialog::Accepted)
|
||||
{
|
||||
FilterUsageCalculator::clearFilterUsage();
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ void SystemCorrectionForm::init()
|
||||
QLabel* emptyScanDescribe = new QLabel(this);
|
||||
emptyScanDescribe->setWordWrap(true);
|
||||
emptyScanDescribe->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
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."));
|
||||
emptyScanDescribe->setText(tr("Empty water scanning involves collecting ultrasound data while the Holder 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."));
|
||||
vboxLayout->addWidget(emptyScanDescribe);
|
||||
|
||||
endline = new QLabel(this);
|
||||
@@ -95,7 +95,7 @@ void SystemCorrectionForm::init()
|
||||
{
|
||||
title->setText(tr("Scan Preparation"));
|
||||
emptyScanTitle->setText(tr("Empty Scan"));
|
||||
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."));
|
||||
emptyScanDescribe->setText(tr("Empty water scanning involves collecting ultrasound data while the Holder 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."));
|
||||
// mCurrentEmptyScanDate->setText(tr("Current date for Empty Scanning %1-%2-%3").arg(lastScanDate.year()).arg(lastScanDate.month()).arg(lastScanDate.day()));
|
||||
// QString dateText = tr("%1-%2-%3").arg(expirationScanDate.year()).arg(expirationScanDate.month()).arg(expirationScanDate.day());;
|
||||
// QString dateFormat = currentDate.daysTo(expirationScanDate) < 3 ? QString("<font color='red'> %1</font>").arg(dateText) : QString(" %1").arg(dateText);
|
||||
@@ -157,7 +157,7 @@ QString SystemCorrectionForm::getStateString(int aState)
|
||||
switch (aState)
|
||||
{
|
||||
case -2: return QString("<font color='red'> %1</font>").arg(tr("Expired"));
|
||||
case -1: return QString("<font color='red'> %1</font>").arg(tr("Broked"));
|
||||
case -1: return QString("<font color='red'> %1</font>").arg(tr("Broken"));
|
||||
case 0: return tr("Scan completed");
|
||||
case 204: return QString("<font color='red'> %1</font>").arg(tr("Recon Error"));
|
||||
case 300: return tr("Normal");
|
||||
|
||||
Reference in New Issue
Block a user