From 3554e547a5a0b6f5738d58d7c009d4dda9864bbf Mon Sep 17 00:00:00 2001 From: xueyan hu <576627988@qq.com> Date: Thu, 23 Dec 2021 13:57:15 +0800 Subject: [PATCH] modify cmake file --- CMakeLists.txt | 4 + src/translations/en_US.qm | Bin 23 -> 16 bytes src/translations/en_US.ts.bak | 567 ++++++++++++++++++++++++++ src/translations/zh_CN.qm | Bin 3295 -> 3246 bytes src/translations/zh_CN.ts.bak | 726 ++++++++++++++++++++++++++++++++++ 5 files changed, 1297 insertions(+) create mode 100644 src/translations/en_US.ts.bak create mode 100644 src/translations/zh_CN.ts.bak diff --git a/CMakeLists.txt b/CMakeLists.txt index 90ecd26..8bdccc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,11 @@ endforeach() find_package(Qt5 COMPONENTS ${REQUIRED_LIBS} LinguistTools REQUIRED) set(cpp_source_all ${project_headers} ${project_cpps} ${project_cxx} ${project_res} ${project_cc} ${project_c} ) + +set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_SOURCE_DIR}/src/translations) qt5_create_translation(QM_FILES ${cpp_source_all} ${ui_FILES} ${TS_FILES}) + + add_executable(${PROJECT_NAME} ${project_headers} ${project_cpps} ${project_cxx} ${project_res} ${project_cc} ${project_c} ${ui_FILES} ${QM_FILES} ) if(NOT UNIX) find_program(POWERSHELL_PATH NAMES powershell) diff --git a/src/translations/en_US.qm b/src/translations/en_US.qm index 9dad8dffceb9623e88f8b96d9cd0caf25574c6fa..be651eede2edc9cb0da5c140b31664afee169fa8 100644 GIT binary patch literal 16 YcmcE7ks@*G{hX<16=n7(EZln+07b?KzW@LL literal 23 fcmcE7ks@*G{hX<16=n7(EZlpygMop8iIEWihQJ9+ diff --git a/src/translations/en_US.ts.bak b/src/translations/en_US.ts.bak new file mode 100644 index 0000000..3eedbed --- /dev/null +++ b/src/translations/en_US.ts.bak @@ -0,0 +1,567 @@ + + + + + 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 + + + + + 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.qm b/src/translations/zh_CN.qm index 2a1117ddc2f22552349561cbfea0115209da3c62..384cdae73a0da62fe7d262b586fd9f76ca51bcb9 100644 GIT binary patch delta 318 zcmcaFxlVF|h~x?e2KOZl46HjC7`%=#FtDpIuif>`MUV9j*UWHl1^fAzofQh~0 zktQrNJof+U zvfP-p#pNWBpTgR+#sp|d;>5rDg39dc^ME!n?}5Nd#aN&kpG0ozVS9t{twR_mlmK^hk1{jumQ>^ e^1jVG1k}H9@>)h|CayP|Pcb&JZZ2idVg&&4L0FUk delta 375 zcmZ1{d0%pZh~x$a2KOZl46F|s7`%=#FtGbFunGG+8FfcGTvRHWbF)%QmW~rQ0!oa{8%QC}r4^aPB2+g(*LUSHtS);R*fx(Jh zj^(t)X`se;5Spb2LUTy6oL}}7XuvmC(`O)u8MC&yoCNZFS$o!)04?sC_*Gxfhkbn> z(01lM5SsnbWK%|Y%jKMjV#|Sca&czI@BrOBg)?V^I8e(@&Xdkxfqn|$^0^I^XPn4A z)yWy?7hWFw#@j%nRVVi{ip!nio78p`D67WLwe=Fvl&AdMouNQGWHT8UxJ5S~Vr*g+ gVJWMQ59I*5ih&J?S#$E!GxH`hvWsqZVb5X(0IW%3F8}}l diff --git a/src/translations/zh_CN.ts.bak b/src/translations/zh_CN.ts.bak new file mode 100644 index 0000000..5966c34 --- /dev/null +++ b/src/translations/zh_CN.ts.bak @@ -0,0 +1,726 @@ + + + + + AccountFormDialog + + + Account + 用户名 + + + + User ID + 用户ID + + + + Input User ID + + + + + Name + 姓名 + + + + Input User name + + + + + Password + 密码 + + + Change 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 + 锁屏时间 + + + + 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> + + + + + 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 + 网络配置 + + + + 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 + 接受 + + +