调整:文案修改:安装失败后引导查看详情而不是重新安装

This commit is contained in:
2023-08-02 11:35:59 +08:00
parent 88cc3eb921
commit da9f84d78a
5 changed files with 48 additions and 48 deletions

View File

@@ -226,17 +226,17 @@ void DownloadItem::slotAsyncInstall(int t)
ui->pushButton_install->show(); ui->pushButton_install->show();
ui->pushButton_install->setText(tr("Retry")); ui->pushButton_install->setText(tr("Retry"));
download = 1; download = 1;
Utils::sendNotification("spark-store", tr("Spark Store"), tr("Error happened in dpkg progress , you can try it again.")); Utils::sendNotification("spark-store", tr("Spark Store"), tr("Error happened in dpkg progress , please check the install info or try to reinstall."));
ui->label_2->setText(tr("Error happened in dpkg progress , you can try it again")); ui->label_2->setText(tr("Error happened in dpkg progress , please check the install info or try to reinstall."));
ui->label_2->setToolTip(tr("Error happened in dpkg progress , you can try it again")); ui->label_2->setToolTip(tr("Error happened in dpkg progress , please check the install info or try to reinstall."));
ui->pushButton_3->show(); ui->pushButton_3->show();
} }
if (notRoot) if (notRoot)
{ {
Utils::sendNotification("spark-store", tr("Spark Store"), tr("dpkg progress had been abortedyou can retry installation.")); Utils::sendNotification("spark-store", tr("Spark Store"), tr("dpkg progress had been abortedplease check the install info or try to reinstall."));
ui->label_2->setText(tr("dpkg progress had been abortedyou can retry installation")); ui->label_2->setText(tr("dpkg progress had been abortedplease check the install info or try to reinstall."));
ui->label_2->setToolTip(tr("dpkg progress had been abortedyou can retry installation")); ui->label_2->setToolTip(tr("dpkg progress had been abortedplease check the install info or try to reinstall."));
ui->pushButton_install->show(); ui->pushButton_install->show();
ui->pushButton_3->hide(); ui->pushButton_3->hide();
} }

View File

@@ -357,24 +357,16 @@
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="229"/> <location filename="../src/widgets/common/downloaditem.cpp" line="229"/>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="230"/> <location filename="../src/widgets/common/downloaditem.cpp" line="230"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="231"/> <location filename="../src/widgets/common/downloaditem.cpp" line="231"/>
<source>Error happened in dpkg progress , you can try it again</source> <source>Error happened in dpkg progress , please check the install info or try to reinstall.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="237"/> <location filename="../src/widgets/common/downloaditem.cpp" line="237"/>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="238"/> <location filename="../src/widgets/common/downloaditem.cpp" line="238"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="239"/> <location filename="../src/widgets/common/downloaditem.cpp" line="239"/>
<source>dpkg progress had been abortedyou can retry installation</source> <source>dpkg progress had been abortedplease check the install info or try to reinstall.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>

View File

@@ -357,24 +357,16 @@
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="229"/> <location filename="../src/widgets/common/downloaditem.cpp" line="229"/>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="230"/> <location filename="../src/widgets/common/downloaditem.cpp" line="230"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="231"/> <location filename="../src/widgets/common/downloaditem.cpp" line="231"/>
<source>Error happened in dpkg progress , you can try it again</source> <source>Error happened in dpkg progress , please check the install info or try to reinstall.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="237"/> <location filename="../src/widgets/common/downloaditem.cpp" line="237"/>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="238"/> <location filename="../src/widgets/common/downloaditem.cpp" line="238"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="239"/> <location filename="../src/widgets/common/downloaditem.cpp" line="239"/>
<source>dpkg progress had been abortedyou can retry installation</source> <source>dpkg progress had been abortedplease check the install info or try to reinstall.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>

View File

@@ -357,25 +357,33 @@
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="229"/> <location filename="../src/widgets/common/downloaditem.cpp" line="229"/>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="230"/> <location filename="../src/widgets/common/downloaditem.cpp" line="230"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="231"/> <location filename="../src/widgets/common/downloaditem.cpp" line="231"/>
<source>Error happened in dpkg progress , you can try it again</source> <source>Error happened in dpkg progress , please check the install info or try to reinstall.</source>
<translation>dpkg出现错误</translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="237"/> <location filename="../src/widgets/common/downloaditem.cpp" line="237"/>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation>dpkg进程被中断</translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="238"/> <location filename="../src/widgets/common/downloaditem.cpp" line="238"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="239"/> <location filename="../src/widgets/common/downloaditem.cpp" line="239"/>
<source>dpkg progress had been abortedplease check the install info or try to reinstall.</source>
<translation>dpkg出现错误</translation>
</message>
<message>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Error happened in dpkg progress , you can try it again</source>
<translation type="vanished">dpkg出现错误</translation>
</message>
<message>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation type="vanished">dpkg进程被中断</translation>
</message>
<message>
<source>dpkg progress had been abortedyou can retry installation</source> <source>dpkg progress had been abortedyou can retry installation</source>
<translation></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="144"/> <location filename="../src/widgets/common/downloaditem.cpp" line="144"/>

View File

@@ -357,25 +357,33 @@
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="229"/> <location filename="../src/widgets/common/downloaditem.cpp" line="229"/>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation></translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="230"/> <location filename="../src/widgets/common/downloaditem.cpp" line="230"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="231"/> <location filename="../src/widgets/common/downloaditem.cpp" line="231"/>
<source>Error happened in dpkg progress , you can try it again</source> <source>Error happened in dpkg progress , please check the install info or try to reinstall.</source>
<translation>dpkg出现错误</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="237"/> <location filename="../src/widgets/common/downloaditem.cpp" line="237"/>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation>dpkg进程被中断</translation>
</message>
<message>
<location filename="../src/widgets/common/downloaditem.cpp" line="238"/> <location filename="../src/widgets/common/downloaditem.cpp" line="238"/>
<location filename="../src/widgets/common/downloaditem.cpp" line="239"/> <location filename="../src/widgets/common/downloaditem.cpp" line="239"/>
<source>dpkg progress had been abortedplease check the install info or try to reinstall.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error happened in dpkg progress , you can try it again.</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Error happened in dpkg progress , you can try it again</source>
<translation type="vanished">dpkg出现错误</translation>
</message>
<message>
<source>dpkg progress had been abortedyou can retry installation.</source>
<translation type="vanished">dpkg进程被中断</translation>
</message>
<message>
<source>dpkg progress had been abortedyou can retry installation</source> <source>dpkg progress had been abortedyou can retry installation</source>
<translation></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="../src/widgets/common/downloaditem.cpp" line="144"/> <location filename="../src/widgets/common/downloaditem.cpp" line="144"/>