增加启动安装程序成功与否判断,翻译

This commit is contained in:
yangjiaxuan 2022-07-22 14:15:33 +08:00
parent bfdad6b3fa
commit 67b5a0b1a9
5 changed files with 171 additions and 136 deletions

Binary file not shown.

View File

@ -1557,47 +1557,51 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="34"/>
<location filename="dialog_upgrade.cpp" line="37"/>
<source>bug description:
</source>
<translation type="unfinished"></translation>
<translation>
</translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="38"/>
<location filename="dialog_upgrade.cpp" line="42"/>
<location filename="dialog_upgrade.cpp" line="41"/>
<location filename="dialog_upgrade.cpp" line="45"/>
<source>upgrade contents:
</source>
<translation type="unfinished"></translation>
<translation>
</translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="42"/>
<location filename="dialog_upgrade.cpp" line="45"/>
<source>
bug description:
</source>
<translation type="unfinished"></translation>
<translation>
</translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="60"/>
<location filename="dialog_upgrade.cpp" line="63"/>
<source>The current version is the latest! The current version number is : </source>
<translation></translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="66"/>
<location filename="dialog_upgrade.cpp" line="69"/>
<source>Discover the new version : </source>
<translation></translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="68"/>
<location filename="dialog_upgrade.cpp" line="71"/>
<source> ,the current version is : </source>
<translation> </translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="104"/>
<location filename="dialog_upgrade.cpp" line="107"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="dialog_upgrade.cpp" line="104"/>
<location filename="dialog_upgrade.cpp" line="107"/>
<source>Already in current version</source>
<translation></translation>
</message>
@ -2045,16 +2049,16 @@ bug description:
<message>
<location filename="mainwindow.cpp" line="482"/>
<location filename="mainwindow.cpp" line="537"/>
<location filename="mainwindow.cpp" line="1464"/>
<location filename="mainwindow.cpp" line="1488"/>
<location filename="mainwindow.cpp" line="2215"/>
<location filename="mainwindow.cpp" line="2535"/>
<location filename="mainwindow.cpp" line="1476"/>
<location filename="mainwindow.cpp" line="1500"/>
<location filename="mainwindow.cpp" line="2227"/>
<location filename="mainwindow.cpp" line="2547"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="1465"/>
<location filename="mainwindow.cpp" line="1477"/>
<source>modified, save it?</source>
<translation>
</translation>
@ -2086,189 +2090,190 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1485"/>
<location filename="mainwindow.cpp" line="1497"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1486"/>
<location filename="mainwindow.cpp" line="1498"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1489"/>
<location filename="mainwindow.cpp" line="1501"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1523"/>
<location filename="mainwindow.cpp" line="1535"/>
<source>Information</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1524"/>
<location filename="mainwindow.cpp" line="1536"/>
<source>Insufficient disk space</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1710"/>
<location filename="mainwindow.cpp" line="1722"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1721"/>
<location filename="mainwindow.cpp" line="1733"/>
<source>Insert images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1895"/>
<location filename="mainwindow.cpp" line="1900"/>
<location filename="mainwindow.cpp" line="1955"/>
<location filename="mainwindow.cpp" line="2031"/>
<location filename="mainwindow.cpp" line="2036"/>
<location filename="mainwindow.cpp" line="1907"/>
<location filename="mainwindow.cpp" line="1912"/>
<location filename="mainwindow.cpp" line="1967"/>
<location filename="mainwindow.cpp" line="2043"/>
<location filename="mainwindow.cpp" line="2048"/>
<source>info</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1895"/>
<location filename="mainwindow.cpp" line="1955"/>
<location filename="mainwindow.cpp" line="2031"/>
<location filename="mainwindow.cpp" line="1907"/>
<location filename="mainwindow.cpp" line="1967"/>
<location filename="mainwindow.cpp" line="2043"/>
<source>save failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1900"/>
<location filename="mainwindow.cpp" line="2036"/>
<location filename="mainwindow.cpp" line="1912"/>
<location filename="mainwindow.cpp" line="2048"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2120"/>
<location filename="mainwindow.cpp" line="2132"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2163"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2171"/>
<location filename="mainwindow.cpp" line="2183"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2171"/>
<location filename="mainwindow.cpp" line="2183"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2171"/>
<location filename="mainwindow.cpp" line="2183"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2171"/>
<location filename="mainwindow.cpp" line="2183"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2192"/>
<location filename="mainwindow.cpp" line="2204"/>
<source>Warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2192"/>
<location filename="mainwindow.cpp" line="2204"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3203"/>
<location filename="mainwindow.cpp" line="3215"/>
<source>Are you sure to close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3203"/>
<location filename="mainwindow.cpp" line="3215"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3212"/>
<location filename="mainwindow.cpp" line="3213"/>
<location filename="mainwindow.cpp" line="3224"/>
<location filename="mainwindow.cpp" line="3225"/>
<source>close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="1206"/>
<location filename="mainwindow.cpp" line="3315"/>
<source>error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="3315"/>
<source>get versionlist failed</source>
<translation></translation>
</message>
@ -2279,96 +2284,96 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2536"/>
<location filename="mainwindow.cpp" line="2548"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2657"/>
<location filename="mainwindow.cpp" line="2669"/>
<source>confirm the operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2658"/>
<location filename="mainwindow.cpp" line="2670"/>
<source>Are you sure to clear the rollor acount?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2674"/>
<location filename="mainwindow.cpp" line="2686"/>
<source>Please re-enter the Abount screen to obtain the latest value</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2719"/>
<location filename="mainwindow.cpp" line="2731"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2721"/>
<location filename="mainwindow.cpp" line="2733"/>
<source>&lt;p&gt;%1: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2723"/>
<location filename="mainwindow.cpp" line="2735"/>
<source>roller number</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3073"/>
<location filename="mainwindow.cpp" line="3085"/>
<source>open scanner </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3074"/>
<location filename="mainwindow.cpp" line="3137"/>
<location filename="mainwindow.cpp" line="3086"/>
<location filename="mainwindow.cpp" line="3149"/>
<source>app name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3079"/>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3091"/>
<location filename="mainwindow.cpp" line="3188"/>
<source>success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3088"/>
<location filename="mainwindow.cpp" line="3100"/>
<source>apply setting </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3088"/>
<location filename="mainwindow.cpp" line="3100"/>
<source> success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3088"/>
<location filename="mainwindow.cpp" line="3100"/>
<source> failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3106"/>
<location filename="mainwindow.cpp" line="3191"/>
<location filename="mainwindow.cpp" line="3118"/>
<location filename="mainwindow.cpp" line="3203"/>
<source>failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3129"/>
<location filename="mainwindow.cpp" line="3141"/>
<source>warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3129"/>
<location filename="mainwindow.cpp" line="3141"/>
<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>
</message>
<message>
<location filename="mainwindow.cpp" line="3145"/>
<location filename="mainwindow.cpp" line="3157"/>
<source>lost config</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3172"/>
<location filename="mainwindow.cpp" line="3184"/>
<source>apply setting</source>
<translation></translation>
</message>
@ -2376,18 +2381,18 @@ Continue to close?</source>
<location filename="mainwindow.cpp" line="1055"/>
<location filename="mainwindow.cpp" line="1056"/>
<location filename="mainwindow.cpp" line="1057"/>
<location filename="mainwindow.cpp" line="2809"/>
<location filename="mainwindow.cpp" line="2810"/>
<location filename="mainwindow.cpp" line="2811"/>
<location filename="mainwindow.cpp" line="2857"/>
<location filename="mainwindow.cpp" line="2858"/>
<location filename="mainwindow.cpp" line="2859"/>
<location filename="mainwindow.cpp" line="2920"/>
<location filename="mainwindow.cpp" line="2921"/>
<location filename="mainwindow.cpp" line="2922"/>
<location filename="mainwindow.cpp" line="2983"/>
<location filename="mainwindow.cpp" line="2984"/>
<location filename="mainwindow.cpp" line="2985"/>
<location filename="mainwindow.cpp" line="2821"/>
<location filename="mainwindow.cpp" line="2822"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="2869"/>
<location filename="mainwindow.cpp" line="2870"/>
<location filename="mainwindow.cpp" line="2871"/>
<location filename="mainwindow.cpp" line="2932"/>
<location filename="mainwindow.cpp" line="2933"/>
<location filename="mainwindow.cpp" line="2934"/>
<location filename="mainwindow.cpp" line="2995"/>
<location filename="mainwindow.cpp" line="2996"/>
<location filename="mainwindow.cpp" line="2997"/>
<source>start failed</source>
<translation></translation>
</message>
@ -2429,14 +2434,15 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="485"/>
<location filename="mainwindow.cpp" line="540"/>
<location filename="mainwindow.cpp" line="1467"/>
<location filename="mainwindow.cpp" line="1525"/>
<location filename="mainwindow.cpp" line="2218"/>
<location filename="mainwindow.cpp" line="2232"/>
<location filename="mainwindow.cpp" line="2537"/>
<location filename="mainwindow.cpp" line="2591"/>
<location filename="mainwindow.cpp" line="2660"/>
<location filename="mainwindow.cpp" line="3205"/>
<location filename="mainwindow.cpp" line="1209"/>
<location filename="mainwindow.cpp" line="1479"/>
<location filename="mainwindow.cpp" line="1537"/>
<location filename="mainwindow.cpp" line="2230"/>
<location filename="mainwindow.cpp" line="2244"/>
<location filename="mainwindow.cpp" line="2549"/>
<location filename="mainwindow.cpp" line="2603"/>
<location filename="mainwindow.cpp" line="2672"/>
<location filename="mainwindow.cpp" line="3217"/>
<source>yes</source>
<translation></translation>
</message>
@ -2448,13 +2454,13 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="487"/>
<location filename="mainwindow.cpp" line="541"/>
<location filename="mainwindow.cpp" line="1468"/>
<location filename="mainwindow.cpp" line="2219"/>
<location filename="mainwindow.cpp" line="2233"/>
<location filename="mainwindow.cpp" line="2538"/>
<location filename="mainwindow.cpp" line="2592"/>
<location filename="mainwindow.cpp" line="2661"/>
<location filename="mainwindow.cpp" line="3206"/>
<location filename="mainwindow.cpp" line="1480"/>
<location filename="mainwindow.cpp" line="2231"/>
<location filename="mainwindow.cpp" line="2245"/>
<location filename="mainwindow.cpp" line="2550"/>
<location filename="mainwindow.cpp" line="2604"/>
<location filename="mainwindow.cpp" line="2673"/>
<location filename="mainwindow.cpp" line="3218"/>
<source>no</source>
<translation></translation>
</message>
@ -2480,57 +2486,62 @@ Continue to close?</source>
<translation>%1%2%3.%4</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2216"/>
<location filename="mainwindow.cpp" line="1207"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2228"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2229"/>
<location filename="mainwindow.cpp" line="2241"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2230"/>
<location filename="mainwindow.cpp" line="2242"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2588"/>
<location filename="mainwindow.cpp" line="2600"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2589"/>
<location filename="mainwindow.cpp" line="2601"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2601"/>
<location filename="mainwindow.cpp" line="2603"/>
<location filename="mainwindow.cpp" line="2679"/>
<location filename="mainwindow.cpp" line="2613"/>
<location filename="mainwindow.cpp" line="2615"/>
<location filename="mainwindow.cpp" line="2691"/>
<source>hint</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2601"/>
<location filename="mainwindow.cpp" line="2671"/>
<location filename="mainwindow.cpp" line="2613"/>
<location filename="mainwindow.cpp" line="2683"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2603"/>
<location filename="mainwindow.cpp" line="2677"/>
<location filename="mainwindow.cpp" line="2615"/>
<location filename="mainwindow.cpp" line="2689"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2646"/>
<location filename="mainwindow.cpp" line="2658"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2646"/>
<location filename="mainwindow.cpp" line="2658"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -2563,28 +2574,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="2697"/>
<location filename="mainwindow.cpp" line="2709"/>
<source>About %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2698"/>
<location filename="mainwindow.cpp" line="2710"/>
<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="2713"/>
<location filename="mainwindow.cpp" line="2725"/>
<source>about %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2714"/>
<location filename="mainwindow.cpp" line="2726"/>
<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="2715"/>
<location filename="mainwindow.cpp" line="2727"/>
<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>
@ -2598,6 +2609,13 @@ Are you sure to close?</source>
<translation type="vanished">&lt;p&gt;%1: %2&lt;/p&gt;</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<source>error</source>
<translation type="obsolete"></translation>
</message>
</context>
<context>
<name>Widget</name>
<message>

