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

@@ -90,7 +90,7 @@ void DeviceManager::initDevice()
{
if(!AppGlobalValues::DBconnected().toBool())
{
emitErrorCallback("Fail to connect to DB!Reboot device to try!");
emitErrorCallback(tr("Fail to connect to DB!Reboot device to try!"));
emit initializeFinished();
return;
}
@@ -140,10 +140,10 @@ void DeviceManager::initDevice()
mStartAutoLocateAction = new DmsSyncAction(USRV_CONTROL, ACT_CTL_MOTION_START, this, "responseStartAutoLocate(const QString&)", this);
mStopAutoLocateAction = new DmsSyncAction(USRV_CONTROL, ACT_CTL_MOTION_STOP, this, "responseStopAutoLocate(const QString&)", this);
mCheckDataQualityAction = new DmsSyncAction(USRV_SCAN, ACT_SCAN_IMGQUALITI, this, "responseCheckDataQuality(const QString&)", this);
mGetSoftwareVersionAction = new DmsSyncAction(USRV_INFOCFG, ACT_IFCFG_VERINFO, this,"responseGetSoftwareVersion(const QString&)", this);
//Async action
mGetScanProgressAction = new DmsAsyncAction(USRV_SCAN, ACT_SCAN_PROGRESS_PASSIVE, this,"responseGetScanProgress(const QString&)", this);
mGetSoftwareVersionAction = new DmsAsyncAction(USRV_INFOCFG, ACT_IFCFG_VERINFO, this,"responseGetSoftwareVersion(const QString&)", this);
mGetDeviceTemperatureAction = new DmsAsyncAction(USRV_SCAN, ACT_SCAN_TEMP, this, "responseGetDeviceTemperature(const QString&)", this);
mStopTransferAction = new DmsAsyncAction(USRV_XFR, ACT_XFR_STOP, this, "responseStopTransfer(const QString&)", this);
mShutDownAction = new DmsAsyncAction(USRV_CONTROL, ACT_CTL_PWRDOWN, this, "responseShutDown(const QString&)", this);
@@ -216,6 +216,8 @@ void DeviceManager::initDevice()
mSetHeartBeatAction->setSendData("{ \"code\":0, \"info\":\"0\"}");
mSetHeartBeatAction->execute();
initDmsVersion();
mCheckInitStatusTimer = startTimer(500);
}
@@ -261,8 +263,6 @@ void DeviceManager::initGUI(bool aIsInitSucceed)
//process expired patient list
QDate date = QDate::currentDate().addDays(-JsonObject::Instance()->getPatientListExpireDays());
SQLHelper::exec(QString("DELETE FROM Patient WHERE AddDate <= %1").arg(date.toString("yyyy-MM-dd")));
mGetSoftwareVersionAction->execute();
}
void DeviceManager::processInitializeProgress(const QString& aProgress)
@@ -309,8 +309,7 @@ void DeviceManager::startScan(const QString& json, bool empty)
}
if (inf != DeviceStatus::Rready)
{
QString errMsg("Device is not ready, start scan operation fail!status is %1");
errMsg = errMsg.arg(getStatusString(inf));
QString errMsg(empty ? tr("Device is not ready, start empty scan operation failed!") : tr("Device is not ready, start scan operation failed!"));
THROW_ERROR(errMsg);
return;
}
@@ -416,7 +415,7 @@ void DeviceManager::prepareFinishScan(bool isNormalFinish, const QString& aReaso
if(isCompleteNotify)
{
QString msg = QString("Scan completed!");
QString msg = tr("Scan completed!");
TRIGGER_EVENT(InvokeOperationEnd, nullptr, (QObject *)&msg);
}
else
@@ -616,10 +615,9 @@ void DeviceManager::timerEvent(QTimerEvent* event)
}
void DeviceManager::emitErrorCallback(const char *msg)
void DeviceManager::emitErrorCallback(const QString& msg)
{
QString m(msg);
emit raiseGlobalError( m);
emit raiseGlobalError(msg);
}
void DeviceManager::emitInfoCallback(const QString& aMessage,const unsigned int aInfoType)
@@ -717,7 +715,6 @@ void DeviceManager::processReceiveDMSInfoResult(int aServerID, int aActionID, co
{
case ACT_IFCFG_VERINFO :
emit responseGetSoftwareVersion(aContents);
processGetSoftwareVersion(aContents);
break;
case ACT_IFCFG_HBCFG :
emit responseSetHeartBeat(aContents);
@@ -783,14 +780,18 @@ void DeviceManager::processAlarm(const QString& aAlarm)
}
}
void DeviceManager::processGetSoftwareVersion(const QString& aSoftwareVersion)
void DeviceManager::initDmsVersion()
{
QJsonObject jsonObj = toJsonObject(aSoftwareVersion);
if(jsonObj["code"].toInt() != 0)
DmsSyncActionResult result = mGetSoftwareVersionAction->execute();
QJsonObject jsonObj = toJsonObject(result.mData);
if(result.mIsSucessful && jsonObj.contains("code") && jsonObj["code"].toInt() == 0)
{
return;
mSoftwareVersion = jsonObj["info"].toString();;
}
else
{
mSoftwareVersion = "Dms Fetch Error";
}
mSoftwareVersion = jsonObj["info"].toString();
}
void DeviceManager::scanTimeout()
@@ -803,7 +804,7 @@ DeviceStatus DeviceManager::getDeviceStatus()
DmsSyncActionResult result = mGetDeviceStatusAction->execute();
if(!result.mIsSucessful)
{
QString message = QString("Dms connection error. Reason:%1").arg(result.mData);
QString message = tr("DMS connection error");
THROW_ERROR(message);
return DeviceStatus::Unkonw;
}
@@ -841,7 +842,7 @@ bool DeviceManager::startFullScan(const QString& aPatientInfo)
int code = jsonObj["code"].toInt();
if(code != 0)
{
QString msg = jsonObj["info"].toString();
QString msg = tr("Start scan failed. Reason:%1").arg(jsonObj["info"].toString());
LOG_SYS_OPERATION("Start full scan failed. " + msg);
THROW_ERROR(msg);
TRIGGER_EVENT(StopScanProcess, nullptr, nullptr);
@@ -857,7 +858,7 @@ bool DeviceManager::startCEScan()
DmsSyncActionResult result = mCEScanAction->execute();
if(!result.mIsSucessful)
{
QString message = QString("Dms connection error. Reason:%1").arg(result.mData);
QString message = tr("Initialize Failed.");
THROW_ERROR(message);
return false;
}
@@ -930,7 +931,7 @@ void DeviceManager::processShutDownDms(const QString& aResponse)
void DeviceManager::shutdownOperationSystem()
{
qDebug()<< "shut down OS";
//QProcess::startDetached("shutdown", QStringList() << "-h" << "now");
QProcess::startDetached("shutdown", QStringList() << "-h" << "now");
}
void DeviceManager::insertEmptyScanRecord()
@@ -994,8 +995,8 @@ void DeviceManager::startTransfer()
DmsSyncActionResult result = mTransferAction->execute();
if(!result.mIsSucessful)
{
QString message = QString("Dms connection error. Reason:%1").arg(result.mData);
THROW_ERROR(message);
QString msg = tr("Scan data transfer failed.");
emitInfoCallback(msg, MessageLevel::Error);
return;
}
@@ -1004,8 +1005,8 @@ void DeviceManager::startTransfer()
if(code != 0)
{
mStopTransferAction->execute();
QString msg = jsonObj["info"].toString();
THROW_ERROR(msg);
QString msg = tr("Scan data transfer failed.");
emitInfoCallback(msg, MessageLevel::Error);
return;
}
@@ -1058,7 +1059,7 @@ void DeviceManager::processTransferProgress(const QString& aProgress)
emitInfoCallback(msg, MessageLevel::Error);
break;
}
emitInfoCallback("Scan data transfer Succeeded!", MessageLevel::Sucess);
emitInfoCallback(tr("Scan data transfer Succeeded!"), MessageLevel::Sucess);
emit transferStatusUpdated();
if(ReconManager::getInstance()->isConnected())
{
@@ -1080,7 +1081,7 @@ void DeviceManager::processTransferProgress(const QString& aProgress)
emitInfoCallback(msg, MessageLevel::Error);
break;
}
QString message = QString("Scan data transfer failed.");
QString message = tr("Scan data transfer failed.");
emitInfoCallback(message, MessageLevel::Error);
break;
}
@@ -1100,7 +1101,7 @@ void DeviceManager::processReconCreateEmptyScan(bool aResult, const QString& aSc
return;
}
emitInfoCallback(aMessage, MessageLevel::Error);
emitInfoCallback(tr("Create empty scan data failed"), MessageLevel::Error);
QString sql = QString("UPDATE EScan set State = %1 where ScanID = '%2'").arg(aIsConnectSucceed ? "304" : "204").arg(aScanID);
if(!SQLHelper::exec(sql))
{
@@ -1122,7 +1123,7 @@ void DeviceManager::processReconCreateScan(bool aResult, const QString& aScanID,
return;
}
emitInfoCallback(aMessage, MessageLevel::Error);
emitInfoCallback(tr("Create scan data failed"), MessageLevel::Error);
QString sql = QString("UPDATE Scan set State = %1 where ScanID = '%2'").arg(aIsConnectSucceed ? "304" : "204").arg(aScanID);
if(!SQLHelper::exec(sql))
{
@@ -1199,7 +1200,7 @@ void DeviceManager::updateReconState()
emitInfoCallback(tr("Recon disconnected."), MessageLevel::Error);
return;
}
QString sql = "SELECT ScanID FROM Scan WHERE State < 999 And State >= 300";
QString sql = "SELECT ScanID FROM Scan WHERE State < 999 And State >= 300 And State != 304";
auto result = SQLHelper::queryValues(sql);
QStringList scanIDs;
for (const QVariant &variant : result)
@@ -1287,7 +1288,7 @@ void DeviceManager::updateReconConnectionState(bool aIsConnected)
void DeviceManager::startScanProcess()
{
LOG_SYS_OPERATION("Start scan process.")
LOG_SYS_OPERATION("Start scan process.");
if( !UsctStateManager::getInstance()->getState(ReconConnectionState) ||
!UsctStateManager::getInstance()->getState(ReconState) ||
!UsctStateManager::getInstance()->getState(ReconDBState))
@@ -1409,7 +1410,7 @@ void DeviceManager::checkDataQuality()
return;
}
}
QString errorMessage = tr("Dms connection error");
QString errorMessage = tr("DMS connection error");
prepareFinishScan(false, errorMessage);
TRIGGER_EVENT(StopScanProcess, nullptr, nullptr);
LOG_SYS_OPERATION("Check data quality failed. " + errorMessage)

