调整选择设备对话框

This commit is contained in:
yangjiaxuan 2023-05-20 19:43:02 +08:00
parent 0638157a2e
commit d6d15811b8
8 changed files with 338 additions and 291 deletions

Binary file not shown.

View File

@ -2080,7 +2080,7 @@ bug description:
</message>
<message>
<location filename="mainwindow.ui" line="302"/>
<location filename="mainwindow.cpp" line="152"/>
<location filename="mainwindow.cpp" line="151"/>
<source>act_acquireInto</source>
<translation>...</translation>
</message>
@ -2310,48 +2310,46 @@ bug description:
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="124"/>
<location filename="mainwindow.cpp" line="123"/>
<source>HuaGoScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="304"/>
<location filename="mainwindow.cpp" line="303"/>
<source>Grid</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="309"/>
<location filename="mainwindow.cpp" line="308"/>
<source>Move To...</source>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="313"/>
<location filename="mainwindow.cpp" line="312"/>
<source>Insert files</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="331"/>
<location filename="mainwindow.cpp" line="332"/>
<source>nodevice</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="792"/>
<location filename="mainwindow.cpp" line="1564"/>
<location filename="mainwindow.cpp" line="1587"/>
<location filename="mainwindow.cpp" line="2378"/>
<location filename="mainwindow.cpp" line="2675"/>
<location filename="mainwindow.cpp" line="790"/>
<location filename="mainwindow.cpp" line="1562"/>
<location filename="mainwindow.cpp" line="1585"/>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2673"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1565"/>
<location filename="mainwindow.cpp" line="1563"/>
<source>modified, save it?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="793"/>
<location filename="mainwindow.cpp" line="791"/>
<source>file lost, remove it?</source>
<translation></translation>
</message>
@ -2376,17 +2374,17 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1583"/>
<location filename="mainwindow.cpp" line="1581"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1584"/>
<location filename="mainwindow.cpp" line="1582"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1588"/>
<location filename="mainwindow.cpp" line="1586"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
@ -2401,12 +2399,12 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1811"/>
<location filename="mainwindow.cpp" line="1809"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1822"/>
<location filename="mainwindow.cpp" line="1820"/>
<source>Insert images</source>
<translation></translation>
</message>
@ -2419,17 +2417,17 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1137"/>
<location filename="mainwindow.cpp" line="1135"/>
<source>binary</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1139"/>
<location filename="mainwindow.cpp" line="1137"/>
<source>gray</source>
<translation>256</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="1139"/>
<source>rgb</source>
<translation>24</translation>
</message>
@ -2438,200 +2436,211 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="116"/>
<location filename="mainwindow.cpp" line="115"/>
<source>UniScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="120"/>
<location filename="mainwindow.cpp" line="119"/>
<source>Scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="675"/>
<location filename="mainwindow.cpp" line="3589"/>
<location filename="mainwindow.cpp" line="330"/>
<location filename="mainwindow.cpp" line="2826"/>
<source>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</source>
<translation>-&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="3588"/>
<source>default scheme</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1314"/>
<location filename="mainwindow.cpp" line="1312"/>
<source>thumbnailBar enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1318"/>
<location filename="mainwindow.cpp" line="1316"/>
<source>thumbnailBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1586"/>
<location filename="mainwindow.cpp" line="1584"/>
<source>cancel</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2167"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2180"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2178"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2202"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2327"/>
<location filename="mainwindow.cpp" line="2325"/>
<source>Not supported</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2355"/>
<location filename="mainwindow.cpp" line="2353"/>
<source>Warning</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2355"/>
<location filename="mainwindow.cpp" line="2353"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2841"/>
<location filename="mainwindow.cpp" line="2826"/>
<source>Prompt</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2840"/>
<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="2842"/>
<location filename="mainwindow.cpp" line="2841"/>
<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="2843"/>
<location filename="mainwindow.cpp" line="2842"/>
<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="2844"/>
<location filename="mainwindow.cpp" line="2843"/>
<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="2845"/>
<location filename="mainwindow.cpp" line="2844"/>
<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="2846"/>
<location filename="mainwindow.cpp" line="2845"/>
<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="2847"/>
<location filename="mainwindow.cpp" line="2846"/>
<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="2847"/>
<location filename="mainwindow.cpp" line="2846"/>
<source>Baidu map access</source>
<translation>访</translation>
</message>
@ -2657,59 +2666,59 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3393"/>
<location filename="mainwindow.cpp" line="3392"/>
<source>cache path folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3397"/>
<location filename="mainwindow.cpp" line="3396"/>
<source>aquireinto folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3481"/>
<location filename="mainwindow.cpp" line="3480"/>
<source>Image processing failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3485"/>
<location filename="mainwindow.cpp" line="3484"/>
<source>Ocr init failed</source>
<translation>OCR初始化错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3489"/>
<location filename="mainwindow.cpp" line="3488"/>
<source>Ocr failed</source>
<translation>OCR错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3493"/>
<location filename="mainwindow.cpp" line="3492"/>
<source>File does not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3497"/>
<location filename="mainwindow.cpp" line="3496"/>
<source>Failed to load dynamic library</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3501"/>
<location filename="mainwindow.cpp" line="3500"/>
<source>File data error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3505"/>
<location filename="mainwindow.cpp" line="3504"/>
<source>Image format processing error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3509"/>
<location filename="mainwindow.cpp" line="3508"/>
<source>Out of memory</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3513"/>
<location filename="mainwindow.cpp" line="3512"/>
<source>Failed</source>
<translation></translation>
</message>
@ -2738,7 +2747,7 @@ Please finish scanning first.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3477"/>
<location filename="mainwindow.cpp" line="3476"/>
<source>Insufficient access rights</source>
<translation>访</translation>
</message>
@ -2763,18 +2772,18 @@ Please finish scanning first.</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3705"/>
<location filename="mainwindow.cpp" line="3704"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3705"/>
<location filename="mainwindow.cpp" line="3704"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3727"/>
<location filename="mainwindow.cpp" line="3743"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
@ -2783,8 +2792,8 @@ Please finish scanning first.</source>
<translation type="vanished">IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3362"/>
<location filename="mainwindow.cpp" line="3400"/>
<location filename="mainwindow.cpp" line="3361"/>
<location filename="mainwindow.cpp" line="3399"/>
<source>error</source>
<translation></translation>
</message>
@ -2799,7 +2808,7 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2676"/>
<location filename="mainwindow.cpp" line="2674"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
@ -2865,106 +2874,106 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="658"/>
<location filename="mainwindow.cpp" line="2897"/>
<location filename="mainwindow.cpp" line="2898"/>
<location filename="mainwindow.cpp" line="2899"/>
<location filename="mainwindow.cpp" line="2942"/>
<location filename="mainwindow.cpp" line="2943"/>
<location filename="mainwindow.cpp" line="2944"/>
<location filename="mainwindow.cpp" line="3007"/>
<location filename="mainwindow.cpp" line="3008"/>
<location filename="mainwindow.cpp" line="3009"/>
<location filename="mainwindow.cpp" line="3068"/>
<location filename="mainwindow.cpp" line="3069"/>
<location filename="mainwindow.cpp" line="3070"/>
<source>start failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="100"/>
<location filename="mainwindow.cpp" line="99"/>
<source>HanvonScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="104"/>
<location filename="mainwindow.cpp" line="103"/>
<source>LanxumScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="108"/>
<location filename="mainwindow.cpp" line="107"/>
<source>CumtennScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="112"/>
<location filename="mainwindow.cpp" line="111"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="178"/>
<location filename="mainwindow.cpp" line="177"/>
<source>menu_language</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="179"/>
<location filename="mainwindow.cpp" line="178"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="180"/>
<location filename="mainwindow.cpp" line="179"/>
<source>act_English</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="365"/>
<location filename="mainwindow.cpp" line="363"/>
<source>auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="366"/>
<location filename="mainwindow.cpp" line="364"/>
<source>when switching pictures, save the edited pictures directly without reminding</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="534"/>
<location filename="mainwindow.cpp" line="532"/>
<source>statusBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="538"/>
<location filename="mainwindow.cpp" line="536"/>
<source>statusBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="547"/>
<location filename="mainwindow.cpp" line="545"/>
<source>toolBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="551"/>
<location filename="mainwindow.cpp" line="549"/>
<source>toolBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="560"/>
<location filename="mainwindow.cpp" line="558"/>
<source>colorInfo enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="564"/>
<location filename="mainwindow.cpp" line="562"/>
<source>colorInfo disenabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="595"/>
<source>enabling automatic saving</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="601"/>
<location filename="mainwindow.cpp" line="599"/>
<source>cancel auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="724"/>
<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>
@ -3009,12 +3018,12 @@ Continue to close?</source>
<translation type="vanished"> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2098"/>
<location filename="mainwindow.cpp" line="2099"/>
<location filename="mainwindow.cpp" line="2174"/>
<location filename="mainwindow.cpp" line="2175"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>save image doc failed: </source>
<translation> </translation>
</message>
@ -3053,17 +3062,17 @@ Continue to close?</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3177"/>
<location filename="mainwindow.cpp" line="3176"/>
<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="3363"/>
<location filename="mainwindow.cpp" line="3362"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2379"/>
<location filename="mainwindow.cpp" line="2377"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
@ -3073,21 +3082,21 @@ Are you sure to close?</source>
<translation type="vanished"> : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2098"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2174"/>
<location filename="mainwindow.cpp" line="2180"/>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2390"/>
<location filename="mainwindow.cpp" line="2739"/>
<location filename="mainwindow.cpp" line="2743"/>
<location filename="mainwindow.cpp" line="3177"/>
<location filename="mainwindow.cpp" line="3727"/>
<location filename="mainwindow.cpp" line="3743"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2388"/>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3761"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3819"/>
@ -3095,17 +3104,17 @@ Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2391"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2727"/>
<location filename="mainwindow.cpp" line="2725"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2728"/>
<location filename="mainwindow.cpp" line="2726"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
@ -3114,22 +3123,22 @@ Are you sure to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2739"/>
<location filename="mainwindow.cpp" line="2737"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2743"/>
<location filename="mainwindow.cpp" line="2741"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2819"/>
<location filename="mainwindow.cpp" line="2817"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2819"/>
<location filename="mainwindow.cpp" line="2817"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -3170,7 +3179,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="2839"/>
<location filename="mainwindow.cpp" line="2838"/>
<source>about %1</source>
<translation> %1</translation>
</message>

