解决选择源点击取消时也会弹窗提示的问题

This commit is contained in:
yangjiaxuan 2023-08-25 11:26:29 +08:00
parent e802868cc6
commit b2991b2f85
6 changed files with 345 additions and 329 deletions

Binary file not shown.

View File

@ -11,30 +11,30 @@
<context>
<name>DeviceUser</name>
<message>
<location filename="device_user.cpp" line="114"/>
<location filename="device_user.cpp" line="130"/>
<location filename="device_user.cpp" line="320"/>
<location filename="device_user.cpp" line="336"/>
<location filename="device_user.cpp" line="127"/>
<location filename="device_user.cpp" line="143"/>
<location filename="device_user.cpp" line="333"/>
<location filename="device_user.cpp" line="349"/>
<source>Select log file path</source>
<translation></translation>
</message>
<message>
<location filename="device_user.cpp" line="114"/>
<location filename="device_user.cpp" line="130"/>
<location filename="device_user.cpp" line="320"/>
<location filename="device_user.cpp" line="336"/>
<location filename="device_user.cpp" line="127"/>
<location filename="device_user.cpp" line="143"/>
<location filename="device_user.cpp" line="333"/>
<location filename="device_user.cpp" line="349"/>
<source>text(*.txt)</source>
<translation>(*.txt)</translation>
</message>
<message>
<location filename="device_user.cpp" line="227"/>
<location filename="device_user.cpp" line="247"/>
<location filename="device_user.cpp" line="240"/>
<location filename="device_user.cpp" line="260"/>
<source>Prompt</source>
<translation></translation>
</message>
<message>
<location filename="device_user.cpp" line="227"/>
<location filename="device_user.cpp" line="247"/>
<location filename="device_user.cpp" line="240"/>
<location filename="device_user.cpp" line="260"/>
<source>Scanner not found!</source>
<translation>!</translation>
</message>
@ -49,6 +49,16 @@
<source>no device</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="device_user.cpp" line="47"/>
<source>Prompt</source>
<translation></translation>
</message>
<message>
<location filename="device_user.cpp" line="47"/>
<source>Device source not found!</source>
<translation>!</translation>
</message>
</context>
<context>
<name>Dialog_Admin</name>
@ -2453,22 +2463,22 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="1782"/>
<location filename="mainwindow.cpp" line="1805"/>
<location filename="mainwindow.cpp" line="2622"/>
<location filename="mainwindow.cpp" line="2919"/>
<location filename="mainwindow.cpp" line="799"/>
<location filename="mainwindow.cpp" line="1778"/>
<location filename="mainwindow.cpp" line="1801"/>
<location filename="mainwindow.cpp" line="2618"/>
<location filename="mainwindow.cpp" line="2915"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1783"/>
<location filename="mainwindow.cpp" line="1779"/>
<source>modified, save it?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="804"/>
<location filename="mainwindow.cpp" line="800"/>
<source>file lost, remove it?</source>
<translation></translation>
</message>
@ -2493,17 +2503,17 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1801"/>
<location filename="mainwindow.cpp" line="1797"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1802"/>
<location filename="mainwindow.cpp" line="1798"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1806"/>
<location filename="mainwindow.cpp" line="1802"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
@ -2518,12 +2528,12 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2025"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2036"/>
<source>Insert images</source>
<translation></translation>
</message>
@ -2536,17 +2546,17 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1203"/>
<location filename="mainwindow.cpp" line="1199"/>
<source>binary</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1205"/>
<location filename="mainwindow.cpp" line="1201"/>
<source>gray</source>
<translation>256</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1207"/>
<location filename="mainwindow.cpp" line="1203"/>
<source>rgb</source>
<translation>24</translation>
</message>
@ -2571,237 +2581,233 @@ Do you want to clear?</source>
</message>
<message>
<location filename="mainwindow.cpp" line="342"/>
<location filename="mainwindow.cpp" line="4188"/>
<location filename="mainwindow.cpp" line="4450"/>
<location filename="mainwindow.cpp" line="4184"/>
<location filename="mainwindow.cpp" line="4446"/>
<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="385"/>
<location filename="mainwindow.cpp" line="4480"/>
<source>Device source not found!</source>
<translation>!</translation>
<translation type="vanished">!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="681"/>
<location filename="mainwindow.cpp" line="4144"/>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="4140"/>
<source>default scheme</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="1326"/>
<source>This scan is complete. Do you want to continue scanning?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1546"/>
<location filename="mainwindow.cpp" line="1542"/>
<source>thumbnailBar enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1550"/>
<location filename="mainwindow.cpp" line="1546"/>
<source>thumbnailBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1804"/>
<location filename="mainwindow.cpp" line="1800"/>
<source>cancel</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2330"/>
<location filename="mainwindow.cpp" line="2405"/>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2326"/>
<location filename="mainwindow.cpp" line="2401"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2416"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2412"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2440"/>
<location filename="mainwindow.cpp" line="2436"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2565"/>
<location filename="mainwindow.cpp" line="2561"/>
<source>Not supported</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="2595"/>
<source>Warning</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="2595"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3276"/>
<location filename="mainwindow.cpp" line="3272"/>
<source>Device is offline</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="3277"/>
<source>Open failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="385"/>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="3276"/>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4480"/>
<location filename="mainwindow.cpp" line="1326"/>
<location filename="mainwindow.cpp" line="3272"/>
<location filename="mainwindow.cpp" line="3277"/>
<location filename="mainwindow.cpp" line="4199"/>
<source>Prompt</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3212"/>
<location filename="mainwindow.cpp" line="3208"/>
<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="3222"/>
<location filename="mainwindow.cpp" line="3230"/>
<location filename="mainwindow.cpp" line="3237"/>
<location filename="mainwindow.cpp" line="3218"/>
<location filename="mainwindow.cpp" line="3226"/>
<location filename="mainwindow.cpp" line="3233"/>
<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="3226"/>
<location filename="mainwindow.cpp" line="3222"/>
<location filename="mainwindow.cpp" line="3230"/>
<location filename="mainwindow.cpp" line="3234"/>
<location filename="mainwindow.cpp" line="3238"/>
<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="3225"/>
<location filename="mainwindow.cpp" line="3233"/>
<location filename="mainwindow.cpp" line="3239"/>
<location filename="mainwindow.cpp" line="3221"/>
<location filename="mainwindow.cpp" line="3229"/>
<location filename="mainwindow.cpp" line="3235"/>
<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="3223"/>
<location filename="mainwindow.cpp" line="3231"/>
<location filename="mainwindow.cpp" line="3240"/>
<location filename="mainwindow.cpp" line="3219"/>
<location filename="mainwindow.cpp" line="3227"/>
<location filename="mainwindow.cpp" line="3236"/>
<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="3224"/>
<location filename="mainwindow.cpp" line="3232"/>
<location filename="mainwindow.cpp" line="3241"/>
<location filename="mainwindow.cpp" line="3220"/>
<location filename="mainwindow.cpp" line="3228"/>
<location filename="mainwindow.cpp" line="3237"/>
<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="3242"/>
<location filename="mainwindow.cpp" line="3238"/>
<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="3242"/>
<location filename="mainwindow.cpp" line="3238"/>
<source>Baidu map access</source>
<translation>访</translation>
</message>
@ -2823,7 +2829,7 @@ Please finish scanning first.</source>
</message>
<message>
<location filename="mainwindow.cpp" line="368"/>
<location filename="mainwindow.cpp" line="4464"/>
<location filename="mainwindow.cpp" line="4460"/>
<source>Device %1 is open</source>
<translation> %1 </translation>
</message>
@ -2832,76 +2838,76 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3851"/>
<location filename="mainwindow.cpp" line="3847"/>
<source>cache path folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3855"/>
<location filename="mainwindow.cpp" line="3851"/>
<source>aquireinto folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3939"/>
<location filename="mainwindow.cpp" line="3935"/>
<source>Image processing failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3943"/>
<location filename="mainwindow.cpp" line="3939"/>
<source>Ocr init failed</source>
<translation>OCR初始化错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3947"/>
<location filename="mainwindow.cpp" line="3943"/>
<source>Ocr failed</source>
<translation>OCR错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3951"/>
<location filename="mainwindow.cpp" line="3947"/>
<source>File does not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3955"/>
<location filename="mainwindow.cpp" line="3951"/>
<source>Failed to load dynamic library</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3959"/>
<location filename="mainwindow.cpp" line="3955"/>
<source>File data error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3963"/>
<location filename="mainwindow.cpp" line="3959"/>
<source>Image format processing error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3967"/>
<location filename="mainwindow.cpp" line="3963"/>
<source>Out of memory</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3971"/>
<location filename="mainwindow.cpp" line="3967"/>
<source>Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4199"/>
<source>The Device has reached roller life</source>
<translation>使
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4349"/>
<location filename="mainwindow.cpp" line="4368"/>
<location filename="mainwindow.cpp" line="4345"/>
<location filename="mainwindow.cpp" line="4364"/>
<source>The language switch is successful and takes effect the next time the software is started!</source>
<translation>!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4412"/>
<location filename="mainwindow.cpp" line="4408"/>
<source>Are you sure to delete selected file?</source>
<translation></translation>
</message>
@ -2919,7 +2925,7 @@ Please finish scanning first.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3935"/>
<location filename="mainwindow.cpp" line="3931"/>
<source>Insufficient access rights</source>
<translation>访</translation>
</message>
@ -2944,18 +2950,18 @@ Please finish scanning first.</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4291"/>
<location filename="mainwindow.cpp" line="4287"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4291"/>
<location filename="mainwindow.cpp" line="4287"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4311"/>
<location filename="mainwindow.cpp" line="4327"/>
<location filename="mainwindow.cpp" line="4307"/>
<location filename="mainwindow.cpp" line="4323"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
@ -2964,8 +2970,8 @@ Please finish scanning first.</source>
<translation type="vanished">IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3820"/>
<location filename="mainwindow.cpp" line="3858"/>
<location filename="mainwindow.cpp" line="3816"/>
<location filename="mainwindow.cpp" line="3854"/>
<source>error</source>
<translation></translation>
</message>
@ -2980,7 +2986,7 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2920"/>
<location filename="mainwindow.cpp" line="2916"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
@ -3085,57 +3091,57 @@ Continue to close?</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="400"/>
<location filename="mainwindow.cpp" line="396"/>
<source>auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="401"/>
<location filename="mainwindow.cpp" line="397"/>
<source>when switching pictures, save the edited pictures directly without reminding</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="553"/>
<location filename="mainwindow.cpp" line="549"/>
<source>statusBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="557"/>
<location filename="mainwindow.cpp" line="553"/>
<source>statusBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="562"/>
<source>toolBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="566"/>
<source>toolBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="579"/>
<location filename="mainwindow.cpp" line="575"/>
<source>colorInfo enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="579"/>
<source>colorInfo disenabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="616"/>
<location filename="mainwindow.cpp" line="612"/>
<source>enabling automatic saving</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="620"/>
<location filename="mainwindow.cpp" line="616"/>
<source>cancel auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="737"/>
<location filename="mainwindow.cpp" line="733"/>
<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>
@ -3180,12 +3186,12 @@ Continue to close?</source>
<translation type="vanished"> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2271"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2335"/>
<location filename="mainwindow.cpp" line="2336"/>
<location filename="mainwindow.cpp" line="2410"/>
<location filename="mainwindow.cpp" line="2411"/>
<location filename="mainwindow.cpp" line="2267"/>
<location filename="mainwindow.cpp" line="2268"/>
<location filename="mainwindow.cpp" line="2331"/>
<location filename="mainwindow.cpp" line="2332"/>
<location filename="mainwindow.cpp" line="2406"/>
<location filename="mainwindow.cpp" line="2407"/>
<source>save image doc failed: </source>
<translation> </translation>
</message>
@ -3224,17 +3230,17 @@ Continue to close?</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="3567"/>
<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="3821"/>
<location filename="mainwindow.cpp" line="3817"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2623"/>
<location filename="mainwindow.cpp" line="2619"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
@ -3244,39 +3250,39 @@ Are you sure to close?</source>
<translation type="vanished"> : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2271"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2330"/>
<location filename="mainwindow.cpp" line="2335"/>
<location filename="mainwindow.cpp" line="2405"/>
<location filename="mainwindow.cpp" line="2410"/>
<location filename="mainwindow.cpp" line="2416"/>
<location filename="mainwindow.cpp" line="2440"/>
<location filename="mainwindow.cpp" line="2634"/>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2267"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2326"/>
<location filename="mainwindow.cpp" line="2331"/>
<location filename="mainwindow.cpp" line="2401"/>
<location filename="mainwindow.cpp" line="2406"/>
<location filename="mainwindow.cpp" line="2412"/>
<location filename="mainwindow.cpp" line="2436"/>
<location filename="mainwindow.cpp" line="2630"/>
<location filename="mainwindow.cpp" line="2979"/>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="4311"/>
<location filename="mainwindow.cpp" line="4327"/>
<location filename="mainwindow.cpp" line="4348"/>
<location filename="mainwindow.cpp" line="4367"/>
<location filename="mainwindow.cpp" line="4412"/>
<location filename="mainwindow.cpp" line="3567"/>
<location filename="mainwindow.cpp" line="4307"/>
<location filename="mainwindow.cpp" line="4323"/>
<location filename="mainwindow.cpp" line="4344"/>
<location filename="mainwindow.cpp" line="4363"/>
<location filename="mainwindow.cpp" line="4408"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2635"/>
<location filename="mainwindow.cpp" line="2631"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2971"/>
<location filename="mainwindow.cpp" line="2967"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2972"/>
<location filename="mainwindow.cpp" line="2968"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
@ -3285,22 +3291,22 @@ Are you sure to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2979"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="2983"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3093"/>
<location filename="mainwindow.cpp" line="3089"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3093"/>
<location filename="mainwindow.cpp" line="3089"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -3341,7 +3347,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="3210"/>
<location filename="mainwindow.cpp" line="3206"/>
<source>about %1</source>
<translation> %1</translation>
</message>
@ -3383,7 +3389,7 @@ Are you sure to close?</source>
<name>Widget</name>
<message>
<source>zuobiaozhou</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
</context>
<context>

