mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +08:00
去除翻译功能,改为催更
This commit is contained in:
parent
a31a36dbd8
commit
bdef388b2e
@ -825,7 +825,7 @@ void Widget::sltAppinfoResetUi()
|
|||||||
ui->pushButton_uninstall->hide();
|
ui->pushButton_uninstall->hide();
|
||||||
ui->pushButton_website->setEnabled(false);
|
ui->pushButton_website->setEnabled(false);
|
||||||
ui->pushButton->setEnabled(false);
|
ui->pushButton->setEnabled(false);
|
||||||
ui->pushButton_translate->setEnabled(false);
|
ui->pushButton_update->setEnabled(false);
|
||||||
ui->label_show->setText("Loading...");
|
ui->label_show->setText("Loading...");
|
||||||
ui->label_show->show();
|
ui->label_show->show();
|
||||||
}
|
}
|
||||||
@ -909,7 +909,7 @@ void Widget::sltAppinfoIcon(QPixmap *icon)
|
|||||||
ui->label_appicon->show();
|
ui->label_appicon->show();
|
||||||
ui->pushButton_download->setEnabled(true);
|
ui->pushButton_download->setEnabled(true);
|
||||||
ui->pushButton->setEnabled(true);
|
ui->pushButton->setEnabled(true);
|
||||||
ui->pushButton_translate->setEnabled(true);
|
ui->pushButton_update->setEnabled(true);
|
||||||
ui->pushButton_website->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;
|
QDesktopServices::openUrl(QUrl("http://www.shenmo.tech:420/?p=485"));
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,9 +101,9 @@ private slots:
|
|||||||
void on_webEngineView_loadProgress(int progress);
|
void on_webEngineView_loadProgress(int progress);
|
||||||
void on_webEngineView_loadFinished(bool arg1);
|
void on_webEngineView_loadFinished(bool arg1);
|
||||||
void on_pushButton_refresh_clicked();
|
void on_pushButton_refresh_clicked();
|
||||||
void on_pushButton_translate_clicked();
|
void on_pushButton_update_clicked();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QUrl url;
|
QUrl url;
|
||||||
|
|
||||||
downloadlist download_list[LIST_MAX];
|
downloadlist download_list[LIST_MAX];
|
||||||
|
@ -345,7 +345,7 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="page">
|
<widget class="QWidget" name="page">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||||
@ -490,7 +490,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>889</width>
|
<width>889</width>
|
||||||
<height>854</height>
|
<height>847</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_17">
|
<layout class="QVBoxLayout" name="verticalLayout_17">
|
||||||
@ -907,9 +907,9 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="9">
|
<item row="0" column="9">
|
||||||
<widget class="QPushButton" name="pushButton_translate">
|
<widget class="QPushButton" name="pushButton_update">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Contribute translation</string>
|
<string>Request Update</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -994,7 +994,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>851</width>
|
<width>851</width>
|
||||||
<height>323</height>
|
<height>326</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
@ -1123,8 +1123,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>743</width>
|
<width>697</width>
|
||||||
<height>902</height>
|
<height>808</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_23">
|
<layout class="QVBoxLayout" name="verticalLayout_23">
|
||||||
@ -1428,8 +1428,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>903</width>
|
<width>100</width>
|
||||||
<height>681</height>
|
<height>30</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -295,11 +295,6 @@
|
|||||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
|
||||||
<source>Contribute translation</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="930"/>
|
<location filename="../src/widget.ui" line="930"/>
|
||||||
<source>Info</source>
|
<source>Info</source>
|
||||||
@ -400,6 +395,11 @@
|
|||||||
<source><html><head/><body><p><br/></p></body></html></source>
|
<source><html><head/><body><p><br/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.ui" line="912"/>
|
||||||
|
<source>Request Update</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1194"/>
|
<location filename="../src/widget.ui" line="1194"/>
|
||||||
<source>Take effect when restart</source>
|
<source>Take effect when restart</source>
|
||||||
@ -475,32 +475,6 @@
|
|||||||
<source>Unknown error!</source>
|
<source>Unknown error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>Yes</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>No</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1375"/>
|
|
||||||
<source>Information for Contributors</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1376"/>
|
|
||||||
<source>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.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1175"/>
|
<location filename="../src/widget.cpp" line="1175"/>
|
||||||
<source>Uninstall succeeded</source>
|
<source>Uninstall succeeded</source>
|
||||||
|
@ -308,7 +308,7 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
<location filename="../src/widget.ui" line="912"/>
|
||||||
<source>Contribute translation</source>
|
<source>Request Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@ -673,32 +673,6 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<source>The URL has been copied to the clipboard</source>
|
<source>The URL has been copied to the clipboard</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>Yes</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>No</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1375"/>
|
|
||||||
<source>Information for Contributors</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../src/widget.cpp" line="1376"/>
|
|
||||||
<source>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.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>downloadlist</name>
|
<name>downloadlist</name>
|
||||||
|
@ -327,9 +327,8 @@
|
|||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
|
||||||
<source>Contribute translation</source>
|
<source>Contribute translation</source>
|
||||||
<translation>贡献翻译/应用反馈</translation>
|
<translation type="vanished">贡献翻译/应用反馈</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="930"/>
|
<location filename="../src/widget.ui" line="930"/>
|
||||||
@ -460,6 +459,11 @@
|
|||||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.ui" line="912"/>
|
||||||
|
<source>Request Update</source>
|
||||||
|
<translation>请求更新</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1194"/>
|
<location filename="../src/widget.ui" line="1194"/>
|
||||||
<source>Take effect when restart</source>
|
<source>Take effect when restart</source>
|
||||||
@ -586,22 +590,18 @@
|
|||||||
<translation>未知错误!</translation>
|
<translation>未知错误!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>Yes</source>
|
<source>Yes</source>
|
||||||
<translation>是</translation>
|
<translation type="vanished">是</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1374"/>
|
|
||||||
<source>No</source>
|
<source>No</source>
|
||||||
<translation>否</translation>
|
<translation type="vanished">否</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1375"/>
|
|
||||||
<source>Information for Contributors</source>
|
<source>Information for Contributors</source>
|
||||||
<translation>贡献者须知</translation>
|
<translation type="vanished">贡献者须知</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1376"/>
|
|
||||||
<source>Currently the translation contribution is limited to English,
|
<source>Currently the translation contribution is limited to English,
|
||||||
and you will be redirected to our Gitee repository at which you are
|
and you will be redirected to our Gitee repository at which you are
|
||||||
supposed to be creating pull requests to contribute app info
|
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 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
|
Tips:You can use github account to login to Gitee
|
||||||
Click yes to continue.</source>
|
Click yes to continue.</source>
|
||||||
<translation>目前商店仅支持应用程序英文详细信息的贡献。
|
<translation type="vanished">目前商店仅支持应用程序英文详细信息的贡献。
|
||||||
在你确认后你会被导向到我们的 Gitee 页面,
|
在你确认后你会被导向到我们的 Gitee 页面,
|
||||||
请在此创建 Pull Request 以进行翻译贡献。
|
请在此创建 Pull Request 以进行翻译贡献。
|
||||||
备注:你可以直接在页面编辑以快速创建轻量级pr
|
备注:你可以直接在页面编辑以快速创建轻量级pr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user