feat: Add some translate text.
This commit is contained in:
@@ -87,17 +87,17 @@ QString UsctStateManager::getStateErrorMessage(int aStateCode)
|
|||||||
{
|
{
|
||||||
switch (aStateCode)
|
switch (aStateCode)
|
||||||
{
|
{
|
||||||
case DmsState : return "Dms Error";
|
case DmsState : return tr("Dms Init Error");
|
||||||
case DmsConnectionState : return "Dms Connection Error";
|
case DmsConnectionState : return tr("Dms Connection Error");
|
||||||
case ReconState : return "Recon Fatal Error";
|
case ReconState : return tr("Recon Fatal Error");
|
||||||
case ReconMppsState : return "Recon Mpps Connection Error";
|
case ReconMppsState : return tr("Recon Mpps Connection Error");
|
||||||
case ReconPacsState1 : return "Recon Pacs Node1 Connection Error";
|
case ReconPacsState1 : return tr("Recon Pacs Node1 Connection Error");
|
||||||
case ReconPacsState2 : return "Recon Pacs Node2 Connection Error";
|
case ReconPacsState2 : return tr("Recon Pacs Node2 Connection Error");
|
||||||
case ReconPacsState3 : return "Recon Pacs Node3 Connection Error";
|
case ReconPacsState3 : return tr("Recon Pacs Node3 Connection Error");
|
||||||
case ReconEmptyScanState : return "Recon Empty Scan Data Error";
|
case ReconEmptyScanState : return tr("Recon Empty Scan Data Error");
|
||||||
case ReconDBState : return "Recon Database Connection Error";
|
case ReconDBState : return tr("Recon Database Connection Error");
|
||||||
case ReconConnectionState : return "Recon Connection Error";
|
case ReconConnectionState : return tr("Recon Connection Error");
|
||||||
default: return "Unknow Error";
|
default: return tr("Unknow Error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2103,6 +2103,50 @@ The emergency button has been pushed. Please reset it before other operations.</
|
|||||||
<source>Recon DB error.</source>
|
<source>Recon DB error.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Dms Init Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Dms Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Fatal Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Mpps Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Pacs Node1 Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Pacs Node2 Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Pacs Node3 Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Empty Scan Data Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Database Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Recon Connection Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Unknow Error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>UserOperationLogForm</name>
|
<name>UserOperationLogForm</name>
|
||||||
|
|||||||
@@ -498,7 +498,7 @@
|
|||||||
<location filename="../device/DeviceManager.cpp" line="412"/>
|
<location filename="../device/DeviceManager.cpp" line="412"/>
|
||||||
<source>Patient can leave.
|
<source>Patient can leave.
|
||||||
progress:%1%</source>
|
progress:%1%</source>
|
||||||
<translation type="unfinished">检查对象可以起身
|
<translation type="unfinished">患者可以起身
|
||||||
进度:%1%</translation>
|
进度:%1%</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@@ -1105,7 +1105,7 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../action/GetWorkListAction.cpp" line="22"/>
|
<location filename="../action/GetWorkListAction.cpp" line="22"/>
|
||||||
<source>No reference record find!</source>
|
<source>No reference record find!</source>
|
||||||
<translation type="unfinished">无该检查对象信息</translation>
|
<translation type="unfinished">无该相关信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../action/GetWorkListAction.cpp" line="26"/>
|
<location filename="../action/GetWorkListAction.cpp" line="26"/>
|
||||||
@@ -1391,7 +1391,7 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_Keyboard.h" line="615"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_Keyboard.h" line="615"/>
|
||||||
<source>Clear</source>
|
<source>Clear</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">清空</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -1469,12 +1469,12 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../windows/LoginDialog.cpp" line="86"/>
|
<location filename="../windows/LoginDialog.cpp" line="86"/>
|
||||||
<source>New password:%1</source>
|
<source>New password:%1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">新密码:%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../windows/LoginDialog.cpp" line="87"/>
|
<location filename="../windows/LoginDialog.cpp" line="87"/>
|
||||||
<source>Reset success</source>
|
<source>Reset success</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">重置成功</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../windows/LoginDialog.cpp" line="103"/>
|
<location filename="../windows/LoginDialog.cpp" line="103"/>
|
||||||
@@ -1529,7 +1529,7 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../windows/LoginDialog.cpp" line="240"/>
|
<location filename="../windows/LoginDialog.cpp" line="240"/>
|
||||||
<source>System mode Notice</source>
|
<source>System mode Notice</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">系统模式提醒</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -1561,7 +1561,7 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSAsyncAction.cpp" line="59"/>
|
<location filename="../dicom/MPPSAsyncAction.cpp" line="59"/>
|
||||||
<source>MPPS initNetwork failed!</source>
|
<source>MPPS initNetwork failed!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">MPPS网络初始化失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSAsyncAction.cpp" line="67"/>
|
<location filename="../dicom/MPPSAsyncAction.cpp" line="67"/>
|
||||||
@@ -1571,12 +1571,12 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSAsyncAction.cpp" line="76"/>
|
<location filename="../dicom/MPPSAsyncAction.cpp" line="76"/>
|
||||||
<source>MPPS context error!</source>
|
<source>MPPS context error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">MPPS发送失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSAsyncAction.cpp" line="143"/>
|
<location filename="../dicom/MPPSAsyncAction.cpp" line="143"/>
|
||||||
<source>MPPS fail by error:</source>
|
<source>MPPS fail by error:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">MPPS失败:</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -1584,12 +1584,12 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSManager.cpp" line="23"/>
|
<location filename="../dicom/MPPSManager.cpp" line="23"/>
|
||||||
<source>Create MPPSUID error!</source>
|
<source>Create MPPSUID error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">创建MPPSUID失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dicom/MPPSManager.cpp" line="33"/>
|
<location filename="../dicom/MPPSManager.cpp" line="33"/>
|
||||||
<source>Update MPPSUID success!</source>
|
<source>Update MPPSUID success!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">MPPSUID更新成功</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -2061,7 +2061,7 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_PatientInformationForm.h" line="170"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_PatientInformationForm.h" line="170"/>
|
||||||
<source>Current Patient</source>
|
<source>Current Patient</source>
|
||||||
<translation type="unfinished">当前患者信息</translation>
|
<translation type="unfinished">当前检查对象信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_PatientInformationForm.h" line="171"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_PatientInformationForm.h" line="171"/>
|
||||||
@@ -2251,7 +2251,7 @@ The emergency button has been pushed. Please reset it before other operations.</
|
|||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="104"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="104"/>
|
||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="140"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="140"/>
|
||||||
<source>Patient ID</source>
|
<source>Patient ID</source>
|
||||||
<translation type="unfinished">检查对象ID</translation>
|
<translation type="unfinished">患者编码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="105"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="105"/>
|
||||||
@@ -2263,7 +2263,7 @@ The emergency button has been pushed. Please reset it before other operations.</
|
|||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="106"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="106"/>
|
||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="142"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="142"/>
|
||||||
<source>Patient Name</source>
|
<source>Patient Name</source>
|
||||||
<translation type="unfinished">检查对象姓名</translation>
|
<translation type="unfinished">患者姓名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/recon/ReconFormWidget.cpp" line="109"/>
|
<location filename="../forms/recon/ReconFormWidget.cpp" line="109"/>
|
||||||
@@ -2730,12 +2730,12 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="278"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="278"/>
|
||||||
<source>Patient ID</source>
|
<source>Patient ID</source>
|
||||||
<translation type="unfinished">检查对象ID</translation>
|
<translation type="unfinished">患者编码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="279"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="279"/>
|
||||||
<source>Patient Name</source>
|
<source>Patient Name</source>
|
||||||
<translation type="unfinished">检查对象姓名</translation>
|
<translation type="unfinished">患者姓名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="281"/>
|
<location filename="../../../build-GUI-Desktop_Qt_5_12_0_GCC_64bit-Default/ui_ScanSearchCriteriaForm.h" line="281"/>
|
||||||
@@ -3255,6 +3255,61 @@ parameters
|
|||||||
<source>Recon DB error.</source>
|
<source>Recon DB error.</source>
|
||||||
<translation type="unfinished">重建服务器数据库错误</translation>
|
<translation type="unfinished">重建服务器数据库错误</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="90"/>
|
||||||
|
<source>Dms Init Error</source>
|
||||||
|
<translation type="unfinished">DMS初始化错误</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="91"/>
|
||||||
|
<source>Dms Connection Error</source>
|
||||||
|
<translation type="unfinished">DMS失去连接</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="92"/>
|
||||||
|
<source>Recon Fatal Error</source>
|
||||||
|
<translation type="unfinished">重建致命错误</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="93"/>
|
||||||
|
<source>Recon Mpps Connection Error</source>
|
||||||
|
<translation type="unfinished">MPPS连接失败</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="94"/>
|
||||||
|
<source>Recon Pacs Node1 Connection Error</source>
|
||||||
|
<translation type="unfinished">PACS节点1连接失败</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="95"/>
|
||||||
|
<source>Recon Pacs Node2 Connection Error</source>
|
||||||
|
<translation type="unfinished">PACS节点2连接失败</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="96"/>
|
||||||
|
<source>Recon Pacs Node3 Connection Error</source>
|
||||||
|
<translation type="unfinished">PACS节点3连接失败</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="97"/>
|
||||||
|
<source>Recon Empty Scan Data Error</source>
|
||||||
|
<translation type="unfinished">重建服务器空水数据缺失</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="98"/>
|
||||||
|
<source>Recon Database Connection Error</source>
|
||||||
|
<translation type="unfinished">重建服务器数据库错误</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="99"/>
|
||||||
|
<source>Recon Connection Error</source>
|
||||||
|
<translation type="unfinished">重建服务器连接失败</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../device/UsctStateManager.cpp" line="100"/>
|
||||||
|
<source>Unknow Error</source>
|
||||||
|
<translation type="unfinished">未知错误</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>UserOperationLogForm</name>
|
<name>UserOperationLogForm</name>
|
||||||
@@ -3304,29 +3359,29 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="27"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="27"/>
|
||||||
<source>System is working properly.</source>
|
<source>System is working properly.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">系统工作正常</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="28"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="28"/>
|
||||||
<source>No message.</source>
|
<source>No message.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">无信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="48"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="48"/>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="164"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="164"/>
|
||||||
<source>System Status</source>
|
<source>System Status</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">系统状态</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="75"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="75"/>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="165"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="165"/>
|
||||||
<source>System Notifications</source>
|
<source>System Notifications</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">系统通知</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../components/WarningMessageWidget.cpp" line="99"/>
|
<location filename="../components/WarningMessageWidget.cpp" line="99"/>
|
||||||
<source>Clear</source>
|
<source>Clear</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">清空</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|||||||
Reference in New Issue
Block a user