translation improvements 1
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"login": {
|
||||||
|
"defaultUser": ""
|
||||||
|
},
|
||||||
"deviceparam": {
|
"deviceparam": {
|
||||||
"aeTitle": "ACME1",
|
"aeTitle": "ACME1",
|
||||||
"hospitalAddr": "北京",
|
"hospitalAddr": "北京",
|
||||||
|
|||||||
@@ -22,12 +22,12 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
|||||||
|
|
||||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setMargin(0);
|
||||||
layout->setContentsMargins(0,8,0,8);
|
layout->setContentsMargins(0, 8, 0, 8);
|
||||||
this->ui->contentWidget->setLayout(layout);
|
this->ui->contentWidget->setLayout(layout);
|
||||||
QListWidget* widget = new QListWidget(this);
|
QListWidget* widget = new QListWidget(this);
|
||||||
widget->setFixedWidth(250);
|
widget->setFixedWidth(250);
|
||||||
QStringList menus;
|
QStringList menus;
|
||||||
menus << tr("General") << tr("Account Manage") << tr("System Setting") << tr("System Information") << tr("Operation Log") << tr("About");
|
menus << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("Log") << tr("About");
|
||||||
widget->addItems(menus);
|
widget->addItems(menus);
|
||||||
widget->setSpacing(3);
|
widget->setSpacing(3);
|
||||||
for (int i = 0; i < menus.count(); ++i) {
|
for (int i = 0; i < menus.count(); ++i) {
|
||||||
@@ -72,9 +72,9 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
|||||||
connect(widget, &QListWidget::currentRowChanged, [=](int rowindex) {
|
connect(widget, &QListWidget::currentRowChanged, [=](int rowindex) {
|
||||||
stackedWidget->setCurrentIndex(rowindex);
|
stackedWidget->setCurrentIndex(rowindex);
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(),&EventCenter::ReloadLanguage,[=](){
|
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||||
QStringList menus2;
|
QStringList menus2;
|
||||||
menus2 << tr("General") << tr("Account Manage") << tr("System Setting") << tr("System Information") << tr("Operation Log") << tr("About");
|
menus2 << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("Log") << tr("About");
|
||||||
widget->clear();
|
widget->clear();
|
||||||
|
|
||||||
widget->addItems(menus2);
|
widget->addItems(menus2);
|
||||||
|
|||||||
@@ -91,9 +91,10 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
|
|||||||
model->sort(5, Qt::DescendingOrder);
|
model->sort(5, Qt::DescendingOrder);
|
||||||
model->select();
|
model->select();
|
||||||
model->setHeaderData(1, Qt::Horizontal, "ID");
|
model->setHeaderData(1, Qt::Horizontal, "ID");
|
||||||
model->setHeaderData(2, Qt::Horizontal, "Name");
|
model->setHeaderData(2, Qt::Horizontal, tr("Name"));
|
||||||
model->setHeaderData(3, Qt::Horizontal, "Birth Date");
|
model->setHeaderData(3, Qt::Horizontal, tr("Birth Date"));
|
||||||
model->setHeaderData(5, Qt::Horizontal, "Add Date");
|
model->setHeaderData(4, Qt::Horizontal, tr("Gender"));
|
||||||
|
model->setHeaderData(5, Qt::Horizontal, tr("Add Date"));
|
||||||
table->setModel((QAbstractItemModel*)model);
|
table->setModel((QAbstractItemModel*)model);
|
||||||
table->hideColumn(0);
|
table->hideColumn(0);
|
||||||
table->hideColumn(7);
|
table->hideColumn(7);
|
||||||
@@ -104,7 +105,7 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
|
|||||||
table->setColumnWidth(1, 250);
|
table->setColumnWidth(1, 250);
|
||||||
table->setColumnWidth(2, 250);
|
table->setColumnWidth(2, 250);
|
||||||
table->setColumnWidth(3, 120);
|
table->setColumnWidth(3, 120);
|
||||||
table->setColumnWidth(4, 60);
|
table->setColumnWidth(4, 80);
|
||||||
table->setColumnWidth(5, 250);
|
table->setColumnWidth(5, 250);
|
||||||
// table->sortByColumn(5);
|
// table->sortByColumn(5);
|
||||||
// table->setSortingEnabled(true);
|
// table->setSortingEnabled(true);
|
||||||
|
|||||||
@@ -98,6 +98,15 @@ int JsonObject::getArraySize(const char* catergory, const char* stringName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void JsonObject::setDefaultUser(const QString& str)
|
||||||
|
{
|
||||||
|
setJsonString("login", "defaultUser", str.toStdString().c_str());
|
||||||
|
}
|
||||||
|
QString JsonObject::defaultUser()
|
||||||
|
{
|
||||||
|
char* str = getJsonString("login", "defaultUser");
|
||||||
|
return QString(str);
|
||||||
|
}
|
||||||
QStringList JsonObject::protocals()
|
QStringList JsonObject::protocals()
|
||||||
{
|
{
|
||||||
if (!loadcfg())
|
if (!loadcfg())
|
||||||
@@ -121,7 +130,7 @@ QString JsonObject::defaultProtocal()
|
|||||||
return QString(str);
|
return QString(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonObject::setDefaultProtocal(QString str)
|
void JsonObject::setDefaultProtocal(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("protocol", "default", str.toStdString().c_str());
|
setJsonString("protocol", "default", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -131,7 +140,7 @@ QString JsonObject::defaultFilter()
|
|||||||
char* str = getJsonString("worklistfilter", "default");
|
char* str = getJsonString("worklistfilter", "default");
|
||||||
return QString(str);
|
return QString(str);
|
||||||
}
|
}
|
||||||
void JsonObject::setDefaultFilter(QString str)
|
void JsonObject::setDefaultFilter(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("worklistfilter", "default", str.toStdString().c_str());
|
setJsonString("worklistfilter", "default", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -167,7 +176,7 @@ QStringList JsonObject::language()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonObject::setDefaultLanguage(QString str)
|
void JsonObject::setDefaultLanguage(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("general", "defaultlanguage", str.toStdString().c_str());
|
setJsonString("general", "defaultlanguage", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -183,7 +192,7 @@ QString JsonObject::institutionName()
|
|||||||
char* str = getJsonString("general", "institutionName");
|
char* str = getJsonString("general", "institutionName");
|
||||||
return QString(str);
|
return QString(str);
|
||||||
}
|
}
|
||||||
void JsonObject::setInstitutionName(QString str)
|
void JsonObject::setInstitutionName(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("general", "institutionName", str.toStdString().c_str());
|
setJsonString("general", "institutionName", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -194,7 +203,7 @@ QString JsonObject::institutionAddr()
|
|||||||
return QString(str);
|
return QString(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonObject::setInstitutionAddr(QString str)
|
void JsonObject::setInstitutionAddr(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("general", "institutionAddr", str.toStdString().c_str());
|
setJsonString("general", "institutionAddr", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -212,7 +221,7 @@ QString JsonObject::lockScreenTimeout()
|
|||||||
return QString(str);
|
return QString(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonObject::setLockScreenTimeout(QString str)
|
void JsonObject::setLockScreenTimeout(const QString& str)
|
||||||
{
|
{
|
||||||
setJsonString("general", "lockscreen", str.toStdString().c_str());
|
setJsonString("general", "lockscreen", str.toStdString().c_str());
|
||||||
}
|
}
|
||||||
@@ -326,15 +335,12 @@ QString JsonObject::interfaceName()
|
|||||||
|
|
||||||
QString JsonObject::passWord()
|
QString JsonObject::passWord()
|
||||||
{
|
{
|
||||||
if (!loadcfg())
|
|
||||||
return QString("");
|
|
||||||
return tmp_psw;
|
return tmp_psw;
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonObject::setPassword(const QString& pwd)
|
void JsonObject::setPassword(const QString& pwd)
|
||||||
{
|
{
|
||||||
//if (!loadcfg())
|
|
||||||
// return;
|
|
||||||
tmp_psw = pwd;
|
tmp_psw = pwd;
|
||||||
}
|
}
|
||||||
void JsonObject::setInterfaceName(const QString& name)
|
void JsonObject::setInterfaceName(const QString& name)
|
||||||
|
|||||||
@@ -41,29 +41,34 @@ public:
|
|||||||
WORKLIST, PACS, DAQ, RECON
|
WORKLIST, PACS, DAQ, RECON
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//for login
|
||||||
|
void setDefaultUser(const QString& str);
|
||||||
|
QString defaultUser();
|
||||||
|
|
||||||
|
|
||||||
QStringList language();
|
QStringList language();
|
||||||
void setDefaultLanguage(QString str);
|
void setDefaultLanguage(const QString& str);
|
||||||
QString defaultLanguage();
|
QString defaultLanguage();
|
||||||
|
|
||||||
QString institutionName();
|
QString institutionName();
|
||||||
void setInstitutionName(QString str);
|
void setInstitutionName(const QString& str);
|
||||||
|
|
||||||
QString institutionAddr();
|
QString institutionAddr();
|
||||||
void setInstitutionAddr(QString str);
|
void setInstitutionAddr(const QString& str);
|
||||||
|
|
||||||
int lockerCount();
|
int lockerCount();
|
||||||
QString lockScreenTimeout();
|
QString lockScreenTimeout();
|
||||||
void setLockScreenTimeout(QString str);
|
void setLockScreenTimeout(const QString& str);
|
||||||
|
|
||||||
|
|
||||||
QStringList protocals();
|
QStringList protocals();
|
||||||
QString defaultProtocal();
|
QString defaultProtocal();
|
||||||
void setDefaultProtocal(QString str);
|
void setDefaultProtocal(const QString& str);
|
||||||
|
|
||||||
|
|
||||||
QStringList worklistFilters();
|
QStringList worklistFilters();
|
||||||
QString defaultFilter();
|
QString defaultFilter();
|
||||||
void setDefaultFilter(QString str);
|
void setDefaultFilter(const QString& str);
|
||||||
|
|
||||||
host getServer(ServerType type);
|
host getServer(ServerType type);
|
||||||
void setServer(ServerType type, const host& list);
|
void setServer(ServerType type, const host& list);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "InputObject.h"
|
#include "InputObject.h"
|
||||||
#include "models/User.h"
|
#include "models/User.h"
|
||||||
#include "log/UserOperationLog.h"
|
#include "log/UserOperationLog.h"
|
||||||
|
#include "json/jsonobject.h"
|
||||||
LoginWindow::LoginWindow(QWidget* parent)
|
LoginWindow::LoginWindow(QWidget* parent)
|
||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
, m_pLoginButton(nullptr)
|
, m_pLoginButton(nullptr)
|
||||||
@@ -26,7 +26,9 @@ LoginWindow::LoginWindow(QWidget* parent)
|
|||||||
init();
|
init();
|
||||||
setWindowFlags(windowFlags() | Qt::Window | Qt::FramelessWindowHint | Qt::WindowSystemMenuHint);
|
setWindowFlags(windowFlags() | Qt::Window | Qt::FramelessWindowHint | Qt::WindowSystemMenuHint);
|
||||||
//Dialog::Instance()->InitForm();
|
//Dialog::Instance()->InitForm();
|
||||||
m_pUserCodeEdit->setText(tr("usct"));
|
m_pUserCodeEdit->setText(JsonObject::Instance()->defaultUser());
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LoginWindow::~LoginWindow()
|
LoginWindow::~LoginWindow()
|
||||||
@@ -136,6 +138,7 @@ void LoginWindow::doLogin()
|
|||||||
{
|
{
|
||||||
accept();
|
accept();
|
||||||
LOG_USER_OPERATION(Login);
|
LOG_USER_OPERATION(Login);
|
||||||
|
JsonObject::Instance()->setDefaultUser(strUserCode);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
warn->setVisible(true);
|
warn->setVisible(true);
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
if (admin_tab_index == -1)
|
if (admin_tab_index == -1)
|
||||||
{
|
{
|
||||||
AdminSettingForm* form = new AdminSettingForm(this);
|
AdminSettingForm* form = new AdminSettingForm(this);
|
||||||
admin_tab_index = tab->addTab(form, tr("Admin"));
|
admin_tab_index = tab->addTab(form, tr("Settings"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -189,7 +189,7 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
tab->setTabText(0, tr("Select"));
|
tab->setTabText(0, tr("Select"));
|
||||||
tab->setTabText(1, tr("Scan"));
|
tab->setTabText(1, tr("Scan"));
|
||||||
tab->setTabText(2, tr("Verify"));
|
tab->setTabText(2, tr("Verify"));
|
||||||
tab->setTabText(3, tr("Admin"));
|
tab->setTabText(3, tr("Settings"));
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -117,26 +117,26 @@
|
|||||||
<source>General</source>
|
<source>General</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Account Manage</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>System Setting</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>System Information</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Operation Log</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>About</source>
|
<source>About</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Account</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>System</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Information</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Log</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>AlertDialog</name>
|
<name>AlertDialog</name>
|
||||||
@@ -330,10 +330,6 @@
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>LoginWindow</name>
|
<name>LoginWindow</name>
|
||||||
<message>
|
|
||||||
<source>usct</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>U S C T</source>
|
<source>U S C T</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
@@ -370,7 +366,7 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Admin</source>
|
<source>Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
@@ -496,6 +492,22 @@ parameters
|
|||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Birth Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Add Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TabFormWidget</name>
|
<name>TabFormWidget</name>
|
||||||
|
|||||||
@@ -117,26 +117,26 @@
|
|||||||
<source>General</source>
|
<source>General</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Account Manage</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>System Setting</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>System Information</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Operation Log</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>About</source>
|
<source>About</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Account</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>System</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Information</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Log</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>AlertDialog</name>
|
<name>AlertDialog</name>
|
||||||
@@ -330,10 +330,6 @@
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>LoginWindow</name>
|
<name>LoginWindow</name>
|
||||||
<message>
|
|
||||||
<source>usct</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>U S C T</source>
|
<source>U S C T</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
@@ -370,7 +366,7 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Admin</source>
|
<source>Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
@@ -496,6 +492,22 @@ parameters
|
|||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Birth Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Add Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TabFormWidget</name>
|
<name>TabFormWidget</name>
|
||||||
|
|||||||
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="28"/>
|
<location filename="../AccountFormDialog.cpp" line="28"/>
|
||||||
<source>Account</source>
|
<source>Account</source>
|
||||||
<translation>用户名</translation>
|
<translation>账户</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="34"/>
|
<location filename="../AccountFormDialog.cpp" line="34"/>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="169"/>
|
<location filename="../AccountFormDialog.cpp" line="169"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>评论</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="199"/>
|
<location filename="../AccountFormDialog.cpp" line="199"/>
|
||||||
@@ -164,26 +164,42 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Account</source>
|
||||||
|
<translation>账户</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>System</source>
|
||||||
|
<translation>系统</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Information</source>
|
||||||
|
<translation>信息</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Log</source>
|
||||||
|
<translation>日志</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
<source>Account Manage</source>
|
<source>Account Manage</source>
|
||||||
<translation>用户管理</translation>
|
<translation type="vanished">用户管理</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>System Setting</source>
|
<source>System Setting</source>
|
||||||
<translation>系统设置</translation>
|
<translation type="vanished">系统设置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>System Information</source>
|
<source>System Information</source>
|
||||||
<translation>系统信息</translation>
|
<translation type="vanished">系统信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>Operation Log</source>
|
<source>Operation Log</source>
|
||||||
<translation>操作日志</translation>
|
<translation type="vanished">操作日志</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
@@ -275,7 +291,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>评论</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||||
@@ -432,27 +448,22 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>LoginWindow</name>
|
<name>LoginWindow</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="29"/>
|
<location filename="../loginwindow.cpp" line="71"/>
|
||||||
<source>usct</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../loginwindow.cpp" line="69"/>
|
|
||||||
<source>U S C T</source>
|
<source>U S C T</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="86"/>
|
<location filename="../loginwindow.cpp" line="88"/>
|
||||||
<source>Username</source>
|
<source>Username</source>
|
||||||
<translation>用户名</translation>
|
<translation>用户名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="93"/>
|
<location filename="../loginwindow.cpp" line="95"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>密码</translation>
|
<translation>密码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="97"/>
|
<location filename="../loginwindow.cpp" line="99"/>
|
||||||
<source>Login</source>
|
<source>Login</source>
|
||||||
<translation>登录</translation>
|
<translation>登录</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -486,11 +497,15 @@
|
|||||||
<source>Verify</source>
|
<source>Verify</source>
|
||||||
<translation>确认</translation>
|
<translation>确认</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Admin</source>
|
||||||
|
<translation type="vanished">管理</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="152"/>
|
<location filename="../mainwindow.cpp" line="152"/>
|
||||||
<location filename="../mainwindow.cpp" line="192"/>
|
<location filename="../mainwindow.cpp" line="192"/>
|
||||||
<source>Admin</source>
|
<source>Settings</source>
|
||||||
<translation>管理</translation>
|
<translation>设置</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -503,12 +518,12 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="119"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="119"/>
|
||||||
<source>Patient Information</source>
|
<source>Patient Information</source>
|
||||||
<translation>病人信息</translation>
|
<translation>患者信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="120"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="120"/>
|
||||||
<source><html><head/><body><p>PatientID:</p></body></html></source>
|
<source><html><head/><body><p>PatientID:</p></body></html></source>
|
||||||
<translation><html><head/><body><p>病人ID:</p></body></html></translation>
|
<translation><html><head/><body><p>患者ID:</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="121"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="121"/>
|
||||||
@@ -620,7 +635,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||||
<source>Account</source>
|
<source>Account</source>
|
||||||
<translation>用户</translation>
|
<translation>账户</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||||
@@ -647,6 +662,26 @@ parameters
|
|||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>选择</translation>
|
<translation>选择</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="94"/>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation>姓名</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="95"/>
|
||||||
|
<source>Birth Date</source>
|
||||||
|
<translation>出生日期</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation>性别</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||||
|
<source>Add Date</source>
|
||||||
|
<translation>添加日期</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TabFormWidget</name>
|
<name>TabFormWidget</name>
|
||||||
@@ -698,7 +733,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="387"/>
|
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="387"/>
|
||||||
<source>Network Setting</source>
|
<source>Network Setting</source>
|
||||||
<translation type="unfinished">网络配置</translation>
|
<translation>网络配置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="389"/>
|
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="389"/>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="28"/>
|
<location filename="../AccountFormDialog.cpp" line="28"/>
|
||||||
<source>Account</source>
|
<source>Account</source>
|
||||||
<translation>用户名</translation>
|
<translation>账户</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="34"/>
|
<location filename="../AccountFormDialog.cpp" line="34"/>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="169"/>
|
<location filename="../AccountFormDialog.cpp" line="169"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>评论</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AccountFormDialog.cpp" line="199"/>
|
<location filename="../AccountFormDialog.cpp" line="199"/>
|
||||||
@@ -164,26 +164,42 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Account</source>
|
||||||
|
<translation>账户</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>System</source>
|
||||||
|
<translation>系统</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Information</source>
|
||||||
|
<translation>信息</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
|
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||||
|
<source>Log</source>
|
||||||
|
<translation>日志</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
<source>Account Manage</source>
|
<source>Account Manage</source>
|
||||||
<translation>用户管理</translation>
|
<translation type="vanished">用户管理</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>System Setting</source>
|
<source>System Setting</source>
|
||||||
<translation>系统设置</translation>
|
<translation type="vanished">系统设置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>System Information</source>
|
<source>System Information</source>
|
||||||
<translation>系统信息</translation>
|
<translation type="vanished">系统信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
|
||||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
|
||||||
<source>Operation Log</source>
|
<source>Operation Log</source>
|
||||||
<translation>操作日志</translation>
|
<translation type="vanished">操作日志</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||||
@@ -275,7 +291,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>评论</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||||
@@ -432,27 +448,22 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>LoginWindow</name>
|
<name>LoginWindow</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="29"/>
|
<location filename="../loginwindow.cpp" line="71"/>
|
||||||
<source>usct</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../loginwindow.cpp" line="69"/>
|
|
||||||
<source>U S C T</source>
|
<source>U S C T</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="86"/>
|
<location filename="../loginwindow.cpp" line="88"/>
|
||||||
<source>Username</source>
|
<source>Username</source>
|
||||||
<translation>用户名</translation>
|
<translation>用户名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="93"/>
|
<location filename="../loginwindow.cpp" line="95"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>密码</translation>
|
<translation>密码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../loginwindow.cpp" line="97"/>
|
<location filename="../loginwindow.cpp" line="99"/>
|
||||||
<source>Login</source>
|
<source>Login</source>
|
||||||
<translation>登录</translation>
|
<translation>登录</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -486,11 +497,15 @@
|
|||||||
<source>Verify</source>
|
<source>Verify</source>
|
||||||
<translation>确认</translation>
|
<translation>确认</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Admin</source>
|
||||||
|
<translation type="vanished">管理</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="152"/>
|
<location filename="../mainwindow.cpp" line="152"/>
|
||||||
<location filename="../mainwindow.cpp" line="192"/>
|
<location filename="../mainwindow.cpp" line="192"/>
|
||||||
<source>Admin</source>
|
<source>Settings</source>
|
||||||
<translation>管理</translation>
|
<translation>设置</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@@ -503,12 +518,12 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="119"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="119"/>
|
||||||
<source>Patient Information</source>
|
<source>Patient Information</source>
|
||||||
<translation>病人信息</translation>
|
<translation>患者信息</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="120"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="120"/>
|
||||||
<source><html><head/><body><p>PatientID:</p></body></html></source>
|
<source><html><head/><body><p>PatientID:</p></body></html></source>
|
||||||
<translation><html><head/><body><p>病人ID:</p></body></html></translation>
|
<translation><html><head/><body><p>患者ID:</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="121"/>
|
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="121"/>
|
||||||
@@ -620,7 +635,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||||
<source>Account</source>
|
<source>Account</source>
|
||||||
<translation>用户</translation>
|
<translation>账户</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||||
@@ -647,6 +662,26 @@ parameters
|
|||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>选择</translation>
|
<translation>选择</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="94"/>
|
||||||
|
<source>Name</source>
|
||||||
|
<translation>姓名</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="95"/>
|
||||||
|
<source>Birth Date</source>
|
||||||
|
<translation>出生日期</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||||
|
<source>Gender</source>
|
||||||
|
<translation>性别</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||||
|
<source>Add Date</source>
|
||||||
|
<translation>添加日期</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TabFormWidget</name>
|
<name>TabFormWidget</name>
|
||||||
@@ -698,7 +733,7 @@ parameters
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="387"/>
|
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="387"/>
|
||||||
<source>Network Setting</source>
|
<source>Network Setting</source>
|
||||||
<translation type="unfinished">网络配置</translation>
|
<translation>网络配置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="389"/>
|
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="389"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user