添加设备日志和驱动日志

This commit is contained in:
yangjiaxuan 2023-05-17 18:29:08 +08:00
parent 5423b3da3f
commit 02e9a1b5ec
12 changed files with 397 additions and 327 deletions

Binary file not shown.

View File

@ -2065,7 +2065,7 @@ bug description:
</message>
<message>
<location filename="mainwindow.ui" line="302"/>
<location filename="mainwindow.cpp" line="156"/>
<location filename="mainwindow.cpp" line="153"/>
<source>act_acquireInto</source>
<translation>...</translation>
</message>
@ -2295,48 +2295,48 @@ bug description:
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="128"/>
<location filename="mainwindow.cpp" line="125"/>
<source>HuaGoScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="308"/>
<location filename="mainwindow.cpp" line="305"/>
<source>Grid</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="313"/>
<location filename="mainwindow.cpp" line="310"/>
<source>Move To...</source>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="317"/>
<location filename="mainwindow.cpp" line="314"/>
<source>Insert files</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="336"/>
<location filename="mainwindow.cpp" line="337"/>
<location filename="mainwindow.cpp" line="333"/>
<location filename="mainwindow.cpp" line="334"/>
<source>nodevice</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="794"/>
<location filename="mainwindow.cpp" line="1499"/>
<location filename="mainwindow.cpp" line="1522"/>
<location filename="mainwindow.cpp" line="2313"/>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="793"/>
<location filename="mainwindow.cpp" line="1492"/>
<location filename="mainwindow.cpp" line="1515"/>
<location filename="mainwindow.cpp" line="2306"/>
<location filename="mainwindow.cpp" line="2603"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1500"/>
<location filename="mainwindow.cpp" line="1493"/>
<source>modified, save it?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="795"/>
<location filename="mainwindow.cpp" line="794"/>
<source>file lost, remove it?</source>
<translation></translation>
</message>
@ -2361,17 +2361,17 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1518"/>
<location filename="mainwindow.cpp" line="1511"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1519"/>
<location filename="mainwindow.cpp" line="1512"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1523"/>
<location filename="mainwindow.cpp" line="1516"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
@ -2386,12 +2386,12 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1746"/>
<location filename="mainwindow.cpp" line="1739"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1757"/>
<location filename="mainwindow.cpp" line="1750"/>
<source>Insert images</source>
<translation></translation>
</message>
@ -2404,17 +2404,17 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1108"/>
<location filename="mainwindow.cpp" line="1107"/>
<source>binary</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1110"/>
<location filename="mainwindow.cpp" line="1109"/>
<source>gray</source>
<translation>256</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1112"/>
<location filename="mainwindow.cpp" line="1111"/>
<source>rgb</source>
<translation>24</translation>
</message>
@ -2423,200 +2423,200 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="120"/>
<location filename="mainwindow.cpp" line="117"/>
<source>UniScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="124"/>
<location filename="mainwindow.cpp" line="121"/>
<source>Scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="3513"/>
<location filename="mainwindow.cpp" line="676"/>
<location filename="mainwindow.cpp" line="3517"/>
<source>default scheme</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1249"/>
<location filename="mainwindow.cpp" line="1242"/>
<source>thumbnailBar enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1253"/>
<location filename="mainwindow.cpp" line="1246"/>
<source>thumbnailBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1521"/>
<location filename="mainwindow.cpp" line="1514"/>
<source>cancel</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1964"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2104"/>
<location filename="mainwindow.cpp" line="1957"/>
<location filename="mainwindow.cpp" line="2021"/>
<location filename="mainwindow.cpp" line="2097"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1975"/>
<location filename="mainwindow.cpp" line="2115"/>
<location filename="mainwindow.cpp" line="1968"/>
<location filename="mainwindow.cpp" line="2108"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2255"/>
<source>Not supported</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2290"/>
<location filename="mainwindow.cpp" line="2283"/>
<source>Warning</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2290"/>
<location filename="mainwindow.cpp" line="2283"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2764"/>
<location filename="mainwindow.cpp" line="2769"/>
<source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2765"/>
<location filename="mainwindow.cpp" line="2770"/>
<source>&lt;p&gt;Vendor: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2766"/>
<location filename="mainwindow.cpp" line="2771"/>
<source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2767"/>
<location filename="mainwindow.cpp" line="2772"/>
<source>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</source>
<translation>&lt;p&gt;: &lt;a href=%1&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2768"/>
<location filename="mainwindow.cpp" line="2773"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2769"/>
<location filename="mainwindow.cpp" line="2774"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2770"/>
<location filename="mainwindow.cpp" line="2775"/>
<source>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</source>
<translation>&lt;p&gt;: &lt;a href=%1&gt;%2&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2770"/>
<location filename="mainwindow.cpp" line="2775"/>
<source>Baidu map access</source>
<translation>访</translation>
</message>
@ -2633,7 +2633,7 @@ Please finish scanning first.</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3771"/>
<location filename="mainwindow.cpp" line="3769"/>
<source>Device %1 is open</source>
<translation> %1 </translation>
</message>
@ -2642,70 +2642,70 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3317"/>
<location filename="mainwindow.cpp" line="3321"/>
<source>cache path folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3321"/>
<location filename="mainwindow.cpp" line="3325"/>
<source>aquireinto folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3405"/>
<location filename="mainwindow.cpp" line="3409"/>
<source>Image processing failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3409"/>
<location filename="mainwindow.cpp" line="3413"/>
<source>Ocr init failed</source>
<translation>OCR初始化错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3413"/>
<location filename="mainwindow.cpp" line="3417"/>
<source>Ocr failed</source>
<translation>OCR错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3417"/>
<location filename="mainwindow.cpp" line="3421"/>
<source>File does not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3421"/>
<location filename="mainwindow.cpp" line="3425"/>
<source>Failed to load dynamic library</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3425"/>
<location filename="mainwindow.cpp" line="3429"/>
<source>File data error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3429"/>
<location filename="mainwindow.cpp" line="3433"/>
<source>Image format processing error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3433"/>
<location filename="mainwindow.cpp" line="3437"/>
<source>Out of memory</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3437"/>
<location filename="mainwindow.cpp" line="3441"/>
<source>Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3691"/>
<location filename="mainwindow.cpp" line="3710"/>
<location filename="mainwindow.cpp" line="3690"/>
<location filename="mainwindow.cpp" line="3709"/>
<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="3748"/>
<location filename="mainwindow.cpp" line="3747"/>
<source>Are you sure to delete selected file?</source>
<translation></translation>
</message>
@ -2723,7 +2723,7 @@ Please finish scanning first.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3401"/>
<location filename="mainwindow.cpp" line="3405"/>
<source>Insufficient access rights</source>
<translation>访</translation>
</message>
@ -2748,26 +2748,28 @@ Please finish scanning first.</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3629"/>
<location filename="mainwindow.cpp" line="3633"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3629"/>
<location filename="mainwindow.cpp" line="3633"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3655"/>
<location filename="mainwindow.cpp" line="3671"/>
<source>The device does not support this operation</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
<message>
<source>IO error</source>
<translation type="vanished">IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3286"/>
<location filename="mainwindow.cpp" line="3324"/>
<location filename="mainwindow.cpp" line="3290"/>
<location filename="mainwindow.cpp" line="3328"/>
<source>error</source>
<translation></translation>
</message>
@ -2782,7 +2784,7 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2600"/>
<location filename="mainwindow.cpp" line="2604"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
@ -2848,51 +2850,51 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<location filename="mainwindow.cpp" line="662"/>
<location filename="mainwindow.cpp" line="2821"/>
<location filename="mainwindow.cpp" line="2822"/>
<location filename="mainwindow.cpp" line="2867"/>
<location filename="mainwindow.cpp" line="2868"/>
<location filename="mainwindow.cpp" line="2932"/>
<location filename="mainwindow.cpp" line="2933"/>
<location filename="mainwindow.cpp" line="2993"/>
<location filename="mainwindow.cpp" line="2994"/>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2827"/>
<location filename="mainwindow.cpp" line="2871"/>
<location filename="mainwindow.cpp" line="2872"/>
<location filename="mainwindow.cpp" line="2936"/>
<location filename="mainwindow.cpp" line="2937"/>
<location filename="mainwindow.cpp" line="2997"/>
<location filename="mainwindow.cpp" line="2998"/>
<source>start failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="104"/>
<location filename="mainwindow.cpp" line="101"/>
<source>HanvonScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="108"/>
<location filename="mainwindow.cpp" line="105"/>
<source>LanxumScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="112"/>
<location filename="mainwindow.cpp" line="109"/>
<source>CumtennScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="116"/>
<location filename="mainwindow.cpp" line="113"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="182"/>
<location filename="mainwindow.cpp" line="179"/>
<source>menu_language</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="183"/>
<location filename="mainwindow.cpp" line="180"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="184"/>
<location filename="mainwindow.cpp" line="181"/>
<source>act_English</source>
<translation>English</translation>
</message>
@ -2907,47 +2909,47 @@ Continue to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="536"/>
<location filename="mainwindow.cpp" line="535"/>
<source>statusBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="540"/>
<location filename="mainwindow.cpp" line="539"/>
<source>statusBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="549"/>
<location filename="mainwindow.cpp" line="548"/>
<source>toolBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="553"/>
<location filename="mainwindow.cpp" line="552"/>
<source>toolBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="562"/>
<location filename="mainwindow.cpp" line="561"/>
<source>colorInfo enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="565"/>
<source>colorInfo disenabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="599"/>
<location filename="mainwindow.cpp" line="598"/>
<source>enabling automatic saving</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="602"/>
<source>cancel auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="728"/>
<location filename="mainwindow.cpp" line="727"/>
<source>Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-&gt; automatically save</source>
<translation>-&gt;</translation>
</message>
@ -2976,13 +2978,13 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1006"/>
<location filename="mainwindow.cpp" line="1005"/>
<source>save image failed: </source>
<translation> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1039"/>
<location filename="mainwindow.cpp" line="1120"/>
<location filename="mainwindow.cpp" line="1038"/>
<location filename="mainwindow.cpp" line="1119"/>
<source>create savepath failed: </source>
<translation> </translation>
</message>
@ -2991,17 +2993,17 @@ Continue to close?</source>
<translation type="vanished">%1%2%3.%4</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1062"/>
<location filename="mainwindow.cpp" line="1061"/>
<source>create image doc failed: </source>
<translation> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1969"/>
<location filename="mainwindow.cpp" line="1970"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2109"/>
<location filename="mainwindow.cpp" line="2110"/>
<location filename="mainwindow.cpp" line="1962"/>
<location filename="mainwindow.cpp" line="1963"/>
<location filename="mainwindow.cpp" line="2026"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2102"/>
<location filename="mainwindow.cpp" line="2103"/>
<source>save image doc failed: </source>
<translation> </translation>
</message>
@ -3040,17 +3042,17 @@ Continue to close?</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3101"/>
<location filename="mainwindow.cpp" line="3105"/>
<source>Detected that there is less than 1GB of disk space. Do you want to continue?</source>
<translation>1GB?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3287"/>
<location filename="mainwindow.cpp" line="3291"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2314"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
@ -3060,55 +3062,63 @@ Are you sure to close?</source>
<translation type="vanished"> : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1964"/>
<location filename="mainwindow.cpp" line="1969"/>
<location filename="mainwindow.cpp" line="1975"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2104"/>
<location filename="mainwindow.cpp" line="2109"/>
<location filename="mainwindow.cpp" line="2115"/>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2325"/>
<location filename="mainwindow.cpp" line="3101"/>
<location filename="mainwindow.cpp" line="3690"/>
<location filename="mainwindow.cpp" line="3709"/>
<location filename="mainwindow.cpp" line="3748"/>
<location filename="mainwindow.cpp" line="1957"/>
<location filename="mainwindow.cpp" line="1962"/>
<location filename="mainwindow.cpp" line="1968"/>
<location filename="mainwindow.cpp" line="2021"/>
<location filename="mainwindow.cpp" line="2026"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2102"/>
<location filename="mainwindow.cpp" line="2108"/>
<location filename="mainwindow.cpp" line="2132"/>
<location filename="mainwindow.cpp" line="2318"/>
<location filename="mainwindow.cpp" line="2667"/>
<location filename="mainwindow.cpp" line="2671"/>
<location filename="mainwindow.cpp" line="3105"/>
<location filename="mainwindow.cpp" line="3655"/>
<location filename="mainwindow.cpp" line="3671"/>
<location filename="mainwindow.cpp" line="3689"/>
<location filename="mainwindow.cpp" line="3708"/>
<location filename="mainwindow.cpp" line="3747"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2326"/>
<location filename="mainwindow.cpp" line="2319"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2655"/>
<source>confirm operation</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2656"/>
<source>are you sure to clear the roller count?</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
<message>
<source>hint</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2667"/>
<source>Roller scanned count has been set to 0.</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2671"/>
<source>Roller scanned count reset failed.</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2742"/>
<location filename="mainwindow.cpp" line="2747"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2742"/>
<location filename="mainwindow.cpp" line="2747"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -3149,7 +3159,7 @@ Are you sure to close?</source>
<translation type="vanished">&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;: %2&lt;br&gt;: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2762"/>
<location filename="mainwindow.cpp" line="2767"/>
<source>about %1</source>
<translation> %1</translation>
</message>

