diff --git a/.gitignore b/.gitignore
index e52b4a6..62cc5e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,4 @@
/out/
/.vs/
/CMakeSettings.json
-/src/translations/*.ts
-*.ts
/src/translations/copy.bat
diff --git a/src/translations/en_US.ts b/src/translations/en_US.ts
new file mode 100644
index 0000000..486337b
--- /dev/null
+++ b/src/translations/en_US.ts
@@ -0,0 +1,574 @@
+
+
+
+
+ AccountFormDialog
+
+ Account
+
+
+
+ User ID
+
+
+
+ Input User ID
+
+
+
+ Name
+
+
+
+ Input User name
+
+
+
+ Password
+
+
+
+ Input password
+
+
+
+ Logout
+
+
+
+ Change Role
+
+
+
+ doctor
+
+
+
+ Reset password to "123456" ?
+
+
+
+ Inner error, can't find reference user!
+
+
+
+ Submit change to database fail!
+
+
+
+ Comment
+
+
+
+ User Name can't be empty!
+
+
+
+ User ID can't be empty!
+
+
+
+ Password can't be empty!
+
+
+
+ Inner error ,unset data model!
+
+
+
+ User Id exists!
+
+
+
+ Submit to data base fail!
+
+
+
+
+ AccountTableForm
+
+ Can't delete current log in account!
+
+
+
+ Delete account with ID:"%1"!
+
+
+
+
+ AdminSettingForm
+
+ General
+
+
+
+ Account Manage
+
+
+
+ System Setting
+
+
+
+ System Information
+
+
+
+ Operation Log
+
+
+
+ About
+
+
+
+
+ AlertDialog
+
+ Warning
+
+
+
+
+ ChangePasswordFormDialog
+
+ Change Password
+
+
+
+ Current Password
+
+
+
+ New Password
+
+
+
+ Confirm Password
+
+
+
+ Please enter your old password!
+
+
+
+ New password should at least 6 characters!
+
+
+
+ Wrong password!
+
+
+
+ Your new password does not match!
+
+
+
+ Database update error!
+
+
+
+
+ EditPatientForm
+
+ Form
+
+
+
+ ID
+
+
+
+ Name
+
+
+
+ Sex
+
+
+
+ Date Of Birth
+
+
+
+ Comment
+
+
+
+ Gender
+
+
+
+
+ GUIFormBaseDialog
+
+ OK
+
+
+
+ Cancel
+
+
+
+ btnOK
+
+
+
+
+ GUIMessageDialog
+
+ Dialog
+
+
+
+ ...
+
+
+
+
+ GeneralForm
+
+ Language
+
+
+
+ Institution Name
+
+
+
+ Institution Addr
+
+
+
+ Lock Screen Timeout
+
+
+
+
+ GetAdminPsw
+
+ Admin Password
+
+
+
+
+ GetIPDialog
+
+ IP Address
+
+
+
+ Netmask
+
+
+
+ Wrong IP!
+
+
+
+ Wrong Netmask!
+
+
+
+
+ GetRouteDialog
+
+ Destination
+
+
+
+ Netmask
+
+
+
+ Gateway
+
+
+
+ Wrong Destination!
+
+
+
+ Wrong Netmask!
+
+
+
+ Wrong Gateway!
+
+
+
+
+ InputObject
+
+ Form
+
+
+
+
+ LoginWindow
+
+ usct
+
+
+
+ U S C T
+
+
+
+ Username
+
+
+
+ Password
+
+
+
+
+ MainWindow
+
+ MainWindow
+
+
+
+ Select
+
+
+
+ Scan
+
+
+
+ Verify
+
+
+
+ Admin
+
+
+
+
+ PatientInformationForm
+
+ Form
+
+
+
+ Patient Information
+
+
+
+ <html><head/><body><p>PatientID:</p></body></html>
+
+
+
+ Someone Somebody
+
+
+
+ 2021/11/11
+
+
+
+ Female
+
+
+
+ Acc# 27812398
+
+
+
+ Current Protocol
+
+
+
+ LEFT ONLY
+
+
+
+
+ RollingMessageWidget
+
+ Message of warn!
+
+
+
+ Message2 of warn!
+
+
+
+
+ TabFormWidget
+
+ Form
+
+
+
+
+ TopBarWidget
+
+ 浙江衡玖医疗科技
+
+
+
+ °C
+
+
+
+
+ UserOperationLogForm
+
+ Log Date:
+
+
+
+
+ networkCfgDialog
+
+ Network Settings
+
+
+
+ IP Address
+
+
+
+ Dynamic Address
+
+
+
+ Dev
+
+
+
+ Subnet Mask
+
+
+
+ Additional Address
+
+
+
+ Add
+
+
+
+ Edit
+
+
+
+ Delete
+
+
+
+ Address
+
+
+
+ Default IPv4 Gateway
+
+
+
+ Routing Table
+
+
+
+ Routing
+
+
+
+ Result
+
+
+
+ Netmask
+
+
+
+ Destination
+
+
+
+ Gateway
+
+
+
+ Apply
+
+
+
+ Cancel
+
+
+
+
+ systemSettingForm
+
+ Form
+
+
+
+ Network Setting
+
+
+
+ PushButton
+
+
+
+ Protocal
+
+
+
+ Worklist Filter
+
+
+
+ Auto Verify
+
+
+
+ Configure
+
+
+
+ IP
+
+
+
+ Name
+
+
+
+ AE
+
+
+
+ PACS
+
+
+
+ 3D Recon
+
+
+
+ Worklist
+
+
+
+ DAQ
+
+
+
+ Port
+
+
+
+ Cancel
+
+
+
+ Accept
+
+
+
+
diff --git a/src/translations/zh_CN.ts b/src/translations/zh_CN.ts
new file mode 100644
index 0000000..b5371e1
--- /dev/null
+++ b/src/translations/zh_CN.ts
@@ -0,0 +1,772 @@
+
+
+
+
+ AccountFormDialog
+
+
+ Account
+ 用户名
+
+
+
+ User ID
+ 用户ID
+
+
+
+ Input User ID
+ 输入用户ID
+
+
+
+ Name
+ 姓名
+
+
+
+ Input User name
+ 输入用户名
+
+
+
+ Password
+ 密码
+
+
+
+ Change Password
+ 修改密码
+
+
+
+ Input password
+ 输入密码
+
+
+ Change Password2
+ 修改密码
+
+
+ Reset Password2
+ 重置密码
+
+
+
+ Reset Password
+ 密码重置
+
+
+
+
+ Logout
+ 登出
+
+
+
+ Change Role
+ 类型
+
+
+
+ doctor
+ 医生
+
+
+
+ Reset password to "123456" ?
+ 密码重置为"123456"?
+
+
+
+ Inner error, can't find reference user!
+ 内部错误!
+
+
+
+
+ Submit change to database fail!
+ 修改提交至数据库失败!
+
+
+
+ Comment
+ 评论
+
+
+
+
+
+ User Name can't be empty!
+ 用户名不能为空!
+
+
+
+ User ID can't be empty!
+ 用户ID不能为空!
+
+
+
+ Password can't be empty!
+ 密码不能为空!
+
+
+
+ Inner error ,unset data model!
+ 内部错误!
+
+
+
+ User Id exists!
+ 用户ID已存在!
+
+
+
+ Submit to data base fail!
+ 提交至数据库失败!
+
+
+
+ AccountTableForm
+
+
+ Can't delete current log in account!
+ 当前用户无法删除日志!
+
+
+
+ Delete account with ID:"%1"!
+ 删除账户ID:"%1"!
+
+
+
+ AdminSettingForm
+
+
+
+ General
+ 通用
+
+
+
+
+ Account Manage
+ 用户管理
+
+
+
+
+ System Setting
+ 系统设置
+
+
+
+
+ System Information
+ 系统信息
+
+
+
+
+ Operation Log
+ 操作日志
+
+
+
+
+
+
+ About
+ 关于
+
+
+
+ AlertDialog
+
+
+ Warning
+
+
+
+
+ ChangePasswordFormDialog
+
+
+ Change Password
+ 修改密码
+
+
+
+ Current Password
+ 当前密码
+
+
+
+ New Password
+ 新密码
+
+
+
+ Confirm Password
+ 确认密码
+
+
+
+ Please enter your old password!
+ 请输入旧密码!
+
+
+
+ New password should at least 6 characters!
+ 新密码至少6位字符!
+
+
+
+ Wrong password!
+ 密码错误!
+
+
+
+ Your new password does not match!
+ 新密码不匹配!
+
+
+
+ Database update error!
+ 数据库更新错误!
+
+
+
+ EditPatientForm
+
+
+ Form
+
+
+
+
+ ID
+
+
+
+
+ Name
+ 姓名
+
+
+
+ Date Of Birth
+ 出生日期
+
+
+
+ Comment
+ 评论
+
+
+
+
+ Gender
+ 性别
+
+
+
+ GUIFormBaseDialog
+
+
+ OK
+ 确认
+
+
+
+ Cancel
+ 取消
+
+
+
+ GUIMessageDialog
+
+
+ Dialog
+
+
+
+
+ ...
+
+
+
+
+ GeneralForm
+
+
+
+ Language
+ 语言
+
+
+
+ Institution Name
+ 机构名称
+
+
+
+
+
+ Institution Addr
+ 机构地址
+
+
+
+
+ Lock Screen Timeout
+ 锁屏时间
+
+
+
+ GetAdminPsw
+
+
+ Admin Password
+ 管理员密码
+
+
+
+ GetIPDialog
+
+
+ IP Address
+ IP地址
+
+
+
+ Netmask
+ 子网掩码
+
+
+
+ Wrong IP!
+ IP错误!
+
+
+
+ Wrong Netmask!
+ 子网掩码错误!
+
+
+
+ GetRouteDialog
+
+
+ Destination
+ 目标地址
+
+
+
+ Netmask
+ 子网掩码
+
+
+
+ Gateway
+ 网关
+
+
+
+ Wrong Destination!
+ 目标地址错误!
+
+
+
+ Wrong Netmask!
+ 子网掩码错误!
+
+
+
+ Wrong Gateway!
+ 网关错误!
+
+
+
+ InputObject
+
+
+ Form
+
+
+
+
+ LoginWindow
+
+
+ usct
+
+
+
+
+ U S C T
+
+
+
+
+ Username
+ 用户名
+
+
+
+ Password
+ 密码
+
+
+ login
+ 登录
+
+
+
+ MainWindow
+
+
+ MainWindow
+
+
+
+
+
+ Select
+ 选择
+
+
+
+
+ Scan
+ 扫描
+
+
+
+
+ Verify
+ 确认
+
+
+
+
+ Admin
+ 管理
+
+
+
+ PatientInformationForm
+
+
+ Form
+
+
+
+
+ Patient Information
+ 病人信息
+
+
+
+ <html><head/><body><p>PatientID:</p></body></html>
+ <html><head/><body><p>病人ID:</p></body></html>
+
+
+
+ Someone Somebody
+ XXX
+
+
+
+ 2021/11/11
+
+
+
+
+ Female
+ 女性
+
+
+
+ Acc# 27812398
+
+
+
+
+ Current Protocol
+ 当前协议
+
+
+
+
+ LEFT ONLY
+ 左侧
+
+
+
+ RIGHT ONLY
+ 右侧
+
+
+
+ RollingMessageWidget
+
+
+ Message of warn!
+
+
+
+
+ Message2 of warn!
+
+
+
+
+ ScanFormWidget
+
+
+ Protocol
+ 协议
+
+
+
+ Preview Parameters
+ 预览参数
+
+
+
+
+ some settings
+
+parameters
+
+ XXX
+
+
+
+ Scan Parameters
+ 扫描参数
+
+
+
+ TabFormWidget
+
+
+ Form
+
+
+
+
+ TopBarWidget
+
+
+ 浙江衡玖医疗科技
+
+
+
+
+ °C
+
+
+
+
+ UserOperationLogForm
+
+
+ Log Date:
+ 日志时间
+
+
+
+ networkCfgDialog
+
+
+ Network Settings
+ 网络配置
+
+
+
+ Address
+ IP配置
+
+
+
+
+ IP Address
+ IP地址
+
+
+
+ Dynamic Address
+ 动态地址
+
+
+
+ Dev
+ 设备
+
+
+
+ Subnet Mask
+ 子网掩码
+
+
+
+ Additional Address
+ 额外地址
+
+
+
+
+ Add
+ 新增
+
+
+
+
+ Edit
+ 编辑
+
+
+
+
+ Delete
+ 删除
+
+
+
+ Routing
+ 路由配置
+
+
+
+ Default IPv4 Gateway
+ 默认网关
+
+
+
+ Routing Table
+ 路由表
+
+
+
+ Result
+ 结果
+
+
+
+
+ Netmask
+ 子网掩码
+
+
+
+ Destination
+ 目标地址
+
+
+
+ Gateway
+ 网关
+
+
+
+ Apply
+ 应用
+
+
+
+ Cancel
+ 取消
+
+
+
+ systemSettingForm
+
+
+ Form
+
+
+
+
+ Network Setting
+ 网络配置
+
+
+
+
+ PushButton
+
+
+
+
+ Protocal
+ 扫描协议
+
+
+
+ Worklist Filter
+ Worklist过滤器
+
+
+
+ Auto Verify
+ 自动验证
+
+
+
+ Configure
+ 配置
+
+
+
+ IP
+
+
+
+
+ Name
+ 姓名
+
+
+
+ AE
+
+
+
+
+ PACS
+
+
+
+
+ 3D Recon
+
+
+
+
+ Worklist
+
+
+
+
+ DAQ
+
+
+
+
+ Port
+
+
+
+
+ Cancel
+ 取消
+
+
+
+ Accept
+ 接受
+
+
+
diff --git a/src/translations/zh_CN.ts.bak b/src/translations/zh_CN.ts.bak
index b19219c..b5371e1 100644
--- a/src/translations/zh_CN.ts.bak
+++ b/src/translations/zh_CN.ts.bak
@@ -16,7 +16,7 @@
Input User ID
-
+ 输入用户ID
@@ -26,7 +26,7 @@
Input User name
-
+ 输入用户名
@@ -34,13 +34,27 @@
密码
+
Change Password
- 修改密码
+ 修改密码
Input password
-
+ 输入密码
+
+
+ Change Password2
+ 修改密码
+
+
+ Reset Password2
+ 重置密码
+
+
+
+ Reset Password
+ 密码重置
@@ -51,65 +65,65 @@
Change Role
-
+ 类型
doctor
-
+ 医生
Reset password to "123456" ?
-
+ 密码重置为"123456"?
Inner error, can't find reference user!
-
+ 内部错误!
Submit change to database fail!
-
+ 修改提交至数据库失败!
Comment
-
+ 评论
User Name can't be empty!
-
+ 用户名不能为空!
User ID can't be empty!
-
+ 用户ID不能为空!
Password can't be empty!
-
+ 密码不能为空!
Inner error ,unset data model!
-
+ 内部错误!
User Id exists!
-
+ 用户ID已存在!
Submit to data base fail!
-
+ 提交至数据库失败!
@@ -117,12 +131,12 @@
Can't delete current log in account!
-
+ 当前用户无法删除日志!
Delete account with ID:"%1"!
-
+ 删除账户ID:"%1"!
@@ -171,7 +185,7 @@
Warning
-
+
@@ -179,47 +193,47 @@
Change Password
- 修改密码
+ 修改密码
Current Password
-
+ 当前密码
New Password
-
+ 新密码
Confirm Password
-
+ 确认密码
Please enter your old password!
-
+ 请输入旧密码!
New password should at least 6 characters!
-
+ 新密码至少6位字符!
Wrong password!
-
+ 密码错误!
Your new password does not match!
-
+ 新密码不匹配!
Database update error!
-
+ 数据库更新错误!
@@ -227,37 +241,33 @@
Form
-
+
ID
-
+
Name
- 姓名
-
-
-
- Sex
-
+ 姓名
Date Of Birth
-
+ 出生日期
Comment
-
+ 评论
+
Gender
-
+ 性别
@@ -265,17 +275,12 @@
OK
-
+ 确认
Cancel
- 取消
-
-
-
- btnOK
-
+ 取消
@@ -283,12 +288,12 @@
Dialog
-
+
...
-
+
@@ -323,7 +328,7 @@
Admin Password
-
+ 管理员密码
@@ -354,32 +359,32 @@
Destination
-
+ 目标地址
Netmask
- 子网掩码
+ 子网掩码
Gateway
-
+ 网关
Wrong Destination!
-
+ 目标地址错误!
Wrong Netmask!
- 子网掩码错误!
+ 子网掩码错误!
Wrong Gateway!
-
+ 网关错误!
@@ -387,7 +392,7 @@
Form
-
+
@@ -395,7 +400,7 @@
usct
-
+
@@ -422,31 +427,31 @@
MainWindow
-
+
Select
-
+ 选择
Scan
-
+ 扫描
Verify
-
+ 确认
Admin
-
+ 管理
@@ -454,47 +459,53 @@
Form
-
+
Patient Information
-
+ 病人信息
<html><head/><body><p>PatientID:</p></body></html>
-
+ <html><head/><body><p>病人ID:</p></body></html>
Someone Somebody
-
+ XXX
2021/11/11
-
+
Female
-
+ 女性
Acc# 27812398
-
+
Current Protocol
-
+ 当前协议
+
LEFT ONLY
-
+ 左侧
+
+
+
+ RIGHT ONLY
+ 右侧
@@ -502,12 +513,39 @@
Message of warn!
-
+
Message2 of warn!
-
+
+
+
+
+ ScanFormWidget
+
+
+ Protocol
+ 协议
+
+
+
+ Preview Parameters
+ 预览参数
+
+
+
+
+ some settings
+
+parameters
+
+ XXX
+
+
+
+ Scan Parameters
+ 扫描参数
@@ -515,7 +553,7 @@
Form
-
+
@@ -523,12 +561,12 @@
浙江衡玖医疗科技
-
+
°C
-
+
@@ -619,17 +657,17 @@
Netmask
- 子网掩码
+ 子网掩码
Destination
-
+ 目标地址
Gateway
-
+ 网关
@@ -647,7 +685,7 @@
Form
-
+
@@ -658,7 +696,7 @@
PushButton
-
+
@@ -683,42 +721,42 @@
IP
-
+
Name
- 姓名
+ 姓名
AE
-
+
PACS
-
+
3D Recon
-
+
Worklist
-
+
DAQ
-
+
Port
-
+