mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-02 17:32:25 +08:00
去除翻译功能,改为催更
This commit is contained in:
parent
a31a36dbd8
commit
bdef388b2e
@ -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."));
|
||||
QDesktopServices::openUrl(QUrl("http://www.shenmo.tech:420/?p=485"));
|
||||
}
|
||||
|
||||
if(!tipDialog.exec())
|
||||
{
|
||||
QDesktopServices::openUrl("https://gitee.com/deepin-community-store/json/tree/master/store/" + type_name + '/' + pkgName);
|
||||
}
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ 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:
|
||||
QUrl url;
|
||||
|
@ -345,7 +345,7 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>2</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
@ -490,7 +490,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>889</width>
|
||||
<height>854</height>
|
||||
<height>847</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_17">
|
||||
@ -907,9 +907,9 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="9">
|
||||
<widget class="QPushButton" name="pushButton_translate">
|
||||
<widget class="QPushButton" name="pushButton_update">
|
||||
<property name="text">
|
||||
<string>Contribute translation</string>
|
||||
<string>Request Update</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -994,7 +994,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>851</width>
|
||||
<height>323</height>
|
||||
<height>326</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
@ -1123,8 +1123,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>743</width>
|
||||
<height>902</height>
|
||||
<width>697</width>
|
||||
<height>808</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_23">
|
||||
@ -1428,8 +1428,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>903</width>
|
||||
<height>681</height>
|
||||
<width>100</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
|
@ -295,11 +295,6 @@
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="912"/>
|
||||
<source>Contribute translation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="930"/>
|
||||
<source>Info</source>
|
||||
@ -400,6 +395,11 @@
|
||||
<source><html><head/><body><p><br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="912"/>
|
||||
<source>Request Update</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="1194"/>
|
||||
<source>Take effect when restart</source>
|
||||
@ -475,32 +475,6 @@
|
||||
<source>Unknown error!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</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>
|
||||
<location filename="../src/widget.cpp" line="1175"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
|
@ -308,7 +308,7 @@ Nous sommes nés pour le changement.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="912"/>
|
||||
<source>Contribute translation</source>
|
||||
<source>Request Update</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
@ -673,32 +673,6 @@ Nous sommes nés pour le changement.</translation>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</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>
|
||||
<name>downloadlist</name>
|
||||
|
@ -327,9 +327,8 @@
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="912"/>
|
||||
<source>Contribute translation</source>
|
||||
<translation>贡献翻译/应用反馈</translation>
|
||||
<translation type="vanished">贡献翻译/应用反馈</translation>
|
||||
</message>
|
||||
<message>
|
||||
<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>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="912"/>
|
||||
<source>Request Update</source>
|
||||
<translation>请求更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.ui" line="1194"/>
|
||||
<source>Take effect when restart</source>
|
||||
@ -586,22 +590,18 @@
|
||||
<translation>未知错误!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.cpp" line="1374"/>
|
||||
<source>Yes</source>
|
||||
<translation>是</translation>
|
||||
<translation type="vanished">是</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.cpp" line="1374"/>
|
||||
<source>No</source>
|
||||
<translation>否</translation>
|
||||
<translation type="vanished">否</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget.cpp" line="1375"/>
|
||||
<source>Information for Contributors</source>
|
||||
<translation>贡献者须知</translation>
|
||||
<translation type="vanished">贡献者须知</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
|
||||
@ -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.</source>
|
||||
<translation>目前商店仅支持应用程序英文详细信息的贡献。
|
||||
<translation type="vanished">目前商店仅支持应用程序英文详细信息的贡献。
|
||||
在你确认后你会被导向到我们的 Gitee 页面,
|
||||
请在此创建 Pull Request 以进行翻译贡献。
|
||||
备注:你可以直接在页面编辑以快速创建轻量级pr
|
||||
|
Loading…
x
Reference in New Issue
Block a user