将语言切换改为下次启动时生效

This commit is contained in:
luoliangyi 2023-01-29 11:18:42 +08:00
parent 1be5952185
commit d3313b271b
8 changed files with 504 additions and 509 deletions

Binary file not shown.

View File

@ -2179,51 +2179,51 @@ bug description:
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="111"/>
<location filename="mainwindow.cpp" line="109"/>
<source>HuaGoScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="292"/>
<location filename="mainwindow.cpp" line="290"/>
<source>Grid</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="297"/>
<location filename="mainwindow.cpp" line="295"/>
<source>Move To...</source>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="301"/>
<location filename="mainwindow.cpp" line="299"/>
<source>Insert files</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<location filename="mainwindow.cpp" line="328"/>
<location filename="mainwindow.cpp" line="329"/>
<location filename="mainwindow.cpp" line="330"/>
<source>nodevice</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="618"/>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="1682"/>
<location filename="mainwindow.cpp" line="1707"/>
<location filename="mainwindow.cpp" line="2477"/>
<location filename="mainwindow.cpp" line="2926"/>
<location filename="mainwindow.cpp" line="611"/>
<location filename="mainwindow.cpp" line="666"/>
<location filename="mainwindow.cpp" line="1675"/>
<location filename="mainwindow.cpp" line="1700"/>
<location filename="mainwindow.cpp" line="2470"/>
<location filename="mainwindow.cpp" line="2919"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="619"/>
<location filename="mainwindow.cpp" line="1683"/>
<location filename="mainwindow.cpp" line="612"/>
<location filename="mainwindow.cpp" line="1676"/>
<source>modified, save it?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="667"/>
<source>file lost, remove it?</source>
<translation></translation>
</message>
@ -2232,7 +2232,7 @@ bug description:
<translation type="vanished"> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="909"/>
<location filename="mainwindow.cpp" line="902"/>
<source> disconnected</source>
<translation> </translation>
</message>
@ -2249,17 +2249,17 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1703"/>
<location filename="mainwindow.cpp" line="1696"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1704"/>
<location filename="mainwindow.cpp" line="1697"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1708"/>
<location filename="mainwindow.cpp" line="1701"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
@ -2274,12 +2274,12 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1903"/>
<location filename="mainwindow.cpp" line="1896"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1914"/>
<location filename="mainwindow.cpp" line="1907"/>
<source>Insert images</source>
<translation></translation>
</message>
@ -2292,234 +2292,240 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1160"/>
<location filename="mainwindow.cpp" line="1153"/>
<source>binary</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1162"/>
<location filename="mainwindow.cpp" line="1155"/>
<source>gray</source>
<translation>256</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1164"/>
<location filename="mainwindow.cpp" line="1157"/>
<source>rgb</source>
<translation>24</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1418"/>
<location filename="mainwindow.cpp" line="1411"/>
<source>thumbnailBar enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1422"/>
<location filename="mainwindow.cpp" line="1415"/>
<source>thumbnailBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1706"/>
<location filename="mainwindow.cpp" line="1699"/>
<source>cancel</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2118"/>
<location filename="mainwindow.cpp" line="2183"/>
<location filename="mainwindow.cpp" line="2265"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2137"/>
<location filename="mainwindow.cpp" line="2284"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2277"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2308"/>
<location filename="mainwindow.cpp" line="2301"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2454"/>
<location filename="mainwindow.cpp" line="2447"/>
<source>Warning</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2454"/>
<location filename="mainwindow.cpp" line="2447"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3940"/>
<location filename="mainwindow.cpp" line="3933"/>
<source>Image processing failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3944"/>
<location filename="mainwindow.cpp" line="3937"/>
<source>Ocr init failed</source>
<translation>OCR初始化错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3948"/>
<location filename="mainwindow.cpp" line="3941"/>
<source>Ocr failed</source>
<translation>OCR错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3952"/>
<location filename="mainwindow.cpp" line="3945"/>
<source>File does not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3956"/>
<location filename="mainwindow.cpp" line="3949"/>
<source>Failed to load dynamic library</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3960"/>
<location filename="mainwindow.cpp" line="3953"/>
<source>File data error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3964"/>
<location filename="mainwindow.cpp" line="3957"/>
<source>Image format processing error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3968"/>
<location filename="mainwindow.cpp" line="3961"/>
<source>Out of memory</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3972"/>
<location filename="mainwindow.cpp" line="3965"/>
<source>Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1336"/>
<location filename="mainwindow.cpp" line="1337"/>
<location filename="mainwindow.cpp" line="3205"/>
<location filename="mainwindow.cpp" line="3206"/>
<location filename="mainwindow.cpp" line="3272"/>
<location filename="mainwindow.cpp" line="3273"/>
<location filename="mainwindow.cpp" line="3355"/>
<location filename="mainwindow.cpp" line="3356"/>
<location filename="mainwindow.cpp" line="3437"/>
<location filename="mainwindow.cpp" line="3438"/>
<location filename="mainwindow.cpp" line="4242"/>
<location filename="mainwindow.cpp" line="4269"/>
<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="1329"/>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="3198"/>
<location filename="mainwindow.cpp" line="3199"/>
<location filename="mainwindow.cpp" line="3265"/>
<location filename="mainwindow.cpp" line="3266"/>
<location filename="mainwindow.cpp" line="3348"/>
<location filename="mainwindow.cpp" line="3349"/>
<location filename="mainwindow.cpp" line="3430"/>
<location filename="mainwindow.cpp" line="3431"/>
<source>already waked up device</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3574"/>
<location filename="mainwindow.cpp" line="3567"/>
<source>be ready</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3781"/>
<location filename="mainwindow.cpp" line="3782"/>
<location filename="mainwindow.cpp" line="3791"/>
<location filename="mainwindow.cpp" line="3792"/>
<location filename="mainwindow.cpp" line="3793"/>
<location filename="mainwindow.cpp" line="3773"/>
<location filename="mainwindow.cpp" line="3774"/>
<location filename="mainwindow.cpp" line="3775"/>
<location filename="mainwindow.cpp" line="3784"/>
<location filename="mainwindow.cpp" line="3785"/>
<location filename="mainwindow.cpp" line="3786"/>
<source>folder limit</source>
<translation>访
访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3936"/>
<location filename="mainwindow.cpp" line="3929"/>
<source>Insufficient access rights</source>
<translation>访</translation>
</message>
@ -2532,47 +2538,47 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4074"/>
<location filename="mainwindow.cpp" line="4067"/>
<source>Are you sure to close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4074"/>
<location filename="mainwindow.cpp" line="4067"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4084"/>
<location filename="mainwindow.cpp" line="4085"/>
<location filename="mainwindow.cpp" line="4077"/>
<location filename="mainwindow.cpp" line="4078"/>
<source>close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4180"/>
<location filename="mainwindow.cpp" line="4173"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4180"/>
<location filename="mainwindow.cpp" line="4173"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4221"/>
<location filename="mainwindow.cpp" line="4196"/>
<location filename="mainwindow.cpp" line="4214"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4205"/>
<location filename="mainwindow.cpp" line="4223"/>
<location filename="mainwindow.cpp" line="4198"/>
<location filename="mainwindow.cpp" line="4216"/>
<source>IO error</source>
<translation>IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3748"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3791"/>
<location filename="mainwindow.cpp" line="3741"/>
<location filename="mainwindow.cpp" line="3773"/>
<location filename="mainwindow.cpp" line="3784"/>
<source>error</source>
<translation></translation>
</message>
@ -2587,17 +2593,17 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2927"/>
<location filename="mainwindow.cpp" line="2920"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3060"/>
<location filename="mainwindow.cpp" line="3053"/>
<source>confirm the operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3061"/>
<location filename="mainwindow.cpp" line="3054"/>
<source>Are you sure to clear the rollor acount?</source>
<translation></translation>
</message>
@ -2606,34 +2612,34 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3121"/>
<location filename="mainwindow.cpp" line="3114"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3123"/>
<location filename="mainwindow.cpp" line="3116"/>
<source>&lt;p&gt;%1: %2</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3125"/>
<location filename="mainwindow.cpp" line="3118"/>
<source>roller number</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3538"/>
<location filename="mainwindow.cpp" line="3531"/>
<source>open scanner </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3539"/>
<location filename="mainwindow.cpp" line="4040"/>
<location filename="mainwindow.cpp" line="3532"/>
<location filename="mainwindow.cpp" line="4033"/>
<source>app name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3569"/>
<location filename="mainwindow.cpp" line="4058"/>
<location filename="mainwindow.cpp" line="3562"/>
<location filename="mainwindow.cpp" line="4051"/>
<source>success</source>
<translation></translation>
</message>
@ -2650,22 +2656,22 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3578"/>
<location filename="mainwindow.cpp" line="4063"/>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="4056"/>
<source>failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="957"/>
<location filename="mainwindow.cpp" line="1021"/>
<location filename="mainwindow.cpp" line="3607"/>
<location filename="mainwindow.cpp" line="950"/>
<location filename="mainwindow.cpp" line="1014"/>
<location filename="mainwindow.cpp" line="3600"/>
<source>warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="953"/>
<location filename="mainwindow.cpp" line="1017"/>
<location filename="mainwindow.cpp" line="3603"/>
<location filename="mainwindow.cpp" line="946"/>
<location filename="mainwindow.cpp" line="1010"/>
<location filename="mainwindow.cpp" line="3596"/>
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
<translation>,
</translation>
@ -2675,143 +2681,145 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4055"/>
<location filename="mainwindow.cpp" line="4048"/>
<source>apply setting</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1317"/>
<location filename="mainwindow.cpp" line="1318"/>
<location filename="mainwindow.cpp" line="1319"/>
<location filename="mainwindow.cpp" line="3186"/>
<location filename="mainwindow.cpp" line="3187"/>
<location filename="mainwindow.cpp" line="3188"/>
<location filename="mainwindow.cpp" line="3253"/>
<location filename="mainwindow.cpp" line="3254"/>
<location filename="mainwindow.cpp" line="3255"/>
<location filename="mainwindow.cpp" line="3336"/>
<location filename="mainwindow.cpp" line="3337"/>
<location filename="mainwindow.cpp" line="3338"/>
<location filename="mainwindow.cpp" line="3418"/>
<location filename="mainwindow.cpp" line="3419"/>
<location filename="mainwindow.cpp" line="3420"/>
<location filename="mainwindow.cpp" line="1310"/>
<location filename="mainwindow.cpp" line="1311"/>
<location filename="mainwindow.cpp" line="1312"/>
<location filename="mainwindow.cpp" line="3179"/>
<location filename="mainwindow.cpp" line="3180"/>
<location filename="mainwindow.cpp" line="3181"/>
<location filename="mainwindow.cpp" line="3246"/>
<location filename="mainwindow.cpp" line="3247"/>
<location filename="mainwindow.cpp" line="3248"/>
<location filename="mainwindow.cpp" line="3329"/>
<location filename="mainwindow.cpp" line="3330"/>
<location filename="mainwindow.cpp" line="3331"/>
<location filename="mainwindow.cpp" line="3411"/>
<location filename="mainwindow.cpp" line="3412"/>
<location filename="mainwindow.cpp" line="3413"/>
<source>start failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="99"/>
<location filename="mainwindow.cpp" line="97"/>
<source>HanvonScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="103"/>
<location filename="mainwindow.cpp" line="101"/>
<source>LanxumScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="107"/>
<location filename="mainwindow.cpp" line="105"/>
<source>CumtennScan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="165"/>
<location filename="mainwindow.cpp" line="163"/>
<source>menu_language</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="166"/>
<location filename="mainwindow.cpp" line="164"/>
<source>act_simpCN</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="167"/>
<location filename="mainwindow.cpp" line="165"/>
<source>act_English</source>
<translation type="unfinished">English</translation>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="357"/>
<location filename="mainwindow.cpp" line="355"/>
<source>auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="358"/>
<location filename="mainwindow.cpp" line="356"/>
<source>when switching pictures, save the edited pictures directly without reminding</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="512"/>
<location filename="mainwindow.cpp" line="505"/>
<source>statusBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="516"/>
<location filename="mainwindow.cpp" line="509"/>
<source>statusBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="525"/>
<location filename="mainwindow.cpp" line="518"/>
<source>toolBar displayed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="529"/>
<location filename="mainwindow.cpp" line="522"/>
<source>toolBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="538"/>
<location filename="mainwindow.cpp" line="531"/>
<source>colorInfo enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="535"/>
<source>colorInfo disenabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="568"/>
<source>enabling automatic saving</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="579"/>
<location filename="mainwindow.cpp" line="572"/>
<source>cancel auto save</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="613"/>
<location filename="mainwindow.cpp" line="606"/>
<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>
<message>
<location filename="mainwindow.cpp" line="621"/>
<location filename="mainwindow.cpp" line="676"/>
<location filename="mainwindow.cpp" line="1685"/>
<location filename="mainwindow.cpp" line="2480"/>
<location filename="mainwindow.cpp" line="2494"/>
<location filename="mainwindow.cpp" line="2928"/>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="3063"/>
<location filename="mainwindow.cpp" line="3751"/>
<location filename="mainwindow.cpp" line="4076"/>
<location filename="mainwindow.cpp" line="614"/>
<location filename="mainwindow.cpp" line="669"/>
<location filename="mainwindow.cpp" line="1678"/>
<location filename="mainwindow.cpp" line="2473"/>
<location filename="mainwindow.cpp" line="2487"/>
<location filename="mainwindow.cpp" line="2921"/>
<location filename="mainwindow.cpp" line="2976"/>
<location filename="mainwindow.cpp" line="3056"/>
<location filename="mainwindow.cpp" line="3744"/>
<location filename="mainwindow.cpp" line="4069"/>
<location filename="mainwindow.cpp" line="4244"/>
<location filename="mainwindow.cpp" line="4271"/>
<source>yes</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="622"/>
<location filename="mainwindow.cpp" line="615"/>
<source>save, do not remind again</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="623"/>
<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="2929"/>
<location filename="mainwindow.cpp" line="2984"/>
<location filename="mainwindow.cpp" line="3064"/>
<location filename="mainwindow.cpp" line="4077"/>
<location filename="mainwindow.cpp" line="616"/>
<location filename="mainwindow.cpp" line="670"/>
<location filename="mainwindow.cpp" line="1679"/>
<location filename="mainwindow.cpp" line="2474"/>
<location filename="mainwindow.cpp" line="2488"/>
<location filename="mainwindow.cpp" line="2922"/>
<location filename="mainwindow.cpp" line="2977"/>
<location filename="mainwindow.cpp" line="3057"/>
<location filename="mainwindow.cpp" line="4070"/>
<source>no</source>
<translation></translation>
</message>
@ -2820,26 +2828,26 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="876"/>
<location filename="mainwindow.cpp" line="869"/>
<source> reconnected</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="878"/>
<location filename="mainwindow.cpp" line="871"/>
<source>already connected, but open faild</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="999"/>
<location filename="mainwindow.cpp" line="1000"/>
<location filename="mainwindow.cpp" line="992"/>
<location filename="mainwindow.cpp" line="993"/>
<source>save image failed: </source>
<translation> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1057"/>
<location filename="mainwindow.cpp" line="1058"/>
<location filename="mainwindow.cpp" line="1172"/>
<location filename="mainwindow.cpp" line="1173"/>
<location filename="mainwindow.cpp" line="1050"/>
<location filename="mainwindow.cpp" line="1051"/>
<location filename="mainwindow.cpp" line="1165"/>
<location filename="mainwindow.cpp" line="1166"/>
<source>create savepath failed: </source>
<translation> </translation>
</message>
@ -2848,99 +2856,101 @@ Continue to close?</source>
<translation type="vanished">%1%2%3.%4</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1081"/>
<location filename="mainwindow.cpp" line="1082"/>
<location filename="mainwindow.cpp" line="1074"/>
<location filename="mainwindow.cpp" line="1075"/>
<source>create image doc failed: </source>
<translation> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1116"/>
<location filename="mainwindow.cpp" line="1117"/>
<location filename="mainwindow.cpp" line="1223"/>
<location filename="mainwindow.cpp" line="1224"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2131"/>
<location filename="mainwindow.cpp" line="2132"/>
<location filename="mainwindow.cpp" line="2195"/>
<location filename="mainwindow.cpp" line="2196"/>
<location filename="mainwindow.cpp" line="2197"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2278"/>
<location filename="mainwindow.cpp" line="2279"/>
<location filename="mainwindow.cpp" line="1109"/>
<location filename="mainwindow.cpp" line="1110"/>
<location filename="mainwindow.cpp" line="1216"/>
<location filename="mainwindow.cpp" line="1217"/>
<location filename="mainwindow.cpp" line="2123"/>
<location filename="mainwindow.cpp" line="2124"/>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2188"/>
<location filename="mainwindow.cpp" line="2189"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2270"/>
<location filename="mainwindow.cpp" line="2271"/>
<location filename="mainwindow.cpp" line="2272"/>
<source>save image doc failed: </source>
<translation> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3749"/>
<location filename="mainwindow.cpp" line="3742"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2478"/>
<location filename="mainwindow.cpp" line="2471"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="864"/>
<location filename="mainwindow.cpp" line="857"/>
<source>found device : %1</source>
<translation> : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2118"/>
<location filename="mainwindow.cpp" line="2123"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2137"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2195"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2183"/>
<location filename="mainwindow.cpp" line="2188"/>
<location filename="mainwindow.cpp" line="2265"/>
<location filename="mainwindow.cpp" line="2270"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2284"/>
<location filename="mainwindow.cpp" line="2308"/>
<location filename="mainwindow.cpp" line="2491"/>
<location filename="mainwindow.cpp" line="2301"/>
<location filename="mainwindow.cpp" line="2484"/>
<location filename="mainwindow.cpp" line="4241"/>
<location filename="mainwindow.cpp" line="4268"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2492"/>
<location filename="mainwindow.cpp" line="2485"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2980"/>
<location filename="mainwindow.cpp" line="2973"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2981"/>
<location filename="mainwindow.cpp" line="2974"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2994"/>
<location filename="mainwindow.cpp" line="2998"/>
<location filename="mainwindow.cpp" line="3081"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="2991"/>
<location filename="mainwindow.cpp" line="3074"/>
<source>hint</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2994"/>
<location filename="mainwindow.cpp" line="3074"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="3067"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2998"/>
<location filename="mainwindow.cpp" line="3079"/>
<location filename="mainwindow.cpp" line="2991"/>
<location filename="mainwindow.cpp" line="3072"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3049"/>
<location filename="mainwindow.cpp" line="3042"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3049"/>
<location filename="mainwindow.cpp" line="3042"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -2973,28 +2983,28 @@ Are you sure to close?</source>
<translation type="vanished">&lt;br&gt;: &lt;a href=&apos;https://j.map.baidu.com/7e/1TO&apos;&gt;百度地图访问&lt;/a&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3099"/>
<location filename="mainwindow.cpp" line="3092"/>
<source>About %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3100"/>
<location filename="mainwindow.cpp" line="3093"/>
<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;: %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="3115"/>
<location filename="mainwindow.cpp" line="3108"/>
<source>about %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3116"/>
<location filename="mainwindow.cpp" line="3109"/>
<source>&lt;p&gt;Version: %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3117"/>
<location filename="mainwindow.cpp" line="3110"/>
<source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: &amp;#169; %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; &amp;#169; %1&lt;/p&gt;</translation>
@ -3015,7 +3025,7 @@ Are you sure to close?</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="cfg/gb_json.cpp" line="1555"/>
<location filename="cfg/gb_json.cpp" line="1559"/>
<source>default_setting</source>
<translation></translation>
</message>