View File

@@ -64,7 +64,7 @@ public:
// return mErrorOccurred;
// }
void emitErrorCallback(const char *msg);
void emitErrorCallback(const QString& msg);
void emitInfoCallback(const QString& aMessage,const unsigned int aInfoType);
bool hasValidEmptyScan();
bool updateTransferProgress();
@@ -112,6 +112,7 @@ private:
void stopAutoLocate();
void initGUI(bool aIsInitSucceed);
void checkDataQuality();
void initDmsVersion();
void processScanProgress(const QString& aProgress);
void processAutoLocatePosition(const QString& aProgress);
@@ -120,7 +121,6 @@ private:
void prepareFinishInitialize();
void processAlarm(const QString& aAlarm);
void processPreviewData(const QString& aPreviewData);
void processGetSoftwareVersion(const QString& aSoftwareVersion);
void processDeviceTemperature(const QString& aResponseTemperature);
void processTransferProgress(const QString& aProgress);
void processShutDownDms(const QString& aResponse);
@@ -229,10 +229,10 @@ private:
DmsSyncAction* mStartAutoLocateAction = nullptr;
DmsSyncAction* mStopAutoLocateAction = nullptr;
DmsSyncAction* mCheckDataQualityAction = nullptr;
DmsSyncAction* mGetSoftwareVersionAction = nullptr;
DmsAsyncAction* mGetDeviceTemperatureAction = nullptr;
DmsAsyncAction* mGetScanProgressAction = nullptr;
DmsAsyncAction* mGetSoftwareVersionAction = nullptr;
DmsAsyncAction* mStopTransferAction = nullptr;
DmsAsyncAction* mShutDownAction = nullptr;
DmsAsyncAction* mPumpControlAction = nullptr;

