From a8a4612416e908a5fc40914a363004a329226409 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Thu, 28 Jul 2022 10:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner/Scanner_zh_CN.qm | Bin 33686 -> 34020 bytes app/scanner/Scanner_zh_CN.ts | 461 +++++++++++++++++++---------------- app/scanner/mainwindow.cpp | 13 +- app/scanner/qt_zh_CN.ts | 35 ++- 4 files changed, 286 insertions(+), 223 deletions(-) diff --git a/app/scanner/Scanner_zh_CN.qm b/app/scanner/Scanner_zh_CN.qm index 953c9cf62e3d795b4728a002b9f2a5e606614166..8d9c24cae58aa3d3dfdcc6df764bc88a47e3973c 100644 GIT binary patch delta 2431 zcmZuyc~nz(7XI>*_mcOrA+i*N7*SD>;(~$;iy*k5EDA^=ECCWAY=IE4Gt5Y(P3H=b4qjuY3)CcBqxBLeYGlG6Gfpde3jv@sPhGU9oeuV;BU!%e4qD=#s_n?DD9 ziW!ftS3qvBsAhegZJkW4q8kv_GO3-n>2ZS?!v_0U&oIZs0;vj-IT2KjwvQ1gmr3V;M)ZfzlUj^rz`_Gk%km`R zSSsD%t|O;~N)PA>?JuO=0aGb$tMo=iJk>{7NunlHiLP9*kX<8-?cYbY3t|d4Qqm(< zaaoLUP`t|J*BZjv;Xw@~#YgP$n=wGDl=X=G8DQgB-9Q3SXl6$T9|LBeWrJ^$r9!1_ zB>!)UYhmX-TTO20XN^gJ2c)5F?n@R}oX(cqJq;voVypLmLo#}^f6SKwDF@i*MHCn5 z#0~EyyAprn9$&v2<<@d$*S^jJwH6|3zA)`*EJpWkASt&U+Q*9rcvct)lnV zrJU~Eb|Tur`Q^S4Co4QXGv;vVf4EK_%jOIXl)7jIm-l)c)p$qDROHv%T)Cz%=%&mg z-1fH7gmbx_mU3$96t3kH$~fh(Tx-B?vc|_;>)|?}#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LxX-v*kRr1sMb7H3l%hD4!>(}_YBbU z>Ds>4B-z4E+TS~4X%~3tlvA7NoJFV4q8*`|pbK)LfGp{flXd=yNx{17XQ+C@c3oGi z4v73!&rIJy`8ld*>u*qg^m@%Avf0H;Z*UAFCnWvYLloRu1A5Q72N1|z?*T_A(0EJ#2t@q%IU*}Sytqn1HCsRXpay-)zVD?ckTPtKs+JT0g z^c|{(LQAmZ>9FqG*qg<(E#5IMpXF2!+0;w_$^b_ngC(oPy)>)Xmb多页保存(TIFF/PDF/OFD) - - - + + + Input is not valid. Page range will be 'Chosen Pages'. 输入无效。 @@ -1606,6 +1606,14 @@ bug description: 当前版本已安装! + + Dialog_wrong_img + + + Dialog + + + GraphicsScene @@ -1740,331 +1748,341 @@ bug description: 用户 - + menu_info 信息 - + menu_device 设备 - + toolBar 工具栏 - + act_open 打开... - + act_insert 插入本地文件... - + act_save 保存 - + act_saveAs 另存为... - + act_Export 导出... - + act_closeFile 关闭选中项 - + act_closeAll 关闭所有项 - + act_imageInfo 图像信息 - + act_exit 退出 - + act_scannerSettings 扫描设置... - + act_acquire 扫描 - + act_acquireSingle 扫描单张 - + act_acquireInto 扫描至... - + act_fullscreen 全屏显示 - + act_fitWindowSize 适应视图框尺寸 - + act_fitWindowWidth 适应视图框宽度 - + act_realSize 真实大小 - + act_zoomIn 放大 - + act_zoomOut 缩小 - + act_toolBar 工具栏 - + act_statusBar 状态栏 - + act_thumbnailBar 缩略图栏 - + act_colorInfo 色彩信息 - + act_previous 上一张 - + act_next 下一张 - + act_first 第一张 - + act_last 最后一张 - + act_openPageNum 跳转至... - + act_previousPage 上一页 - + act_nextPage 下一页 - + act_firstPage 第一页 - + act_lastPage 最后一页 - + act_adjust 亮度/对比度/伽马... - + act_90Left 左旋转90度 - + act_90Right 右旋转90度 - + act_180 旋转180度 - + act_multiRotate 多页旋转... - + act_autoCrop 自动裁剪... - + act_signIn 登录... - + act_passwordChange 密码修改... - + act_signOut 登出 - + act_log 日志管理... - + act_clrCache 清除缓存... - + act_consume 耗材状态... - + act_help 帮助 - + act_about 关于... - + act_insertFromScanner 从扫描插入... - + act_clearRoller 清除滚轴计数 - + act_imageEdit 图像编辑... - + act_sortPages 书籍排序 - + act_autoSave 自动保存 - + act_update 检查更新... - + act_feedback 意见反馈... - + + act_device_log + 导出设备日志 + + + + act_driver_log + 导出驱动日志 + + + HuaGoScan 华高扫描软件 - + Grid 多列显示 - + Move To... 移动到... - + Insert files 插入文件 - - - + + + nodevice 没有发现扫描仪 - - - - - - + + + + + + Question 警告 - - + + modified, save it? 图像已被修改。 是否保存修改? - + file lost, remove it? 文件已丢失,是否删除? @@ -2073,7 +2091,7 @@ bug description: 已连接 - + disconnected 已断开连接 @@ -2090,192 +2108,212 @@ bug description: 扫描完成 - + Clear, then start scan 清空并启动扫描 - + Do NOT clear, then start scan 不清空并启动扫描 - + Already exist images in image list. Do you want to clear? 图像列表中已存在图像。 是否清空? - + Information 消息 - + Insufficient disk space 磁盘空间不足,请删除不需要的文件,以保证有足够的空间 - + Open images 打开图片 - + Insert images 插入图片 - - - - - + + + + + info 信息 - - - + + + save failed 保存失败 - - + + find savePath in thumbnail 图片名在列表中已存在 - + File name 文件名 - + File path 文件路径 - + File size 文件大小 - + Creation date/time 创建时间 - + Modified date/time 修改时间 - + Accessed date/time 访问时间 - + Format 格式 - + Width 宽度 - + Height 高度 - + depth 深度 - + Color model 色彩模式 - + DPI 每英寸像素点 - + Print size 打印尺寸 - + Frame - + None - + Mono 黑白 - + Gray 灰度 - + Color 彩色 - + Warning 警告 - + Device is Running! Please finish scanning first. 设备正在运行! 请先结束扫描。 - + Are you sure to close 您确定要关闭 - + ? 吗? - - + + close 关闭 - - + + tip + 提示 + + + + Other versions not available + 未获取到其他版本 + + + + + The device does not support this operation + 设备不支持该操作 + + + + + IO error + IO错误 + + + error 错误 - get versionlist failed - 获取版本列表错误 + 获取版本列表错误 Application is about to close.Make sure all needed files are saved. @@ -2284,264 +2322,265 @@ Continue to close? 是否继续关闭? - + Sure to sign out administrator account? 是否确定登出管理员账户? - + confirm the operation 确认操作 - + Are you sure to clear the rollor acount? 你确定要清除滚轴计数吗 - + Please re-enter the Abount screen to obtain the latest value 请重新进入关于界面以获取最新值 - + <p>%1: <a href='%2'>%3</a> - + <p>%1: %2 - + roller number 滚轴张数 - + open scanner 打开扫描仪 - - + + app name 华高扫描软件 - - + + success 成功 - + apply setting 应用配置 - + success 成功 - + failed 失败 - - + + failed 失败 - + warning 警告 - + the disk space in the current path is unsufficient, please select a new path or clear the disk space in time. 当前路径磁盘空间不足, 请重新选择路径或及时清理磁盘空间。 - + lost config 配置丢失 - + apply setting 应用配置 - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + start failed 启动失败 - + HanvonScan 汉王扫描软件 - + LanxumScan 立思辰扫描软件 - + auto save 自动保存 - + + when switching pictures, save the edited pictures directly without reminding 切换图片时,不提醒,直接保存编辑过的图片 - + enabling automatic saving 启用自动保存 - + cancel auto save 取消自动保存 - + Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-> automatically save 切换图片时,自动保存编辑过的图像。若想取消,请取消勾选菜单项:图像->自动保存 - - - - - - - - - - - + + + + + + + + + + + yes 确定 - + save, do not remind again 保存,不再提醒 - - - - - - - - - + + + + + + + + + no 取消 - + found device 发现设备 - + reconnected 重新连接 - + already connected, but open faild 已经连接,但打开失败 - - + + %1%2%3.%4 %1%2%3.%4 - + start failed! 启动安装程序失败! - + There are pictures that have not been saved. Are you sure to close? 有图像未保存,确定关闭? - + tips 提示 - + Are you sure to close? 确定关闭? - + confirm operation 确认操作 - + are you sure to clear the roller count? 您确定要清除滚轴计数吗 - - - + + + hint 提示 - - + + Roller scanned count has been set to 0. 辊轴计数已置零 - - + + Roller scanned count reset failed. - 重置辊轴计数失败 + 重置滚轴计数失败 - + Error 错误 - + Document missing! It would be deleted or renamed. 文档丢失!文档可能已被删除或被重命名。 @@ -2574,28 +2613,28 @@ Are you sure to close? <br>导航地址: <a href='https://j.map.baidu.com/7e/1TO'>百度地图访问</a> - + About %1 关于 %1 - + <p>%1</p><p>Version: %2<br>CopyRight: &#169; %3</p><p>%4%5%6%7%8%9</p> <p>%1</p><p>版本: %2<br>版权: &#169; %3</p><p>%4%5%6%7%8%9</p> - + about %1 关于 %1 - + <p>Version: %1</p> <p>版本: %1</p> <p>版本: %1</p> - + <p>CopyRight: &#169; %1</p> <p>版权: &#169; %1</p> <p>版权: &#169; %1</p> diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index f6aa9ea6..7a36cefa 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -301,12 +301,9 @@ MainWindow::MainWindow(QWidget *parent) ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding")); #endif - auto_save_info_.index = 0; ui->act_device_log->setEnabled(false); ui->act_driver_log->setEnabled(false); - ui->act_device_log->setText(QString::fromStdString("\345\257\274\345\207\272\350\256\276\345\244\207\346\227\245\345\277\227")); // 导出设备日志 - ui->act_driver_log->setText(QString::fromStdString("\345\257\274\345\207\272\351\251\261\345\212\250\346\227\245\345\277\227")); // 导出驱动日志 SANE_Int v = 0; sane_init_ex(&v, sane_ex_callback, this); @@ -3421,7 +3418,7 @@ void MainWindow::on_actionact_update_triggered() } else { - QMessageBox::critical(this, tr("error"), tr("get versionlist failed")); + QMessageBox::information(this, tr("tip"), tr("Other versions not available")); } m_versionDll->ReleaseVersionList(versionInfo, versionCount); } @@ -3444,9 +3441,9 @@ void MainWindow::on_act_driver_log_triggered() } else { if(statu == SANE_STATUS_UNSUPPORTED) // 设备不支持该操作 - QMessageBox::information(this, windowTitle(), QString::fromStdString("\350\256\276\345\244\207\344\270\215\346\224\257\346\214\201\350\257\245\346\223\215\344\275\234")); + QMessageBox::information(this, windowTitle(), tr("The device does not support this operation")); else - QMessageBox::information(this, windowTitle(), QString::fromStdString("IO\351\224\231\350\257\257")); // IO错误 + QMessageBox::information(this, windowTitle(), tr("IO error")); // IO错误 } } @@ -3462,9 +3459,9 @@ void MainWindow::on_act_device_log_triggered() } else { if(statu == SANE_STATUS_UNSUPPORTED) // 设备不支持该操作 - QMessageBox::information(this, windowTitle(), QString::fromStdString("\350\256\276\345\244\207\344\270\215\346\224\257\346\214\201\350\257\245\346\223\215\344\275\234")); + QMessageBox::information(this, windowTitle(), tr("The device does not support this operation")); else - QMessageBox::information(this, windowTitle(), QString::fromStdString("IO\351\224\231\350\257\257")); // IO错误 + QMessageBox::information(this, windowTitle(), tr("IO error")); // IO错误 } } diff --git a/app/scanner/qt_zh_CN.ts b/app/scanner/qt_zh_CN.ts index cf179584..da42b477 100644 --- a/app/scanner/qt_zh_CN.ts +++ b/app/scanner/qt_zh_CN.ts @@ -1273,6 +1273,13 @@ bug description: + + Dialog_wrong_img + + Dialog + + + GraphicsScene @@ -1983,10 +1990,6 @@ Are you sure to close? error - - get versionlist failed - - act_feedback @@ -1995,6 +1998,30 @@ Are you sure to close? start failed! + + act_device_log + + + + act_driver_log + + + + tip + + + + Other versions not available + + + + The device does not support this operation + + + + IO error + + Phonon::