中晶导出和另存为添加ocr多语言识别
This commit is contained in:
parent
d476657021
commit
e90186304f
Binary file not shown.
|
@ -496,7 +496,7 @@ Continue to clear?</source>
|
|||
<translation>导出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="100"/>
|
||||
<location filename="dialog_export.ui" line="102"/>
|
||||
<source>
|
||||
Input is not valid.
|
||||
Page range will be "Chosen Pages".
|
||||
|
@ -505,50 +505,80 @@ Page range will be "Chosen Pages".
|
|||
页面范围将是“所选页面。默认切换“被选页码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="155"/>
|
||||
<location filename="dialog_export.ui" line="144"/>
|
||||
<source>Ocr type:</source>
|
||||
<translation>OCR类型:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="174"/>
|
||||
<source>Compression Option</source>
|
||||
<translation>压缩选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="25"/>
|
||||
<location filename="dialog_export.ui" line="27"/>
|
||||
<source>Page Range</source>
|
||||
<translation>页码范围</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="53"/>
|
||||
<location filename="dialog_export.ui" line="55"/>
|
||||
<source>Chosen Pages</source>
|
||||
<translation>被选页码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="73"/>
|
||||
<location filename="dialog_export.ui" line="75"/>
|
||||
<source>All Pages</source>
|
||||
<translation>所有页码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="33"/>
|
||||
<location filename="dialog_export.ui" line="35"/>
|
||||
<source>Nominate Pages(example:1,3,6 or 3-6)</source>
|
||||
<translation>指定页码(例如:1,3,6 或者3-6)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="84"/>
|
||||
<location filename="dialog_export.ui" line="86"/>
|
||||
<source>Page:</source>
|
||||
<translation>页码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="135"/>
|
||||
<location filename="dialog_export.ui" line="137"/>
|
||||
<source>Save as multipages (TIFF/PDF/OFD/GIF)</source>
|
||||
<oldsource>Save as multipages (TIFF/PDF/OFD)</oldsource>
|
||||
<translation>多页保存(TIFF/PDF/OFD/GIF)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="145"/>
|
||||
<location filename="dialog_export.cpp" line="316"/>
|
||||
<location filename="dialog_export.cpp" line="327"/>
|
||||
<location filename="dialog_export.cpp" line="337"/>
|
||||
<location filename="dialog_export.cpp" line="348"/>
|
||||
<source>Input is not valid.
|
||||
Page range will be 'Chosen Pages'.</source>
|
||||
<translation>输入无效。
|
||||
页码范围将是“被选页码”</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>English</source>
|
||||
<translation>英语</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>中文(简体)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Traditional Chinese</source>
|
||||
<translation>中文(繁体)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Japanese</source>
|
||||
<translation>日文</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Korean</source>
|
||||
<translation>韩文</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialog_ExportImageFile</name>
|
||||
|
@ -563,17 +593,17 @@ Page range will be 'Chosen Pages'.</source>
|
|||
<translation>停止导出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="346"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<source>export failed: </source>
|
||||
<translation>导出失败: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="348"/>
|
||||
<source>tip</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="346"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<source>export succeed</source>
|
||||
<translation>导出完成</translation>
|
||||
</message>
|
||||
|
@ -1556,6 +1586,36 @@ Please make sure the two passwords are the same.</source>
|
|||
<source>Use subfolder based on current date</source>
|
||||
<translation>使用当前日期建立子文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.ui" line="39"/>
|
||||
<source>Ocr type:</source>
|
||||
<translation>OCR类型:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>English</source>
|
||||
<translation>英语</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>中文(简体)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Traditional Chinese</source>
|
||||
<translation>中文(繁体)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Japanese</source>
|
||||
<translation>日文</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Korean</source>
|
||||
<translation>韩文</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialog_SaveMessageBox</name>
|
||||
|
@ -2262,8 +2322,8 @@ bug description:
|
|||
<location filename="mainwindow.cpp" line="693"/>
|
||||
<location filename="mainwindow.cpp" line="1722"/>
|
||||
<location filename="mainwindow.cpp" line="1745"/>
|
||||
<location filename="mainwindow.cpp" line="2525"/>
|
||||
<location filename="mainwindow.cpp" line="2971"/>
|
||||
<location filename="mainwindow.cpp" line="2535"/>
|
||||
<location filename="mainwindow.cpp" line="2986"/>
|
||||
<source>Question</source>
|
||||
<translation>询问</translation>
|
||||
</message>
|
||||
|
@ -2325,12 +2385,12 @@ Do you want to clear?</source>
|
|||
<translation type="vanished">磁盘空间不足,请删除不需要的文件,以保证有足够的空间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1941"/>
|
||||
<location filename="mainwindow.cpp" line="1951"/>
|
||||
<source>Open images</source>
|
||||
<translation>打开图片</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1952"/>
|
||||
<location filename="mainwindow.cpp" line="1962"/>
|
||||
<source>Insert images</source>
|
||||
<translation>插入图片</translation>
|
||||
</message>
|
||||
|
@ -2360,14 +2420,14 @@ Do you want to clear?</source>
|
|||
<message>
|
||||
<location filename="mainwindow.cpp" line="1359"/>
|
||||
<location filename="mainwindow.cpp" line="1360"/>
|
||||
<location filename="mainwindow.cpp" line="3287"/>
|
||||
<location filename="mainwindow.cpp" line="3288"/>
|
||||
<location filename="mainwindow.cpp" line="3365"/>
|
||||
<location filename="mainwindow.cpp" line="3366"/>
|
||||
<location filename="mainwindow.cpp" line="3459"/>
|
||||
<location filename="mainwindow.cpp" line="3460"/>
|
||||
<location filename="mainwindow.cpp" line="3552"/>
|
||||
<location filename="mainwindow.cpp" line="3553"/>
|
||||
<location filename="mainwindow.cpp" line="3302"/>
|
||||
<location filename="mainwindow.cpp" line="3303"/>
|
||||
<location filename="mainwindow.cpp" line="3380"/>
|
||||
<location filename="mainwindow.cpp" line="3381"/>
|
||||
<location filename="mainwindow.cpp" line="3474"/>
|
||||
<location filename="mainwindow.cpp" line="3475"/>
|
||||
<location filename="mainwindow.cpp" line="3567"/>
|
||||
<location filename="mainwindow.cpp" line="3568"/>
|
||||
<source>Please wake up the device manually</source>
|
||||
<translation>请手动唤醒设备</translation>
|
||||
</message>
|
||||
|
@ -2387,216 +2447,216 @@ Do you want to clear?</source>
|
|||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2163"/>
|
||||
<location filename="mainwindow.cpp" line="2228"/>
|
||||
<location filename="mainwindow.cpp" line="2310"/>
|
||||
<location filename="mainwindow.cpp" line="2173"/>
|
||||
<location filename="mainwindow.cpp" line="2238"/>
|
||||
<location filename="mainwindow.cpp" line="2320"/>
|
||||
<source>save succeed</source>
|
||||
<translation>保存成功</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2175"/>
|
||||
<location filename="mainwindow.cpp" line="2322"/>
|
||||
<location filename="mainwindow.cpp" line="2185"/>
|
||||
<location filename="mainwindow.cpp" line="2332"/>
|
||||
<source>find savePath in thumbnail</source>
|
||||
<translation>图片名在列表中已存在</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2346"/>
|
||||
<location filename="mainwindow.cpp" line="2356"/>
|
||||
<source>Please select at least one picture before export</source>
|
||||
<translation>请至少选中一张图片再进行导出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File name</source>
|
||||
<translation>文件名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File path</source>
|
||||
<translation>文件路径</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File size</source>
|
||||
<translation>文件大小</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Creation date/time</source>
|
||||
<translation>创建时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Modified date/time</source>
|
||||
<translation>修改时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Accessed date/time</source>
|
||||
<translation>访问时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Format</source>
|
||||
<translation>格式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Width</source>
|
||||
<translation>宽度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Height</source>
|
||||
<translation>高度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>depth</source>
|
||||
<translation>深度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Color model</source>
|
||||
<translation>色彩模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>DPI</source>
|
||||
<translation>每英寸像素点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Print size</source>
|
||||
<translation>打印尺寸</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Frame</source>
|
||||
<translation>帧</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>None</source>
|
||||
<translation>无</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Mono</source>
|
||||
<translation>黑白</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Gray</source>
|
||||
<translation>灰度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Color</source>
|
||||
<translation>彩色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2474"/>
|
||||
<location filename="mainwindow.cpp" line="2484"/>
|
||||
<source>Not supported</source>
|
||||
<translation>不支持</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2502"/>
|
||||
<location filename="mainwindow.cpp" line="2512"/>
|
||||
<source>Warning</source>
|
||||
<translation>
|
||||
|
||||
警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2502"/>
|
||||
<location filename="mainwindow.cpp" line="2512"/>
|
||||
<source>Device is Running!
|
||||
Please finish scanning first.</source>
|
||||
<translation>设备正在运行!
|
||||
请先结束扫描。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3929"/>
|
||||
<location filename="mainwindow.cpp" line="3944"/>
|
||||
<source>cache path folder limit:%1</source>
|
||||
<translation>无法访问当前缓存路径:%1
|
||||
请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3933"/>
|
||||
<location filename="mainwindow.cpp" line="3948"/>
|
||||
<source>aquireinto folder limit:%1</source>
|
||||
<translation>无法访问当前缓存路径:%1
|
||||
请尝试在【扫描到】更改缓存路径。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4085"/>
|
||||
<location filename="mainwindow.cpp" line="4100"/>
|
||||
<source>Image processing failed</source>
|
||||
<translation>图像处理失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4089"/>
|
||||
<location filename="mainwindow.cpp" line="4104"/>
|
||||
<source>Ocr init failed</source>
|
||||
<translation>OCR初始化错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4093"/>
|
||||
<location filename="mainwindow.cpp" line="4108"/>
|
||||
<source>Ocr failed</source>
|
||||
<translation>OCR错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4097"/>
|
||||
<location filename="mainwindow.cpp" line="4112"/>
|
||||
<source>File does not exist</source>
|
||||
<translation>文件不存在</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4101"/>
|
||||
<location filename="mainwindow.cpp" line="4116"/>
|
||||
<source>Failed to load dynamic library</source>
|
||||
<translation>加载动态库失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4105"/>
|
||||
<location filename="mainwindow.cpp" line="4120"/>
|
||||
<source>File data error</source>
|
||||
<translation>文件数据错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4109"/>
|
||||
<location filename="mainwindow.cpp" line="4124"/>
|
||||
<source>Image format processing error</source>
|
||||
<translation>图像格式处理错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4113"/>
|
||||
<location filename="mainwindow.cpp" line="4128"/>
|
||||
<source>Out of memory</source>
|
||||
<translation>内存不足</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4117"/>
|
||||
<location filename="mainwindow.cpp" line="4132"/>
|
||||
<source>Failed</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4401"/>
|
||||
<location filename="mainwindow.cpp" line="4420"/>
|
||||
<location filename="mainwindow.cpp" line="4416"/>
|
||||
<location filename="mainwindow.cpp" line="4435"/>
|
||||
<source>The language switch is successful and takes effect the next time the software is started!</source>
|
||||
<translation>语言切换成功,下次启动软件时生效!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4458"/>
|
||||
<location filename="mainwindow.cpp" line="4473"/>
|
||||
<source>Are you sure to delete selected file?</source>
|
||||
<translation>您确定彻底删除选中项文件?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1370"/>
|
||||
<location filename="mainwindow.cpp" line="1371"/>
|
||||
<location filename="mainwindow.cpp" line="3298"/>
|
||||
<location filename="mainwindow.cpp" line="3299"/>
|
||||
<location filename="mainwindow.cpp" line="3376"/>
|
||||
<location filename="mainwindow.cpp" line="3377"/>
|
||||
<location filename="mainwindow.cpp" line="3470"/>
|
||||
<location filename="mainwindow.cpp" line="3471"/>
|
||||
<location filename="mainwindow.cpp" line="3563"/>
|
||||
<location filename="mainwindow.cpp" line="3564"/>
|
||||
<location filename="mainwindow.cpp" line="3313"/>
|
||||
<location filename="mainwindow.cpp" line="3314"/>
|
||||
<location filename="mainwindow.cpp" line="3391"/>
|
||||
<location filename="mainwindow.cpp" line="3392"/>
|
||||
<location filename="mainwindow.cpp" line="3485"/>
|
||||
<location filename="mainwindow.cpp" line="3486"/>
|
||||
<location filename="mainwindow.cpp" line="3578"/>
|
||||
<location filename="mainwindow.cpp" line="3579"/>
|
||||
<source>already waked up device</source>
|
||||
<translation>已唤醒设备</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3705"/>
|
||||
<location filename="mainwindow.cpp" line="3720"/>
|
||||
<source>be ready</source>
|
||||
<translation>就绪</translation>
|
||||
</message>
|
||||
|
@ -2606,7 +2666,7 @@ Please finish scanning first.</source>
|
|||
请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4081"/>
|
||||
<location filename="mainwindow.cpp" line="4096"/>
|
||||
<source>Insufficient access rights</source>
|
||||
<translation>文件访问权限不足</translation>
|
||||
</message>
|
||||
|
@ -2619,46 +2679,46 @@ Please finish scanning first.</source>
|
|||
<translation type="obsolete">图像处理失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4235"/>
|
||||
<location filename="mainwindow.cpp" line="4250"/>
|
||||
<source>Are you sure to close </source>
|
||||
<translation>您确定要断开设备:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4235"/>
|
||||
<location filename="mainwindow.cpp" line="4250"/>
|
||||
<source> ?</source>
|
||||
<translation>吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4243"/>
|
||||
<location filename="mainwindow.cpp" line="4244"/>
|
||||
<location filename="mainwindow.cpp" line="4258"/>
|
||||
<location filename="mainwindow.cpp" line="4259"/>
|
||||
<source>close </source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4339"/>
|
||||
<location filename="mainwindow.cpp" line="4354"/>
|
||||
<source>tip</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4339"/>
|
||||
<location filename="mainwindow.cpp" line="4354"/>
|
||||
<source>Other versions not available</source>
|
||||
<translation>未获取到其他版本</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4362"/>
|
||||
<location filename="mainwindow.cpp" line="4380"/>
|
||||
<location filename="mainwindow.cpp" line="4377"/>
|
||||
<location filename="mainwindow.cpp" line="4395"/>
|
||||
<source>The device does not support this operation</source>
|
||||
<translation>设备不支持该操作</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4364"/>
|
||||
<location filename="mainwindow.cpp" line="4382"/>
|
||||
<location filename="mainwindow.cpp" line="4379"/>
|
||||
<location filename="mainwindow.cpp" line="4397"/>
|
||||
<source>IO error</source>
|
||||
<translation>IO错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3898"/>
|
||||
<location filename="mainwindow.cpp" line="3936"/>
|
||||
<location filename="mainwindow.cpp" line="3913"/>
|
||||
<location filename="mainwindow.cpp" line="3951"/>
|
||||
<source>error</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
|
@ -2673,17 +2733,17 @@ Continue to close?</source>
|
|||
是否继续关闭?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2972"/>
|
||||
<location filename="mainwindow.cpp" line="2987"/>
|
||||
<source>Sure to sign out administrator account?</source>
|
||||
<translation>是否确定登出管理员账户?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3109"/>
|
||||
<location filename="mainwindow.cpp" line="3124"/>
|
||||
<source>confirm the operation</source>
|
||||
<translation>确认操作</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3110"/>
|
||||
<location filename="mainwindow.cpp" line="3125"/>
|
||||
<source>Are you sure to clear the rollor acount?</source>
|
||||
<translation>你确定要清除滚轴计数吗</translation>
|
||||
</message>
|
||||
|
@ -2692,36 +2752,36 @@ Continue to close?</source>
|
|||
<translation type="vanished">请重新进入关于界面以获取最新值</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3154"/>
|
||||
<location filename="mainwindow.cpp" line="3206"/>
|
||||
<location filename="mainwindow.cpp" line="3169"/>
|
||||
<location filename="mainwindow.cpp" line="3221"/>
|
||||
<source><p>%1: <a href='%2'>%3</a></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3156"/>
|
||||
<location filename="mainwindow.cpp" line="3208"/>
|
||||
<location filename="mainwindow.cpp" line="3171"/>
|
||||
<location filename="mainwindow.cpp" line="3223"/>
|
||||
<source><p>%1: %2</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3210"/>
|
||||
<location filename="mainwindow.cpp" line="3225"/>
|
||||
<source>roller number</source>
|
||||
<translation>滚轴张数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3669"/>
|
||||
<location filename="mainwindow.cpp" line="3684"/>
|
||||
<source>open scanner </source>
|
||||
<translation>打开扫描仪</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3670"/>
|
||||
<location filename="mainwindow.cpp" line="4201"/>
|
||||
<location filename="mainwindow.cpp" line="3685"/>
|
||||
<location filename="mainwindow.cpp" line="4216"/>
|
||||
<source>app name</source>
|
||||
<translation>华高扫描软件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3700"/>
|
||||
<location filename="mainwindow.cpp" line="4219"/>
|
||||
<location filename="mainwindow.cpp" line="3715"/>
|
||||
<location filename="mainwindow.cpp" line="4234"/>
|
||||
<source>success</source>
|
||||
<translation>成功</translation>
|
||||
</message>
|
||||
|
@ -2738,22 +2798,22 @@ Continue to close?</source>
|
|||
<translation type="vanished">失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3709"/>
|
||||
<location filename="mainwindow.cpp" line="4224"/>
|
||||
<location filename="mainwindow.cpp" line="3724"/>
|
||||
<location filename="mainwindow.cpp" line="4239"/>
|
||||
<source>failed</source>
|
||||
<translation>失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="975"/>
|
||||
<location filename="mainwindow.cpp" line="1039"/>
|
||||
<location filename="mainwindow.cpp" line="3738"/>
|
||||
<location filename="mainwindow.cpp" line="3753"/>
|
||||
<source>warning</source>
|
||||
<translation>警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="971"/>
|
||||
<location filename="mainwindow.cpp" line="1035"/>
|
||||
<location filename="mainwindow.cpp" line="3734"/>
|
||||
<location filename="mainwindow.cpp" line="3749"/>
|
||||
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
|
||||
<translation>当前路径磁盘空间不足,
|
||||
请重新选择路径或及时清理磁盘空间。</translation>
|
||||
|
@ -2763,7 +2823,7 @@ Continue to close?</source>
|
|||
<translation type="vanished">配置丢失</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4216"/>
|
||||
<location filename="mainwindow.cpp" line="4231"/>
|
||||
<source>apply setting</source>
|
||||
<translation>应用配置</translation>
|
||||
</message>
|
||||
|
@ -2771,18 +2831,18 @@ Continue to close?</source>
|
|||
<location filename="mainwindow.cpp" line="1345"/>
|
||||
<location filename="mainwindow.cpp" line="1346"/>
|
||||
<location filename="mainwindow.cpp" line="1347"/>
|
||||
<location filename="mainwindow.cpp" line="3273"/>
|
||||
<location filename="mainwindow.cpp" line="3274"/>
|
||||
<location filename="mainwindow.cpp" line="3275"/>
|
||||
<location filename="mainwindow.cpp" line="3351"/>
|
||||
<location filename="mainwindow.cpp" line="3352"/>
|
||||
<location filename="mainwindow.cpp" line="3353"/>
|
||||
<location filename="mainwindow.cpp" line="3445"/>
|
||||
<location filename="mainwindow.cpp" line="3446"/>
|
||||
<location filename="mainwindow.cpp" line="3447"/>
|
||||
<location filename="mainwindow.cpp" line="3538"/>
|
||||
<location filename="mainwindow.cpp" line="3539"/>
|
||||
<location filename="mainwindow.cpp" line="3540"/>
|
||||
<location filename="mainwindow.cpp" line="3288"/>
|
||||
<location filename="mainwindow.cpp" line="3289"/>
|
||||
<location filename="mainwindow.cpp" line="3290"/>
|
||||
<location filename="mainwindow.cpp" line="3366"/>
|
||||
<location filename="mainwindow.cpp" line="3367"/>
|
||||
<location filename="mainwindow.cpp" line="3368"/>
|
||||
<location filename="mainwindow.cpp" line="3460"/>
|
||||
<location filename="mainwindow.cpp" line="3461"/>
|
||||
<location filename="mainwindow.cpp" line="3462"/>
|
||||
<location filename="mainwindow.cpp" line="3553"/>
|
||||
<location filename="mainwindow.cpp" line="3554"/>
|
||||
<location filename="mainwindow.cpp" line="3555"/>
|
||||
<source>start failed</source>
|
||||
<translation>启动失败</translation>
|
||||
</message>
|
||||
|
@ -2931,25 +2991,25 @@ Continue to close?</source>
|
|||
<location filename="mainwindow.cpp" line="1135"/>
|
||||
<location filename="mainwindow.cpp" line="1241"/>
|
||||
<location filename="mainwindow.cpp" line="1242"/>
|
||||
<location filename="mainwindow.cpp" line="2168"/>
|
||||
<location filename="mainwindow.cpp" line="2169"/>
|
||||
<location filename="mainwindow.cpp" line="2170"/>
|
||||
<location filename="mainwindow.cpp" line="2233"/>
|
||||
<location filename="mainwindow.cpp" line="2234"/>
|
||||
<location filename="mainwindow.cpp" line="2235"/>
|
||||
<location filename="mainwindow.cpp" line="2315"/>
|
||||
<location filename="mainwindow.cpp" line="2316"/>
|
||||
<location filename="mainwindow.cpp" line="2317"/>
|
||||
<location filename="mainwindow.cpp" line="2178"/>
|
||||
<location filename="mainwindow.cpp" line="2179"/>
|
||||
<location filename="mainwindow.cpp" line="2180"/>
|
||||
<location filename="mainwindow.cpp" line="2243"/>
|
||||
<location filename="mainwindow.cpp" line="2244"/>
|
||||
<location filename="mainwindow.cpp" line="2245"/>
|
||||
<location filename="mainwindow.cpp" line="2325"/>
|
||||
<location filename="mainwindow.cpp" line="2326"/>
|
||||
<location filename="mainwindow.cpp" line="2327"/>
|
||||
<source>save image doc failed: </source>
|
||||
<translation>保存图片文件失败: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3899"/>
|
||||
<location filename="mainwindow.cpp" line="3914"/>
|
||||
<source>start failed!</source>
|
||||
<translation>启动安装程序失败!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2526"/>
|
||||
<location filename="mainwindow.cpp" line="2536"/>
|
||||
<source>There are pictures that have not been saved.
|
||||
Are you sure to close?</source>
|
||||
<translation>有图像未保存,确定关闭?</translation>
|
||||
|
@ -2960,63 +3020,63 @@ Are you sure to close?</source>
|
|||
<translation>发现设备 : %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2163"/>
|
||||
<location filename="mainwindow.cpp" line="2168"/>
|
||||
<location filename="mainwindow.cpp" line="2175"/>
|
||||
<location filename="mainwindow.cpp" line="2228"/>
|
||||
<location filename="mainwindow.cpp" line="2233"/>
|
||||
<location filename="mainwindow.cpp" line="2310"/>
|
||||
<location filename="mainwindow.cpp" line="2315"/>
|
||||
<location filename="mainwindow.cpp" line="2322"/>
|
||||
<location filename="mainwindow.cpp" line="2346"/>
|
||||
<location filename="mainwindow.cpp" line="2537"/>
|
||||
<location filename="mainwindow.cpp" line="4400"/>
|
||||
<location filename="mainwindow.cpp" line="4419"/>
|
||||
<location filename="mainwindow.cpp" line="4458"/>
|
||||
<location filename="mainwindow.cpp" line="2173"/>
|
||||
<location filename="mainwindow.cpp" line="2178"/>
|
||||
<location filename="mainwindow.cpp" line="2185"/>
|
||||
<location filename="mainwindow.cpp" line="2238"/>
|
||||
<location filename="mainwindow.cpp" line="2243"/>
|
||||
<location filename="mainwindow.cpp" line="2320"/>
|
||||
<location filename="mainwindow.cpp" line="2325"/>
|
||||
<location filename="mainwindow.cpp" line="2332"/>
|
||||
<location filename="mainwindow.cpp" line="2356"/>
|
||||
<location filename="mainwindow.cpp" line="2547"/>
|
||||
<location filename="mainwindow.cpp" line="4415"/>
|
||||
<location filename="mainwindow.cpp" line="4434"/>
|
||||
<location filename="mainwindow.cpp" line="4473"/>
|
||||
<source>tips</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2538"/>
|
||||
<location filename="mainwindow.cpp" line="2548"/>
|
||||
<source>Are you sure to close?</source>
|
||||
<translation>确定关闭应用软件?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3023"/>
|
||||
<location filename="mainwindow.cpp" line="3038"/>
|
||||
<source>confirm operation</source>
|
||||
<translation>确认操作</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3024"/>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<source>are you sure to clear the roller count?</source>
|
||||
<translation>您确定要清除滚轴计数吗</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3035"/>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<location filename="mainwindow.cpp" line="3128"/>
|
||||
<location filename="mainwindow.cpp" line="3050"/>
|
||||
<location filename="mainwindow.cpp" line="3054"/>
|
||||
<location filename="mainwindow.cpp" line="3143"/>
|
||||
<source>hint</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3035"/>
|
||||
<location filename="mainwindow.cpp" line="3121"/>
|
||||
<location filename="mainwindow.cpp" line="3050"/>
|
||||
<location filename="mainwindow.cpp" line="3136"/>
|
||||
<source>Roller scanned count has been set to 0.</source>
|
||||
<translation>辊轴计数已置零</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<location filename="mainwindow.cpp" line="3126"/>
|
||||
<location filename="mainwindow.cpp" line="3054"/>
|
||||
<location filename="mainwindow.cpp" line="3141"/>
|
||||
<source>Roller scanned count reset failed.</source>
|
||||
<translation>重置滚轴计数失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3098"/>
|
||||
<location filename="mainwindow.cpp" line="3113"/>
|
||||
<source>Error</source>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3098"/>
|
||||
<location filename="mainwindow.cpp" line="3113"/>
|
||||
<source>Document missing! It would be deleted or renamed.</source>
|
||||
<translation>文档丢失!文档可能已被删除或被重命名。</translation>
|
||||
</message>
|
||||
|
@ -3057,21 +3117,21 @@ Are you sure to close?</source>
|
|||
<translation type="vanished"><p>%1</p><p>版本: %2<br>版权: &#169; %3</p><p>%4%5%6%7%8%9</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3149"/>
|
||||
<location filename="mainwindow.cpp" line="3200"/>
|
||||
<location filename="mainwindow.cpp" line="3164"/>
|
||||
<location filename="mainwindow.cpp" line="3215"/>
|
||||
<source>about %1</source>
|
||||
<translation>关于 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3150"/>
|
||||
<location filename="mainwindow.cpp" line="3201"/>
|
||||
<location filename="mainwindow.cpp" line="3165"/>
|
||||
<location filename="mainwindow.cpp" line="3216"/>
|
||||
<source><p>Version: %1</p></source>
|
||||
<oldsource><p>版本: %1</p></oldsource>
|
||||
<translation><p>版本: %1</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3158"/>
|
||||
<location filename="mainwindow.cpp" line="3202"/>
|
||||
<location filename="mainwindow.cpp" line="3173"/>
|
||||
<location filename="mainwindow.cpp" line="3217"/>
|
||||
<source><p>CopyRight: &#169; %1</p></source>
|
||||
<oldsource><p>版权: &#169; %1</p></oldsource>
|
||||
<translation><p>版权: &#169; %1</p></translation>
|
||||
|
|
Binary file not shown.
|
@ -470,32 +470,32 @@ Continue clearing?</translation>
|
|||
<translation>Export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="25"/>
|
||||
<location filename="dialog_export.ui" line="27"/>
|
||||
<source>Page Range</source>
|
||||
<translation>Page range</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="33"/>
|
||||
<location filename="dialog_export.ui" line="35"/>
|
||||
<source>Nominate Pages(example:1,3,6 or 3-6)</source>
|
||||
<translation>Specific page number (For example:1,3,6 or 3-6)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="53"/>
|
||||
<location filename="dialog_export.ui" line="55"/>
|
||||
<source>Chosen Pages</source>
|
||||
<translation>Selected pages</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="73"/>
|
||||
<location filename="dialog_export.ui" line="75"/>
|
||||
<source>All Pages</source>
|
||||
<translation>All pages</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="84"/>
|
||||
<location filename="dialog_export.ui" line="86"/>
|
||||
<source>Page:</source>
|
||||
<translation>Page number:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="100"/>
|
||||
<location filename="dialog_export.ui" line="102"/>
|
||||
<source>
|
||||
Input is not valid.
|
||||
Page range will be "Chosen Pages".
|
||||
|
@ -504,12 +504,17 @@ Page range will be "Chosen Pages".
|
|||
The page range will be “selected pages”</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="135"/>
|
||||
<location filename="dialog_export.ui" line="137"/>
|
||||
<source>Save as multipages (TIFF/PDF/OFD/GIF)</source>
|
||||
<translation>Save multiple pages(TIFF/PDF/OFD/GIF)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="155"/>
|
||||
<location filename="dialog_export.ui" line="144"/>
|
||||
<source>Ocr type:</source>
|
||||
<translation>OCR type:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.ui" line="174"/>
|
||||
<source>Compression Option</source>
|
||||
<translation>Compression options</translation>
|
||||
</message>
|
||||
|
@ -523,13 +528,38 @@ The page range will be “selected pages”</translation>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="145"/>
|
||||
<location filename="dialog_export.cpp" line="316"/>
|
||||
<location filename="dialog_export.cpp" line="327"/>
|
||||
<location filename="dialog_export.cpp" line="337"/>
|
||||
<location filename="dialog_export.cpp" line="348"/>
|
||||
<source>Input is not valid.
|
||||
Page range will be 'Chosen Pages'.</source>
|
||||
<translation>Input invalid.
|
||||
The page range will be “selected pages”</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>English</source>
|
||||
<translation>English</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>Simplified Chinese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Traditional Chinese</source>
|
||||
<translation>Traditional Chinese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Japanese</source>
|
||||
<translation>Japanese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_export.cpp" line="153"/>
|
||||
<source>Korean</source>
|
||||
<translation>Korean</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialog_ExportImageFile</name>
|
||||
|
@ -544,17 +574,17 @@ The page range will be “selected pages”</translation>
|
|||
<translation>Stop exporting</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="346"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<source>export succeed</source>
|
||||
<translation>Export completed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="346"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<source>export failed: </source>
|
||||
<translation>Export failed: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_exportimagefile.cpp" line="347"/>
|
||||
<location filename="dialog_exportimagefile.cpp" line="348"/>
|
||||
<source>tip</source>
|
||||
<translation>Prompt</translation>
|
||||
</message>
|
||||
|
@ -1476,6 +1506,36 @@ Please make sure the two passwords are the same.</source>
|
|||
<source>Use subfolder based on current date</source>
|
||||
<translation>Create a subfolder using the current date</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.ui" line="39"/>
|
||||
<source>Ocr type:</source>
|
||||
<translation>OCR type:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>English</source>
|
||||
<translation>English</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>Simplified Chinese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Traditional Chinese</source>
|
||||
<translation>Traditional Chinese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Japanese</source>
|
||||
<translation>Japanese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="dialog_saveas.cpp" line="117"/>
|
||||
<source>Korean</source>
|
||||
<translation>Korean</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialog_SaveMessageBox</name>
|
||||
|
@ -2195,8 +2255,8 @@ Please make sure the two passwords are the same.</source>
|
|||
<location filename="mainwindow.cpp" line="693"/>
|
||||
<location filename="mainwindow.cpp" line="1722"/>
|
||||
<location filename="mainwindow.cpp" line="1745"/>
|
||||
<location filename="mainwindow.cpp" line="2525"/>
|
||||
<location filename="mainwindow.cpp" line="2971"/>
|
||||
<location filename="mainwindow.cpp" line="2535"/>
|
||||
<location filename="mainwindow.cpp" line="2986"/>
|
||||
<source>Question</source>
|
||||
<translation>Ask</translation>
|
||||
</message>
|
||||
|
@ -2249,7 +2309,7 @@ Please make sure the two passwords are the same.</source>
|
|||
<message>
|
||||
<location filename="mainwindow.cpp" line="971"/>
|
||||
<location filename="mainwindow.cpp" line="1035"/>
|
||||
<location filename="mainwindow.cpp" line="3734"/>
|
||||
<location filename="mainwindow.cpp" line="3749"/>
|
||||
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
|
||||
<translation>Insufficient disk space for the current path.
|
||||
Please reselect a path or clear disk space immediately.</translation>
|
||||
|
@ -2257,7 +2317,7 @@ Please reselect a path or clear disk space immediately.</translation>
|
|||
<message>
|
||||
<location filename="mainwindow.cpp" line="975"/>
|
||||
<location filename="mainwindow.cpp" line="1039"/>
|
||||
<location filename="mainwindow.cpp" line="3738"/>
|
||||
<location filename="mainwindow.cpp" line="3753"/>
|
||||
<source>warning</source>
|
||||
<translation>Warning</translation>
|
||||
</message>
|
||||
|
@ -2286,15 +2346,15 @@ Please reselect a path or clear disk space immediately.</translation>
|
|||
<location filename="mainwindow.cpp" line="1135"/>
|
||||
<location filename="mainwindow.cpp" line="1241"/>
|
||||
<location filename="mainwindow.cpp" line="1242"/>
|
||||
<location filename="mainwindow.cpp" line="2168"/>
|
||||
<location filename="mainwindow.cpp" line="2169"/>
|
||||
<location filename="mainwindow.cpp" line="2170"/>
|
||||
<location filename="mainwindow.cpp" line="2233"/>
|
||||
<location filename="mainwindow.cpp" line="2234"/>
|
||||
<location filename="mainwindow.cpp" line="2235"/>
|
||||
<location filename="mainwindow.cpp" line="2315"/>
|
||||
<location filename="mainwindow.cpp" line="2316"/>
|
||||
<location filename="mainwindow.cpp" line="2317"/>
|
||||
<location filename="mainwindow.cpp" line="2178"/>
|
||||
<location filename="mainwindow.cpp" line="2179"/>
|
||||
<location filename="mainwindow.cpp" line="2180"/>
|
||||
<location filename="mainwindow.cpp" line="2243"/>
|
||||
<location filename="mainwindow.cpp" line="2244"/>
|
||||
<location filename="mainwindow.cpp" line="2245"/>
|
||||
<location filename="mainwindow.cpp" line="2325"/>
|
||||
<location filename="mainwindow.cpp" line="2326"/>
|
||||
<location filename="mainwindow.cpp" line="2327"/>
|
||||
<source>save image doc failed: </source>
|
||||
<translation>Failed to save image: </translation>
|
||||
</message>
|
||||
|
@ -2317,46 +2377,46 @@ Please reselect a path or clear disk space immediately.</translation>
|
|||
<location filename="mainwindow.cpp" line="1345"/>
|
||||
<location filename="mainwindow.cpp" line="1346"/>
|
||||
<location filename="mainwindow.cpp" line="1347"/>
|
||||
<location filename="mainwindow.cpp" line="3273"/>
|
||||
<location filename="mainwindow.cpp" line="3274"/>
|
||||
<location filename="mainwindow.cpp" line="3275"/>
|
||||
<location filename="mainwindow.cpp" line="3351"/>
|
||||
<location filename="mainwindow.cpp" line="3352"/>
|
||||
<location filename="mainwindow.cpp" line="3353"/>
|
||||
<location filename="mainwindow.cpp" line="3445"/>
|
||||
<location filename="mainwindow.cpp" line="3446"/>
|
||||
<location filename="mainwindow.cpp" line="3447"/>
|
||||
<location filename="mainwindow.cpp" line="3538"/>
|
||||
<location filename="mainwindow.cpp" line="3539"/>
|
||||
<location filename="mainwindow.cpp" line="3540"/>
|
||||
<location filename="mainwindow.cpp" line="3288"/>
|
||||
<location filename="mainwindow.cpp" line="3289"/>
|
||||
<location filename="mainwindow.cpp" line="3290"/>
|
||||
<location filename="mainwindow.cpp" line="3366"/>
|
||||
<location filename="mainwindow.cpp" line="3367"/>
|
||||
<location filename="mainwindow.cpp" line="3368"/>
|
||||
<location filename="mainwindow.cpp" line="3460"/>
|
||||
<location filename="mainwindow.cpp" line="3461"/>
|
||||
<location filename="mainwindow.cpp" line="3462"/>
|
||||
<location filename="mainwindow.cpp" line="3553"/>
|
||||
<location filename="mainwindow.cpp" line="3554"/>
|
||||
<location filename="mainwindow.cpp" line="3555"/>
|
||||
<source>start failed</source>
|
||||
<translation>Failed to start</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1359"/>
|
||||
<location filename="mainwindow.cpp" line="1360"/>
|
||||
<location filename="mainwindow.cpp" line="3287"/>
|
||||
<location filename="mainwindow.cpp" line="3288"/>
|
||||
<location filename="mainwindow.cpp" line="3365"/>
|
||||
<location filename="mainwindow.cpp" line="3366"/>
|
||||
<location filename="mainwindow.cpp" line="3459"/>
|
||||
<location filename="mainwindow.cpp" line="3460"/>
|
||||
<location filename="mainwindow.cpp" line="3552"/>
|
||||
<location filename="mainwindow.cpp" line="3553"/>
|
||||
<location filename="mainwindow.cpp" line="3302"/>
|
||||
<location filename="mainwindow.cpp" line="3303"/>
|
||||
<location filename="mainwindow.cpp" line="3380"/>
|
||||
<location filename="mainwindow.cpp" line="3381"/>
|
||||
<location filename="mainwindow.cpp" line="3474"/>
|
||||
<location filename="mainwindow.cpp" line="3475"/>
|
||||
<location filename="mainwindow.cpp" line="3567"/>
|
||||
<location filename="mainwindow.cpp" line="3568"/>
|
||||
<source>Please wake up the device manually</source>
|
||||
<translation>Please wake up the device manually</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1370"/>
|
||||
<location filename="mainwindow.cpp" line="1371"/>
|
||||
<location filename="mainwindow.cpp" line="3298"/>
|
||||
<location filename="mainwindow.cpp" line="3299"/>
|
||||
<location filename="mainwindow.cpp" line="3376"/>
|
||||
<location filename="mainwindow.cpp" line="3377"/>
|
||||
<location filename="mainwindow.cpp" line="3470"/>
|
||||
<location filename="mainwindow.cpp" line="3471"/>
|
||||
<location filename="mainwindow.cpp" line="3563"/>
|
||||
<location filename="mainwindow.cpp" line="3564"/>
|
||||
<location filename="mainwindow.cpp" line="3313"/>
|
||||
<location filename="mainwindow.cpp" line="3314"/>
|
||||
<location filename="mainwindow.cpp" line="3391"/>
|
||||
<location filename="mainwindow.cpp" line="3392"/>
|
||||
<location filename="mainwindow.cpp" line="3485"/>
|
||||
<location filename="mainwindow.cpp" line="3486"/>
|
||||
<location filename="mainwindow.cpp" line="3578"/>
|
||||
<location filename="mainwindow.cpp" line="3579"/>
|
||||
<source>already waked up device</source>
|
||||
<translation>Device is awake</translation>
|
||||
</message>
|
||||
|
@ -2393,230 +2453,230 @@ Do you want to clear?</source>
|
|||
Clear?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1941"/>
|
||||
<location filename="mainwindow.cpp" line="1951"/>
|
||||
<source>Open images</source>
|
||||
<translation>Open image</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1952"/>
|
||||
<location filename="mainwindow.cpp" line="1962"/>
|
||||
<source>Insert images</source>
|
||||
<translation>Insert image</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2163"/>
|
||||
<location filename="mainwindow.cpp" line="2168"/>
|
||||
<location filename="mainwindow.cpp" line="2175"/>
|
||||
<location filename="mainwindow.cpp" line="2228"/>
|
||||
<location filename="mainwindow.cpp" line="2233"/>
|
||||
<location filename="mainwindow.cpp" line="2310"/>
|
||||
<location filename="mainwindow.cpp" line="2315"/>
|
||||
<location filename="mainwindow.cpp" line="2322"/>
|
||||
<location filename="mainwindow.cpp" line="2346"/>
|
||||
<location filename="mainwindow.cpp" line="2537"/>
|
||||
<location filename="mainwindow.cpp" line="4400"/>
|
||||
<location filename="mainwindow.cpp" line="4419"/>
|
||||
<location filename="mainwindow.cpp" line="4458"/>
|
||||
<location filename="mainwindow.cpp" line="2173"/>
|
||||
<location filename="mainwindow.cpp" line="2178"/>
|
||||
<location filename="mainwindow.cpp" line="2185"/>
|
||||
<location filename="mainwindow.cpp" line="2238"/>
|
||||
<location filename="mainwindow.cpp" line="2243"/>
|
||||
<location filename="mainwindow.cpp" line="2320"/>
|
||||
<location filename="mainwindow.cpp" line="2325"/>
|
||||
<location filename="mainwindow.cpp" line="2332"/>
|
||||
<location filename="mainwindow.cpp" line="2356"/>
|
||||
<location filename="mainwindow.cpp" line="2547"/>
|
||||
<location filename="mainwindow.cpp" line="4415"/>
|
||||
<location filename="mainwindow.cpp" line="4434"/>
|
||||
<location filename="mainwindow.cpp" line="4473"/>
|
||||
<source>tips</source>
|
||||
<translation>prompt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2163"/>
|
||||
<location filename="mainwindow.cpp" line="2228"/>
|
||||
<location filename="mainwindow.cpp" line="2310"/>
|
||||
<location filename="mainwindow.cpp" line="2173"/>
|
||||
<location filename="mainwindow.cpp" line="2238"/>
|
||||
<location filename="mainwindow.cpp" line="2320"/>
|
||||
<source>save succeed</source>
|
||||
<translation>Saved successfully</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2175"/>
|
||||
<location filename="mainwindow.cpp" line="2322"/>
|
||||
<location filename="mainwindow.cpp" line="2185"/>
|
||||
<location filename="mainwindow.cpp" line="2332"/>
|
||||
<source>find savePath in thumbnail</source>
|
||||
<translation>Image name already exists in the list</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2346"/>
|
||||
<location filename="mainwindow.cpp" line="2356"/>
|
||||
<source>Please select at least one picture before export</source>
|
||||
<translation>Please select at least one image and then export</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File name</source>
|
||||
<translation>File name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File path</source>
|
||||
<translation>File path</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>File size</source>
|
||||
<translation>File size</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Creation date/time</source>
|
||||
<translation>Creation time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Modified date/time</source>
|
||||
<translation>Modification time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2413"/>
|
||||
<location filename="mainwindow.cpp" line="2423"/>
|
||||
<source>Accessed date/time</source>
|
||||
<translation>Access time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Format</source>
|
||||
<translation>Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Width</source>
|
||||
<translation>Width</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Height</source>
|
||||
<translation>Height</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>depth</source>
|
||||
<translation>Depth</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Color model</source>
|
||||
<translation>Color mode</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>DPI</source>
|
||||
<translation>Pixels per inch</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Print size</source>
|
||||
<translation>Print size</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2456"/>
|
||||
<location filename="mainwindow.cpp" line="2466"/>
|
||||
<source>Frame</source>
|
||||
<translation>Frame</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>None</source>
|
||||
<translation>None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Mono</source>
|
||||
<translation>Black and white</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Gray</source>
|
||||
<translation>Gray scale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2470"/>
|
||||
<location filename="mainwindow.cpp" line="2480"/>
|
||||
<source>Color</source>
|
||||
<translation>Color</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2474"/>
|
||||
<location filename="mainwindow.cpp" line="2484"/>
|
||||
<source>Not supported</source>
|
||||
<translation>Not supported</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2502"/>
|
||||
<location filename="mainwindow.cpp" line="2512"/>
|
||||
<source>Warning</source>
|
||||
<translation>Warning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2502"/>
|
||||
<location filename="mainwindow.cpp" line="2512"/>
|
||||
<source>Device is Running!
|
||||
Please finish scanning first.</source>
|
||||
<translation>Device is currently running!
|
||||
Please stop scanning first.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2526"/>
|
||||
<location filename="mainwindow.cpp" line="2536"/>
|
||||
<source>There are pictures that have not been saved.
|
||||
Are you sure to close?</source>
|
||||
<translation>There are unsaved images; are you sure you want to close?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2538"/>
|
||||
<location filename="mainwindow.cpp" line="2548"/>
|
||||
<source>Are you sure to close?</source>
|
||||
<translation>Are you sure you want to close?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="2972"/>
|
||||
<location filename="mainwindow.cpp" line="2987"/>
|
||||
<source>Sure to sign out administrator account?</source>
|
||||
<translation>Are you sure you want to log out of the administrator account?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3023"/>
|
||||
<location filename="mainwindow.cpp" line="3038"/>
|
||||
<source>confirm operation</source>
|
||||
<translation>Confirm operation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3024"/>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<source>are you sure to clear the roller count?</source>
|
||||
<translation>Are you sure you want to clear the roller count?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3035"/>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<location filename="mainwindow.cpp" line="3128"/>
|
||||
<location filename="mainwindow.cpp" line="3050"/>
|
||||
<location filename="mainwindow.cpp" line="3054"/>
|
||||
<location filename="mainwindow.cpp" line="3143"/>
|
||||
<source>hint</source>
|
||||
<translation>Prompt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3035"/>
|
||||
<location filename="mainwindow.cpp" line="3121"/>
|
||||
<location filename="mainwindow.cpp" line="3050"/>
|
||||
<location filename="mainwindow.cpp" line="3136"/>
|
||||
<source>Roller scanned count has been set to 0.</source>
|
||||
<translation>Roller count reset to zero.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3039"/>
|
||||
<location filename="mainwindow.cpp" line="3126"/>
|
||||
<location filename="mainwindow.cpp" line="3054"/>
|
||||
<location filename="mainwindow.cpp" line="3141"/>
|
||||
<source>Roller scanned count reset failed.</source>
|
||||
<translation>Failed to reset roller count.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3098"/>
|
||||
<location filename="mainwindow.cpp" line="3113"/>
|
||||
<source>Error</source>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3098"/>
|
||||
<location filename="mainwindow.cpp" line="3113"/>
|
||||
<source>Document missing! It would be deleted or renamed.</source>
|
||||
<translation>File lost! File may be deleted or renamed.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3109"/>
|
||||
<location filename="mainwindow.cpp" line="3124"/>
|
||||
<source>confirm the operation</source>
|
||||
<translation>Confirm operation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3110"/>
|
||||
<location filename="mainwindow.cpp" line="3125"/>
|
||||
<source>Are you sure to clear the rollor acount?</source>
|
||||
<translation>Are you sure you want to clear the roller count?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3929"/>
|
||||
<location filename="mainwindow.cpp" line="3944"/>
|
||||
<source>cache path folder limit:%1</source>
|
||||
<translation>Unable to access the current path:%1
|
||||
Please try to log in to the administrator account in the [User] menu and go to the [Cache settings] to change the cache path.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3933"/>
|
||||
<location filename="mainwindow.cpp" line="3948"/>
|
||||
<source>aquireinto folder limit:%1</source>
|
||||
<translation>Unable to access the current path:%1
|
||||
Please try to change the cache path in [Scan to].</translation>
|
||||
|
@ -2630,76 +2690,76 @@ Please try to change the cache path in [Scan to].</translation>
|
|||
<translation type="vanished"><p>%1</p><p>Version: %2<br>Copyright: &#169; %3</p><p>%4%5%6%7%8%9</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3149"/>
|
||||
<location filename="mainwindow.cpp" line="3200"/>
|
||||
<location filename="mainwindow.cpp" line="3164"/>
|
||||
<location filename="mainwindow.cpp" line="3215"/>
|
||||
<source>about %1</source>
|
||||
<translation>About %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3150"/>
|
||||
<location filename="mainwindow.cpp" line="3201"/>
|
||||
<location filename="mainwindow.cpp" line="3165"/>
|
||||
<location filename="mainwindow.cpp" line="3216"/>
|
||||
<source><p>Version: %1</p></source>
|
||||
<translation><p>Version: %1</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3158"/>
|
||||
<location filename="mainwindow.cpp" line="3202"/>
|
||||
<location filename="mainwindow.cpp" line="3173"/>
|
||||
<location filename="mainwindow.cpp" line="3217"/>
|
||||
<source><p>CopyRight: &#169; %1</p></source>
|
||||
<translation><p>Copyright: &#169; %1</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3154"/>
|
||||
<location filename="mainwindow.cpp" line="3206"/>
|
||||
<location filename="mainwindow.cpp" line="3169"/>
|
||||
<location filename="mainwindow.cpp" line="3221"/>
|
||||
<source><p>%1: <a href='%2'>%3</a></source>
|
||||
<translation><p>%1: <a href='%2'>%3</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3156"/>
|
||||
<location filename="mainwindow.cpp" line="3208"/>
|
||||
<location filename="mainwindow.cpp" line="3171"/>
|
||||
<location filename="mainwindow.cpp" line="3223"/>
|
||||
<source><p>%1: %2</source>
|
||||
<translation><p>%1: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3210"/>
|
||||
<location filename="mainwindow.cpp" line="3225"/>
|
||||
<source>roller number</source>
|
||||
<translation>Number of rollers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3669"/>
|
||||
<location filename="mainwindow.cpp" line="3684"/>
|
||||
<source>open scanner </source>
|
||||
<translation>Open scanner </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3670"/>
|
||||
<location filename="mainwindow.cpp" line="4201"/>
|
||||
<location filename="mainwindow.cpp" line="3685"/>
|
||||
<location filename="mainwindow.cpp" line="4216"/>
|
||||
<source>app name</source>
|
||||
<translation>HUAGOSCAN scanning software</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3700"/>
|
||||
<location filename="mainwindow.cpp" line="4219"/>
|
||||
<location filename="mainwindow.cpp" line="3715"/>
|
||||
<location filename="mainwindow.cpp" line="4234"/>
|
||||
<source>success</source>
|
||||
<translation>successfully</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3705"/>
|
||||
<location filename="mainwindow.cpp" line="3720"/>
|
||||
<source>be ready</source>
|
||||
<translation>Ready</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3709"/>
|
||||
<location filename="mainwindow.cpp" line="4224"/>
|
||||
<location filename="mainwindow.cpp" line="3724"/>
|
||||
<location filename="mainwindow.cpp" line="4239"/>
|
||||
<source>failed</source>
|
||||
<translation>failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3898"/>
|
||||
<location filename="mainwindow.cpp" line="3936"/>
|
||||
<location filename="mainwindow.cpp" line="3913"/>
|
||||
<location filename="mainwindow.cpp" line="3951"/>
|
||||
<source>error</source>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="3899"/>
|
||||
<location filename="mainwindow.cpp" line="3914"/>
|
||||
<source>start failed!</source>
|
||||
<translation>Failed to start!</translation>
|
||||
</message>
|
||||
|
@ -2709,106 +2769,106 @@ Please try to change the cache path in [Scan to].</translation>
|
|||
Please go to “Scan to” and change the accessible scan folder and then perform the scan.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4081"/>
|
||||
<location filename="mainwindow.cpp" line="4096"/>
|
||||
<source>Insufficient access rights</source>
|
||||
<translation>Insufficient file access permissions</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4085"/>
|
||||
<location filename="mainwindow.cpp" line="4100"/>
|
||||
<source>Image processing failed</source>
|
||||
<translation>Image processing failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4089"/>
|
||||
<location filename="mainwindow.cpp" line="4104"/>
|
||||
<source>Ocr init failed</source>
|
||||
<translation>OCR initialization error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4093"/>
|
||||
<location filename="mainwindow.cpp" line="4108"/>
|
||||
<source>Ocr failed</source>
|
||||
<translation>OCR failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4097"/>
|
||||
<location filename="mainwindow.cpp" line="4112"/>
|
||||
<source>File does not exist</source>
|
||||
<translation>File does not exist</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4101"/>
|
||||
<location filename="mainwindow.cpp" line="4116"/>
|
||||
<source>Failed to load dynamic library</source>
|
||||
<translation>Failed to load dynamic library</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4105"/>
|
||||
<location filename="mainwindow.cpp" line="4120"/>
|
||||
<source>File data error</source>
|
||||
<translation>File data error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4109"/>
|
||||
<location filename="mainwindow.cpp" line="4124"/>
|
||||
<source>Image format processing error</source>
|
||||
<translation>Image format processing error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4113"/>
|
||||
<location filename="mainwindow.cpp" line="4128"/>
|
||||
<source>Out of memory</source>
|
||||
<translation>Insufficient memory</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4117"/>
|
||||
<location filename="mainwindow.cpp" line="4132"/>
|
||||
<source>Failed</source>
|
||||
<translation>Failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4216"/>
|
||||
<location filename="mainwindow.cpp" line="4231"/>
|
||||
<source>apply setting</source>
|
||||
<translation>Apply configuration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4235"/>
|
||||
<location filename="mainwindow.cpp" line="4250"/>
|
||||
<source>Are you sure to close </source>
|
||||
<translation>Are you sure you want to disconnect device:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4235"/>
|
||||
<location filename="mainwindow.cpp" line="4250"/>
|
||||
<source> ?</source>
|
||||
<translation>?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4243"/>
|
||||
<location filename="mainwindow.cpp" line="4244"/>
|
||||
<location filename="mainwindow.cpp" line="4258"/>
|
||||
<location filename="mainwindow.cpp" line="4259"/>
|
||||
<source>close </source>
|
||||
<translation>Close </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4339"/>
|
||||
<location filename="mainwindow.cpp" line="4354"/>
|
||||
<source>tip</source>
|
||||
<translation>Prompt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4339"/>
|
||||
<location filename="mainwindow.cpp" line="4354"/>
|
||||
<source>Other versions not available</source>
|
||||
<translation>No other versions obtained</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4362"/>
|
||||
<location filename="mainwindow.cpp" line="4380"/>
|
||||
<location filename="mainwindow.cpp" line="4377"/>
|
||||
<location filename="mainwindow.cpp" line="4395"/>
|
||||
<source>The device does not support this operation</source>
|
||||
<translation>Device does not support this operation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4364"/>
|
||||
<location filename="mainwindow.cpp" line="4382"/>
|
||||
<location filename="mainwindow.cpp" line="4379"/>
|
||||
<location filename="mainwindow.cpp" line="4397"/>
|
||||
<source>IO error</source>
|
||||
<translation>IO error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4401"/>
|
||||
<location filename="mainwindow.cpp" line="4420"/>
|
||||
<location filename="mainwindow.cpp" line="4416"/>
|
||||
<location filename="mainwindow.cpp" line="4435"/>
|
||||
<source>The language switch is successful and takes effect the next time the software is started!</source>
|
||||
<translation>The language switch is successful and takes effect the next time the software is started!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="4458"/>
|
||||
<location filename="mainwindow.cpp" line="4473"/>
|
||||
<source>Are you sure to delete selected file?</source>
|
||||
<translation>Are you sure to delete the selected file completely?</translation>
|
||||
</message>
|
||||
|
|
|
@ -144,6 +144,16 @@ Dialog_Export::Dialog_Export(int total, const std::vector<int> &selectedIndexs,
|
|||
ui->lab_warning->setVisible(true);
|
||||
ui->lab_warning->setText(tr("Input is not valid.\nPage range will be 'Chosen Pages'."));
|
||||
}
|
||||
|
||||
ui->label_ocrType->setVisible(false);
|
||||
ui->comboBox_ocrType->setVisible(false);
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
ui->label_ocrType->setVisible(isOcr());
|
||||
ui->comboBox_ocrType->setVisible(isOcr());
|
||||
QStringList ocrType = { tr("English"), tr("Simplified Chinese"), tr("Traditional Chinese"), tr("Japanese"), tr("Korean") };
|
||||
ui->comboBox_ocrType->addItems(ocrType);
|
||||
ui->comboBox_ocrType->setCurrentIndex(getCfgValue("export", "ocrLanguage", 0));
|
||||
#endif
|
||||
}
|
||||
|
||||
Dialog_Export::~Dialog_Export()
|
||||
|
@ -273,6 +283,11 @@ void Dialog_Export::on_dialog_accepted()
|
|||
saveCfgValue("export", "exportType", exportType);
|
||||
saveCfgValue("export", "saveAsMulti", ui->check_saveAsMulti->isChecked());
|
||||
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
int ocrLanguage = ui->comboBox_ocrType->currentIndex();
|
||||
saveCfgValue("export", "ocrLanguage", ocrLanguage);
|
||||
#endif
|
||||
|
||||
accept();
|
||||
}
|
||||
|
||||
|
@ -281,6 +296,12 @@ void Dialog_Export::on_filterSelected(const QString& filterName)
|
|||
bool enabled = false;
|
||||
|
||||
m_suffix = ui->fileDialog->nameFilters().indexOf(filterName);
|
||||
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
ui->label_ocrType->setVisible(isOcr());
|
||||
ui->comboBox_ocrType->setVisible(isOcr());
|
||||
#endif
|
||||
|
||||
enabled = (m_supportType[m_suffix].attr & FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES) == FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES;
|
||||
ui->check_saveAsMulti->setEnabled(enabled);
|
||||
// ui->check_saveAsMulti->setEnabled(m_suffix > 2 && m_suffix < 6);
|
||||
|
|
|
@ -13,148 +13,169 @@
|
|||
<property name="windowTitle">
|
||||
<string>Export</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,0,0">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="1,0">
|
||||
<item>
|
||||
<widget class="QFileDialog" name="fileDialog" native="true"/>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="gbox_pageRange">
|
||||
<property name="title">
|
||||
<string>Page Range</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="gbox_pageRange">
|
||||
<property name="title">
|
||||
<string>Page Range</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_nominatedPages">
|
||||
<property name="text">
|
||||
<string>Nominate Pages(example:1,3,6 or 3-6)</string>
|
||||
</property>
|
||||
</widget>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_nominatedPages">
|
||||
<property name="text">
|
||||
<string>Nominate Pages(example:1,3,6 or 3-6)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_chosenPages">
|
||||
<property name="text">
|
||||
<string>Chosen Pages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_allPages">
|
||||
<property name="text">
|
||||
<string>All Pages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_chosenPages">
|
||||
<property name="text">
|
||||
<string>Chosen Pages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radio_allPages">
|
||||
<property name="text">
|
||||
<string>All Pages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,1,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="lab_nominatePages">
|
||||
<property name="text">
|
||||
<string>Page:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit_nominatePages"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lab_warning">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 0, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,1,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="lab_nominatePages">
|
||||
<property name="text">
|
||||
<string>Page:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit_nominatePages"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lab_warning">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(216, 0, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>
|
||||
Input is not valid.
|
||||
Page range will be "Chosen Pages".
|
||||
</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="check_saveAsMulti">
|
||||
<property name="text">
|
||||
<string>Save as multipages (TIFF/PDF/OFD/GIF)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_option">
|
||||
<property name="text">
|
||||
<string>Compression Option</string>
|
||||
</property>
|
||||
</widget>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="check_saveAsMulti">
|
||||
<property name="text">
|
||||
<string>Save as multipages (TIFF/PDF/OFD/GIF)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_ocrType">
|
||||
<property name="text">
|
||||
<string>Ocr type:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBox_ocrType">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>111</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_option">
|
||||
<property name="text">
|
||||
<string>Compression Option</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <QMessageBox>
|
||||
#include <QFile>
|
||||
#include "ocrPdf.h"
|
||||
#include "app_cfg.h"
|
||||
|
||||
Dialog_ExportImageFile::Dialog_ExportImageFile(const QString &destPath, const QString &destName, const QString &destExt,
|
||||
bool isSaveAsMulti, int jpegQuality, int tiffCompressionBW, int tiffCompression, int tiffQuality, bool isOcr,
|
||||
|
@ -116,7 +117,7 @@ void HGAPI Dialog_ExportImageFile::ThreadFunc(HGThread thread, HGPointer param)
|
|||
|
||||
HGImgFmt_CloseImageWriter(writer);
|
||||
|
||||
bool result = createOcrPdf(tmpFileName, getStdString(fileName).c_str());
|
||||
bool result = createOcrPdf(tmpFileName, getStdString(fileName).c_str(), getCfgValue("export", "ocrLanguage", 0));
|
||||
QFile::remove(tmpFileName);
|
||||
if (!result)
|
||||
{
|
||||
|
|
|
@ -107,6 +107,17 @@ Dialog_SaveAs::Dialog_SaveAs(QWidget *parent) :
|
|||
ui->cbox_subFolder->setChecked(false);
|
||||
|
||||
ui->cbox_subFolder->setChecked(getCfgValue("saveAs", "subFolderByTime", false));
|
||||
|
||||
ui->label_ocrType->setVisible(false);
|
||||
ui->comboBox_ocrType->setVisible(false);
|
||||
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
ui->label_ocrType->setVisible(isOcr());
|
||||
ui->comboBox_ocrType->setVisible(isOcr());
|
||||
QStringList ocrType = { tr("English"), tr("Simplified Chinese"), tr("Traditional Chinese"), tr("Japanese"), tr("Korean") };
|
||||
ui->comboBox_ocrType->addItems(ocrType);
|
||||
ui->comboBox_ocrType->setCurrentIndex(getCfgValue("saveAs", "ocrLanguage", 0));
|
||||
#endif
|
||||
}
|
||||
|
||||
Dialog_SaveAs::~Dialog_SaveAs()
|
||||
|
@ -224,6 +235,11 @@ void Dialog_SaveAs::on_dialog_accepted()
|
|||
m_savePath = getStdFileName(path + "/" + name + extName);
|
||||
}
|
||||
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
int ocrLanguage = ui->comboBox_ocrType->currentIndex();
|
||||
saveCfgValue("saveAs", "ocrLanguage", ocrLanguage);
|
||||
#endif
|
||||
|
||||
saveCfgValue("saveAs", "suffix", m_suffix);
|
||||
saveCfgValue("saveAs", "subFolderByTime", ui->cbox_subFolder->isChecked());
|
||||
accept();
|
||||
|
@ -233,6 +249,11 @@ void Dialog_SaveAs::on_filterSelected(const QString& filterName)
|
|||
{
|
||||
m_suffix = ui->fileDialog->nameFilters().indexOf(filterName);
|
||||
ui->btn_option->setEnabled(0 == m_suffix || 6 == m_suffix);
|
||||
|
||||
#if defined(OEM_ZHONGJING) && defined(HG_CMP_MSC)
|
||||
ui->label_ocrType->setVisible(isOcr());
|
||||
ui->comboBox_ocrType->setVisible(isOcr());
|
||||
#endif
|
||||
}
|
||||
|
||||
void Dialog_SaveAs::on_btn_option_clicked()
|
||||
|
|
|
@ -33,6 +33,23 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_ocrType">
|
||||
<property name="text">
|
||||
<string>Ocr type:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBox_ocrType">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>101</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
|
|
|
@ -435,7 +435,7 @@ HGResult MainWindow::saveImage(HGImage image, const HGImgFmtSaveInfo* info, bool
|
|||
HGChar tmpFileName[256];
|
||||
HGBase_GetTmpFileName("bmp", tmpFileName, 256);
|
||||
ret = HGImgFmt_SaveImage(image, 0, info, tmpFileName);
|
||||
bool result = createOcrPdf(tmpFileName, fileName);
|
||||
bool result = createOcrPdf(tmpFileName, fileName, getCfgValue("saveAs", "ocrLanguage", 0));
|
||||
QFile::remove(tmpFileName);
|
||||
return (result) ? HGBASE_ERR_OK : HGIMGPROC_ERR_OCR;
|
||||
#else
|
||||
|
|
|
@ -32,7 +32,7 @@ std::string getOcrPath()
|
|||
return ocrPath;
|
||||
}
|
||||
|
||||
bool createOcrPdf(const std::string &imgPath, const std::string &dstFile)
|
||||
bool createOcrPdf(const std::string &imgPath, const std::string &dstFile, int languageType)
|
||||
{
|
||||
#ifdef HG_CMP_MSC
|
||||
std::string ocrPath = getOcrPath();
|
||||
|
@ -93,7 +93,28 @@ bool createOcrPdf(const std::string &imgPath, const std::string &dstFile)
|
|||
|
||||
bool ret = false;
|
||||
char cmd[1024] = {0};
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "eng", 3, 3, "pdf");
|
||||
|
||||
if (0 == languageType)
|
||||
{
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "eng", 3, 3, "pdf");
|
||||
}
|
||||
else if (1 == languageType)
|
||||
{
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "chi_sim", 3, 3, "pdf");
|
||||
}
|
||||
else if (2 == languageType)
|
||||
{
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "chi_tra", 3, 3, "pdf");
|
||||
}
|
||||
else if (3 == languageType)
|
||||
{
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "jpn", 3, 3, "pdf");
|
||||
}
|
||||
else if (4 == languageType)
|
||||
{
|
||||
sprintf(cmd, "tesseract.exe \"%s\" \"%s\" -l %s --psm %d --oem %d %s", imgPath.c_str(), prefix, "kor", 3, 3, "pdf");
|
||||
}
|
||||
|
||||
BOOL b = CreateProcessA(NULL, cmd, NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &StartupInfo, &ProcessInfo);
|
||||
if (b)
|
||||
{
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
#include <string>
|
||||
|
||||
std::string getOcrPath();
|
||||
bool createOcrPdf(const std::string &imgPath, const std::string &dstFile);
|
||||
bool createOcrPdf(const std::string &imgPath, const std::string &dstFile, int languageType);//languageType is the index of the comboBox on export and save_as ui.
|
||||
|
||||
#endif /* __OCRPDF_H__ */
|
||||
|
|
Loading…
Reference in New Issue