Binary file not shown.

View File

@ -1939,7 +1939,7 @@ Please make sure the two passwords are the same.</source>
</message>
<message>
<location filename="mainwindow.ui" line="302"/>
<location filename="mainwindow.cpp" line="152"/>
<location filename="mainwindow.cpp" line="151"/>
<source>act_acquireInto</source>
<translation>Scan to...</translation>
</message>
@ -2169,132 +2169,130 @@ Please make sure the two passwords are the same.</source>
<translation>Select device source...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="100"/>
<location filename="mainwindow.cpp" line="99"/>
<source>HanvonScan</source>
<translation>Hanvon scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="104"/>
<location filename="mainwindow.cpp" line="103"/>
<source>LanxumScan</source>
<translation>LANXUM scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="108"/>
<location filename="mainwindow.cpp" line="107"/>
<source>CumtennScan</source>
<translation>CUMTENN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="112"/>
<location filename="mainwindow.cpp" line="111"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX V1.0</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="124"/>
<location filename="mainwindow.cpp" line="123"/>
<source>HuaGoScan</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="178"/>
<location filename="mainwindow.cpp" line="177"/>
<source>menu_language</source>
<translation>Language</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="179"/>
<location filename="mainwindow.cpp" line="178"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="180"/>
<location filename="mainwindow.cpp" line="179"/>
<source>act_English</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="304"/>
<location filename="mainwindow.cpp" line="303"/>
<source>Grid</source>
<translation>Multi-column display</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="309"/>
<location filename="mainwindow.cpp" line="308"/>
<source>Move To...</source>
<translation>Move to...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="313"/>
<location filename="mainwindow.cpp" line="312"/>
<source>Insert files</source>
<translation>Insert file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="331"/>
<location filename="mainwindow.cpp" line="332"/>
<source>nodevice</source>
<translation>No scanner detected</translation>
<translation type="vanished">No scanner detected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="365"/>
<location filename="mainwindow.cpp" line="363"/>
<source>auto save</source>
<translation>Auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="366"/>
<location filename="mainwindow.cpp" line="364"/>
<source>when switching pictures, save the edited pictures directly without reminding</source>
<translation>Do not show prompt and save the edited images directly when switching images.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="534"/>
<location filename="mainwindow.cpp" line="532"/>
<source>statusBar displayed</source>
<translation>Show status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="538"/>
<location filename="mainwindow.cpp" line="536"/>
<source>statusBar hidden</source>
<translation>Hide status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="547"/>
<location filename="mainwindow.cpp" line="545"/>
<source>toolBar displayed</source>
<translation>Show toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="551"/>
<location filename="mainwindow.cpp" line="549"/>
<source>toolBar hidden</source>
<translation>Hide toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="560"/>
<location filename="mainwindow.cpp" line="558"/>
<source>colorInfo enabled</source>
<translation>Enable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="564"/>
<location filename="mainwindow.cpp" line="562"/>
<source>colorInfo disenabled</source>
<translation>Disable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="597"/>
<location filename="mainwindow.cpp" line="595"/>
<source>enabling automatic saving</source>
<translation>Enable auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="601"/>
<location filename="mainwindow.cpp" line="599"/>
<source>cancel auto save</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="724"/>
<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="792"/>
<location filename="mainwindow.cpp" line="1564"/>
<location filename="mainwindow.cpp" line="1587"/>
<location filename="mainwindow.cpp" line="2378"/>
<location filename="mainwindow.cpp" line="2675"/>
<location filename="mainwindow.cpp" line="790"/>
<location filename="mainwindow.cpp" line="1562"/>
<location filename="mainwindow.cpp" line="1585"/>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2673"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1565"/>
<location filename="mainwindow.cpp" line="1563"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
@ -2311,7 +2309,7 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="793"/>
<location filename="mainwindow.cpp" line="791"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2357,52 +2355,58 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Failed to create image file: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2098"/>
<location filename="mainwindow.cpp" line="2099"/>
<location filename="mainwindow.cpp" line="2174"/>
<location filename="mainwindow.cpp" line="2175"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1137"/>
<location filename="mainwindow.cpp" line="1135"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1139"/>
<location filename="mainwindow.cpp" line="330"/>
<location filename="mainwindow.cpp" line="2826"/>
<source>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</source>
<translation>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1137"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="1139"/>
<source>rgb</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="659"/>
<location filename="mainwindow.cpp" line="660"/>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="658"/>
<location filename="mainwindow.cpp" line="2897"/>
<location filename="mainwindow.cpp" line="2898"/>
<location filename="mainwindow.cpp" line="2899"/>
<location filename="mainwindow.cpp" line="2942"/>
<location filename="mainwindow.cpp" line="2943"/>
<location filename="mainwindow.cpp" line="2944"/>
<location filename="mainwindow.cpp" line="3007"/>
<location filename="mainwindow.cpp" line="3008"/>
<location filename="mainwindow.cpp" line="3009"/>
<location filename="mainwindow.cpp" line="3068"/>
<location filename="mainwindow.cpp" line="3069"/>
<location filename="mainwindow.cpp" line="3070"/>
<source>start failed</source>
<translation>Failed to start</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="116"/>
<location filename="mainwindow.cpp" line="115"/>
<source>UniScan</source>
<translation>UNI scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="675"/>
<location filename="mainwindow.cpp" line="3589"/>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="3588"/>
<source>default scheme</source>
<translation>Default scheme</translation>
</message>
@ -2411,7 +2415,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="120"/>
<location filename="mainwindow.cpp" line="119"/>
<source>Scan</source>
<translation>Scanning software</translation>
</message>
@ -2420,63 +2424,63 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1314"/>
<location filename="mainwindow.cpp" line="1312"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1318"/>
<location filename="mainwindow.cpp" line="1316"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1583"/>
<location filename="mainwindow.cpp" line="1581"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1584"/>
<location filename="mainwindow.cpp" line="1582"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1586"/>
<location filename="mainwindow.cpp" line="1584"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1588"/>
<location filename="mainwindow.cpp" line="1586"/>
<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="1811"/>
<location filename="mainwindow.cpp" line="1809"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1822"/>
<location filename="mainwindow.cpp" line="1820"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2034"/>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2098"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2174"/>
<location filename="mainwindow.cpp" line="2180"/>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2390"/>
<location filename="mainwindow.cpp" line="2739"/>
<location filename="mainwindow.cpp" line="2743"/>
<location filename="mainwindow.cpp" line="3177"/>
<location filename="mainwindow.cpp" line="3727"/>
<location filename="mainwindow.cpp" line="3743"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2388"/>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3761"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3819"/>
@ -2484,183 +2488,188 @@ Clear?</translation>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2167"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2180"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2178"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2202"/>
<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="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2264"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2307"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2323"/>
<location filename="mainwindow.cpp" line="2321"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2327"/>
<location filename="mainwindow.cpp" line="2325"/>
<source>Not supported</source>
<translation>Not supported</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2355"/>
<location filename="mainwindow.cpp" line="2353"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2355"/>
<location filename="mainwindow.cpp" line="2353"/>
<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="2379"/>
<location filename="mainwindow.cpp" line="2377"/>
<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="2391"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2676"/>
<location filename="mainwindow.cpp" line="2674"/>
<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="2841"/>
<location filename="mainwindow.cpp" line="2826"/>
<source>Prompt</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2840"/>
<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="2842"/>
<location filename="mainwindow.cpp" line="2841"/>
<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="2843"/>
<location filename="mainwindow.cpp" line="2842"/>
<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="2844"/>
<location filename="mainwindow.cpp" line="2843"/>
<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="2845"/>
<location filename="mainwindow.cpp" line="2844"/>
<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="2846"/>
<location filename="mainwindow.cpp" line="2845"/>
<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="2847"/>
<location filename="mainwindow.cpp" line="2846"/>
<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="2847"/>
<location filename="mainwindow.cpp" line="2846"/>
<source>Baidu map access</source>
<translation>Baidu map access</translation>
</message>
@ -2711,7 +2720,7 @@ Are you sure to close?</source>
<translation type="vanished">Total count: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3177"/>
<location filename="mainwindow.cpp" line="3176"/>
<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>
@ -2721,12 +2730,12 @@ Are you sure to close?</source>
<translation>Device %1 is open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2727"/>
<location filename="mainwindow.cpp" line="2725"/>
<source>confirm operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2728"/>
<location filename="mainwindow.cpp" line="2726"/>
<source>are you sure to clear the roller count?</source>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
@ -2735,22 +2744,22 @@ Are you sure to close?</source>
<translation type="vanished">Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2739"/>
<location filename="mainwindow.cpp" line="2737"/>
<source>Roller scanned count has been set to 0.</source>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2743"/>
<location filename="mainwindow.cpp" line="2741"/>
<source>Roller scanned count reset failed.</source>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2819"/>
<location filename="mainwindow.cpp" line="2817"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2819"/>
<location filename="mainwindow.cpp" line="2817"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation>File lost! File may be deleted or renamed.</translation>
</message>
@ -2767,13 +2776,13 @@ Are you sure to close?</source>
<translation type="vanished">About</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3393"/>
<location filename="mainwindow.cpp" line="3392"/>
<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="3397"/>
<location filename="mainwindow.cpp" line="3396"/>
<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>
@ -2787,7 +2796,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="2839"/>
<location filename="mainwindow.cpp" line="2838"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
@ -2832,13 +2841,13 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3362"/>
<location filename="mainwindow.cpp" line="3400"/>
<location filename="mainwindow.cpp" line="3361"/>
<location filename="mainwindow.cpp" line="3399"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3363"/>
<location filename="mainwindow.cpp" line="3362"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
@ -2848,52 +2857,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="3477"/>
<location filename="mainwindow.cpp" line="3476"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3481"/>
<location filename="mainwindow.cpp" line="3480"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3485"/>
<location filename="mainwindow.cpp" line="3484"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3489"/>
<location filename="mainwindow.cpp" line="3488"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3493"/>
<location filename="mainwindow.cpp" line="3492"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3497"/>
<location filename="mainwindow.cpp" line="3496"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3501"/>
<location filename="mainwindow.cpp" line="3500"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3505"/>
<location filename="mainwindow.cpp" line="3504"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3509"/>
<location filename="mainwindow.cpp" line="3508"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3513"/>
<location filename="mainwindow.cpp" line="3512"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
@ -2914,18 +2923,18 @@ 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="3705"/>
<location filename="mainwindow.cpp" line="3704"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3705"/>
<location filename="mainwindow.cpp" line="3704"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3727"/>
<location filename="mainwindow.cpp" line="3743"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<source>The device does not support this operation</source>
<translation>Device does not support this operation</translation>
</message>