Binary file not shown.

View File

@ -2022,167 +2022,169 @@ Please make sure the two passwords are the same.</source>
<translation>Export drive log...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="99"/>
<location filename="mainwindow.cpp" line="97"/>
<source>HanvonScan</source>
<translation>Hanvon scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="103"/>
<location filename="mainwindow.cpp" line="101"/>
<source>LanxumScan</source>
<translation>LANXUM scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="107"/>
<location filename="mainwindow.cpp" line="105"/>
<source>CumtennScan</source>
<translation>CUMTENN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="111"/>
<location filename="mainwindow.cpp" line="109"/>
<source>HuaGoScan</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="165"/>
<location filename="mainwindow.cpp" line="163"/>
<source>menu_language</source>
<translation>Language</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="166"/>
<location filename="mainwindow.cpp" line="164"/>
<source>act_simpCN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="167"/>
<location filename="mainwindow.cpp" line="165"/>
<source>act_English</source>
<translation>English</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="292"/>
<location filename="mainwindow.cpp" line="290"/>
<source>Grid</source>
<translation>Multi-column display</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="297"/>
<location filename="mainwindow.cpp" line="295"/>
<source>Move To...</source>
<translation>Move to...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="301"/>
<location filename="mainwindow.cpp" line="299"/>
<source>Insert files</source>
<translation>Insert file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<location filename="mainwindow.cpp" line="328"/>
<location filename="mainwindow.cpp" line="329"/>
<location filename="mainwindow.cpp" line="330"/>
<source>nodevice</source>
<translation>No scanner detected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="357"/>
<location filename="mainwindow.cpp" line="355"/>
<source>auto save</source>
<translation>Auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="358"/>
<location filename="mainwindow.cpp" line="356"/>
<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="512"/>
<location filename="mainwindow.cpp" line="505"/>
<source>statusBar displayed</source>
<translation>Show status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="516"/>
<location filename="mainwindow.cpp" line="509"/>
<source>statusBar hidden</source>
<translation>Hide status bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="525"/>
<location filename="mainwindow.cpp" line="518"/>
<source>toolBar displayed</source>
<translation>Show toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="529"/>
<location filename="mainwindow.cpp" line="522"/>
<source>toolBar hidden</source>
<translation>Hide toolbar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="538"/>
<location filename="mainwindow.cpp" line="531"/>
<source>colorInfo enabled</source>
<translation>Enable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="535"/>
<source>colorInfo disenabled</source>
<translation>Disable image information</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="568"/>
<source>enabling automatic saving</source>
<translation>Enable auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="579"/>
<location filename="mainwindow.cpp" line="572"/>
<source>cancel auto save</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="613"/>
<location filename="mainwindow.cpp" line="606"/>
<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="618"/>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="1682"/>
<location filename="mainwindow.cpp" line="1707"/>
<location filename="mainwindow.cpp" line="2477"/>
<location filename="mainwindow.cpp" line="2926"/>
<location filename="mainwindow.cpp" line="611"/>
<location filename="mainwindow.cpp" line="666"/>
<location filename="mainwindow.cpp" line="1675"/>
<location filename="mainwindow.cpp" line="1700"/>
<location filename="mainwindow.cpp" line="2470"/>
<location filename="mainwindow.cpp" line="2919"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="619"/>
<location filename="mainwindow.cpp" line="1683"/>
<location filename="mainwindow.cpp" line="612"/>
<location filename="mainwindow.cpp" line="1676"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="621"/>
<location filename="mainwindow.cpp" line="676"/>
<location filename="mainwindow.cpp" line="1685"/>
<location filename="mainwindow.cpp" line="2480"/>
<location filename="mainwindow.cpp" line="2494"/>
<location filename="mainwindow.cpp" line="2928"/>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="3063"/>
<location filename="mainwindow.cpp" line="3751"/>
<location filename="mainwindow.cpp" line="4076"/>
<location filename="mainwindow.cpp" line="614"/>
<location filename="mainwindow.cpp" line="669"/>
<location filename="mainwindow.cpp" line="1678"/>
<location filename="mainwindow.cpp" line="2473"/>
<location filename="mainwindow.cpp" line="2487"/>
<location filename="mainwindow.cpp" line="2921"/>
<location filename="mainwindow.cpp" line="2976"/>
<location filename="mainwindow.cpp" line="3056"/>
<location filename="mainwindow.cpp" line="3744"/>
<location filename="mainwindow.cpp" line="4069"/>
<location filename="mainwindow.cpp" line="4244"/>
<location filename="mainwindow.cpp" line="4271"/>
<source>yes</source>
<translation>Yes</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="622"/>
<location filename="mainwindow.cpp" line="615"/>
<source>save, do not remind again</source>
<translation>Save, do not prompt again</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="623"/>
<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="2929"/>
<location filename="mainwindow.cpp" line="2984"/>
<location filename="mainwindow.cpp" line="3064"/>
<location filename="mainwindow.cpp" line="4077"/>
<location filename="mainwindow.cpp" line="616"/>
<location filename="mainwindow.cpp" line="670"/>
<location filename="mainwindow.cpp" line="1679"/>
<location filename="mainwindow.cpp" line="2474"/>
<location filename="mainwindow.cpp" line="2488"/>
<location filename="mainwindow.cpp" line="2922"/>
<location filename="mainwindow.cpp" line="2977"/>
<location filename="mainwindow.cpp" line="3057"/>
<location filename="mainwindow.cpp" line="4070"/>
<source>no</source>
<translation>No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="667"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2191,555 +2193,563 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">Device discovered </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="864"/>
<location filename="mainwindow.cpp" line="857"/>
<source>found device : %1</source>
<translation>Device discovered: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="876"/>
<location filename="mainwindow.cpp" line="869"/>
<source> reconnected</source>
<translation> reconnect</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="878"/>
<location filename="mainwindow.cpp" line="871"/>
<source>already connected, but open faild</source>
<translation>connected, but failed to open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="909"/>
<location filename="mainwindow.cpp" line="902"/>
<source> disconnected</source>
<translation> disconnected</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="953"/>
<location filename="mainwindow.cpp" line="1017"/>
<location filename="mainwindow.cpp" line="3603"/>
<location filename="mainwindow.cpp" line="946"/>
<location filename="mainwindow.cpp" line="1010"/>
<location filename="mainwindow.cpp" line="3596"/>
<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="957"/>
<location filename="mainwindow.cpp" line="1021"/>
<location filename="mainwindow.cpp" line="3607"/>
<location filename="mainwindow.cpp" line="950"/>
<location filename="mainwindow.cpp" line="1014"/>
<location filename="mainwindow.cpp" line="3600"/>
<source>warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="999"/>
<location filename="mainwindow.cpp" line="1000"/>
<location filename="mainwindow.cpp" line="992"/>
<location filename="mainwindow.cpp" line="993"/>
<source>save image failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1057"/>
<location filename="mainwindow.cpp" line="1058"/>
<location filename="mainwindow.cpp" line="1172"/>
<location filename="mainwindow.cpp" line="1173"/>
<location filename="mainwindow.cpp" line="1050"/>
<location filename="mainwindow.cpp" line="1051"/>
<location filename="mainwindow.cpp" line="1165"/>
<location filename="mainwindow.cpp" line="1166"/>
<source>create savepath failed: </source>
<translation>Failed to create folder: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1081"/>
<location filename="mainwindow.cpp" line="1082"/>
<location filename="mainwindow.cpp" line="1074"/>
<location filename="mainwindow.cpp" line="1075"/>
<source>create image doc failed: </source>
<translation>Failed to create image file: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1116"/>
<location filename="mainwindow.cpp" line="1117"/>
<location filename="mainwindow.cpp" line="1223"/>
<location filename="mainwindow.cpp" line="1224"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2131"/>
<location filename="mainwindow.cpp" line="2132"/>
<location filename="mainwindow.cpp" line="2195"/>
<location filename="mainwindow.cpp" line="2196"/>
<location filename="mainwindow.cpp" line="2197"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2278"/>
<location filename="mainwindow.cpp" line="2279"/>
<location filename="mainwindow.cpp" line="1109"/>
<location filename="mainwindow.cpp" line="1110"/>
<location filename="mainwindow.cpp" line="1216"/>
<location filename="mainwindow.cpp" line="1217"/>
<location filename="mainwindow.cpp" line="2123"/>
<location filename="mainwindow.cpp" line="2124"/>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2188"/>
<location filename="mainwindow.cpp" line="2189"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2270"/>
<location filename="mainwindow.cpp" line="2271"/>
<location filename="mainwindow.cpp" line="2272"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1160"/>
<location filename="mainwindow.cpp" line="1153"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1162"/>
<location filename="mainwindow.cpp" line="1155"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1164"/>
<location filename="mainwindow.cpp" line="1157"/>
<source>rgb</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1317"/>
<location filename="mainwindow.cpp" line="1318"/>
<location filename="mainwindow.cpp" line="1319"/>
<location filename="mainwindow.cpp" line="3186"/>
<location filename="mainwindow.cpp" line="3187"/>
<location filename="mainwindow.cpp" line="3188"/>
<location filename="mainwindow.cpp" line="3253"/>
<location filename="mainwindow.cpp" line="3254"/>
<location filename="mainwindow.cpp" line="3255"/>
<location filename="mainwindow.cpp" line="3336"/>
<location filename="mainwindow.cpp" line="3337"/>
<location filename="mainwindow.cpp" line="3338"/>
<location filename="mainwindow.cpp" line="3418"/>
<location filename="mainwindow.cpp" line="3419"/>
<location filename="mainwindow.cpp" line="3420"/>
<location filename="mainwindow.cpp" line="1310"/>
<location filename="mainwindow.cpp" line="1311"/>
<location filename="mainwindow.cpp" line="1312"/>
<location filename="mainwindow.cpp" line="3179"/>
<location filename="mainwindow.cpp" line="3180"/>
<location filename="mainwindow.cpp" line="3181"/>
<location filename="mainwindow.cpp" line="3246"/>
<location filename="mainwindow.cpp" line="3247"/>
<location filename="mainwindow.cpp" line="3248"/>
<location filename="mainwindow.cpp" line="3329"/>
<location filename="mainwindow.cpp" line="3330"/>
<location filename="mainwindow.cpp" line="3331"/>
<location filename="mainwindow.cpp" line="3411"/>
<location filename="mainwindow.cpp" line="3412"/>
<location filename="mainwindow.cpp" line="3413"/>
<source>start failed</source>
<translation>Failed to start</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1336"/>
<location filename="mainwindow.cpp" line="1337"/>
<location filename="mainwindow.cpp" line="3205"/>
<location filename="mainwindow.cpp" line="3206"/>
<location filename="mainwindow.cpp" line="3272"/>
<location filename="mainwindow.cpp" line="3273"/>
<location filename="mainwindow.cpp" line="3355"/>
<location filename="mainwindow.cpp" line="3356"/>
<location filename="mainwindow.cpp" line="3437"/>
<location filename="mainwindow.cpp" line="3438"/>
<location filename="mainwindow.cpp" line="1329"/>
<location filename="mainwindow.cpp" line="1330"/>
<location filename="mainwindow.cpp" line="3198"/>
<location filename="mainwindow.cpp" line="3199"/>
<location filename="mainwindow.cpp" line="3265"/>
<location filename="mainwindow.cpp" line="3266"/>
<location filename="mainwindow.cpp" line="3348"/>
<location filename="mainwindow.cpp" line="3349"/>
<location filename="mainwindow.cpp" line="3430"/>
<location filename="mainwindow.cpp" line="3431"/>
<source>already waked up device</source>
<translation>Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1418"/>
<location filename="mainwindow.cpp" line="1411"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1422"/>
<location filename="mainwindow.cpp" line="1415"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1703"/>
<location filename="mainwindow.cpp" line="1696"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1704"/>
<location filename="mainwindow.cpp" line="1697"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1706"/>
<location filename="mainwindow.cpp" line="1699"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1708"/>
<location filename="mainwindow.cpp" line="1701"/>
<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="1903"/>
<location filename="mainwindow.cpp" line="1896"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1914"/>
<location filename="mainwindow.cpp" line="1907"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2118"/>
<location filename="mainwindow.cpp" line="2123"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2137"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2195"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2183"/>
<location filename="mainwindow.cpp" line="2188"/>
<location filename="mainwindow.cpp" line="2265"/>
<location filename="mainwindow.cpp" line="2270"/>
<location filename="mainwindow.cpp" line="2277"/>
<location filename="mainwindow.cpp" line="2284"/>
<location filename="mainwindow.cpp" line="2308"/>
<location filename="mainwindow.cpp" line="2491"/>
<location filename="mainwindow.cpp" line="2301"/>
<location filename="mainwindow.cpp" line="2484"/>
<location filename="mainwindow.cpp" line="4241"/>
<location filename="mainwindow.cpp" line="4268"/>
<source>tips</source>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2125"/>
<location filename="mainwindow.cpp" line="2190"/>
<location filename="mainwindow.cpp" line="2272"/>
<location filename="mainwindow.cpp" line="2118"/>
<location filename="mainwindow.cpp" line="2183"/>
<location filename="mainwindow.cpp" line="2265"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2137"/>
<location filename="mainwindow.cpp" line="2284"/>
<location filename="mainwindow.cpp" line="2130"/>
<location filename="mainwindow.cpp" line="2277"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2308"/>
<location filename="mainwindow.cpp" line="2301"/>
<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="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2375"/>
<location filename="mainwindow.cpp" line="2368"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2418"/>
<location filename="mainwindow.cpp" line="2411"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2432"/>
<location filename="mainwindow.cpp" line="2425"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2454"/>
<location filename="mainwindow.cpp" line="2447"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2454"/>
<location filename="mainwindow.cpp" line="2447"/>
<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="2478"/>
<location filename="mainwindow.cpp" line="2471"/>
<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="2492"/>
<location filename="mainwindow.cpp" line="2485"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2927"/>
<location filename="mainwindow.cpp" line="2920"/>
<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="2980"/>
<location filename="mainwindow.cpp" line="2973"/>
<source>confirm operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2981"/>
<location filename="mainwindow.cpp" line="2974"/>
<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="2994"/>
<location filename="mainwindow.cpp" line="2998"/>
<location filename="mainwindow.cpp" line="3081"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="2991"/>
<location filename="mainwindow.cpp" line="3074"/>
<source>hint</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2994"/>
<location filename="mainwindow.cpp" line="3074"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="3067"/>
<source>Roller scanned count has been set to 0.</source>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2998"/>
<location filename="mainwindow.cpp" line="3079"/>
<location filename="mainwindow.cpp" line="2991"/>
<location filename="mainwindow.cpp" line="3072"/>
<source>Roller scanned count reset failed.</source>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3049"/>
<location filename="mainwindow.cpp" line="3042"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3049"/>
<location filename="mainwindow.cpp" line="3042"/>
<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="3060"/>
<location filename="mainwindow.cpp" line="3053"/>
<source>confirm the operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3061"/>
<location filename="mainwindow.cpp" line="3054"/>
<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="3099"/>
<location filename="mainwindow.cpp" line="3092"/>
<source>About %1</source>
<translation>About %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3100"/>
<location filename="mainwindow.cpp" line="3093"/>
<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>
</message>
<message>
<location filename="mainwindow.cpp" line="3115"/>
<location filename="mainwindow.cpp" line="3108"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3116"/>
<location filename="mainwindow.cpp" line="3109"/>
<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="3117"/>
<location filename="mainwindow.cpp" line="3110"/>
<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="3121"/>
<location filename="mainwindow.cpp" line="3114"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation>p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3123"/>
<location filename="mainwindow.cpp" line="3116"/>
<source>&lt;p&gt;%1: %2</source>
<translation>&lt;p&gt;%1: %2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3125"/>
<location filename="mainwindow.cpp" line="3118"/>
<source>roller number</source>
<translation>Number of rollers</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3538"/>
<location filename="mainwindow.cpp" line="3531"/>
<source>open scanner </source>
<translation>Open scanner </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3539"/>
<location filename="mainwindow.cpp" line="4040"/>
<location filename="mainwindow.cpp" line="3532"/>
<location filename="mainwindow.cpp" line="4033"/>
<source>app name</source>
<translation>HUAGOSCAN scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3569"/>
<location filename="mainwindow.cpp" line="4058"/>
<location filename="mainwindow.cpp" line="3562"/>
<location filename="mainwindow.cpp" line="4051"/>
<source>success</source>
<translation>successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3574"/>
<location filename="mainwindow.cpp" line="3567"/>
<source>be ready</source>
<translation>Ready</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3578"/>
<location filename="mainwindow.cpp" line="4063"/>
<location filename="mainwindow.cpp" line="3571"/>
<location filename="mainwindow.cpp" line="4056"/>
<source>failed</source>
<translation>failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3748"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3791"/>
<location filename="mainwindow.cpp" line="3741"/>
<location filename="mainwindow.cpp" line="3773"/>
<location filename="mainwindow.cpp" line="3784"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3749"/>
<location filename="mainwindow.cpp" line="3742"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3781"/>
<location filename="mainwindow.cpp" line="3782"/>
<location filename="mainwindow.cpp" line="3791"/>
<location filename="mainwindow.cpp" line="3792"/>
<location filename="mainwindow.cpp" line="3793"/>
<location filename="mainwindow.cpp" line="3773"/>
<location filename="mainwindow.cpp" line="3774"/>
<location filename="mainwindow.cpp" line="3775"/>
<location filename="mainwindow.cpp" line="3784"/>
<location filename="mainwindow.cpp" line="3785"/>
<location filename="mainwindow.cpp" line="3786"/>
<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="3936"/>
<location filename="mainwindow.cpp" line="3929"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3940"/>
<location filename="mainwindow.cpp" line="3933"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3944"/>
<location filename="mainwindow.cpp" line="3937"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3948"/>
<location filename="mainwindow.cpp" line="3941"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3952"/>
<location filename="mainwindow.cpp" line="3945"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3956"/>
<location filename="mainwindow.cpp" line="3949"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3960"/>
<location filename="mainwindow.cpp" line="3953"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3964"/>
<location filename="mainwindow.cpp" line="3957"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3968"/>
<location filename="mainwindow.cpp" line="3961"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3972"/>
<location filename="mainwindow.cpp" line="3965"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4055"/>
<location filename="mainwindow.cpp" line="4048"/>
<source>apply setting</source>
<translation>Apply configuration</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4074"/>
<location filename="mainwindow.cpp" line="4067"/>
<source>Are you sure to close </source>
<translation>Are you sure you want to disconnect device:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4074"/>
<location filename="mainwindow.cpp" line="4067"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4084"/>
<location filename="mainwindow.cpp" line="4085"/>
<location filename="mainwindow.cpp" line="4077"/>
<location filename="mainwindow.cpp" line="4078"/>
<source>close </source>
<translation>Close </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4180"/>
<location filename="mainwindow.cpp" line="4173"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4180"/>
<location filename="mainwindow.cpp" line="4173"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4203"/>
<location filename="mainwindow.cpp" line="4221"/>
<location filename="mainwindow.cpp" line="4196"/>
<location filename="mainwindow.cpp" line="4214"/>
<source>The device does not support this operation</source>
<translation>Device does not support this operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4205"/>
<location filename="mainwindow.cpp" line="4223"/>
<location filename="mainwindow.cpp" line="4198"/>
<location filename="mainwindow.cpp" line="4216"/>
<source>IO error</source>
<translation>IO error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4242"/>
<location filename="mainwindow.cpp" line="4269"/>
<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>
</context>
<context>
<name>QObject</name>
<message>
<location filename="cfg/gb_json.cpp" line="1555"/>
<location filename="cfg/gb_json.cpp" line="1559"/>
<source>default_setting</source>
<translation>Default setting</translation>
</message>