Binary file not shown.

View File

@ -39,30 +39,30 @@
<context>
<name>DeviceUser</name>
<message>
<location filename="device_user.cpp" line="114"/>
<location filename="device_user.cpp" line="130"/>
<location filename="device_user.cpp" line="320"/>
<location filename="device_user.cpp" line="336"/>
<location filename="device_user.cpp" line="127"/>
<location filename="device_user.cpp" line="143"/>
<location filename="device_user.cpp" line="333"/>
<location filename="device_user.cpp" line="349"/>
<source>Select log file path</source>
<translation>Select log file path</translation>
</message>
<message>
<location filename="device_user.cpp" line="114"/>
<location filename="device_user.cpp" line="130"/>
<location filename="device_user.cpp" line="320"/>
<location filename="device_user.cpp" line="336"/>
<location filename="device_user.cpp" line="127"/>
<location filename="device_user.cpp" line="143"/>
<location filename="device_user.cpp" line="333"/>
<location filename="device_user.cpp" line="349"/>
<source>text(*.txt)</source>
<translation>Text(*.txt)</translation>
</message>
<message>
<location filename="device_user.cpp" line="227"/>
<location filename="device_user.cpp" line="247"/>
<location filename="device_user.cpp" line="240"/>
<location filename="device_user.cpp" line="260"/>
<source>Prompt</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="device_user.cpp" line="227"/>
<location filename="device_user.cpp" line="247"/>
<location filename="device_user.cpp" line="240"/>
<location filename="device_user.cpp" line="260"/>
<source>Scanner not found!</source>
<translation>Scanner not found!</translation>
</message>
@ -73,6 +73,16 @@
<source>no device</source>
<translation type="vanished">No scanner detected</translation>
</message>
<message>
<location filename="device_user.cpp" line="47"/>
<source>Prompt</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="device_user.cpp" line="47"/>
<source>Device source not found!</source>
<translation>Device source not found!</translation>
</message>
</context>
<context>
<name>Dialog_Admin</name>
@ -2349,76 +2359,76 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">No scanner detected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="400"/>
<location filename="mainwindow.cpp" line="396"/>
<source>auto save</source>
<translation>Auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="401"/>
<location filename="mainwindow.cpp" line="397"/>
<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="553"/>
<location filename="mainwindow.cpp" line="549"/>
<source>statusBar displayed</source>
<translation>Show status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="557"/>
<location filename="mainwindow.cpp" line="553"/>
<source>statusBar hidden</source>
<translation>Hide status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="566"/>
<location filename="mainwindow.cpp" line="562"/>
<source>toolBar displayed</source>
<translation>Show toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="566"/>
<source>toolBar hidden</source>
<translation>Hide toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="579"/>
<location filename="mainwindow.cpp" line="575"/>
<source>colorInfo enabled</source>
<translation>Enable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="583"/>
<location filename="mainwindow.cpp" line="579"/>
<source>colorInfo disenabled</source>
<translation>Disable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="616"/>
<location filename="mainwindow.cpp" line="612"/>
<source>enabling automatic saving</source>
<translation>Enable auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="620"/>
<location filename="mainwindow.cpp" line="616"/>
<source>cancel auto save</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="737"/>
<location filename="mainwindow.cpp" line="733"/>
<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="803"/>
<location filename="mainwindow.cpp" line="1782"/>
<location filename="mainwindow.cpp" line="1805"/>
<location filename="mainwindow.cpp" line="2622"/>
<location filename="mainwindow.cpp" line="2919"/>
<location filename="mainwindow.cpp" line="799"/>
<location filename="mainwindow.cpp" line="1778"/>
<location filename="mainwindow.cpp" line="1801"/>
<location filename="mainwindow.cpp" line="2618"/>
<location filename="mainwindow.cpp" line="2915"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="1326"/>
<source>This scan is complete. Do you want to continue scanning?</source>
<translation>This scan is complete. Do you want to continue scanning?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1783"/>
<location filename="mainwindow.cpp" line="1779"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
@ -2435,7 +2445,7 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="804"/>
<location filename="mainwindow.cpp" line="800"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2481,34 +2491,34 @@ 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="2271"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2335"/>
<location filename="mainwindow.cpp" line="2336"/>
<location filename="mainwindow.cpp" line="2410"/>
<location filename="mainwindow.cpp" line="2411"/>
<location filename="mainwindow.cpp" line="2267"/>
<location filename="mainwindow.cpp" line="2268"/>
<location filename="mainwindow.cpp" line="2331"/>
<location filename="mainwindow.cpp" line="2332"/>
<location filename="mainwindow.cpp" line="2406"/>
<location filename="mainwindow.cpp" line="2407"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1203"/>
<location filename="mainwindow.cpp" line="1199"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="342"/>
<location filename="mainwindow.cpp" line="4188"/>
<location filename="mainwindow.cpp" line="4450"/>
<location filename="mainwindow.cpp" line="4184"/>
<location filename="mainwindow.cpp" line="4446"/>
<source>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</source>
<translation>Please go to the menu bar &apos;Scan -&gt;Select device source...&apos; to select a device</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1205"/>
<location filename="mainwindow.cpp" line="1201"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1207"/>
<location filename="mainwindow.cpp" line="1203"/>
<source>rgb</source>
<translation>Color</translation>
</message>
@ -2522,8 +2532,8 @@ Please reselect a path or clear disk space immediately.</translation>
<translation>UNI scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="681"/>
<location filename="mainwindow.cpp" line="4144"/>
<location filename="mainwindow.cpp" line="677"/>
<location filename="mainwindow.cpp" line="4140"/>
<source>default scheme</source>
<translation>Default scheme</translation>
</message>
@ -2541,289 +2551,285 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1546"/>
<location filename="mainwindow.cpp" line="1542"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1550"/>
<location filename="mainwindow.cpp" line="1546"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1801"/>
<location filename="mainwindow.cpp" line="1797"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1802"/>
<location filename="mainwindow.cpp" line="1798"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1804"/>
<location filename="mainwindow.cpp" line="1800"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1806"/>
<location filename="mainwindow.cpp" line="1802"/>
<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="2029"/>
<location filename="mainwindow.cpp" line="2025"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2036"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2271"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2330"/>
<location filename="mainwindow.cpp" line="2335"/>
<location filename="mainwindow.cpp" line="2405"/>
<location filename="mainwindow.cpp" line="2410"/>
<location filename="mainwindow.cpp" line="2416"/>
<location filename="mainwindow.cpp" line="2440"/>
<location filename="mainwindow.cpp" line="2634"/>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2267"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2326"/>
<location filename="mainwindow.cpp" line="2331"/>
<location filename="mainwindow.cpp" line="2401"/>
<location filename="mainwindow.cpp" line="2406"/>
<location filename="mainwindow.cpp" line="2412"/>
<location filename="mainwindow.cpp" line="2436"/>
<location filename="mainwindow.cpp" line="2630"/>
<location filename="mainwindow.cpp" line="2979"/>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="4311"/>
<location filename="mainwindow.cpp" line="4327"/>
<location filename="mainwindow.cpp" line="4348"/>
<location filename="mainwindow.cpp" line="4367"/>
<location filename="mainwindow.cpp" line="4412"/>
<location filename="mainwindow.cpp" line="3567"/>
<location filename="mainwindow.cpp" line="4307"/>
<location filename="mainwindow.cpp" line="4323"/>
<location filename="mainwindow.cpp" line="4344"/>
<location filename="mainwindow.cpp" line="4363"/>
<location filename="mainwindow.cpp" line="4408"/>
<source>tips</source>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2266"/>
<location filename="mainwindow.cpp" line="2330"/>
<location filename="mainwindow.cpp" line="2405"/>
<location filename="mainwindow.cpp" line="2262"/>
<location filename="mainwindow.cpp" line="2326"/>
<location filename="mainwindow.cpp" line="2401"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2416"/>
<location filename="mainwindow.cpp" line="2273"/>
<location filename="mainwindow.cpp" line="2412"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2440"/>
<location filename="mainwindow.cpp" line="2436"/>
<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="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2501"/>
<location filename="mainwindow.cpp" line="2497"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2544"/>
<location filename="mainwindow.cpp" line="2540"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2558"/>
<location filename="mainwindow.cpp" line="2554"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2565"/>
<location filename="mainwindow.cpp" line="2561"/>
<source>Not supported</source>
<translation>Not supported</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="2595"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2599"/>
<location filename="mainwindow.cpp" line="2595"/>
<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="2623"/>
<location filename="mainwindow.cpp" line="2619"/>
<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="2635"/>
<location filename="mainwindow.cpp" line="2631"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2920"/>
<location filename="mainwindow.cpp" line="2916"/>
<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="3276"/>
<location filename="mainwindow.cpp" line="3272"/>
<source>Device is offline</source>
<translation>Device is offline</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="3277"/>
<source>Open failed</source>
<translation>Open failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4199"/>
<source>The Device has reached roller life</source>
<translation>The paper roller has reached its service life, and the frequency of abnormalities during the scanning process may increase.
Please contact the equipment supplier promptly to purchase a replacement paper roller!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="385"/>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="3276"/>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4480"/>
<location filename="mainwindow.cpp" line="1326"/>
<location filename="mainwindow.cpp" line="3272"/>
<location filename="mainwindow.cpp" line="3277"/>
<location filename="mainwindow.cpp" line="4199"/>
<source>Prompt</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3212"/>
<location filename="mainwindow.cpp" line="3208"/>
<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="3222"/>
<location filename="mainwindow.cpp" line="3230"/>
<location filename="mainwindow.cpp" line="3237"/>
<location filename="mainwindow.cpp" line="3218"/>
<location filename="mainwindow.cpp" line="3226"/>
<location filename="mainwindow.cpp" line="3233"/>
<source>&lt;p&gt;Vendor: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Manufacturer/Developer: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3226"/>
<location filename="mainwindow.cpp" line="3222"/>
<location filename="mainwindow.cpp" line="3230"/>
<location filename="mainwindow.cpp" line="3234"/>
<location filename="mainwindow.cpp" line="3238"/>
<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="3225"/>
<location filename="mainwindow.cpp" line="3233"/>
<location filename="mainwindow.cpp" line="3239"/>
<location filename="mainwindow.cpp" line="3221"/>
<location filename="mainwindow.cpp" line="3229"/>
<location filename="mainwindow.cpp" line="3235"/>
<source>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company URL: &lt;a href=%1&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="385"/>
<location filename="mainwindow.cpp" line="4480"/>
<source>Device source not found!</source>
<translation>Device source not found!</translation>
<translation type="vanished">Device source not found!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3223"/>
<location filename="mainwindow.cpp" line="3231"/>
<location filename="mainwindow.cpp" line="3240"/>
<location filename="mainwindow.cpp" line="3219"/>
<location filename="mainwindow.cpp" line="3227"/>
<location filename="mainwindow.cpp" line="3236"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Address: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3224"/>
<location filename="mainwindow.cpp" line="3232"/>
<location filename="mainwindow.cpp" line="3241"/>
<location filename="mainwindow.cpp" line="3220"/>
<location filename="mainwindow.cpp" line="3228"/>
<location filename="mainwindow.cpp" line="3237"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Contact number: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3242"/>
<location filename="mainwindow.cpp" line="3238"/>
<source>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</source>
<translation>&lt;p&gt;Navigation address: &lt;a href=%1&gt;%2&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3242"/>
<location filename="mainwindow.cpp" line="3238"/>
<source>Baidu map access</source>
<translation>Baidu map access</translation>
</message>
@ -2878,23 +2884,23 @@ Please contact the equipment supplier promptly to purchase a replacement paper r
<translation type="vanished">Total count: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="3567"/>
<source>Detected that there is less than 1GB of disk space. Do you want to continue?</source>
<translation>Detected that there is less than 1GB of disk space. Do you want to continue?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="368"/>
<location filename="mainwindow.cpp" line="4464"/>
<location filename="mainwindow.cpp" line="4460"/>
<source>Device %1 is open</source>
<translation>Device %1 is open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2971"/>
<location filename="mainwindow.cpp" line="2967"/>
<source>confirm operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2972"/>
<location filename="mainwindow.cpp" line="2968"/>
<source>are you sure to clear the roller count?</source>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
@ -2903,22 +2909,22 @@ Please contact the equipment supplier promptly to purchase a replacement paper r
<translation type="vanished">Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2979"/>
<source>Roller scanned count has been set to 0.</source>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="2983"/>
<source>Roller scanned count reset failed.</source>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3093"/>
<location filename="mainwindow.cpp" line="3089"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3093"/>
<location filename="mainwindow.cpp" line="3089"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation>File lost! File may be deleted or renamed.</translation>
</message>
@ -2935,13 +2941,13 @@ Please contact the equipment supplier promptly to purchase a replacement paper r
<translation type="vanished">About</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3851"/>
<location filename="mainwindow.cpp" line="3847"/>
<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="3855"/>
<location filename="mainwindow.cpp" line="3851"/>
<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>
@ -2955,7 +2961,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="3210"/>
<location filename="mainwindow.cpp" line="3206"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
@ -3000,13 +3006,13 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3820"/>
<location filename="mainwindow.cpp" line="3858"/>
<location filename="mainwindow.cpp" line="3816"/>
<location filename="mainwindow.cpp" line="3854"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3821"/>
<location filename="mainwindow.cpp" line="3817"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
@ -3016,52 +3022,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="3935"/>
<location filename="mainwindow.cpp" line="3931"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3939"/>
<location filename="mainwindow.cpp" line="3935"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3943"/>
<location filename="mainwindow.cpp" line="3939"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3947"/>
<location filename="mainwindow.cpp" line="3943"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3951"/>
<location filename="mainwindow.cpp" line="3947"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3955"/>
<location filename="mainwindow.cpp" line="3951"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3959"/>
<location filename="mainwindow.cpp" line="3955"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3963"/>
<location filename="mainwindow.cpp" line="3959"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3967"/>
<location filename="mainwindow.cpp" line="3963"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3971"/>
<location filename="mainwindow.cpp" line="3967"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
@ -3082,18 +3088,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="4291"/>
<location filename="mainwindow.cpp" line="4287"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4291"/>
<location filename="mainwindow.cpp" line="4287"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4311"/>
<location filename="mainwindow.cpp" line="4327"/>
<location filename="mainwindow.cpp" line="4307"/>
<location filename="mainwindow.cpp" line="4323"/>
<source>The device does not support this operation</source>
<translation>Operation failed</translation>
</message>
@ -3102,13 +3108,13 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
<translation type="vanished">IO error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4349"/>
<location filename="mainwindow.cpp" line="4368"/>
<location filename="mainwindow.cpp" line="4345"/>
<location filename="mainwindow.cpp" line="4364"/>
<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="4412"/>
<location filename="mainwindow.cpp" line="4408"/>
<source>Are you sure to delete selected file?</source>
<translation>Are you sure to delete the selected file completely?</translation>
</message>
@ -3128,7 +3134,7 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
<name>Widget</name>
<message>
<source>zuobiaozhou</source>
<translation>Coordinate axis</translation>
<translation type="vanished">Coordinate axis</translation>
</message>
</context>
<context>