Binary file not shown.

View File

@ -1924,7 +1924,7 @@ Please make sure the two passwords are the same.</source>
</message>
<message>
<location filename="mainwindow.ui" line="302"/>
<location filename="mainwindow.cpp" line="156"/>
<location filename="mainwindow.cpp" line="153"/>
<source>act_acquireInto</source>
<translation>Scan to...</translation>
</message>
@ -2154,63 +2154,63 @@ Please make sure the two passwords are the same.</source>
<translation>Select device source...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="104"/>
<location filename="mainwindow.cpp" line="101"/>
<source>HanvonScan</source>
<translation>Hanvon scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="108"/>
<location filename="mainwindow.cpp" line="105"/>
<source>LanxumScan</source>
<translation>LANXUM scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="112"/>
<location filename="mainwindow.cpp" line="109"/>
<source>CumtennScan</source>
<translation>CUMTENN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="116"/>
<location filename="mainwindow.cpp" line="113"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX V1.0</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="128"/>
<location filename="mainwindow.cpp" line="125"/>
<source>HuaGoScan</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="182"/>
<location filename="mainwindow.cpp" line="179"/>
<source>menu_language</source>
<translation>Language</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="183"/>
<location filename="mainwindow.cpp" line="180"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="184"/>
<location filename="mainwindow.cpp" line="181"/>
<source>act_English</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="308"/>
<location filename="mainwindow.cpp" line="305"/>
<source>Grid</source>
<translation>Multi-column display</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="313"/>
<location filename="mainwindow.cpp" line="310"/>
<source>Move To...</source>
<translation>Move to...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="317"/>
<location filename="mainwindow.cpp" line="314"/>
<source>Insert files</source>
<translation>Insert file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="336"/>
<location filename="mainwindow.cpp" line="337"/>
<location filename="mainwindow.cpp" line="333"/>
<location filename="mainwindow.cpp" line="334"/>
<source>nodevice</source>
<translation>No scanner detected</translation>
</message>
@ -2225,61 +2225,61 @@ Please make sure the two passwords are the same.</source>
<translation>Do not show prompt and save the edited images directly when switching images.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="536"/>
<location filename="mainwindow.cpp" line="535"/>
<source>statusBar displayed</source>
<translation>Show status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="540"/>
<location filename="mainwindow.cpp" line="539"/>
<source>statusBar hidden</source>
<translation>Hide status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="549"/>
<location filename="mainwindow.cpp" line="548"/>
<source>toolBar displayed</source>
<translation>Show toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="553"/>
<location filename="mainwindow.cpp" line="552"/>
<source>toolBar hidden</source>
<translation>Hide toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="562"/>
<location filename="mainwindow.cpp" line="561"/>
<source>colorInfo enabled</source>
<translation>Enable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="565"/>
<source>colorInfo disenabled</source>
<translation>Disable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="599"/>
<location filename="mainwindow.cpp" line="598"/>
<source>enabling automatic saving</source>
<translation>Enable auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="603"/>
<location filename="mainwindow.cpp" line="602"/>
<source>cancel auto save</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="728"/>
<location filename="mainwindow.cpp" line="727"/>
<source>Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-&gt; automatically save</source>
<translation>Save edited images automatically when switching images. If you want to cancel, please deselect the menu item: Auto save images.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="794"/>
<location filename="mainwindow.cpp" line="1499"/>
<location filename="mainwindow.cpp" line="1522"/>
<location filename="mainwindow.cpp" line="2313"/>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="793"/>
<location filename="mainwindow.cpp" line="1492"/>
<location filename="mainwindow.cpp" line="1515"/>
<location filename="mainwindow.cpp" line="2306"/>
<location filename="mainwindow.cpp" line="2603"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1500"/>
<location filename="mainwindow.cpp" line="1493"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
@ -2296,7 +2296,7 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="795"/>
<location filename="mainwindow.cpp" line="794"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2330,68 +2330,68 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1006"/>
<location filename="mainwindow.cpp" line="1005"/>
<source>save image failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1039"/>
<location filename="mainwindow.cpp" line="1120"/>
<location filename="mainwindow.cpp" line="1038"/>
<location filename="mainwindow.cpp" line="1119"/>
<source>create savepath failed: </source>
<translation>Failed to create folder: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1062"/>
<location filename="mainwindow.cpp" line="1061"/>
<source>create image doc failed: </source>
<translation>Failed to create image file: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1969"/>
<location filename="mainwindow.cpp" line="1970"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2109"/>
<location filename="mainwindow.cpp" line="2110"/>
<location filename="mainwindow.cpp" line="1962"/>
<location filename="mainwindow.cpp" line="1963"/>
<location filename="mainwindow.cpp" line="2026"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2102"/>
<location filename="mainwindow.cpp" line="2103"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1108"/>
<location filename="mainwindow.cpp" line="1107"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1110"/>
<location filename="mainwindow.cpp" line="1109"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1112"/>
<location filename="mainwindow.cpp" line="1111"/>
<source>rgb</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="661"/>
<location filename="mainwindow.cpp" line="662"/>
<location filename="mainwindow.cpp" line="2821"/>
<location filename="mainwindow.cpp" line="2822"/>
<location filename="mainwindow.cpp" line="2867"/>
<location filename="mainwindow.cpp" line="2868"/>
<location filename="mainwindow.cpp" line="2932"/>
<location filename="mainwindow.cpp" line="2933"/>
<location filename="mainwindow.cpp" line="2993"/>
<location filename="mainwindow.cpp" line="2994"/>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2827"/>
<location filename="mainwindow.cpp" line="2871"/>
<location filename="mainwindow.cpp" line="2872"/>
<location filename="mainwindow.cpp" line="2936"/>
<location filename="mainwindow.cpp" line="2937"/>
<location filename="mainwindow.cpp" line="2997"/>
<location filename="mainwindow.cpp" line="2998"/>
<source>start failed</source>
<translation>Failed to start</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="120"/>
<location filename="mainwindow.cpp" line="117"/>
<source>UniScan</source>
<translation>UNI scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="3513"/>
<location filename="mainwindow.cpp" line="676"/>
<location filename="mainwindow.cpp" line="3517"/>
<source>default scheme</source>
<translation>Default scheme</translation>
</message>
@ -2400,7 +2400,7 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Please wake up the device manually</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="124"/>
<location filename="mainwindow.cpp" line="121"/>
<source>Scan</source>
<translation>Scanning software</translation>
</message>
@ -2409,243 +2409,247 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1249"/>
<location filename="mainwindow.cpp" line="1242"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1253"/>
<location filename="mainwindow.cpp" line="1246"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1518"/>
<location filename="mainwindow.cpp" line="1511"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1519"/>
<location filename="mainwindow.cpp" line="1512"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1521"/>
<location filename="mainwindow.cpp" line="1514"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1523"/>
<location filename="mainwindow.cpp" line="1516"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>Image already exists in the list of images.
Clear?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1746"/>
<location filename="mainwindow.cpp" line="1739"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1757"/>
<location filename="mainwindow.cpp" line="1750"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1964"/>
<location filename="mainwindow.cpp" line="1969"/>
<location filename="mainwindow.cpp" line="1975"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2104"/>
<location filename="mainwindow.cpp" line="2109"/>
<location filename="mainwindow.cpp" line="2115"/>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2325"/>
<location filename="mainwindow.cpp" line="3101"/>
<location filename="mainwindow.cpp" line="3690"/>
<location filename="mainwindow.cpp" line="3709"/>
<location filename="mainwindow.cpp" line="3748"/>
<location filename="mainwindow.cpp" line="1957"/>
<location filename="mainwindow.cpp" line="1962"/>
<location filename="mainwindow.cpp" line="1968"/>
<location filename="mainwindow.cpp" line="2021"/>
<location filename="mainwindow.cpp" line="2026"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2102"/>
<location filename="mainwindow.cpp" line="2108"/>
<location filename="mainwindow.cpp" line="2132"/>
<location filename="mainwindow.cpp" line="2318"/>
<location filename="mainwindow.cpp" line="2667"/>
<location filename="mainwindow.cpp" line="2671"/>
<location filename="mainwindow.cpp" line="3105"/>
<location filename="mainwindow.cpp" line="3655"/>
<location filename="mainwindow.cpp" line="3671"/>
<location filename="mainwindow.cpp" line="3689"/>
<location filename="mainwindow.cpp" line="3708"/>
<location filename="mainwindow.cpp" line="3747"/>
<source>tips</source>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1964"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2104"/>
<location filename="mainwindow.cpp" line="1957"/>
<location filename="mainwindow.cpp" line="2021"/>
<location filename="mainwindow.cpp" line="2097"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1975"/>
<location filename="mainwindow.cpp" line="2115"/>
<location filename="mainwindow.cpp" line="1968"/>
<location filename="mainwindow.cpp" line="2108"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2132"/>
<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="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2201"/>
<location filename="mainwindow.cpp" line="2194"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2237"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2258"/>
<location filename="mainwindow.cpp" line="2251"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2255"/>
<source>Not supported</source>
<translation>Not supported</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2290"/>
<location filename="mainwindow.cpp" line="2283"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2290"/>
<location filename="mainwindow.cpp" line="2283"/>
<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="2314"/>
<location filename="mainwindow.cpp" line="2307"/>
<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="2326"/>
<location filename="mainwindow.cpp" line="2319"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2600"/>
<location filename="mainwindow.cpp" line="2604"/>
<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="2764"/>
<location filename="mainwindow.cpp" line="2769"/>
<source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;VerSion: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2765"/>
<location filename="mainwindow.cpp" line="2770"/>
<source>&lt;p&gt;Vendor: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Vendor: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2766"/>
<location filename="mainwindow.cpp" line="2771"/>
<source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2767"/>
<location filename="mainwindow.cpp" line="2772"/>
<source>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2768"/>
<location filename="mainwindow.cpp" line="2773"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company address: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2769"/>
<location filename="mainwindow.cpp" line="2774"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company telephone: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2770"/>
<location filename="mainwindow.cpp" line="2775"/>
<source>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</source>
<translation>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2770"/>
<location filename="mainwindow.cpp" line="2775"/>
<source>Baidu map access</source>
<translation>Baidu map access</translation>
</message>
@ -2696,42 +2700,46 @@ Are you sure to close?</source>
<translation type="vanished">Total count: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3101"/>
<location filename="mainwindow.cpp" line="3105"/>
<source>Detected that there is less than 1GB of disk space. Do you want to continue?</source>
<translation>Detected that there is less than 1GB of disk space. Do you want to continue?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3771"/>
<location filename="mainwindow.cpp" line="3769"/>
<source>Device %1 is open</source>
<translation>Device %1 is open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2655"/>
<source>confirm operation</source>
<translation type="vanished">Confirm operation</translation>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2656"/>
<source>are you sure to clear the roller count?</source>
<translation type="vanished">Are you sure you want to clear the roller count?</translation>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
<message>
<source>hint</source>
<translation type="vanished">Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2667"/>
<source>Roller scanned count has been set to 0.</source>
<translation type="vanished">Roller count reset to zero.</translation>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2671"/>
<source>Roller scanned count reset failed.</source>
<translation type="vanished">Failed to reset roller count.</translation>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2742"/>
<location filename="mainwindow.cpp" line="2747"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2742"/>
<location filename="mainwindow.cpp" line="2747"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation>File lost! File may be deleted or renamed.</translation>
</message>
@ -2748,13 +2756,13 @@ Are you sure to close?</source>
<translation type="vanished">About</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3317"/>
<location filename="mainwindow.cpp" line="3321"/>
<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="3321"/>
<location filename="mainwindow.cpp" line="3325"/>
<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>
@ -2768,7 +2776,7 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;Version: %2&lt;br&gt;Copyright: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2762"/>
<location filename="mainwindow.cpp" line="2767"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
@ -2813,13 +2821,13 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3286"/>
<location filename="mainwindow.cpp" line="3324"/>
<location filename="mainwindow.cpp" line="3290"/>
<location filename="mainwindow.cpp" line="3328"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3287"/>
<location filename="mainwindow.cpp" line="3291"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
@ -2829,52 +2837,52 @@ 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="3401"/>
<location filename="mainwindow.cpp" line="3405"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3405"/>
<location filename="mainwindow.cpp" line="3409"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3409"/>
<location filename="mainwindow.cpp" line="3413"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3413"/>
<location filename="mainwindow.cpp" line="3417"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3417"/>
<location filename="mainwindow.cpp" line="3421"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3421"/>
<location filename="mainwindow.cpp" line="3425"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3425"/>
<location filename="mainwindow.cpp" line="3429"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3429"/>
<location filename="mainwindow.cpp" line="3433"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3433"/>
<location filename="mainwindow.cpp" line="3437"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3437"/>
<location filename="mainwindow.cpp" line="3441"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
@ -2895,31 +2903,33 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
<translation type="vanished">Close </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3629"/>
<location filename="mainwindow.cpp" line="3633"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3629"/>
<location filename="mainwindow.cpp" line="3633"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3655"/>
<location filename="mainwindow.cpp" line="3671"/>
<source>The device does not support this operation</source>
<translation type="vanished">Device does not support this operation</translation>
<translation>Device does not support this operation</translation>
</message>
<message>
<source>IO error</source>
<translation type="vanished">IO error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3691"/>
<location filename="mainwindow.cpp" line="3710"/>
<location filename="mainwindow.cpp" line="3690"/>
<location filename="mainwindow.cpp" line="3709"/>
<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="3748"/>
<location filename="mainwindow.cpp" line="3747"/>
<source>Are you sure to delete selected file?</source>
<translation>Are you sure to delete the selected file completely?</translation>
</message>

