diff --git a/src/widgets/common/downloaditem.cpp b/src/widgets/common/downloaditem.cpp index 51878f6..905bb5b 100644 --- a/src/widgets/common/downloaditem.cpp +++ b/src/widgets/common/downloaditem.cpp @@ -59,6 +59,7 @@ void DownloadItem::readyInstall() { if(!close) { + Utils::sendNotification("spark-store",tr("Spark Store"),tr("The download is complete.")); ui->progressBar->hide(); ui->pushButton_install->setEnabled(true); ui->pushButton_install->show(); diff --git a/src/widgets/common/downloaditem.h b/src/widgets/common/downloaditem.h index f5a7d86..33f9479 100644 --- a/src/widgets/common/downloaditem.h +++ b/src/widgets/common/downloaditem.h @@ -5,7 +5,7 @@ #include #include #include - +#include "utils/utils.h" #include DWIDGET_USE_NAMESPACE diff --git a/src/widgets/downloadlistwidget.cpp b/src/widgets/downloadlistwidget.cpp index 9e0ca06..d4437a1 100644 --- a/src/widgets/downloadlistwidget.cpp +++ b/src/widgets/downloadlistwidget.cpp @@ -125,7 +125,6 @@ void DownloadListWidget::httpFinished() // 完成下载 isBusy = false; downloaditemlist[nowDownload - 1]->readyInstall(); downloaditemlist[nowDownload - 1]->free = true; - Utils::sendNotification("spark-store",tr("Spark Store"),tr("The download is complete. Please click the download button on the title Bar to open the download list for installation")); emit downloadFinished(); if(nowDownload < allDownload) { diff --git a/translations/spark-store_en.ts b/translations/spark-store_en.ts index 7d60f78..77b155c 100644 --- a/translations/spark-store_en.ts +++ b/translations/spark-store_en.ts @@ -278,32 +278,42 @@ - + + Spark Store + + + + + The download is complete. + + + + Installing - + Finish - + Retry - + Error happened in dpkg progress , you can try it again - + dpkg progress had been aborted,you can retry installation - + Download canceled @@ -325,16 +335,6 @@ Open download directory - - - Spark Store - - - - - The download is complete. Please click the download button on the title Bar to open the download list for installation - - MainWindow diff --git a/translations/spark-store_fr.ts b/translations/spark-store_fr.ts index b3af1e6..8e05891 100644 --- a/translations/spark-store_fr.ts +++ b/translations/spark-store_fr.ts @@ -278,32 +278,42 @@ - + + Spark Store + + + + + The download is complete. + + + + Installing - + Finish - + Retry - + Error happened in dpkg progress , you can try it again - + dpkg progress had been aborted,you can retry installation - + Download canceled @@ -325,16 +335,6 @@ Open download directory - - - Spark Store - - - - - The download is complete. Please click the download button on the title Bar to open the download list for installation - - MainWindow diff --git a/translations/spark-store_zh_CN.ts b/translations/spark-store_zh_CN.ts index 7d95f8c..3f1402c 100644 --- a/translations/spark-store_zh_CN.ts +++ b/translations/spark-store_zh_CN.ts @@ -310,32 +310,42 @@ 下载完成 - + + Spark Store + + + + + The download is complete. + + + + Installing 正在安装 - + Finish 完成 - + Retry 重试 - + Error happened in dpkg progress , you can try it again dpkg出现错误,可重新安装 - + dpkg progress had been aborted,you can retry installation 安装被中止,可重新安装 - + Download canceled 下载已取消 @@ -358,14 +368,12 @@ 打开下载文件夹 - Spark Store - 星火应用商店 + 星火应用商店 - The download is complete. Please click the download button on the title Bar to open the download list for installation - 下载已完成,请点击标题栏上的下载按钮打开下载列表进行安装 + 下载已完成,请点击标题栏上的下载按钮打开下载列表进行安装