mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-20 03:01:36 +08:00
fix: 修正错误消息
This commit is contained in:
@@ -173,7 +173,7 @@ void DownloadController::startDownload(const QString &url)
|
|||||||
failDownloadTimes += 1;
|
failDownloadTimes += 1;
|
||||||
timeoutTimer->start(MAXWAITTIME); // 重新启动定时器
|
timeoutTimer->start(MAXWAITTIME); // 重新启动定时器
|
||||||
} else{
|
} else{
|
||||||
emit errorOccur(cmd.readAllStandardError().data());
|
emit errorOccur(tr("Download Failed, please retry :(")); // 下载失败
|
||||||
downloadSuccess = false;
|
downloadSuccess = false;
|
||||||
cmd.close();
|
cmd.close();
|
||||||
cmd.terminate(); // 终止当前的下载进程
|
cmd.terminate(); // 终止当前的下载进程
|
||||||
|
|||||||
@@ -278,6 +278,14 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>DownloadController</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/backend/downloadworker.cpp" line="176"/>
|
||||||
|
<source>Download Failed, please retry :(</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>DownloadItem</name>
|
<name>DownloadItem</name>
|
||||||
<message>
|
<message>
|
||||||
|
|||||||
@@ -278,6 +278,14 @@
|
|||||||
<translation>%1 publié sous %2</translation>
|
<translation>%1 publié sous %2</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>DownloadController</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/backend/downloadworker.cpp" line="176"/>
|
||||||
|
<source>Download Failed, please retry :(</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>DownloadItem</name>
|
<name>DownloadItem</name>
|
||||||
<message>
|
<message>
|
||||||
|
|||||||
@@ -278,6 +278,14 @@
|
|||||||
<translation>%1遵循%2协议发布</translation>
|
<translation>%1遵循%2协议发布</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>DownloadController</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/backend/downloadworker.cpp" line="176"/>
|
||||||
|
<source>Download Failed, please retry :(</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>DownloadItem</name>
|
<name>DownloadItem</name>
|
||||||
<message>
|
<message>
|
||||||
|
|||||||
@@ -278,6 +278,14 @@
|
|||||||
<translation>%1遵循%2协议发布</translation>
|
<translation>%1遵循%2协议发布</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>DownloadController</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/backend/downloadworker.cpp" line="176"/>
|
||||||
|
<source>Download Failed, please retry :(</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>DownloadItem</name>
|
<name>DownloadItem</name>
|
||||||
<message>
|
<message>
|
||||||
|
|||||||
Reference in New Issue
Block a user