View File

@ -23,9 +23,17 @@ DeviceUserMgr::~DeviceUserMgr()
class DeviceUser* DeviceUserMgr::OpenDeviceUser()
{
HGTwainDS ds = nullptr;
HGTwain_CreateSelectedDSEx(m_twainDSM, &ds);
HGResult ret = HGTwain_CreateSelectedDSEx(m_twainDSM, &ds);
if (nullptr == ds)
{
if (HGTWAIN_ERR_CANCELUI != ret)
{
QMessageBox::information(m_wnd, tr("Prompt"), tr("Device source not found!"));
}
return nullptr;
}
return new DeviceUser(m_wnd, ds, m_password);
}
@ -34,7 +42,11 @@ DeviceUser *DeviceUserMgr::OpenDefaultDeviceUser()
HGTwainDS ds = nullptr;
HGTwain_CreateDefaultDS(m_twainDSM, &ds);
if (nullptr == ds)
{
QMessageBox::information(m_wnd, tr("Prompt"), tr("Device source not found!"));
return nullptr;
}
return new DeviceUser(m_wnd, ds, m_password);
}

View File

@ -380,10 +380,6 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
m_devUser = nullptr;
}
}
else
{
QMessageBox::information(this, tr("Prompt"), tr("Device source not found!"));
}
QString password = getCfgValue("login", "password", QString(""));
if (!password.isEmpty())
@ -4475,10 +4471,6 @@ void MainWindow::on_act_selectDevice_triggered()
delete devUser;
}
}
else
{
QMessageBox::information(this, tr("Prompt"), tr("Device source not found!"));
}
this->setEnabled(true);
m_canClose = true;