View File

@@ -23,7 +23,10 @@ AsyncActionDialog::AsyncActionDialog(AsyncAction* aAsyncAction,const QString& aT
mLayout->setSpacing(10);
mLayout->addWidget(mContentWidget);
mLayout->addWidget(mLoadingWidget);
mLayout->addWidget(mLoadingWidget);
QMargins margin = mLayout->contentsMargins();
margin.setBottom(1);
mLayout->setContentsMargins(margin);
}
AsyncActionDialog::~AsyncActionDialog()

View File

@@ -128,6 +128,7 @@ void GetWorkListDialog::initializeContentWidgets()
mErrorLabel->setObjectName("warn");
mErrorLabel->setWordWrap(true);
mErrorLabel->hide();
mBtnWidget->setFixedHeight(80);
}
void GetWorkListDialog::search(const QString& aInput)
@@ -181,6 +182,7 @@ void GetWorkListDialog::handleFinishedAction(const ActionResult& aResult)
mContentWidget->show();
mBtnWidget->show();
mErrorLabel->show();
mLoadingWidget->hide();
return;
}

View File

@@ -60,7 +60,7 @@ void ReconStateDelegate::paint(QPainter *painter, const QStyleOptionViewItem &op
displayText = tr("Wait to recon");//Recon create succeed
break;
case 304:
displayText = tr("No empty scan data");
displayText = tr("Recon create failed");
break;
case 400:
displayText = tr("Wait to recon");

View File

@@ -158,7 +158,7 @@
</sizepolicy>
</property>
<property name="text">
<string>...</string>
<string notr="true">...</string>
</property>
</widget>
</item>
@@ -184,7 +184,7 @@
</sizepolicy>
</property>
<property name="text">
<string>...</string>
<string notr="true">...</string>
</property>
</widget>
</item>

View File

@@ -182,6 +182,10 @@ void ReconManager::getReconVersion()
{
emit getReconVersionResponsed(QString::fromStdString(result.message()));
}
else
{
emit getReconVersionResponsed("Reconstruction Software Fetch Error");
}
}
bool ReconManager::isConnected()

