feat: The gender information which in worklist and local patient table can translate.

This commit is contained in:
sunwen
2024-09-14 13:44:33 +08:00
parent 031f1a2a47
commit ea6a6e99e4
13 changed files with 245 additions and 188 deletions

View File

@@ -469,27 +469,27 @@
<name>DeviceManager</name>
<message>
<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"/>
<location filename="../device/DeviceManager.cpp" line="832"/>
<location filename="../device/DeviceManager.cpp" line="840"/>
<location filename="../device/DeviceManager.cpp" line="1444"/>
<source>DMS connection error</source>
<translation type="unfinished">DMS失去连接</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="361"/>
<location filename="../device/DeviceManager.cpp" line="370"/>
<location filename="../device/DeviceManager.cpp" line="362"/>
<location filename="../device/DeviceManager.cpp" line="371"/>
<source>progress:%1%</source>
<translation type="unfinished">:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="375"/>
<location filename="../device/DeviceManager.cpp" line="376"/>
<source>Patient can leave.
progress:%1%</source>
<translation type="unfinished">
:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="382"/>
<location filename="../device/DeviceManager.cpp" line="383"/>
<source>Data quality assessment in progress
progress:99%</source>
<translation type="unfinished">
@@ -497,8 +497,8 @@ progress:99%</source>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="257"/>
<location filename="../device/DeviceManager.cpp" line="892"/>
<location filename="../device/DeviceManager.cpp" line="900"/>
<location filename="../device/DeviceManager.cpp" line="893"/>
<location filename="../device/DeviceManager.cpp" line="901"/>
<source>Initialize Failed.</source>
<translation type="unfinished"></translation>
</message>
@@ -518,91 +518,91 @@ progress:99%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="435"/>
<location filename="../device/DeviceManager.cpp" line="436"/>
<source>Scan completed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="782"/>
<location filename="../device/DeviceManager.cpp" line="783"/>
<source>Error: </source>
<translation type="unfinished">: </translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="866"/>
<location filename="../device/DeviceManager.cpp" line="867"/>
<source>Start scan failed. Reason:time out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="877"/>
<location filename="../device/DeviceManager.cpp" line="878"/>
<source>Start scan failed. Reason:%1</source>
<translation type="unfinished">%1</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="902"/>
<location filename="../device/DeviceManager.cpp" line="903"/>
<source>Start CE Scan Failed.</source>
<translation type="unfinished">CE扫查启动失败</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="936"/>
<location filename="../device/DeviceManager.cpp" line="935"/>
<source>Data is currently being transmitted, please shut down later.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="943"/>
<location filename="../device/DeviceManager.cpp" line="942"/>
<source>Shut down failed, please push emergency button to shutdown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1034"/>
<location filename="../device/DeviceManager.cpp" line="1044"/>
<location filename="../device/DeviceManager.cpp" line="1120"/>
<location filename="../device/DeviceManager.cpp" line="1033"/>
<location filename="../device/DeviceManager.cpp" line="1043"/>
<location filename="../device/DeviceManager.cpp" line="1119"/>
<source>Scan data transfer failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1098"/>
<location filename="../device/DeviceManager.cpp" line="1097"/>
<source>Scan data transfer Succeeded!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1140"/>
<location filename="../device/DeviceManager.cpp" line="1139"/>
<source>Create empty scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1162"/>
<location filename="../device/DeviceManager.cpp" line="1161"/>
<source>Create scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1229"/>
<location filename="../device/DeviceManager.cpp" line="1228"/>
<source>Recon disconnected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1295"/>
<location filename="../device/DeviceManager.cpp" line="1310"/>
<location filename="../device/DeviceManager.cpp" line="1293"/>
<location filename="../device/DeviceManager.cpp" line="1308"/>
<source>Open pump failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1327"/>
<location filename="../device/DeviceManager.cpp" line="1325"/>
<source>Recon error, can&apos;t start scan process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1368"/>
<location filename="../device/DeviceManager.cpp" line="1420"/>
<location filename="../device/DeviceManager.cpp" line="1366"/>
<location filename="../device/DeviceManager.cpp" line="1418"/>
<source>Start auto locate failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1440"/>
<location filename="../device/DeviceManager.cpp" line="1438"/>
<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"/>
<location filename="../device/DeviceManager.cpp" line="1466"/>
<source>Device reset failed, please contact maintenance person</source>
<translation type="unfinished"></translation>
</message>
@@ -622,12 +622,12 @@ progress:99%</source>
<translation type="obsolete">7</translation>
</message>
<message>
<location filename="../dialogs/DialogManager.cpp" line="673"/>
<location filename="../dialogs/DialogManager.cpp" line="672"/>
<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"/>
<location filename="../dialogs/DialogManager.cpp" line="681"/>
<source>The right emergency button has been pressed. Please reset right the emergency button before operating the device</source>
<translation type="unfinished"></translation>
</message>
@@ -1870,8 +1870,8 @@ progress:99%</source>
<translation type="obsolete">DICOM</translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="63"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="113"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="64"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="114"/>
<source>Name</source>
<translation></translation>
</message>
@@ -1884,8 +1884,8 @@ progress:99%</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="65"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="115"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="66"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="116"/>
<source>Gender</source>
<translation></translation>
</message>
@@ -1898,65 +1898,59 @@ progress:99%</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="110"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="178"/>
<source>Female</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="110"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="178"/>
<source>Male</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="110"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="178"/>
<source>Other</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="77"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="111"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="78"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="112"/>
<source>Patient Detail</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="62"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="112"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="63"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="113"/>
<source>Birth Date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="64"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="114"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="65"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="115"/>
<source>PatientID</source>
<translation type="unfinished">ID</translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="66"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="68"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="116"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="118"/>
<source>AccNo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="67"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="69"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="117"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="119"/>
<source>AccNo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="68"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="70"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="118"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="120"/>
<source>Position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="70"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="120"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="71"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="121"/>
<source>Add Date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="143"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="144"/>
<source>Scan with this Patient?</source>
<translation type="unfinished"></translation>
</message>
@@ -1965,12 +1959,12 @@ progress:99%</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="144"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="145"/>
<source>Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/PatientDetailForm.cpp" line="144"/>
<location filename="../forms/select/PatientDetailForm.cpp" line="145"/>
<source>Right</source>
<translation type="unfinished"></translation>
</message>
@@ -2041,47 +2035,40 @@ progress:99%</source>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="34"/>
<source>Female</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="34"/>
<source>Male</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="34"/>
<source>Other</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="74"/>
<source>RSTAND</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="75"/>
<source>LSTAND</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="76"/>
<source>LONE</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="77"/>
<source>RONE</source>
<translation type="unfinished"></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="91"/>
<location filename="../forms/scan/PatientInformationForm.cpp" line="86"/>
<source>Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/PatientInformationForm.cpp" line="95"/>
<location filename="../forms/scan/PatientInformationForm.cpp" line="90"/>
<source>Right</source>
<translation type="unfinished"></translation>
</message>
@@ -2154,6 +2141,21 @@ progress:99%</source>
<source>Last 7 days</source>
<translation type="unfinished">7</translation>
</message>
<message>
<location filename="../utilities/GenderHelper.cpp" line="9"/>
<source>Female</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../utilities/GenderHelper.cpp" line="14"/>
<source>Male</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../utilities/GenderHelper.cpp" line="19"/>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ReconFormWidget</name>
@@ -2166,44 +2168,44 @@ progress:99%</source>
<translation type="obsolete"></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="107"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="153"/>
<source>Patient ID</source>
<translation type="unfinished">ID</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="108"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="154"/>
<source>Accession Number</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="109"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="155"/>
<source>Patient Name</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="112"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="158"/>
<source>Operator Name</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="110"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="156"/>
<source>Scan Time</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="111"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="157"/>
<source>Laterality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/recon/ReconFormWidget.cpp" line="114"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="160"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="113"/>
<location filename="../forms/recon/ReconFormWidget.cpp" line="159"/>
<source>State</source>
<translation type="unfinished"></translation>
</message>
@@ -2546,81 +2548,81 @@ parameters
<translation type="vanished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="91"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="377"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="92"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="381"/>
<source>Worklist</source>
<translation>线</translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="163"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="372"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="164"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="376"/>
<source>Add</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="161"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="370"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="162"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="374"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="65"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="375"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="66"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="379"/>
<source>Patient Information Manage</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="92"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="378"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="93"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="382"/>
<source>Local</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="162"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="371"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="163"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="375"/>
<source>Delete</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="164"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="374"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="165"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="378"/>
<source>Pull</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="165"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="373"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="166"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="377"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="213"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="214"/>
<source>Can&apos;t delete selected Patient !</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="213"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="234"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="214"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="235"/>
<source>Alert</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="218"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="219"/>
<source>Delete Patient &quot;%1&quot; ?</source>
<translation type="unfinished">&quot;%1&quot;</translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="218"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="219"/>
<source>Confirm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="234"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="235"/>
<source>Can&apos;t delete selected Patient , db submit error!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="330"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="333"/>
<source>ID</source>
<translation type="unfinished">ID</translation>
</message>
@@ -2629,32 +2631,32 @@ parameters
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="331"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="364"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="334"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="367"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="332"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="365"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="335"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="368"/>
<source>Birth Date</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="333"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="366"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="336"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="369"/>
<source>Gender</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="334"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="367"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="337"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="370"/>
<source>Add Date</source>
<translation></translation>
</message>
<message>
<location filename="../forms/select/SelectFormWidget.cpp" line="335"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="368"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="338"/>
<location filename="../forms/select/SelectFormWidget.cpp" line="371"/>
<source>Comment</source>
<translation></translation>
</message>