View File

@ -50,7 +50,6 @@
#include "lang/app_language.h"
#define PASSWORD_KEY 4
#define MY_URL_SCHEME "inscanner"
MainWindow::MainWindow(const QString& appLang, QWidget *parent)
: QMainWindow(parent)
@ -328,7 +327,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
connect(this, SIGNAL(post_new_image(QString)), this, SLOT(on_post_new_image(QString)));
m_wndStatusBar->setDeviceStatusInfo(tr("nodevice"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("Please go to 'Menu Bar ->Scan' to select a device"), false);
HGBase_WriteInfo(HGBASE_INFOTYPE_DESC, "%s", getStdString(tr("nodevice")).c_str());
QString password = getCfgValue("login", "password", QString(""));
@ -2825,6 +2824,7 @@ void MainWindow::on_act_about_triggered()
{
if (m_devUser == nullptr)
{
QMessageBox::information(this, tr("Prompt"), tr("Please go to 'Menu Bar ->Scan' to select a device"));
return;
}
@ -3720,12 +3720,12 @@ void MainWindow::on_act_driver_log_triggered()
QString driverLogPath = m_devUser->GetDriverLog();
if (!driverLogPath.isEmpty())
{
if (driverLogPath == "Fail")
{
QMessageBox::information(this, tr("tips"), tr("The device does not support this operation"));
}
QDesktopServices::openUrl(QUrl::fromLocalFile(driverLogPath));
}
else if(driverLogPath == "Fail")
{
QMessageBox::information(this, tr("tips"), tr("The device does not support this operation"));
}
}
}
@ -3736,12 +3736,13 @@ void MainWindow::on_act_device_log_triggered()
QString deviceLogPath = m_devUser->GetDeviceLog();
if (!deviceLogPath.isEmpty())
{
if (deviceLogPath == "Fail")
{
QMessageBox::information(this, tr("tips"), tr("The device does not support this operation"));
}
QDesktopServices::openUrl(QUrl::fromLocalFile(deviceLogPath));
}
else if(deviceLogPath == "Fail")
{
QMessageBox::information(this, tr("tips"), tr("The device does not support this operation"));
}
}
}

