华高和中晶4399系列G400设备增加手动唤醒设备提示

This commit is contained in:
yangjiaxuan 2023-02-06 16:18:47 +08:00
parent f88f9ad7bf
commit c3d2e52890
7 changed files with 606 additions and 490 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -2032,176 +2032,176 @@ Please make sure the two passwords are the same.</source>
<translation>Delete selected item</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="97"/>
<location filename="mainwindow.cpp" line="99"/>
<source>HanvonScan</source>
<translation>Hanvon scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="101"/>
<location filename="mainwindow.cpp" line="103"/>
<source>LanxumScan</source>
<translation>LANXUM scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="105"/>
<location filename="mainwindow.cpp" line="107"/>
<source>CumtennScan</source>
<translation>CUMTENN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="109"/>
<location filename="mainwindow.cpp" line="111"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX V1.0</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="113"/>
<location filename="mainwindow.cpp" line="115"/>
<source>HuaGoScan</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="168"/>
<location filename="mainwindow.cpp" line="170"/>
<source>menu_language</source>
<translation>Language</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="169"/>
<location filename="mainwindow.cpp" line="171"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="170"/>
<location filename="mainwindow.cpp" line="172"/>
<source>act_English</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="296"/>
<location filename="mainwindow.cpp" line="298"/>
<source>Grid</source>
<translation>Multi-column display</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="301"/>
<location filename="mainwindow.cpp" line="303"/>
<source>Move To...</source>
<translation>Move to...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="305"/>
<location filename="mainwindow.cpp" line="307"/>
<source>Insert files</source>
<translation>Insert file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="332"/>
<location filename="mainwindow.cpp" line="333"/>
<location filename="mainwindow.cpp" line="334"/>
<location filename="mainwindow.cpp" line="335"/>
<location filename="mainwindow.cpp" line="336"/>
<location filename="mainwindow.cpp" line="337"/>
<source>nodevice</source>
<translation>No scanner detected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="363"/>
<location filename="mainwindow.cpp" line="366"/>
<source>auto save</source>
<translation>Auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="364"/>
<location filename="mainwindow.cpp" line="367"/>
<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="513"/>
<location filename="mainwindow.cpp" line="516"/>
<source>statusBar displayed</source>
<translation>Show status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="520"/>
<source>statusBar hidden</source>
<translation>Hide status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="526"/>
<location filename="mainwindow.cpp" line="529"/>
<source>toolBar displayed</source>
<translation>Show toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="530"/>
<location filename="mainwindow.cpp" line="533"/>
<source>toolBar hidden</source>
<translation>Hide toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="539"/>
<location filename="mainwindow.cpp" line="542"/>
<source>colorInfo enabled</source>
<translation>Enable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="543"/>
<location filename="mainwindow.cpp" line="546"/>
<source>colorInfo disenabled</source>
<translation>Disable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="576"/>
<location filename="mainwindow.cpp" line="579"/>
<source>enabling automatic saving</source>
<translation>Enable auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="580"/>
<location filename="mainwindow.cpp" line="583"/>
<source>cancel auto save</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="614"/>
<location filename="mainwindow.cpp" line="617"/>
<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="619"/>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="1683"/>
<location filename="mainwindow.cpp" line="1708"/>
<location filename="mainwindow.cpp" line="2478"/>
<location filename="mainwindow.cpp" line="2928"/>
<location filename="mainwindow.cpp" line="622"/>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="1696"/>
<location filename="mainwindow.cpp" line="1721"/>
<location filename="mainwindow.cpp" line="2491"/>
<location filename="mainwindow.cpp" line="2941"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="620"/>
<location filename="mainwindow.cpp" line="1684"/>
<location filename="mainwindow.cpp" line="623"/>
<location filename="mainwindow.cpp" line="1697"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="622"/>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="1686"/>
<location filename="mainwindow.cpp" line="2481"/>
<location filename="mainwindow.cpp" line="2495"/>
<location filename="mainwindow.cpp" line="2930"/>
<location filename="mainwindow.cpp" line="2985"/>
<location filename="mainwindow.cpp" line="3073"/>
<location filename="mainwindow.cpp" line="3779"/>
<location filename="mainwindow.cpp" line="4104"/>
<location filename="mainwindow.cpp" line="4272"/>
<location filename="mainwindow.cpp" line="4292"/>
<location filename="mainwindow.cpp" line="4331"/>
<location filename="mainwindow.cpp" line="625"/>
<location filename="mainwindow.cpp" line="680"/>
<location filename="mainwindow.cpp" line="1699"/>
<location filename="mainwindow.cpp" line="2494"/>
<location filename="mainwindow.cpp" line="2508"/>
<location filename="mainwindow.cpp" line="2943"/>
<location filename="mainwindow.cpp" line="2998"/>
<location filename="mainwindow.cpp" line="3086"/>
<location filename="mainwindow.cpp" line="3867"/>
<location filename="mainwindow.cpp" line="4208"/>
<location filename="mainwindow.cpp" line="4376"/>
<location filename="mainwindow.cpp" line="4396"/>
<location filename="mainwindow.cpp" line="4435"/>
<source>yes</source>
<translation>Yes</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="623"/>
<location filename="mainwindow.cpp" line="626"/>
<source>save, do not remind again</source>
<translation>Save, do not prompt again</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="624"/>
<location filename="mainwindow.cpp" line="678"/>
<location filename="mainwindow.cpp" line="1687"/>
<location filename="mainwindow.cpp" line="2482"/>
<location filename="mainwindow.cpp" line="2496"/>
<location filename="mainwindow.cpp" line="2931"/>
<location filename="mainwindow.cpp" line="2986"/>
<location filename="mainwindow.cpp" line="3074"/>
<location filename="mainwindow.cpp" line="4105"/>
<location filename="mainwindow.cpp" line="4332"/>
<location filename="mainwindow.cpp" line="627"/>
<location filename="mainwindow.cpp" line="681"/>
<location filename="mainwindow.cpp" line="1700"/>
<location filename="mainwindow.cpp" line="2495"/>
<location filename="mainwindow.cpp" line="2509"/>
<location filename="mainwindow.cpp" line="2944"/>
<location filename="mainwindow.cpp" line="2999"/>
<location filename="mainwindow.cpp" line="3087"/>
<location filename="mainwindow.cpp" line="4209"/>
<location filename="mainwindow.cpp" line="4436"/>
<source>no</source>
<translation>No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="675"/>
<location filename="mainwindow.cpp" line="678"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2210,561 +2210,578 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">Device discovered </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="865"/>
<location filename="mainwindow.cpp" line="868"/>
<source>found device : %1</source>
<translation>Device discovered: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="877"/>
<location filename="mainwindow.cpp" line="880"/>
<source> reconnected</source>
<translation> reconnect</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="882"/>
<source>already connected, but open faild</source>
<translation>connected, but failed to open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="910"/>
<location filename="mainwindow.cpp" line="913"/>
<source> disconnected</source>
<translation> disconnected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="3613"/>
<location filename="mainwindow.cpp" line="957"/>
<location filename="mainwindow.cpp" line="1021"/>
<location filename="mainwindow.cpp" line="3701"/>
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
<translation>Insufficient disk space for the current path.
Please reselect a path or clear disk space immediately.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="958"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="3617"/>
<location filename="mainwindow.cpp" line="961"/>
<location filename="mainwindow.cpp" line="1025"/>
<location filename="mainwindow.cpp" line="3705"/>
<source>warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1000"/>
<location filename="mainwindow.cpp" line="1001"/>
<location filename="mainwindow.cpp" line="1003"/>
<location filename="mainwindow.cpp" line="1004"/>
<source>save image failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1058"/>
<location filename="mainwindow.cpp" line="1059"/>
<location filename="mainwindow.cpp" line="1173"/>
<location filename="mainwindow.cpp" line="1174"/>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1062"/>
<location filename="mainwindow.cpp" line="1176"/>
<location filename="mainwindow.cpp" line="1177"/>
<source>create savepath failed: </source>
<translation>Failed to create folder: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1082"/>
<location filename="mainwindow.cpp" line="1083"/>
<location filename="mainwindow.cpp" line="1085"/>
<location filename="mainwindow.cpp" line="1086"/>
<source>create image doc failed: </source>
<translation>Failed to create image file: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1117"/>
<location filename="mainwindow.cpp" line="1118"/>
<location filename="mainwindow.cpp" line="1224"/>
<location filename="mainwindow.cpp" line="1225"/>
<location filename="mainwindow.cpp" line="2131"/>
<location filename="mainwindow.cpp" line="2132"/>
<location filename="mainwindow.cpp" line="2133"/>
<location filename="mainwindow.cpp" line="2196"/>
<location filename="mainwindow.cpp" line="2197"/>
<location filename="mainwindow.cpp" line="2198"/>
<location filename="mainwindow.cpp" line="2278"/>
<location filename="mainwindow.cpp" line="2279"/>
<location filename="mainwindow.cpp" line="2280"/>
<location filename="mainwindow.cpp" line="1120"/>
<location filename="mainwindow.cpp" line="1121"/>
<location filename="mainwindow.cpp" line="1227"/>
<location filename="mainwindow.cpp" line="1228"/>
<location filename="mainwindow.cpp" line="2144"/>
<location filename="mainwindow.cpp" line="2145"/>
<location filename="mainwindow.cpp" line="2146"/>
<location filename="mainwindow.cpp" line="2209"/>
<location filename="mainwindow.cpp" line="2210"/>
<location filename="mainwindow.cpp" line="2211"/>
<location filename="mainwindow.cpp" line="2291"/>
<location filename="mainwindow.cpp" line="2292"/>
<location filename="mainwindow.cpp" line="2293"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1161"/>
<location filename="mainwindow.cpp" line="1164"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1163"/>
<location filename="mainwindow.cpp" line="1166"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1165"/>
<location filename="mainwindow.cpp" line="1168"/>
<source>rgb</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1318"/>
<location filename="mainwindow.cpp" line="1319"/>
<location filename="mainwindow.cpp" line="1320"/>
<location filename="mainwindow.cpp" line="3196"/>
<location filename="mainwindow.cpp" line="3197"/>
<location filename="mainwindow.cpp" line="3198"/>
<location filename="mainwindow.cpp" line="3263"/>
<location filename="mainwindow.cpp" line="3264"/>
<location filename="mainwindow.cpp" line="3265"/>
<location filename="mainwindow.cpp" line="3346"/>
<location filename="mainwindow.cpp" line="3347"/>
<location filename="mainwindow.cpp" line="3348"/>
<location filename="mainwindow.cpp" line="3428"/>
<location filename="mainwindow.cpp" line="3429"/>
<location filename="mainwindow.cpp" line="3430"/>
<location filename="mainwindow.cpp" line="1321"/>
<location filename="mainwindow.cpp" line="1322"/>
<location filename="mainwindow.cpp" line="1323"/>
<location filename="mainwindow.cpp" line="3248"/>
<location filename="mainwindow.cpp" line="3249"/>
<location filename="mainwindow.cpp" line="3250"/>
<location filename="mainwindow.cpp" line="3324"/>
<location filename="mainwindow.cpp" line="3325"/>
<location filename="mainwindow.cpp" line="3326"/>
<location filename="mainwindow.cpp" line="3416"/>
<location filename="mainwindow.cpp" line="3417"/>
<location filename="mainwindow.cpp" line="3418"/>
<location filename="mainwindow.cpp" line="3507"/>
<location filename="mainwindow.cpp" line="3508"/>
<location filename="mainwindow.cpp" line="3509"/>
<source>start failed</source>
<translation>Failed to start</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1337"/>
<location filename="mainwindow.cpp" line="1338"/>
<location filename="mainwindow.cpp" line="3215"/>
<location filename="mainwindow.cpp" line="3216"/>
<location filename="mainwindow.cpp" line="3282"/>
<location filename="mainwindow.cpp" line="3283"/>
<location filename="mainwindow.cpp" line="3365"/>
<location filename="mainwindow.cpp" line="3366"/>
<location filename="mainwindow.cpp" line="3447"/>
<location filename="mainwindow.cpp" line="3448"/>
<location filename="mainwindow.cpp" line="1343"/>
<location filename="mainwindow.cpp" line="1344"/>
<location filename="mainwindow.cpp" line="3270"/>
<location filename="mainwindow.cpp" line="3271"/>
<location filename="mainwindow.cpp" line="3346"/>
<location filename="mainwindow.cpp" line="3347"/>
<location filename="mainwindow.cpp" line="3438"/>
<location filename="mainwindow.cpp" line="3439"/>
<location filename="mainwindow.cpp" line="3529"/>
<location filename="mainwindow.cpp" line="3530"/>
<source>Please wake up the device manually</source>
<translation>Please wake up the device manually</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1348"/>
<location filename="mainwindow.cpp" line="1349"/>
<location filename="mainwindow.cpp" line="3275"/>
<location filename="mainwindow.cpp" line="3276"/>
<location filename="mainwindow.cpp" line="3351"/>
<location filename="mainwindow.cpp" line="3352"/>
<location filename="mainwindow.cpp" line="3443"/>
<location filename="mainwindow.cpp" line="3444"/>
<location filename="mainwindow.cpp" line="3534"/>
<location filename="mainwindow.cpp" line="3535"/>
<source>already waked up device</source>
<translation>Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1419"/>
<location filename="mainwindow.cpp" line="1431"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1423"/>
<location filename="mainwindow.cpp" line="1435"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1704"/>
<location filename="mainwindow.cpp" line="1717"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1705"/>
<location filename="mainwindow.cpp" line="1718"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1707"/>
<location filename="mainwindow.cpp" line="1720"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1709"/>
<location filename="mainwindow.cpp" line="1722"/>
<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="1904"/>
<location filename="mainwindow.cpp" line="1917"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1915"/>
<location filename="mainwindow.cpp" line="1928"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2126"/>
<location filename="mainwindow.cpp" line="2131"/>
<location filename="mainwindow.cpp" line="2138"/>
<location filename="mainwindow.cpp" line="2191"/>
<location filename="mainwindow.cpp" line="2196"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2278"/>
<location filename="mainwindow.cpp" line="2285"/>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2492"/>
<location filename="mainwindow.cpp" line="4269"/>
<location filename="mainwindow.cpp" line="4289"/>
<location filename="mainwindow.cpp" line="4329"/>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2144"/>
<location filename="mainwindow.cpp" line="2151"/>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2209"/>
<location filename="mainwindow.cpp" line="2286"/>
<location filename="mainwindow.cpp" line="2291"/>
<location filename="mainwindow.cpp" line="2298"/>
<location filename="mainwindow.cpp" line="2322"/>
<location filename="mainwindow.cpp" line="2505"/>
<location filename="mainwindow.cpp" line="4373"/>
<location filename="mainwindow.cpp" line="4393"/>
<location filename="mainwindow.cpp" line="4433"/>
<source>tips</source>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2126"/>
<location filename="mainwindow.cpp" line="2191"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2204"/>
<location filename="mainwindow.cpp" line="2286"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2138"/>
<location filename="mainwindow.cpp" line="2285"/>
<location filename="mainwindow.cpp" line="2151"/>
<location filename="mainwindow.cpp" line="2298"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2309"/>
<location filename="mainwindow.cpp" line="2322"/>
<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="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2389"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="2432"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2433"/>
<location filename="mainwindow.cpp" line="2446"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2433"/>
<location filename="mainwindow.cpp" line="2446"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2433"/>
<location filename="mainwindow.cpp" line="2446"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2433"/>
<location filename="mainwindow.cpp" line="2446"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2455"/>
<location filename="mainwindow.cpp" line="2468"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2455"/>
<location filename="mainwindow.cpp" line="2468"/>
<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="2479"/>
<location filename="mainwindow.cpp" line="2492"/>
<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="2493"/>
<location filename="mainwindow.cpp" line="2506"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2929"/>
<location filename="mainwindow.cpp" line="2942"/>
<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="2982"/>
<location filename="mainwindow.cpp" line="2995"/>
<source>confirm operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2996"/>
<source>are you sure to clear the roller count?</source>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2996"/>
<location filename="mainwindow.cpp" line="3000"/>
<location filename="mainwindow.cpp" line="3091"/>
<location filename="mainwindow.cpp" line="3009"/>
<location filename="mainwindow.cpp" line="3013"/>
<location filename="mainwindow.cpp" line="3104"/>
<source>hint</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2996"/>
<location filename="mainwindow.cpp" line="3084"/>
<location filename="mainwindow.cpp" line="3009"/>
<location filename="mainwindow.cpp" line="3097"/>
<source>Roller scanned count has been set to 0.</source>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3000"/>
<location filename="mainwindow.cpp" line="3089"/>
<location filename="mainwindow.cpp" line="3013"/>
<location filename="mainwindow.cpp" line="3102"/>
<source>Roller scanned count reset failed.</source>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3059"/>
<location filename="mainwindow.cpp" line="3072"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3059"/>
<location filename="mainwindow.cpp" line="3072"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation>File lost! File may be deleted or renamed.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3070"/>
<location filename="mainwindow.cpp" line="3083"/>
<source>confirm the operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3071"/>
<location filename="mainwindow.cpp" line="3084"/>
<source>Are you sure to clear the rollor acount?</source>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3109"/>
<source>About %1</source>
<translation>About %1</translation>
<translation type="vanished">About %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3110"/>
<source>&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;</source>
<translation>&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>
<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="3125"/>
<location filename="mainwindow.cpp" line="3175"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3126"/>
<location filename="mainwindow.cpp" line="3176"/>
<source>&lt;p&gt;Version: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Version: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3127"/>
<location filename="mainwindow.cpp" line="3134"/>
<location filename="mainwindow.cpp" line="3177"/>
<source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright: &amp;#169; %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3131"/>
<location filename="mainwindow.cpp" line="3130"/>
<location filename="mainwindow.cpp" line="3181"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3133"/>
<location filename="mainwindow.cpp" line="3132"/>
<location filename="mainwindow.cpp" line="3183"/>
<source>&lt;p&gt;%1: %2</source>
<translation>&lt;p&gt;%1: %2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3135"/>
<location filename="mainwindow.cpp" line="3185"/>
<source>roller number</source>
<translation>Number of rollers</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3548"/>
<location filename="mainwindow.cpp" line="3636"/>
<source>open scanner </source>
<translation>Open scanner </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3549"/>
<location filename="mainwindow.cpp" line="4068"/>
<location filename="mainwindow.cpp" line="3637"/>
<location filename="mainwindow.cpp" line="4172"/>
<source>app name</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3579"/>
<location filename="mainwindow.cpp" line="4086"/>
<location filename="mainwindow.cpp" line="3667"/>
<location filename="mainwindow.cpp" line="4190"/>
<source>success</source>
<translation>successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3584"/>
<location filename="mainwindow.cpp" line="3672"/>
<source>be ready</source>
<translation>Ready</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3588"/>
<location filename="mainwindow.cpp" line="4091"/>
<location filename="mainwindow.cpp" line="3676"/>
<location filename="mainwindow.cpp" line="4195"/>
<source>failed</source>
<translation>failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3776"/>
<location filename="mainwindow.cpp" line="3808"/>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="3864"/>
<location filename="mainwindow.cpp" line="3896"/>
<location filename="mainwindow.cpp" line="3907"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3777"/>
<location filename="mainwindow.cpp" line="3865"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3808"/>
<location filename="mainwindow.cpp" line="3809"/>
<location filename="mainwindow.cpp" line="3810"/>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="3820"/>
<location filename="mainwindow.cpp" line="3821"/>
<location filename="mainwindow.cpp" line="3896"/>
<location filename="mainwindow.cpp" line="3897"/>
<location filename="mainwindow.cpp" line="3898"/>
<location filename="mainwindow.cpp" line="3907"/>
<location filename="mainwindow.cpp" line="3908"/>
<location filename="mainwindow.cpp" line="3909"/>
<source>folder limit</source>
<translation>Cannot access My Documents.
Please go to Scan to and change the accessible scan folder and then perform the scan.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3964"/>
<location filename="mainwindow.cpp" line="4052"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3968"/>
<location filename="mainwindow.cpp" line="4056"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3972"/>
<location filename="mainwindow.cpp" line="4060"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3976"/>
<location filename="mainwindow.cpp" line="4064"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3980"/>
<location filename="mainwindow.cpp" line="4068"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3984"/>
<location filename="mainwindow.cpp" line="4072"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3988"/>
<location filename="mainwindow.cpp" line="4076"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3992"/>
<location filename="mainwindow.cpp" line="4080"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3996"/>
<location filename="mainwindow.cpp" line="4084"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4000"/>
<location filename="mainwindow.cpp" line="4088"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4083"/>
<location filename="mainwindow.cpp" line="4187"/>
<source>apply setting</source>
<translation>Apply configuration</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4102"/>
<location filename="mainwindow.cpp" line="4206"/>
<source>Are you sure to close </source>
<translation>Are you sure you want to disconnect device:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4102"/>
<location filename="mainwindow.cpp" line="4206"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4112"/>
<location filename="mainwindow.cpp" line="4113"/>
<location filename="mainwindow.cpp" line="4216"/>
<location filename="mainwindow.cpp" line="4217"/>
<source>close </source>
<translation>Close </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4208"/>
<location filename="mainwindow.cpp" line="4312"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4208"/>
<location filename="mainwindow.cpp" line="4312"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4231"/>
<location filename="mainwindow.cpp" line="4249"/>
<location filename="mainwindow.cpp" line="4335"/>
<location filename="mainwindow.cpp" line="4353"/>
<source>The device does not support this operation</source>
<translation>Device does not support this operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4233"/>
<location filename="mainwindow.cpp" line="4251"/>
<location filename="mainwindow.cpp" line="4337"/>
<location filename="mainwindow.cpp" line="4355"/>
<source>IO error</source>
<translation>IO error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4270"/>
<location filename="mainwindow.cpp" line="4290"/>
<location filename="mainwindow.cpp" line="4374"/>
<location filename="mainwindow.cpp" line="4394"/>
<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="4329"/>
<location filename="mainwindow.cpp" line="4433"/>
<source>Are you sure to delete selected file?</source>
<translation>Are you sure to delete the selected file completely?</translation>
</message>