View File

@ -90,11 +90,14 @@ HGResult DeviceUser::ClearRollerCount()
return HGTwain_ClearDSRollerCount(m_twainDS);
}
QString DeviceUser::GetDriverLogPath()
QString DeviceUser::GetDriverLog()
{
HGChar driverLogPath[256];
HGTwain_GetDSDriverLogPath(m_twainDS, driverLogPath, 256);
return getStdFileName(driverLogPath);
HGChar driverLogPath[256] = { "D:\\123\\driver-log.txt" };
HGResult ret = HGTwain_GetDSDriverLog(m_twainDS, driverLogPath);
if (ret == HGBASE_ERR_OK)
return driverLogPath;
return "";
}
HGResult DeviceUser::ClearDriverLog()
@ -102,11 +105,14 @@ HGResult DeviceUser::ClearDriverLog()
return HGTwain_ClearDSDriverLog(m_twainDS);
}
QString DeviceUser::GetDeviceLogPath()
QString DeviceUser::GetDeviceLog()
{
HGChar deviceLogPath[256];
HGTwain_GetDSDriverLogPath(m_twainDS, deviceLogPath, 256);
return getStdFileName(deviceLogPath);
HGChar deviceLogPath[256] = { "D:\\123\\device-log.txt" };
HGResult ret = HGTwain_GetDSDeviceLog(m_twainDS, deviceLogPath);
if (ret == HGBASE_ERR_OK)
return deviceLogPath;
return "";
}
HGResult DeviceUser::ClearDeviceLog()