View File

@ -43,6 +43,8 @@ win32 {
HEADERS += ../../../modules/twainui/hg_settingdialog.h
SOURCES += \
../../../modules/twainui/app_cfg.cpp \
../../../modules/twainui/HGUIGlobal.cpp \
../../../modules/twainui/Manager.cpp \
../../../modules/twainui/cfg/cJSON.c \
../../../modules/twainui/cfg/gb_json.cpp \
@ -59,6 +61,8 @@ win32 {
../../../modules/twainui/dialog_device_select.cpp \
../../../modules/twainui/dialog_twain_source_select.cpp
HEADERS += \
../../../modules/twainui/app_cfg.h \
../../../modules/twainui/HGUIGlobal.h \
../../../modules/twainui/Manager.h \
../../../modules/twainui/cfg/cJSON.h \
../../../modules/twainui/cfg/gb_json.h \

View File

@ -30,7 +30,19 @@ Dialog_Twain_Source_Select::Dialog_Twain_Source_Select(DSMENTRYPROC dsmProc, con
}
}
if (!m_vSource.empty())
QString source = getCfgValue("twain", "source", QString(""));
if (!source.isEmpty())
{
int count = ui->listWidget->count();
for (int i = 0; i < count; ++i)
{
if (ui->listWidget->item(i)->text() == source)
{
ui->listWidget->setCurrentItem(ui->listWidget->item(i));
}
}
}
else
{
ui->listWidget->setCurrentRow(0);
}
@ -48,6 +60,9 @@ void Dialog_Twain_Source_Select::GetIdentify(TW_IDENTITY *ds)
void Dialog_Twain_Source_Select::on_pushButton_OK_clicked()
{
QString source = ui->listWidget->currentItem()->text();
saveCfgValue("twain", "source", source);
int index = ui->listWidget->currentRow();
if (index < 0)
{
@ -62,3 +77,8 @@ void Dialog_Twain_Source_Select::on_pushButton_Cancel_clicked()
{
reject();
}
void Dialog_Twain_Source_Select::on_listWidget_itemDoubleClicked(QListWidgetItem *item)
{
on_pushButton_OK_clicked();
}

View File

@ -4,7 +4,9 @@
#include "base/HGDef.h"
#include "base/HGInc.h"
#include "twain/twain.h"
#include "app_cfg.h"
#include <QDialog>
#include <QListWidgetItem>
namespace Ui {
class Dialog_Twain_Source_Select;
@ -25,6 +27,8 @@ private slots:
void on_pushButton_Cancel_clicked();
void on_listWidget_itemDoubleClicked(QListWidgetItem *item);
private:
Ui::Dialog_Twain_Source_Select *ui;
std::vector<TW_IDENTITY> m_vSource;