View File

@@ -39,10 +39,6 @@
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>cJSON</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright (c) 2009-2017 Dave Gamble</source>
<translation type="unfinished"></translation>
@@ -55,10 +51,6 @@
<source>USCT Software V0.1.0</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reconstruction Software Loading...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Operation System Information Loading...</source>
<translation type="unfinished"></translation>
@@ -67,6 +59,14 @@
<source>DICOM Library Information Loading...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>cJSON V1.7.16</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reconstruction Software Loading...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AccountFormDialog</name>
@@ -162,6 +162,10 @@
<source>Reset to default password?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Password should at least 6 characters!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AccountTableForm</name>
@@ -296,10 +300,6 @@
<source>DMS connection error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dms connection error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The data quality is low, please restart the data scan.</source>
<translation type="unfinished"></translation>
@@ -326,6 +326,46 @@ progress:99%</source>
<source>Start CE Scan Failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start scan failed. Reason:time out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Create empty scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Fail to connect to DB!Reboot device to try!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Create scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan data transfer failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Device is not ready, start scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Device is not ready, start empty scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Start scan failed. Reason:%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan completed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan data transfer Succeeded!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DicomCfgDialog</name>
@@ -447,6 +487,18 @@ progress:99%</source>
<source>ID </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Patient Name can&apos;t be empty!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The ID and Accession number is already existed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ID can&apos;t be empty!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GUIFormBaseDialog</name>
@@ -1364,10 +1416,6 @@ progress:99%</source>
<source>Wait to recon</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No empty scan data</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recon ing</source>
<translation type="unfinished"></translation>
@@ -1490,10 +1538,6 @@ progress:99%</source>
<source>Scan date from</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan date to</source>
<translation type="unfinished"></translation>
@@ -1801,6 +1845,21 @@ progress:99%</source>
<source></source>
<translation type="unfinished"></translation>
</message>
<message>
<source>°C</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UsctStateManager</name>
<message>
<source>Recon fatal error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Recon DB error.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UserOperationLogForm</name>

View File

