translation improvement 6
This commit is contained in:
@@ -248,6 +248,8 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
|
|||||||
lbl_Protocol->setText(tr("Protocol"));
|
lbl_Protocol->setText(tr("Protocol"));
|
||||||
lblPreview->setText(tr("Preview Parameters"));
|
lblPreview->setText(tr("Preview Parameters"));
|
||||||
lblParams->setText(tr("Scan Parameters"));
|
lblParams->setText(tr("Scan Parameters"));
|
||||||
|
lbl_e->setText(tr("some settings\n\nparameters\n"));
|
||||||
|
lbl_e2->setText(tr("some settings\n\nparameters\n"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,22 @@
|
|||||||
#include "patientinformationform.h"
|
#include "patientinformationform.h"
|
||||||
#include "ui_patientinformationform.h"
|
#include "ui_patientinformationform.h"
|
||||||
#include "json/cJSON.h"
|
#include "json/cJSON.h"
|
||||||
|
#include "event/EventCenter.h"
|
||||||
|
|
||||||
PatientInformationForm::PatientInformationForm(QWidget* parent) :
|
PatientInformationForm::PatientInformationForm(QWidget* parent) :
|
||||||
QWidget(parent),
|
QWidget(parent),
|
||||||
ui(new Ui::PatientInformationForm)
|
ui(new Ui::PatientInformationForm)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->lbl_ID->setText("");
|
//ui->lbl_ID->setText(tr(""));
|
||||||
ui->lbl_Date->setText("");
|
//ui->lbl_Date->setText(tr(""));
|
||||||
ui->lbl_Name->setText("");
|
//ui->lbl_Name->setText(tr(""));
|
||||||
ui->lbl_Sex->setText("");
|
//ui->lbl_Sex->setText(tr(""));
|
||||||
ui->lbl_Acc->setText("");
|
//ui->lbl_Acc->setText(tr(""));
|
||||||
|
|
||||||
|
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||||
|
ui->retranslateUi(this);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
PatientInformationForm::~PatientInformationForm()
|
PatientInformationForm::~PatientInformationForm()
|
||||||
@@ -33,11 +39,11 @@ void PatientInformationForm::setProtocol(int type) {
|
|||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
ui->lbl_Protocol->setText("LEFT ONLY");
|
ui->lbl_Protocol->setText(tr("LEFT ONLY"));
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
default:
|
default:
|
||||||
ui->lbl_Protocol->setText("RIGHT ONLY");
|
ui->lbl_Protocol->setText(tr("RIGHT ONLY"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -424,6 +424,10 @@
|
|||||||
<source>LEFT ONLY</source>
|
<source>LEFT ONLY</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>RIGHT ONLY</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RollingMessageWidget</name>
|
<name>RollingMessageWidget</name>
|
||||||
@@ -600,6 +604,10 @@ parameters
|
|||||||
<source>DICOM Settings</source>
|
<source>DICOM Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>networkCfgDialog</name>
|
<name>networkCfgDialog</name>
|
||||||
|
|||||||
@@ -424,6 +424,10 @@
|
|||||||
<source>LEFT ONLY</source>
|
<source>LEFT ONLY</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>RIGHT ONLY</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RollingMessageWidget</name>
|
<name>RollingMessageWidget</name>
|
||||||
|
|||||||
Binary file not shown.
@@ -588,12 +588,22 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="128"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="128"/>
|
||||||
|
<location filename="../patientinformationform.cpp" line="42"/>
|
||||||
<source>LEFT ONLY</source>
|
<source>LEFT ONLY</source>
|
||||||
<translation>左侧</translation>
|
<translation>左侧</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation type="obsolete">姓名</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation type="obsolete">性别</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../patientinformationform.cpp" line="46"/>
|
||||||
<source>RIGHT ONLY</source>
|
<source>RIGHT ONLY</source>
|
||||||
<translation type="vanished">右侧</translation>
|
<translation>右侧</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -662,6 +672,8 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../ScanFormWidget.cpp" line="101"/>
|
<location filename="../ScanFormWidget.cpp" line="101"/>
|
||||||
<location filename="../ScanFormWidget.cpp" line="113"/>
|
<location filename="../ScanFormWidget.cpp" line="113"/>
|
||||||
|
<location filename="../ScanFormWidget.cpp" line="251"/>
|
||||||
|
<location filename="../ScanFormWidget.cpp" line="252"/>
|
||||||
<source>some settings
|
<source>some settings
|
||||||
|
|
||||||
parameters
|
parameters
|
||||||
@@ -827,7 +839,7 @@ parameters
|
|||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
|
||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
|
||||||
<source>...</source>
|
<source>...</source>
|
||||||
<translation type="unfinished">DICOM</translation>
|
<translation>DICOM</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
|
||||||
@@ -1001,7 +1013,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="231"/>
|
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="231"/>
|
||||||
<source>Protocal</source>
|
<source>Protocal</source>
|
||||||
<translation>扫描协议</translation>
|
<translation>默认扫描协议</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="235"/>
|
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="235"/>
|
||||||
|
|||||||
@@ -588,12 +588,22 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="128"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="128"/>
|
||||||
|
<location filename="../patientinformationform.cpp" line="42"/>
|
||||||
<source>LEFT ONLY</source>
|
<source>LEFT ONLY</source>
|
||||||
<translation>左侧</translation>
|
<translation>左侧</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation type="obsolete">姓名</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation type="obsolete">性别</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../patientinformationform.cpp" line="46"/>
|
||||||
<source>RIGHT ONLY</source>
|
<source>RIGHT ONLY</source>
|
||||||
<translation type="vanished">右侧</translation>
|
<translation>右侧</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -662,6 +672,8 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../ScanFormWidget.cpp" line="101"/>
|
<location filename="../ScanFormWidget.cpp" line="101"/>
|
||||||
<location filename="../ScanFormWidget.cpp" line="113"/>
|
<location filename="../ScanFormWidget.cpp" line="113"/>
|
||||||
|
<location filename="../ScanFormWidget.cpp" line="251"/>
|
||||||
|
<location filename="../ScanFormWidget.cpp" line="252"/>
|
||||||
<source>some settings
|
<source>some settings
|
||||||
|
|
||||||
parameters
|
parameters
|
||||||
@@ -827,7 +839,7 @@ parameters
|
|||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
|
||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
|
||||||
<source>...</source>
|
<source>...</source>
|
||||||
<translation type="unfinished">DICOM</translation>
|
<translation>DICOM</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
|
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
|
||||||
@@ -1001,7 +1013,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="231"/>
|
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="231"/>
|
||||||
<source>Protocal</source>
|
<source>Protocal</source>
|
||||||
<translation>扫描协议</translation>
|
<translation>默认扫描协议</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="235"/>
|
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="235"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user