diff --git a/src/widget.cpp b/src/widget.cpp
index a66693a..f5a9849 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -825,7 +825,7 @@ void Widget::sltAppinfoResetUi()
ui->pushButton_uninstall->hide();
ui->pushButton_website->setEnabled(false);
ui->pushButton->setEnabled(false);
- ui->pushButton_translate->setEnabled(false);
+ ui->pushButton_update->setEnabled(false);
ui->label_show->setText("Loading...");
ui->label_show->show();
}
@@ -909,7 +909,7 @@ void Widget::sltAppinfoIcon(QPixmap *icon)
ui->label_appicon->show();
ui->pushButton_download->setEnabled(true);
ui->pushButton->setEnabled(true);
- ui->pushButton_translate->setEnabled(true);
+ ui->pushButton_update->setEnabled(true);
ui->pushButton_website->setEnabled(true);
}
@@ -1367,22 +1367,8 @@ void Widget::on_webEngineView_loadFinished(bool arg1)
}
}
-void Widget::on_pushButton_translate_clicked()
+void Widget::on_pushButton_update_clicked()
{
- DDialog tipDialog;
- tipDialog.setWordWrapMessage(true);
- tipDialog.addButtons({ tr("Yes"), tr("No") });
- tipDialog.setTitle(tr("Information for Contributors"));
- tipDialog.setMessage(tr("Currently the translation contribution is limited to English,\n"
- "and you will be redirected to our Gitee repository at which you are\n"
- "supposed to be creating pull requests to contribute app info\n"
- "translations.\n"
- "Tips:You can simply click the file to edit to create a flat pull request without create a full pull request\n"
- "Tips:You can use github account to login to Gitee"
- "\nClick yes to continue."));
-
- if(!tipDialog.exec())
- {
- QDesktopServices::openUrl("https://gitee.com/deepin-community-store/json/tree/master/store/" + type_name + '/' + pkgName);
- }
+ QDesktopServices::openUrl(QUrl("http://www.shenmo.tech:420/?p=485"));
}
+
diff --git a/src/widget.h b/src/widget.h
index 41f7cf2..e016efb 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -101,9 +101,9 @@ private slots:
void on_webEngineView_loadProgress(int progress);
void on_webEngineView_loadFinished(bool arg1);
void on_pushButton_refresh_clicked();
- void on_pushButton_translate_clicked();
+ void on_pushButton_update_clicked();
-public:
+ public:
QUrl url;
downloadlist download_list[LIST_MAX];
diff --git a/src/widget.ui b/src/widget.ui
index 9284688..8c14635 100644
--- a/src/widget.ui
+++ b/src/widget.ui
@@ -345,7 +345,7 @@
0
- 0
+ 2
@@ -490,7 +490,7 @@
00889
- 854
+ 847
@@ -907,9 +907,9 @@
-
+
- Contribute translation
+ Request Update
@@ -994,7 +994,7 @@
00851
- 323
+ 326
@@ -1123,8 +1123,8 @@
00
- 743
- 902
+ 697
+ 808
@@ -1428,8 +1428,8 @@
00
- 903
- 681
+ 100
+ 30
diff --git a/translations/spark-store_en.ts b/translations/spark-store_en.ts
index 3e6ac97..05b8caa 100644
--- a/translations/spark-store_en.ts
+++ b/translations/spark-store_en.ts
@@ -295,11 +295,6 @@
<html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html>
-
-
- Contribute translation
-
- Info
@@ -400,6 +395,11 @@
<html><head/><body><p><br/></p></body></html>
+
+
+ Request Update
+
+ Take effect when restart
@@ -475,32 +475,6 @@
Unknown error!
-
-
- Yes
-
-
-
-
- No
-
-
-
-
- Information for Contributors
-
-
-
-
- Currently the translation contribution is limited to English,
-and you will be redirected to our Gitee repository at which you are
-supposed to be creating pull requests to contribute app info
-translations.
-Tips:You can simply click the file to edit to create a flat pull request without create a full pull request
-Tips:You can use github account to login to Gitee
-Click yes to continue.
-
- Uninstall succeeded
diff --git a/translations/spark-store_fr.ts b/translations/spark-store_fr.ts
index 0d60470..fd150e2 100644
--- a/translations/spark-store_fr.ts
+++ b/translations/spark-store_fr.ts
@@ -308,7 +308,7 @@ Nous sommes nés pour le changement.
- Contribute translation
+ Request Update
@@ -673,32 +673,6 @@ Nous sommes nés pour le changement.
The URL has been copied to the clipboard
-
-
- Yes
-
-
-
-
- No
-
-
-
-
- Information for Contributors
-
-
-
-
- Currently the translation contribution is limited to English,
-and you will be redirected to our Gitee repository at which you are
-supposed to be creating pull requests to contribute app info
-translations.
-Tips:You can simply click the file to edit to create a flat pull request without create a full pull request
-Tips:You can use github account to login to Gitee
-Click yes to continue.
-
- downloadlist
diff --git a/translations/spark-store_zh_CN.ts b/translations/spark-store_zh_CN.ts
index 97c70d7..3cb3f2c 100644
--- a/translations/spark-store_zh_CN.ts
+++ b/translations/spark-store_zh_CN.ts
@@ -327,9 +327,8 @@
- Contribute translation
- 贡献翻译/应用反馈
+ 贡献翻译/应用反馈
@@ -460,6 +459,11 @@
<html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html>
+
+
+ Request Update
+ 请求更新
+ Take effect when restart
@@ -586,22 +590,18 @@
未知错误!
- Yes
- 是
+ 是
- No
- 否
+ 否
- Information for Contributors
- 贡献者须知
+ 贡献者须知
- Currently the translation contribution is limited to English,
and you will be redirected to our Gitee repository at which you are
supposed to be creating pull requests to contribute app info
@@ -609,7 +609,7 @@ translations.
Tips:You can simply click the file to edit to create a flat pull request without create a full pull request
Tips:You can use github account to login to Gitee
Click yes to continue.
- 目前商店仅支持应用程序英文详细信息的贡献。
+ 目前商店仅支持应用程序英文详细信息的贡献。
在你确认后你会被导向到我们的 Gitee 页面,
请在此创建 Pull Request 以进行翻译贡献。
备注:你可以直接在页面编辑以快速创建轻量级pr