@@ -5,13 +5,13 @@
<name>AboutForm</name>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="78"/>
<location filename="../forms/settings/AboutForm.cpp" line="151"/>
<location filename="../forms/settings/AboutForm.cpp" line="156"/>
<source>HJ-USCT-01 V1.0</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="82"/>
<location filename="../forms/settings/AboutForm.cpp" line="152"/>
<location filename="../forms/settings/AboutForm.cpp" line="157"/>
<source>?</source>
<translation type="unfinished"></translation>
</message>
@@ -32,32 +32,37 @@
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="107"/>
<location filename="../forms/settings/AboutForm.cpp" line="154"/>
<location filename="../forms/settings/AboutForm.cpp" line="159"/>
<source>GUI Software V%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="116"/>
<location filename="../forms/settings/AboutForm.cpp" line="121"/>
<source>Operation System Information Loading...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="121"/>
<location filename="../forms/settings/AboutForm.cpp" line="126"/>
<source>DICOM Library Information Loading...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="155"/>
<location filename="../forms/settings/AboutForm.cpp" line="135"/>
<source>cJSON V1.7.16</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="160"/>
<source>Embedded Software %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="156"/>
<location filename="../forms/settings/AboutForm.cpp" line="161"/>
<source>Reconstruction Software V1.2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="157"/>
<location filename="../forms/settings/AboutForm.cpp" line="162"/>
<source>FEB Information</source>
<translation type="unfinished"></translation>
</message>
@@ -67,22 +72,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="125"/>
<location filename="../forms/settings/AboutForm.cpp" line="130"/>
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="130"/>
<source>cJSON</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="134"/>
<location filename="../forms/settings/AboutForm.cpp" line="139"/>
<source>Copyright (c) 2009-2017 Dave Gamble</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/settings/AboutForm.cpp" line="153"/>
<location filename="../forms/settings/AboutForm.cpp" line="158"/>
<source>Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
<translation type="unfinished"></translation>
</message>
@@ -97,53 +97,53 @@
<context>
<name>AccountFormDialog</name>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="145"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="147"/>
<source>Account</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="132"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="134"/>
<source>User ID</source>
<translation>ID</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="134"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="136"/>
<source>Input User ID</source>
<translation>ID</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="121"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="123"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="72"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="74"/>
<source>Reset to default password?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="123"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="125"/>
<source>Input User name</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="159"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="161"/>
<source>Do you want to logout the current user?</source>
<translation type="unfinished">退</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="180"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="182"/>
<source>Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="98"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="100"/>
<source>Change Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="183"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="193"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="185"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="197"/>
<source>Input password</source>
<translation></translation>
</message>
@@ -156,13 +156,13 @@
<translation type="vanished"></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="98"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="100"/>
<source>Reset Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="153"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="159"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="155"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="161"/>
<source>Logout</source>
<translation></translation>
</message>
@@ -175,60 +175,65 @@
<translation type="vanished"></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="78"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="80"/>
<source>Inner error, can&apos;t find reference user!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="83"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="223"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="85"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="229"/>
<source>Submit change to database fail!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="112"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="114"/>
<source>Comment</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="190"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="194"/>
<source>Confirm Password</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="208"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="236"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="261"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="214"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="243"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="273"/>
<source>User Name can&apos;t be empty!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="256"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="268"/>
<source>User ID can&apos;t be empty!</source>
<translation>ID不能为空</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="266"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="278"/>
<source>Password can&apos;t be empty!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="271"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="283"/>
<source>Password should at least 6 characters!</source>
<translation type="unfinished">6</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="288"/>
<source>Password and confirm password do not match!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="276"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="293"/>
<source>Inner error ,unset data model!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="281"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="298"/>
<source>User Id exists!</source>
<translation>ID已存在</translation>
</message>
<message>
<location filename="../dialogs/AccountFormDialog.cpp" line="320"/>
<location filename="../dialogs/AccountFormDialog.cpp" line="337"/>
<source>Submit to data base fail!</source>
<translation></translation>
</message>
@@ -354,47 +359,47 @@
<context>
<name>ChangePasswordFormDialog</name>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="27"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="28"/>
<source>Change Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="33"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="34"/>
<source>Current Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="45"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="48"/>
<source>New Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="57"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="62"/>
<source>Confirm Password</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="76"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="83"/>
<source>Please enter your old password!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="81"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="88"/>
<source>New password should at least 6 characters!</source>
<translation>6</translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="87"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="94"/>
<source>Wrong password!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="92"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="99"/>
<source>Your new password does not match!</source>
<translation></translation>
</message>
<message>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="98"/>
<location filename="../dialogs/ChangePasswordFormDialog.cpp" line="105"/>
<source>Database update error!</source>
<translation></translation>
</message>
@@ -411,82 +416,132 @@
<name>DeviceManager</name>
<message>
<location filename="../device/DeviceManager.cpp" line="168"/>
<location filename="../device/DeviceManager.cpp" line="807"/>
<location filename="../device/DeviceManager.cpp" line="1413"/>
<source>DMS connection error</source>
<translation type="unfinished"></translation>
<translation type="unfinished">DMS失去连接</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="345"/>
<location filename="../device/DeviceManager.cpp" line="352"/>
<location filename="../device/DeviceManager.cpp" line="359"/>
<source>progress:%1%</source>
<translation type="unfinished">:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="352"/>
<location filename="../device/DeviceManager.cpp" line="359"/>
<source>Patient can leave.
progress:%1%</source>
<translation type="unfinished">
:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="358"/>
<location filename="../device/DeviceManager.cpp" line="365"/>
<source>Data quality assessment in progress
progress:99%</source>
<translation type="unfinished">
进度:99%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="557"/>
<location filename="../device/DeviceManager.cpp" line="250"/>
<location filename="../device/DeviceManager.cpp" line="861"/>
<location filename="../device/DeviceManager.cpp" line="869"/>
<source>Initialize Failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="863"/>
<location filename="../device/DeviceManager.cpp" line="93"/>
<source>Fail to connect to DB!Reboot device to try!</source>
<translation type="unfinished">!</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="312"/>
<source>Device is not ready, start scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="312"/>
<source>Device is not ready, start empty scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="418"/>
<source>Scan completed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="834"/>
<source>Start scan failed. Reason:time out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="845"/>
<source>Start scan failed. Reason:%1</source>
<translation type="unfinished">%1</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="871"/>
<source>Start CE Scan Failed.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">CE扫查启动失败</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="895"/>
<location filename="../device/DeviceManager.cpp" line="903"/>
<source>Data is currently being transmitted, please shut down later.</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="902"/>
<location filename="../device/DeviceManager.cpp" line="910"/>
<source>Shut down failed, please push emergency button to shutdown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="998"/>
<location filename="../device/DeviceManager.cpp" line="1008"/>
<location filename="../device/DeviceManager.cpp" line="1084"/>
<source>Scan data transfer failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1062"/>
<source>Scan data transfer Succeeded!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1192"/>
<location filename="../device/DeviceManager.cpp" line="1104"/>
<source>Create empty scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1126"/>
<source>Create scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1200"/>
<source>Recon disconnected.</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1257"/>
<location filename="../device/DeviceManager.cpp" line="1272"/>
<location filename="../device/DeviceManager.cpp" line="1265"/>
<location filename="../device/DeviceManager.cpp" line="1280"/>
<source>Open pump failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1288"/>
<location filename="../device/DeviceManager.cpp" line="1296"/>
<source>Recon error, can&apos;t start scan process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1326"/>
<location filename="../device/DeviceManager.cpp" line="1378"/>
<location filename="../device/DeviceManager.cpp" line="1335"/>
<location filename="../device/DeviceManager.cpp" line="1387"/>
<source>Start auto locate failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1398"/>
<location filename="../device/DeviceManager.cpp" line="1407"/>
<source>The data quality is low, please restart the data scan.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1404"/>
<source>Dms connection error</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DicomCfgDialog</name>
@@ -642,6 +697,21 @@ progress:99%</source>
<source>Birth Date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/EditPatientDialog.cpp" line="183"/>
<source>ID can&apos;t be empty!</source>
<translation type="unfinished">ID不能为空</translation>
</message>
<message>
<location filename="../dialogs/EditPatientDialog.cpp" line="189"/>
<source>Patient Name can&apos;t be empty!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/EditPatientDialog.cpp" line="201"/>
<source>The ID and Accession number is already existed!</source>
<translation type="unfinished">ID和检查单号已存在</translation>
</message>
<message>
<source>Comment</source>
<translation type="obsolete"></translation>
@@ -698,7 +768,8 @@ progress:99%</source>
<location filename="../dialogs/GUIMessageDialog.cpp" line="106"/>
<source>Confirm stop the scan.
</source>
<translation type="unfinished"></translation>
<translation type="unfinished">
</translation>
</message>
</context>
<context>
@@ -869,7 +940,7 @@ progress:99%</source>
<message>
<location filename="../action/GetWorkListAction.cpp" line="33"/>
<source>Worklist connect error!</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Worklist连接失败</translation>
</message>
<message>
<location filename="../action/GetWorkListAction.cpp" line="37"/>
@@ -906,17 +977,17 @@ progress:99%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/GetWorkListDialog.cpp" line="158"/>
<location filename="../dialogs/GetWorkListDialog.cpp" line="159"/>
<source>Accession Number and Patient Id is Empty.</source>
<translation type="unfinished">ID为空</translation>
</message>
<message>
<location filename="../dialogs/GetWorkListDialog.cpp" line="169"/>
<location filename="../dialogs/GetWorkListDialog.cpp" line="170"/>
<source>Unknow Error. code:001001001</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/GetWorkListDialog.cpp" line="282"/>
<location filename="../dialogs/GetWorkListDialog.cpp" line="284"/>
<source>DB Error,Patient Write Failed</source>
<translation type="unfinished"></translation>
</message>
@@ -1201,37 +1272,37 @@ progress:99%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="141"/>
<location filename="../windows/LoginDialog.cpp" line="142"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="164"/>
<location filename="../windows/LoginDialog.cpp" line="167"/>
<source>Login</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="189"/>
<location filename="../windows/LoginDialog.cpp" line="192"/>
<source>Can&apos;t connect db. Please reboot the device and retry, or call for the service help.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="198"/>
<location filename="../windows/LoginDialog.cpp" line="201"/>
<source>Login locked. Please retry after %1 minutes.</source>
<translation type="unfinished">1</translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="224"/>
<location filename="../windows/LoginDialog.cpp" line="227"/>
<source>Login failed, username or password error! Remaining retries: %1</source>
<translation type="unfinished">: %1</translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="236"/>
<location filename="../windows/LoginDialog.cpp" line="239"/>
<source>Anonymous Mode active!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/LoginDialog.cpp" line="237"/>
<location filename="../windows/LoginDialog.cpp" line="240"/>
<source>System mode Notice</source>
<translation type="unfinished"></translation>
</message>
@@ -1304,47 +1375,47 @@ progress:99%</source>
<translation></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="191"/>
<location filename="../windows/MainWindow.cpp" line="202"/>
<location filename="../windows/MainWindow.cpp" line="193"/>
<location filename="../windows/MainWindow.cpp" line="204"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="193"/>
<location filename="../windows/MainWindow.cpp" line="201"/>
<location filename="../windows/MainWindow.cpp" line="195"/>
<location filename="../windows/MainWindow.cpp" line="203"/>
<source>Scan</source>
<translation></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="189"/>
<location filename="../windows/MainWindow.cpp" line="203"/>
<location filename="../windows/MainWindow.cpp" line="191"/>
<location filename="../windows/MainWindow.cpp" line="205"/>
<source>Recon</source>
<translation></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="171"/>
<location filename="../windows/MainWindow.cpp" line="170"/>
<source>Please execute the empty scan, assist with system calibration, when empty scan is completed, the system should operate normally.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="171"/>
<location filename="../windows/MainWindow.cpp" line="177"/>
<location filename="../windows/MainWindow.cpp" line="383"/>
<location filename="../windows/MainWindow.cpp" line="170"/>
<location filename="../windows/MainWindow.cpp" line="179"/>
<location filename="../windows/MainWindow.cpp" line="385"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="177"/>
<location filename="../windows/MainWindow.cpp" line="179"/>
<source>There are %1 days left until the next empty scan. Please remind users to conduct the empty scan in time.</source>
<translation type="unfinished">%1</translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="215"/>
<location filename="../windows/MainWindow.cpp" line="217"/>
<source>Shut down failed, please push emergency button to shutdown.</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="383"/>
<location filename="../windows/MainWindow.cpp" line="385"/>
<source>Due to empty scan data corruption on the server, needs to be execute the empty scan. No other operations can be conducted until the scan is complete.</source>
<translation type="unfinished"></translation>
</message>
@@ -1361,8 +1432,8 @@ progress:99%</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="187"/>
<location filename="../windows/MainWindow.cpp" line="204"/>
<location filename="../windows/MainWindow.cpp" line="189"/>
<location filename="../windows/MainWindow.cpp" line="206"/>
<source>Settings</source>
<translation></translation>
</message>
@@ -1383,32 +1454,32 @@ progress:99%</source>
<translation type="unfinished">Mpps通讯设置</translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="68"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="67"/>
<source>AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="74"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="73"/>
<source>Server AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="80"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="79"/>
<source>Server Ip can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="86"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="85"/>
<source>Server Port can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="92"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="91"/>
<source>Ip Address is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="98"/>
<location filename="../dialogs/MppsSettingsDialog.cpp" line="97"/>
<source>Port is not valid</source>
<translation type="unfinished">65535</translation>
</message>
@@ -1550,32 +1621,32 @@ progress:99%</source>
<translation type="unfinished">PACS通讯设置</translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="65"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="64"/>
<source>AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="71"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="70"/>
<source>Server AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="77"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="76"/>
<source>Server Ip can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="83"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="82"/>
<source>Server Port can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="89"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="88"/>
<source>Ip Address is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="95"/>
<location filename="../dialogs/PacsSettingsDialog.cpp" line="94"/>
<source>Port is not valid</source>
<translation type="unfinished">65535</translation>
</message>
@@ -1845,32 +1916,32 @@ progress:99%</source>
<translation type="unfinished">Recon通讯设置</translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="67"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="66"/>
<source>AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="73"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="72"/>
<source>Server AE can&apos;t be empty</source>
<translation type="unfinished">AE不能为空</translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="79"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="78"/>
<source>Server Ip can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="85"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="84"/>
<source>Server Port can&apos;t be empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="91"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="90"/>
<source>Ip Address is not valid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="97"/>
<location filename="../dialogs/ReconSettingsDialog.cpp" line="96"/>
<source>Port is not valid</source>
<translation type="unfinished">65535</translation>
</message>
@@ -1880,68 +1951,64 @@ progress:99%</source>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="25"/>
<source>Wait to transfer</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="29"/>
<source>Transfering</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="51"/>
<source>Transfer failed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="54"/>
<source>Transfer completed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="57"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="63"/>
<source>Recon create failed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="60"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="66"/>
<source>Wait to recon</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="63"/>
<source>No empty scan data</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="69"/>
<source>Recon ing</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="72"/>
<source>Recon failed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="75"/>
<source>Recon succeed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="78"/>
<source>PACS failed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="81"/>
<source>PACS succeed</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="84"/>
<source>Unknow</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -1966,32 +2033,32 @@ progress:99%</source>
<location filename="../forms/scan/ScanFormWidget.cpp" line="94"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="118"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="134"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="427"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="429"/>
<source>Drainage</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="71"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="423"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="425"/>
<source>Account</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="75"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="424"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="426"/>
<source>ShutDown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="79"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="425"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="427"/>
<source>Worklist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="84"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="191"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="426"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="193"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="428"/>
<source>Start Scan</source>
<translation type="unfinished"></translation>
</message>
@@ -2008,7 +2075,7 @@ progress:99%</source>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="110"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="138"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="427"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="429"/>
<source>Drainaging</source>
<translation type="unfinished"></translation>
</message>
@@ -2023,33 +2090,33 @@ progress:99%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="197"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="228"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="199"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="230"/>
<source>Please confirm checking patient information to start the process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="202"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="204"/>
<source>Data scanning, please keep the current position and don&apos;t move.</source>
<translation type="unfinished">姿</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="207"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="209"/>
<source>Data exporting, patient can leave the holder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="442"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="444"/>
<source>Left side scan initiated, auto positioning in progress.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="444"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="446"/>
<source>Right side scan initiated, auto positioning in progress.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="180"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="182"/>
<source>Stop Scan Process</source>
<translation type="unfinished">退</translation>
</message>
@@ -2068,48 +2135,46 @@ parameters
<context>
<name>ScanSearchCriteriaForm</name>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="264"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="266"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="265"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="267"/>
<source>Scan Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="266"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="268"/>
<source>Today</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="267"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="269"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="268"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="270"/>
<source>Last 7 days</source>
<translation type="unfinished">7</translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="269"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="271"/>
<source>Search All</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="270"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="272"/>
<source>Scan date from</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="271"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="273"/>
<source>...</source>
<translation type="unfinished">DICOM</translation>
<translation type="obsolete">DICOM</translation>
</message>
<message>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="272"/>
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="273"/>
<source>Scan date to</source>
<translation type="unfinished"></translation>
</message>
@@ -2561,6 +2626,24 @@ parameters
<source></source>
<translation></translation>
</message>
<message>
<location filename="../forms/TopBarWidget.cpp" line="103"/>
<source>°C</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UsctStateManager</name>
<message>
<location filename="../device/UsctStateManager.cpp" line="52"/>
<source>Recon fatal error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/UsctStateManager.cpp" line="58"/>
<source>Recon DB error.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UserOperationLogForm</name>
@@ -2628,7 +2711,7 @@ parameters
<context>
<name>WorklistSettingsDialog</name>
<message>
<location filename="../dialogs/WorklistSettingsDialog.cpp" line="25"/>
<location filename="../dialogs/WorklistSettingsDialog.cpp" line="26"/>
<source>Worklist Settings</source>
<translation type="unfinished">Worklist通讯设置</translation>
</message>

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;
}