diff --git a/app/HGProductionTool/ProductionTool_zh_CN.qm b/app/HGProductionTool/ProductionTool_zh_CN.qm index 0946b22..d07b265 100644 Binary files a/app/HGProductionTool/ProductionTool_zh_CN.qm and b/app/HGProductionTool/ProductionTool_zh_CN.qm differ diff --git a/app/HGProductionTool/ProductionTool_zh_CN.ts b/app/HGProductionTool/ProductionTool_zh_CN.ts index 3e699fd..ad44820 100644 --- a/app/HGProductionTool/ProductionTool_zh_CN.ts +++ b/app/HGProductionTool/ProductionTool_zh_CN.ts @@ -390,7 +390,7 @@ ImageTest - 图像检测工位 + 图像测试工位 @@ -635,13 +635,13 @@ - + tips 提示 - + Please check a devices at least 请至少勾选一台设备 @@ -787,7 +787,7 @@ - + tips 提示 @@ -807,7 +807,7 @@ speed mode: - 速度模式: + 目标配置: 速度模式: @@ -870,7 +870,7 @@ PID: - + no image 无图 @@ -941,7 +941,7 @@ 刷新设备列表 - + Account login elsewhere 账户在其他地方登录 @@ -950,56 +950,76 @@ 网络连接断开 - + You have been forced offline by the administrator account 你已被管理员账户强制下线 - + Data base error 数据库错误 - - - - - - - - - - - + + + + + + + + + + + tips 提示 - - - + + production tool-burn station + 华高生产工具-烧录工位 + + + + production tool-init test station + 华高生产工具-初检工位 + + + + production tool-image test station + 华高生产工具-图像测试工位 + + + + production tool-pressure test station + 华高生产工具-压力测试工位 + + + + + Is testing, do not close! 测试中,请勿关闭! - + Are you sure to connect the new device 检测到设备连接,是否启动测试? - + yes 确定 - + no 取消 - - - + + + cannot create more table 不能创建更多项目 @@ -1008,52 +1028,52 @@ 设备已断开连接 - + Open device failed 打开设备失败 - + save 保存 - + xls(*.xls) xls表格(*.xls) - + export succeed 导出成功 - + export failed 导出失败 - + Illegal user 非法的用户 - + Wrong password 密码错误 - + Database error 数据库错误 - + connect error 连接错误 - + Failed 错误 diff --git a/app/HGProductionTool/mainwindow.cpp b/app/HGProductionTool/mainwindow.cpp index f098f31..7915e95 100644 --- a/app/HGProductionTool/mainwindow.cpp +++ b/app/HGProductionTool/mainwindow.cpp @@ -40,6 +40,8 @@ MainWindow::MainWindow(HGPdtToolDbUserMgr pdtToolDbuserMgr, Dialog_logIn::LogInT if (m_loginType == Dialog_logIn::LogInType_Burn) { + setWindowTitle(tr("production tool-burn station")); + ui->act_newDevice->setVisible(false); ui->act_refreshDevice->setVisible(false); @@ -83,9 +85,12 @@ MainWindow::MainWindow(HGPdtToolDbUserMgr pdtToolDbuserMgr, Dialog_logIn::LogInT ui->act_upload->setVisible(false); } - HGChar userName[128] = {0}; - HGPdtToolDb_GetUserName(m_pdtToolDbuserMgr, userName, 128); - setWindowTitle(userName); + if (m_loginType == Dialog_logIn::LogInType_InitTest) + setWindowTitle(tr("production tool-init test station")); + else if (m_loginType == Dialog_logIn::LogInType_ImageTest) + setWindowTitle(tr("production tool-image test station")); + if (m_loginType == Dialog_logIn::LogInType_PressureTest) + setWindowTitle(tr("production tool-pressure test station")); SANE_Int v = 0; sane_init_ex(&v, sane_ex_callback, this);