feat: Add error message when emergency button pushed.

This commit is contained in:
sunwen
2024-09-12 16:46:52 +08:00
parent 84489708d5
commit fbaece22a1
10 changed files with 259 additions and 87 deletions

View File

@@ -468,139 +468,144 @@
<context>
<name>DeviceManager</name>
<message>
<location filename="../device/DeviceManager.cpp" line="167"/>
<location filename="../device/DeviceManager.cpp" line="814"/>
<location filename="../device/DeviceManager.cpp" line="822"/>
<location filename="../device/DeviceManager.cpp" line="1426"/>
<location filename="../device/DeviceManager.cpp" line="168"/>
<location filename="../device/DeviceManager.cpp" line="831"/>
<location filename="../device/DeviceManager.cpp" line="839"/>
<location filename="../device/DeviceManager.cpp" line="1446"/>
<source>DMS connection error</source>
<translation type="unfinished">DMS失去连接</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="360"/>
<location filename="../device/DeviceManager.cpp" line="369"/>
<location filename="../device/DeviceManager.cpp" line="361"/>
<location filename="../device/DeviceManager.cpp" line="370"/>
<source>progress:%1%</source>
<translation type="unfinished">:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="374"/>
<location filename="../device/DeviceManager.cpp" line="375"/>
<source>Patient can leave.
progress:%1%</source>
<translation type="unfinished">
:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="381"/>
<location filename="../device/DeviceManager.cpp" line="382"/>
<source>Data quality assessment in progress
progress:99%</source>
<translation type="unfinished">
进度:99%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="256"/>
<location filename="../device/DeviceManager.cpp" line="875"/>
<location filename="../device/DeviceManager.cpp" line="883"/>
<location filename="../device/DeviceManager.cpp" line="257"/>
<location filename="../device/DeviceManager.cpp" line="892"/>
<location filename="../device/DeviceManager.cpp" line="900"/>
<source>Initialize Failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="227"/>
<location filename="../device/DeviceManager.cpp" line="228"/>
<source>Fail to connect to DB!Reboot device to try!</source>
<translation type="unfinished">!</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="317"/>
<location filename="../device/DeviceManager.cpp" line="318"/>
<source>Device is not ready, start scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="317"/>
<location filename="../device/DeviceManager.cpp" line="318"/>
<source>Device is not ready, start empty scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="434"/>
<location filename="../device/DeviceManager.cpp" line="435"/>
<source>Scan completed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="778"/>
<location filename="../device/DeviceManager.cpp" line="782"/>
<source>Error: </source>
<translation type="unfinished">: </translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="849"/>
<location filename="../device/DeviceManager.cpp" line="866"/>
<source>Start scan failed. Reason:time out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="860"/>
<location filename="../device/DeviceManager.cpp" line="877"/>
<source>Start scan failed. Reason:%1</source>
<translation type="unfinished">%1</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="885"/>
<location filename="../device/DeviceManager.cpp" line="902"/>
<source>Start CE Scan Failed.</source>
<translation type="unfinished">CE扫查启动失败</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="917"/>
<location filename="../device/DeviceManager.cpp" line="936"/>
<source>Data is currently being transmitted, please shut down later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="924"/>
<location filename="../device/DeviceManager.cpp" line="943"/>
<source>Shut down failed, please push emergency button to shutdown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1015"/>
<location filename="../device/DeviceManager.cpp" line="1025"/>
<location filename="../device/DeviceManager.cpp" line="1101"/>
<location filename="../device/DeviceManager.cpp" line="1034"/>
<location filename="../device/DeviceManager.cpp" line="1044"/>
<location filename="../device/DeviceManager.cpp" line="1120"/>
<source>Scan data transfer failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1079"/>
<location filename="../device/DeviceManager.cpp" line="1098"/>
<source>Scan data transfer Succeeded!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1121"/>
<location filename="../device/DeviceManager.cpp" line="1140"/>
<source>Create empty scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1143"/>
<location filename="../device/DeviceManager.cpp" line="1162"/>
<source>Create scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1210"/>
<location filename="../device/DeviceManager.cpp" line="1229"/>
<source>Recon disconnected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1275"/>
<location filename="../device/DeviceManager.cpp" line="1290"/>
<location filename="../device/DeviceManager.cpp" line="1295"/>
<location filename="../device/DeviceManager.cpp" line="1310"/>
<source>Open pump failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1307"/>
<location filename="../device/DeviceManager.cpp" line="1327"/>
<source>Recon error, can&apos;t start scan process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1348"/>
<location filename="../device/DeviceManager.cpp" line="1400"/>
<location filename="../device/DeviceManager.cpp" line="1368"/>
<location filename="../device/DeviceManager.cpp" line="1420"/>
<source>Start auto locate failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1420"/>
<location filename="../device/DeviceManager.cpp" line="1440"/>
<source>The data quality is low, please restart the data scan.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1468"/>
<source>Device reset failed, please contact maintenance person</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DialogManager</name>
@@ -616,6 +621,16 @@ progress:99%</source>
<source>Last 7 days</source>
<translation type="obsolete">7</translation>
</message>
<message>
<location filename="../dialogs/DialogManager.cpp" line="673"/>
<source>The left emergency button has been pressed. Please reset left the emergency button before operating the device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/DialogManager.cpp" line="682"/>
<source>The right emergency button has been pressed. Please reset right the emergency button before operating the device</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DicomCfgDialog</name>
@@ -1781,6 +1796,11 @@ progress:99%</source>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../recon/PACSSettingsDataModel.cpp" line="52"/>
<source>Server AE</source>
<translation type="unfinished">AE</translation>
</message>
<message>
<location filename="../recon/PACSSettingsDataModel.cpp" line="52"/>
<source>AETitle</source>
@@ -1796,11 +1816,6 @@ progress:99%</source>
<source>Port</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../recon/PACSSettingsDataModel.cpp" line="52"/>
<source>Server AE</source>
<translation type="unfinished">AE</translation>
</message>
<message>
<location filename="../recon/PACSSettingsDataModel.cpp" line="52"/>
<source>Use SC</source>
@@ -2151,44 +2166,44 @@ progress:99%</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="107"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="153"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="108"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="154"/>
<source>Patient ID</source>
<translation type="unfinished">ID</translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="108"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="154"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="109"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="155"/>
<source>Accession Number</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="109"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="155"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="110"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="156"/>
<source>Patient Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="112"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="158"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="113"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="159"/>
<source>Operator Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="110"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="156"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="111"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="157"/>
<source>Scan Time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="111"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="157"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="112"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="158"/>
<source>Laterality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="113"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="159"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="114"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="160"/>
<source>State</source>
<translation type="unfinished"></translation>
</message>
@@ -2265,49 +2280,49 @@ progress:99%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="54"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="55"/>
<source>Transfer completed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="57"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="63"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="58"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="65"/>
<source>Recon create failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="60"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="66"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="62"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="69"/>
<source>Wait to recon</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="69"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="72"/>
<source>Recon ing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="72"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="75"/>
<source>Recon failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="75"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="79"/>
<source>Recon succeed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="78"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="82"/>
<source>PACS failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="81"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="86"/>
<source>PACS succeed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="84"/>
<location filename="../forms/recon/ReconStateDelegate.cpp" line="89"/>
<source>Unknow</source>
<translation type="unfinished"></translation>
</message>