View File

@ -1329,16 +1329,27 @@ void MainWindow::on_continueScan()
ui->act_scannerSettings->setEnabled(false);
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid())
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
}
else
{
QTime curTimer = QTime::currentTime().addMSecs(10000);
while (QTime::currentTime() < curTimer)
{
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
}
ui->menu_scan->setEnabled(true);
ui->act_acquire->setEnabled(true);
ui->act_scannerSettings->setEnabled(true);
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
m_dialogLog->updateStatus(true, false);
}
}
@ -3247,16 +3258,27 @@ void MainWindow::on_act_acquire_triggered()
ui->act_scannerSettings->setEnabled(false);
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid())
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
}
else
{
QTime curTimer = QTime::currentTime().addMSecs(10000);
while (QTime::currentTime() < curTimer)
{
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
}
ui->menu_scan->setEnabled(true);
ui->act_acquire->setEnabled(true);
ui->act_scannerSettings->setEnabled(true);
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
m_dialogLog->updateStatus(true, false);
}
}
@ -3314,16 +3336,27 @@ void MainWindow::on_act_acquireSingle_triggered()
ui->act_scannerSettings->setEnabled(false);
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid())
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
}
else
{
QTime curTimer = QTime::currentTime().addMSecs(10000);
while (QTime::currentTime() < curTimer)
{
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
}
ui->menu_scan->setEnabled(true);
ui->act_acquire->setEnabled(true);
ui->act_scannerSettings->setEnabled(true);
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
m_dialogLog->updateStatus(true, false);
}
}
@ -3397,16 +3430,27 @@ void MainWindow::on_act_acquireInto_triggered()
ui->act_scannerSettings->setEnabled(false);
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid())
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
}
else
{
QTime curTimer = QTime::currentTime().addMSecs(10000);
while (QTime::currentTime() < curTimer)
{
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
}
ui->menu_scan->setEnabled(true);
ui->act_acquire->setEnabled(true);
ui->act_scannerSettings->setEnabled(true);
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
m_dialogLog->updateStatus(true, false);
}
}
@ -3479,16 +3523,27 @@ void MainWindow::on_act_insertFromScanner_triggered()
ui->act_scannerSettings->setEnabled(false);
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid())
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
}
else
{
QTime curTimer = QTime::currentTime().addMSecs(10000);
while (QTime::currentTime() < curTimer)
{
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
}
ui->menu_scan->setEnabled(true);
ui->act_acquire->setEnabled(true);
ui->act_scannerSettings->setEnabled(true);
m_dialogLog->addLog(tr("already waked up device"), false);
m_wndStatusBar->setDeviceStatusInfo(tr("already waked up device"), false);
m_dialogLog->updateStatus(true, false);
}
}
@ -4106,6 +4161,22 @@ void MainWindow::deleteUpgradePkg(const QString &cfgFilePath)
}
}
QString MainWindow::getDevPid()
{
VIDPID vidpid;
int vidpid_val;
unsigned int len = sizeof(int);
sane_io_control(dev_que_.handle(), IO_CTRL_CODE_GET_VIDPID, &vidpid_val, &len);
vidpid.Value = vidpid_val;
int vid = vidpid.VID;
int pid = vidpid.PID;
char buf[10];
char buf2[10];
sprintf(buf, "%x", vid);
sprintf(buf2, "%x", pid);
return QString::fromStdString(buf2);
}
void MainWindow::on_scanOptions_changed(const QString &device, const QString &option, bool checked_now)
{
QString title(tr("app name"));

View File

@ -273,6 +273,7 @@ private:
void upgradeFwAndLockDevice();
void deleteOverdueLogFile(const QString& logFilePath);
void deleteUpgradePkg(const QString& cfgFilePath);
QString getDevPid();
private:
Ui::MainWindow *ui;
@ -307,6 +308,16 @@ private:
}SAVEOPT;
SAVEOPT auto_save_info_;
union VIDPID
{
struct
{
unsigned short VID;
unsigned short PID;
};
unsigned int Value;
};
HGUInt m_dpi;
QString m_currFilePath;
int m_currIndex;

View File

@ -1835,11 +1835,7 @@ Please finish scanning first.</source>
</message>
<message>
<source>About %1</source>
<translation type="unfinished"> %1</translation>
</message>
<message>
<source>&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;</source>
<translation type="unfinished"></translation>
<translation type="obsolete"> %1</translation>
</message>
<message>
<source>about %1</source>
@ -2178,6 +2174,10 @@ Are you sure to close?</source>
<source>Are you sure to delete selected file?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please wake up the device manually</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>