View File

@ -45,9 +45,9 @@ public:
HGResult Login();
HGResult Logout();
HGResult ClearRollerCount();
QString GetDriverLogPath();
QString GetDriverLog();
HGResult ClearDriverLog();
QString GetDeviceLogPath();
QString GetDeviceLog();
HGResult ClearDeviceLog();
private:

View File

@ -3645,7 +3645,7 @@ void MainWindow::on_act_driver_log_triggered()
{
if (m_devUser != nullptr)
{
QString driverLogPath = m_devUser->GetDriverLogPath();
QString driverLogPath = m_devUser->GetDriverLog();
if (!driverLogPath.isEmpty())
{
QDesktopServices::openUrl(QUrl::fromLocalFile(driverLogPath));
@ -3661,7 +3661,7 @@ void MainWindow::on_act_device_log_triggered()
{
if (m_devUser != nullptr)
{
QString deviceLogPath = m_devUser->GetDeviceLogPath();
QString deviceLogPath = m_devUser->GetDeviceLog();
if (!deviceLogPath.isEmpty())
{
QDesktopServices::openUrl(QUrl::fromLocalFile(deviceLogPath));

View File

@ -17,9 +17,9 @@ HGTwain_GetDSDeviceCustomInfo
HGTwain_LoginDS
HGTwain_LogoutDS
HGTwain_ClearDSRollerCount
HGTwain_GetDSDriverLogPath
HGTwain_GetDSDriverLog
HGTwain_ClearDSDriverLog
HGTwain_GetDSDeviceLogPath
HGTwain_GetDSDeviceLog
HGTwain_ClearDSDeviceLog
HGTwain_EnableDSUIOnly
HGTwain_EnableDS

View File

@ -213,7 +213,7 @@ HGResult HGAPI HGTwain_ClearDSRollerCount(HGTwainDS ds)
return twainDSImpl->ClearRollerCount();
}
HGResult HGAPI HGTwain_GetDSDriverLogPath(HGTwainDS ds, HGChar *path, HGUInt maxLen)
HGResult HGAPI HGTwain_GetDSDriverLog(HGTwainDS ds, const HGChar *fileName)
{
if (NULL == ds)
{
@ -221,7 +221,7 @@ HGResult HGAPI HGTwain_GetDSDriverLogPath(HGTwainDS ds, HGChar *path, HGUInt max
}
HGTwainDSImpl* twainDSImpl = (HGTwainDSImpl*)ds;
return twainDSImpl->GetDriverLogPath(path, maxLen);
return twainDSImpl->GetDriverLog(fileName);
}
HGResult HGAPI HGTwain_ClearDSDriverLog(HGTwainDS ds)
@ -235,7 +235,7 @@ HGResult HGAPI HGTwain_ClearDSDriverLog(HGTwainDS ds)
return twainDSImpl->ClearDriverLog();
}
HGResult HGAPI HGTwain_GetDSDeviceLogPath(HGTwainDS ds, HGChar *path, HGUInt maxLen)
HGResult HGAPI HGTwain_GetDSDeviceLog(HGTwainDS ds, const HGChar *fileName)
{
if (NULL == ds)
{
@ -243,7 +243,7 @@ HGResult HGAPI HGTwain_GetDSDeviceLogPath(HGTwainDS ds, HGChar *path, HGUInt max
}
HGTwainDSImpl* twainDSImpl = (HGTwainDSImpl*)ds;
return twainDSImpl->GetDeviceLogPath(path, maxLen);
return twainDSImpl->GetDeviceLog(fileName);
}
HGResult HGAPI HGTwain_ClearDSDeviceLog(HGTwainDS ds)

View File

@ -70,11 +70,11 @@ HGEXPORT HGResult HGAPI HGTwain_LogoutDS(HGTwainDS ds);
HGEXPORT HGResult HGAPI HGTwain_ClearDSRollerCount(HGTwainDS ds);
HGEXPORT HGResult HGAPI HGTwain_GetDSDriverLogPath(HGTwainDS ds, HGChar *path, HGUInt maxLen);
HGEXPORT HGResult HGAPI HGTwain_GetDSDriverLog(HGTwainDS ds, const HGChar *fileName);
HGEXPORT HGResult HGAPI HGTwain_ClearDSDriverLog(HGTwainDS ds);
HGEXPORT HGResult HGAPI HGTwain_GetDSDeviceLogPath(HGTwainDS ds, HGChar *path, HGUInt maxLen);
HGEXPORT HGResult HGAPI HGTwain_GetDSDeviceLog(HGTwainDS ds, const HGChar *fileName);
HGEXPORT HGResult HGAPI HGTwain_ClearDSDeviceLog(HGTwainDS ds);

View File

@ -505,9 +505,40 @@ HGResult HGTwainDSImpl::ClearRollerCount()
return ResetCapInt(0x9902, TWTY_INT32);
}
HGResult HGTwainDSImpl::GetDriverLogPath(HGChar *path, HGUInt maxLen)
#pragma pack(push)
#pragma pack(1)
struct CapStr255Type
{
return GetCapStr255(0x9903, path, maxLen);
TW_UINT16 ItemType;
TW_STR255 Value;
};
#pragma pack(pop)
HGResult HGTwainDSImpl::GetDriverLog(const HGChar *fileName)
{
if (NULL == fileName || strlen(fileName) >= sizeof(TW_STR255))
{
return HGBASE_ERR_INVALIDARG;
}
TW_CAPABILITY twCap;
twCap.Cap = (TW_UINT16)0x9903;
twCap.ConType = TWON_ONEVALUE;
twCap.hContainer = GlobalAlloc(GHND, sizeof(CapStr255Type));
if (NULL == twCap.hContainer)
{
return HGBASE_ERR_FAIL;
}
CapStr255Type* pVal = (CapStr255Type*)GlobalLock(twCap.hContainer);
assert(NULL != pVal);
pVal->ItemType = TWTY_STR255;
strcpy(pVal->Value, fileName);
GlobalUnlock(twCap.hContainer);
USHORT ret = m_dsmImpl->m_pDSMProc(&m_dsmImpl->m_AppId, &m_iden, DG_CONTROL, DAT_CAPABILITY, MSG_GETCURRENT, &twCap);
GlobalFree(twCap.hContainer);
return (TWRC_SUCCESS == ret) ? HGBASE_ERR_OK : HGTWAIN_ERR_FAIL;
}
HGResult HGTwainDSImpl::ClearDriverLog()
@ -515,9 +546,31 @@ HGResult HGTwainDSImpl::ClearDriverLog()
return ResetCapStr255(0x9903);
}
HGResult HGTwainDSImpl::GetDeviceLogPath(HGChar *path, HGUInt maxLen)
HGResult HGTwainDSImpl::GetDeviceLog(const HGChar *fileName)
{
return GetCapStr255(0x9904, path, maxLen);
if (NULL == fileName || strlen(fileName) >= sizeof(TW_STR255))
{
return HGBASE_ERR_INVALIDARG;
}
TW_CAPABILITY twCap;
twCap.Cap = (TW_UINT16)0x9904;
twCap.ConType = TWON_ONEVALUE;
twCap.hContainer = GlobalAlloc(GHND, sizeof(CapStr255Type));
if (NULL == twCap.hContainer)
{
return HGBASE_ERR_FAIL;
}
CapStr255Type* pVal = (CapStr255Type*)GlobalLock(twCap.hContainer);
assert(NULL != pVal);
pVal->ItemType = TWTY_STR255;
strcpy(pVal->Value, fileName);
GlobalUnlock(twCap.hContainer);
USHORT ret = m_dsmImpl->m_pDSMProc(&m_dsmImpl->m_AppId, &m_iden, DG_CONTROL, DAT_CAPABILITY, MSG_GETCURRENT, &twCap);
GlobalFree(twCap.hContainer);
return (TWRC_SUCCESS == ret) ? HGBASE_ERR_OK : HGTWAIN_ERR_FAIL;
}
HGResult HGTwainDSImpl::ClearDeviceLog()
@ -773,15 +826,6 @@ HGResult HGTwainDSImpl::GetCapInt(HGUInt cap, HGInt* value)
return ret;
}
#pragma pack(push)
#pragma pack(1)
struct CapStr255Type
{
TW_UINT16 ItemType;
TW_STR255 Value;
};
#pragma pack(pop)
HGResult HGTwainDSImpl::SetCapStr255(HGUInt cap, const HGChar *value)
{
if (NULL == value || strlen(value) >= sizeof(TW_STR255))

View File

@ -57,9 +57,9 @@ public:
HGResult Login(const HGChar *user, const HGChar *pwd);
HGResult Logout();
HGResult ClearRollerCount();
HGResult GetDriverLogPath(HGChar *path, HGUInt maxLen);
HGResult GetDriverLog(const HGChar *fileName);
HGResult ClearDriverLog();
HGResult GetDeviceLogPath(HGChar *path, HGUInt maxLen);
HGResult GetDeviceLog(const HGChar *fileName);
HGResult ClearDeviceLog();
HGResult EnableUIOnly(HWND parent, HGDSCloseReqFunc eventFunc, HGPointer eventParam);