View File

@ -12,7 +12,7 @@ int main(int argc, char *argv[])
lang_initialize(nullptr);
QString appLang = getCfgValue("global", "language", QString("Chinese"));
QString appLang = getCfgValue("global", "language", QString("chinese"));
for (int i = 1; i < argc; i++)
{
char* z = argv[i];
@ -26,39 +26,28 @@ int main(int argc, char *argv[])
appLang = "chinese";
}
while (1)
QString translator_qt_name = ":translation/qt_zh_CN.qm";
QString translator_scanner_name = ":translation/Scanner_zh_CN.qm";
int cp = 936;
if (appLang == "english")
{
QString translator_qt_name = ":translation/qt_zh_CN.qm";
QString translator_scanner_name = ":translation/Scanner_zh_CN.qm";
int cp = 936;
if (appLang == "english")
{
translator_qt_name = ":translation/qt_zh_CN.qm";
translator_scanner_name = ":translation/Scanner_zh_EN.qm";
cp = 20127;
}
QTranslator translator_qt;
if (translator_qt.load(translator_qt_name))
a.installTranslator(&translator_qt);
QTranslator translator_scanner;
if (translator_scanner.load(translator_scanner_name))
a.installTranslator(&translator_scanner);
lang_set_code_page(cp);
MainWindow w(appLang);
QScreen *screen = QGuiApplication::primaryScreen();
w.move((screen->size().width() - w.width()) / 2, (screen->size().height() - w.height()) / 2);
w.show();
a.exec();
saveCfgValue("global", "language", appLang);
if (!w.isContinue())
{
break;
}
translator_qt_name = ":translation/qt_zh_CN.qm";
translator_scanner_name = ":translation/Scanner_zh_EN.qm";
cp = 20127;
}
return 0;
QTranslator translator_qt;
if (translator_qt.load(translator_qt_name))
a.installTranslator(&translator_qt);
QTranslator translator_scanner;
if (translator_scanner.load(translator_scanner_name))
a.installTranslator(&translator_scanner);
lang_set_code_page(cp);
MainWindow w(appLang);
QScreen *screen = QGuiApplication::primaryScreen();
w.move((screen->size().width() - w.width()) / 2, (screen->size().height() - w.height()) / 2);
w.show();
return a.exec();
}