View File

@ -1171,6 +1171,7 @@ void MainWindow::on_upgradeApp(QString pkgPath)
QProcess proc;
bool isSuccessdStart = false;
QStringList argList;
argList.push_back(QString("-appName=%1").arg(HGVERSION_APPNAME_SCANNER));
@ -1179,24 +1180,35 @@ void MainWindow::on_upgradeApp(QString pkgPath)
#if defined(HG_CMP_MSC)
#if defined(OEM_HANWANG)
proc.startDetached(tmpPath + "/HwUpgradeApp.exe", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/HwUpgradeApp.exe", argList);
#elif defined(OEM_LISICHENG)
proc.startDetached(tmpPath + "/LscUpgradeApp.exe", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/LscUpgradeApp.exe", argList);
#else
proc.startDetached(tmpPath + "/HGUpgradeApp.exe", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/HGUpgradeApp.exe", argList);
#endif
#else
#if defined(OEM_HANWANG)
proc.startDetached(tmpPath + "/HwUpgradeApp", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/HwUpgradeApp", argList);
#elif defined(OEM_LISICHENG)
proc.startDetached(tmpPath + "/LscUpgradeApp", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/LscUpgradeApp", argList);
#else
proc.startDetached(tmpPath + "/HGUpgradeApp", argList);
isSuccessdStart = proc.startDetached(tmpPath + "/HGUpgradeApp", argList);
#endif
#endif
if(isSuccessdStart)
{
m_closeTip = false;
close();
}
else
{
QMessageBox msg(QMessageBox::Critical, tr("error"),
tr("start failed!"),
QMessageBox::Ok);
msg.setButtonText(QMessageBox::Ok, tr("yes"));
msg.exec();
}
}
void MainWindow::on_act_thumbnailBar_triggered(bool checked)

View File

@ -1991,6 +1991,10 @@ Are you sure to close?</source>
<source>act_feedback</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>start failed!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>

View File

@ -43,6 +43,7 @@
</message>
<message>
<location filename="main.cpp" line="74"/>
<location filename="main.cpp" line="85"/>
<source>yes</source>
<translation></translation>
</message>
@ -52,7 +53,7 @@
<translation></translation>
</message>
<message>
<location filename="main.cpp" line="82"/>
<location filename="main.cpp" line="83"/>
<source>install failed!</source>
<translation></translation>
</message>