View File

@ -51,12 +51,10 @@
#define PASSWORD_KEY 4
#define MY_URL_SCHEME "inscanner"
MainWindow::MainWindow(QString& appLang, QWidget *parent)
MainWindow::MainWindow(const QString& appLang, QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
, m_appLang(appLang)
, m_currLang(appLang)
, m_isContinue(false)
, m_versionDll(nullptr)
, m_admin_loggedIn(false)
, m_dpi(200)
@ -401,11 +399,6 @@ MainWindow::~MainWindow()
delete ui;
}
bool MainWindow::isContinue()
{
return m_isContinue;
}
void MainWindow::exitFullScreen()
{
assert(nullptr != m_dlgFullScreen);
@ -4227,48 +4220,40 @@ void MainWindow::on_act_device_log_triggered()
void MainWindow::on_act_simpCN_triggered()
{
if (m_currLang == "english")
{
m_act_simpCN->setChecked(false);
m_act_English->setChecked(true);
}
else
{
m_act_simpCN->setChecked(true);
m_act_English->setChecked(false);
}
m_act_simpCN->setChecked(true);
m_act_English->setChecked(false);
if (m_currLang == "chinese")
{
return;
}
m_appLang = "chinese";
m_closeTip = false;
m_isContinue = true;
close();
m_currLang = "chinese";
saveCfgValue("global", "language", m_currLang);
QMessageBox msg(QMessageBox::Critical, tr("tips"),
tr("The language switch is successful and takes effect the next time the software is started!"),
QMessageBox::Ok, this);
msg.setButtonText(QMessageBox::Ok, tr("yes"));
msg.exec();
}
void MainWindow::on_act_English_triggered()
{
if (m_currLang == "english")
{
m_act_simpCN->setChecked(false);
m_act_English->setChecked(true);
}
else
{
m_act_simpCN->setChecked(true);
m_act_English->setChecked(false);
}
m_act_simpCN->setChecked(false);
m_act_English->setChecked(true);
if (m_currLang == "english")
{
return;
}
m_appLang = "english";
m_closeTip = false;
m_isContinue = true;
close();
m_currLang = "english";
saveCfgValue("global", "language", m_currLang);
QMessageBox msg(QMessageBox::Critical, tr("tips"),
tr("The language switch is successful and takes effect the next time the software is started!"),
QMessageBox::Ok, this);
msg.setButtonText(QMessageBox::Ok, tr("yes"));
msg.exec();
}

View File

@ -79,10 +79,9 @@ class MainWindow : public QMainWindow
std::vector<class dialog_wrong_img*> wrong_imgs_;
public:
MainWindow(QString& appLang, QWidget *parent = nullptr);
MainWindow(const QString& appLang, QWidget *parent = nullptr);
virtual ~MainWindow() override;
bool isContinue();
void exitFullScreen();
static HGResult saveImage(HGImage image, const HGImgFmtSaveInfo* info, bool ocr, const HGChar *fileName);
static QString getLogInfo(HGResult ret);
@ -275,9 +274,7 @@ private:
private:
Ui::MainWindow *ui;
QString &m_appLang;
QString m_currLang;
bool m_isContinue;
VersionDll *m_versionDll;
QString m_password;
bool m_admin_loggedIn;

View File

@ -2158,6 +2158,10 @@ Are you sure to close?</source>
<source>act_English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The language switch is successful and takes effect the next time the software is started!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>
@ -4808,7 +4812,7 @@ Please verify the correct file name was given.</source>
</message>
<message>
<source>default_setting</source>
<translation type="vanished"></translation>
<translation></translation>
</message>
</context>
<context>