QObject::tr---update-ubuntu-tag
@ -20,9 +20,9 @@ downloadlist::downloadlist(QWidget *parent) :
|
||||
ui->pushButton_3->hide();
|
||||
ui->widget_spinner->start();
|
||||
ui->widget_spinner->hide();
|
||||
action_dpkg->setText("dpkg");
|
||||
action_gdebi->setText("gdebi");
|
||||
action_deepin->setText("deepin deb installer");
|
||||
action_dpkg->setText(QObject::tr("dpkg"));
|
||||
action_gdebi->setText(QObject::tr("gdebi"));
|
||||
action_deepin->setText(QObject::tr("deepin deb installer"));
|
||||
connect(action_dpkg,&QAction::triggered,[=](){downloadlist::install(1);});
|
||||
connect(action_gdebi,&QAction::triggered,[=](){downloadlist::install(0);});
|
||||
connect(action_deepin,&QAction::triggered,[=](){downloadlist::install(2);});
|
||||
@ -51,7 +51,7 @@ void downloadlist::setValue(long long value)
|
||||
ui->progressBar->setValue(int(value));
|
||||
ui->label_2->setText(QString::number(double(value)/100)+"% ("+speed+")");
|
||||
if(ui->label_2->text().left(4)=="100%"){
|
||||
ui->label_2->setText("Downloaded,waiting to Install");
|
||||
ui->label_2->setText(QObject::tr("Downloaded,waiting to Install"));
|
||||
}
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ void downloadlist::readyInstall()
|
||||
ui->pushButton_install->show();
|
||||
ui->pushButton_2->hide();
|
||||
system("notify-send \""+ui->label->text().toUtf8()+"Download Failed\"" +" --icon=/tmp/spark-store/icon_"+QString::number(num).toUtf8()+".png");
|
||||
ui->label_2->setText("Download Failed,Check Your Connection");
|
||||
ui->label_2->setText(QObject::tr("Download Failed,Check Your Connection"));
|
||||
ui->pushButton_install->setEnabled(false);
|
||||
return;
|
||||
|
||||
@ -119,7 +119,7 @@ void downloadlist::install(int t)
|
||||
ui->pushButton_install->hide();
|
||||
ui->widget_spinner->show();
|
||||
qDebug()<<"/tmp/spark-store/"+ui->label_filename->text().toUtf8();
|
||||
ui->label_2->setText("Installing...");
|
||||
ui->label_2->setText(QObject::tr("Installing..."));
|
||||
QtConcurrent::run([=](){
|
||||
QProcess installer;
|
||||
if(!reinstall){
|
||||
@ -166,16 +166,16 @@ void downloadlist::install(int t)
|
||||
int error=QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
||||
if(error==0){
|
||||
ui->pushButton_install->hide();
|
||||
ui->label_2->setText("Finish");
|
||||
ui->label_2->setText(QObject::tr("Finish"));
|
||||
ui->pushButton_3->show();
|
||||
}else {
|
||||
ui->pushButton_install->show();
|
||||
ui->pushButton_install->setText("Retry");
|
||||
ui->label_2->setText("Error happened in dpkg progress , you can try it again");
|
||||
ui->pushButton_install->setText(QObject::tr("Retry"));
|
||||
ui->label_2->setText(QObject::tr("Error happened in dpkg progress , you can try it again"));
|
||||
ui->pushButton_3->show();
|
||||
}
|
||||
if(notRoot){
|
||||
ui->label_2->setText("dpkg progress had been aborted,you can retry installation");
|
||||
ui->label_2->setText(QObject::tr("dpkg progress had been aborted,you can retry installation"));
|
||||
ui->pushButton_install->show();
|
||||
ui->pushButton_3->hide();
|
||||
}
|
||||
@ -197,7 +197,7 @@ void downloadlist::on_pushButton_install_clicked()
|
||||
|
||||
void downloadlist::on_pushButton_2_clicked()
|
||||
{
|
||||
ui->label_2->setText("Download Canceled");
|
||||
ui->label_2->setText(QObject::tr("Download Canceled"));
|
||||
ui->pushButton_2->setEnabled(false);
|
||||
ui->progressBar->hide();
|
||||
close=true;
|
||||
|
@ -55,5 +55,9 @@
|
||||
<file>tags/community-small.png</file>
|
||||
<file>tags/deepin-small.png</file>
|
||||
<file>tags/dtk-small.png</file>
|
||||
<file>tags/uos-small.png</file>
|
||||
<file>tags/community.png</file>
|
||||
<file>tags/ubuntu-small.png</file>
|
||||
<file>tags/ubuntu.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
18
main.cpp
@ -11,23 +11,25 @@ int main(int argc, char *argv[])
|
||||
DApplication a(argc, argv);
|
||||
DAboutDialog dialog;
|
||||
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
a.loadTranslator();
|
||||
a.loadTranslator();//载入翻译
|
||||
a.setAboutDialog(&dialog);
|
||||
dialog.setLicense("We publish this program under GPL V3");
|
||||
dialog.setVersion(DApplication::buildVersion(" Version 2.0+1"));
|
||||
dialog.setLicense(QObject::tr("We publish this program under GPL V3"));
|
||||
dialog.setVersion(DApplication::buildVersion(QObject::tr("Version 2.0+2")));
|
||||
dialog.setAcknowledgementVisible(true);
|
||||
dialog.setAcknowledgementLink("https://gitee.com/deepin-community-store/spark-store");
|
||||
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
|
||||
dialog.setAcknowledgementLink(QObject::tr("https://gitee.com/deepin-community-store/spark-store"));
|
||||
a.setApplicationAcknowledgementPage(QObject::tr("https://gitee.com/deepin-community-store/spark-store"));
|
||||
dialog.setProductIcon(QIcon::fromTheme("spark-store")); //设置Logo
|
||||
dialog.setProductName(QLabel::tr("Spark Store"));
|
||||
//dialog.setDescription(QLabel::tr("An appstore powered by deepin community\n We born for change"));
|
||||
dialog.setDescription(
|
||||
dialog.setDescription(QObject::tr(
|
||||
"<span style=' font-size:10pt;font-weight:60;'>An appstore powered by deepin community</span><br/>"
|
||||
"<a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/>"
|
||||
"<span style=' font-size:12pt;'>Spark developers</span>");
|
||||
"<span style=' font-size:12pt;'>Spark developers</span>"
|
||||
)
|
||||
);
|
||||
dialog.setProductName(QLabel::tr("Spark Store"));
|
||||
dialog.setCompanyLogo(QPixmap(":/Logo-Spark.png"));
|
||||
dialog.setWebsiteName("The Spark Project");
|
||||
dialog.setWebsiteName(QObject::tr("The Spark Project"));
|
||||
dialog.setWebsiteLink("https://gitee.com/deepin-community-store");
|
||||
Widget w;
|
||||
QDesktopWidget *s=DApplication::desktop();
|
||||
|
@ -52,3 +52,18 @@ FORMS += \
|
||||
|
||||
RESOURCES += \
|
||||
icons.qrc
|
||||
|
||||
DISTFILES += \
|
||||
tags/a2d-small.png \
|
||||
tags/a2d.png \
|
||||
tags/community-small.png \
|
||||
tags/community.png \
|
||||
tags/deepin-small.png \
|
||||
tags/dtk-small.png \
|
||||
tags/ubuntu-small.png \
|
||||
tags/ubuntu.png \
|
||||
tags/uos-small.png \
|
||||
tags/community.svg \
|
||||
tags/deepin.svg \
|
||||
tags/logo_icon.svg \
|
||||
tags/uos.svg
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 1.6 KiB |
BIN
tags/community.png
Normal file
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 954 B |
BIN
tags/ubuntu-small.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
tags/ubuntu.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
tags/uos-small.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
@ -4,15 +4,9 @@
|
||||
<context>
|
||||
<name>QLabel</name>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="19"/>
|
||||
<location filename="../main.cpp" line="21"/>
|
||||
<source>Spark应用商店</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="20"/>
|
||||
<source>社区驱动的一款为第三方应用商店,为改变而生
|
||||
本程序按GPL第三版开源</source>
|
||||
<location filename="../main.cpp" line="22"/>
|
||||
<location filename="../main.cpp" line="28"/>
|
||||
<source>Spark Store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@ -30,27 +24,279 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="67"/>
|
||||
<source>视频播放</source>
|
||||
<source>Videos</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="74"/>
|
||||
<source>下载列表</source>
|
||||
<source>Download List</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="81"/>
|
||||
<source>系统工具</source>
|
||||
<source>Tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="88"/>
|
||||
<source>主题美化</source>
|
||||
<source>Beautify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="95"/>
|
||||
<source>音乐欣赏</source>
|
||||
<source>Music</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="153"/>
|
||||
<source>Coding</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="160"/>
|
||||
<source>Office</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="173"/>
|
||||
<source>回到分类</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="200"/>
|
||||
<source>Translate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="207"/>
|
||||
<source>Others</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="217"/>
|
||||
<source>FrontPage</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="224"/>
|
||||
<source>Images</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="231"/>
|
||||
<source>Games</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="238"/>
|
||||
<source>Chatting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="245"/>
|
||||
<source>Network</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="290"/>
|
||||
<source>重新加载</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="380"/>
|
||||
<source>The List is empty now.Go and Download some software!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="486"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="526"/>
|
||||
<source>ICON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="584"/>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="620"/>
|
||||
<source>Uninstall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="636"/>
|
||||
<source>Site</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="702"/>
|
||||
<location filename="../widget.ui" line="705"/>
|
||||
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="708"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="721"/>
|
||||
<location filename="../widget.ui" line="724"/>
|
||||
<source><html><head/><body><p>Capable to Ubuntu 20.04</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="727"/>
|
||||
<source>UB</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="740"/>
|
||||
<location filename="../widget.ui" line="743"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="746"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="759"/>
|
||||
<location filename="../widget.ui" line="762"/>
|
||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="765"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos.svg"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="778"/>
|
||||
<location filename="../widget.ui" line="781"/>
|
||||
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="784"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="810"/>
|
||||
<location filename="../widget.ui" line="813"/>
|
||||
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="816"/>
|
||||
<source>wine</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="829"/>
|
||||
<location filename="../widget.ui" line="832"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="835"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="858"/>
|
||||
<source>Share</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="876"/>
|
||||
<source>Info</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="922"/>
|
||||
<source>ScreenShots</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1085"/>
|
||||
<source>Line Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1101"/>
|
||||
<source>Choose Line:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1124"/>
|
||||
<source>Refresh</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1137"/>
|
||||
<source>Take effect when restart </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1166"/>
|
||||
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1176"/>
|
||||
<source>Update</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1183"/>
|
||||
<source>Source Server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1203"/>
|
||||
<source>Server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1224"/>
|
||||
<source>Temp</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1247"/>
|
||||
<source>Clean</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1257"/>
|
||||
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1270"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1284"/>
|
||||
<source>Location:/tmp/spark-store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1305"/>
|
||||
<source>About us</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1312"/>
|
||||
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
@ -59,207 +305,35 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="153"/>
|
||||
<source>编程开发</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="177"/>
|
||||
<source>办公学习</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="197"/>
|
||||
<source>阅读翻译</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="204"/>
|
||||
<source>其他应用</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="214"/>
|
||||
<source>商店首页</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="221"/>
|
||||
<source>图形图像</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="228"/>
|
||||
<source>游戏娱乐</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="235"/>
|
||||
<source>社交沟通</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="242"/>
|
||||
<source>网络应用</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="313"/>
|
||||
<location filename="../widget.ui" line="339"/>
|
||||
<source>about:blank</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="354"/>
|
||||
<source>当前下载列表为空</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="386"/>
|
||||
<location filename="../widget.ui" line="412"/>
|
||||
<source>打开文件夹</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="486"/>
|
||||
<source>安装</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="522"/>
|
||||
<source>卸载</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="551"/>
|
||||
<source>官网</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="580"/>
|
||||
<source>软件名</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="592"/>
|
||||
<location filename="../widget.ui" line="498"/>
|
||||
<source><html><head/><body><p><br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="636"/>
|
||||
<source>图标</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="649"/>
|
||||
<source>分享</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="683"/>
|
||||
<location filename="../widget.ui" line="696"/>
|
||||
<location filename="../widget.ui" line="709"/>
|
||||
<location filename="../widget.ui" line="722"/>
|
||||
<location filename="../widget.ui" line="735"/>
|
||||
<location filename="../widget.ui" line="748"/>
|
||||
<location filename="../widget.ui" line="761"/>
|
||||
<location filename="../widget.ui" line="774"/>
|
||||
<location filename="../widget.ui" line="797"/>
|
||||
<source>TextLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="808"/>
|
||||
<source>详细介绍</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="815"/>
|
||||
<location filename="../widget.ui" line="883"/>
|
||||
<source><html><head/><body><p>由社区爱好者开发的软件商店</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="854"/>
|
||||
<source>软件截图</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1017"/>
|
||||
<source>线路设置</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1033"/>
|
||||
<source>线路选择:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1056"/>
|
||||
<source>刷新</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1069"/>
|
||||
<source> 重启商店后生效</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1098"/>
|
||||
<source><html><head/><body><p>源服务器的作用是保证软件更新,并且支持使用apt工具获取软件。通常我们更建议你使用第一个线路作为更新源,一般是最稳定的。</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1108"/>
|
||||
<source>更新源</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1115"/>
|
||||
<source>更新源服务器:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1135"/>
|
||||
<source>服务器</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1156"/>
|
||||
<source>缓存目录</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1179"/>
|
||||
<source>清空</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1189"/>
|
||||
<source>因为这个目录位于/tmp下,所以即使你不手动清空的话,其也将在系统重启时自动清空。</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1202"/>
|
||||
<source>目录大小:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1209"/>
|
||||
<location filename="../widget.ui" line="1277"/>
|
||||
<source>0B</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1216"/>
|
||||
<source>目录位置:/tmp/spark-store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1237"/>
|
||||
<source>关于我们</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1244"/>
|
||||
<source><html><head/><body><p>我们并不是官方团队,和你一样,我们也只是众多Linux/deepin系统爱好者和用户之中的一员,我们开发并且运营这个“Spark应用商店”,是为了让社区的朋友们一起分享好用的软件,或者一起参与开发,让大家都用到最新的,最优秀的软件。</p><p>我们并没有因此盈利,所有开发和维护人员都不会获得报酬,我们的主要支出大部分依赖于社区对我们的捐助,很感谢大家,这部分捐助让我们并不需要耗费太多精力去担心资金问题。</p><p>我们的服务和开发的软件都是免费供给大家使用,交流,学习的,但是在您的使用过程中一定要遵守当地的法律法规,否则出现任何问题和我们无关。</p><p>如果商店中任何一部分有侵犯您权益的行为,请告知我们&lt;jifengshenmo@outlook.com&gt;,我们会第一时间删除侵权内容。</p><p>如果你也想参与我们,不管是参与开发,设计,投递还是投稿作品,我们都欢迎你的加入。</p><p>QQ群:872690351<br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>downloadlist</name>
|
||||
@ -280,27 +354,27 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="106"/>
|
||||
<source>名称</source>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="189"/>
|
||||
<source>等待开始下载</source>
|
||||
<source>Waiting to download</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="240"/>
|
||||
<source>安装</source>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="259"/>
|
||||
<source>取消</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="278"/>
|
||||
<source>详情</source>
|
||||
<source>Info</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -4,19 +4,22 @@
|
||||
<context>
|
||||
<name>QLabel</name>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="19"/>
|
||||
<location filename="../main.cpp" line="21"/>
|
||||
<source>Spark应用商店</source>
|
||||
<translation>Spark Store</translation>
|
||||
<translation type="vanished">Spark Store</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="20"/>
|
||||
<source>社区驱动的一款为第三方应用商店,为改变而生
|
||||
本程序按GPL第三版开源</source>
|
||||
<translation>A 3-rd party app store powered by deepin community
|
||||
<translation type="vanished">A 3-rd party app store powered by deepin community
|
||||
Spark Store is published under GPL V3
|
||||
We born for change.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../main.cpp" line="22"/>
|
||||
<location filename="../main.cpp" line="28"/>
|
||||
<source>Spark Store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Widget</name>
|
||||
@ -32,30 +35,302 @@ We born for change.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="67"/>
|
||||
<source>视频播放</source>
|
||||
<translatorcomment>Video Players and Video Makers</translatorcomment>
|
||||
<translation>Video</translation>
|
||||
<source>Videos</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="74"/>
|
||||
<source>下载列表</source>
|
||||
<translation>Download list</translation>
|
||||
<source>Download List</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="81"/>
|
||||
<source>系统工具</source>
|
||||
<translation>Tools</translation>
|
||||
<source>Tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="88"/>
|
||||
<source>主题美化</source>
|
||||
<translatorcomment>Icon theme and other </translatorcomment>
|
||||
<translation>Themes</translation>
|
||||
<source>Beautify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="95"/>
|
||||
<source>Music</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="153"/>
|
||||
<source>Coding</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="160"/>
|
||||
<source>Office</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="173"/>
|
||||
<source>回到分类</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="200"/>
|
||||
<source>Translate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="207"/>
|
||||
<source>Others</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="217"/>
|
||||
<source>FrontPage</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="224"/>
|
||||
<source>Images</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="231"/>
|
||||
<source>Games</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="238"/>
|
||||
<source>Chatting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="245"/>
|
||||
<source>Network</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="290"/>
|
||||
<source>重新加载</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="380"/>
|
||||
<source>The List is empty now.Go and Download some software!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="486"/>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="526"/>
|
||||
<source>ICON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="584"/>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="620"/>
|
||||
<source>Uninstall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="636"/>
|
||||
<source>Site</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="702"/>
|
||||
<location filename="../widget.ui" line="705"/>
|
||||
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="708"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="721"/>
|
||||
<location filename="../widget.ui" line="724"/>
|
||||
<source><html><head/><body><p>Capable to Ubuntu 20.04</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="727"/>
|
||||
<source>UB</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="740"/>
|
||||
<location filename="../widget.ui" line="743"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="746"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="759"/>
|
||||
<location filename="../widget.ui" line="762"/>
|
||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="765"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos.svg"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="778"/>
|
||||
<location filename="../widget.ui" line="781"/>
|
||||
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="784"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="810"/>
|
||||
<location filename="../widget.ui" line="813"/>
|
||||
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="816"/>
|
||||
<source>wine</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="829"/>
|
||||
<location filename="../widget.ui" line="832"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="835"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="858"/>
|
||||
<source>Share</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="876"/>
|
||||
<source>Info</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="922"/>
|
||||
<source>ScreenShots</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1085"/>
|
||||
<source>Line Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1101"/>
|
||||
<source>Choose Line:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1124"/>
|
||||
<source>Refresh</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1137"/>
|
||||
<source>Take effect when restart </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1166"/>
|
||||
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1176"/>
|
||||
<source>Update</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1183"/>
|
||||
<source>Source Server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1203"/>
|
||||
<source>Server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1224"/>
|
||||
<source>Temp</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1247"/>
|
||||
<source>Clean</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1257"/>
|
||||
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1270"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1284"/>
|
||||
<source>Location:/tmp/spark-store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1305"/>
|
||||
<source>About us</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1312"/>
|
||||
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>视频播放</source>
|
||||
<translatorcomment>Video Players and Video Makers</translatorcomment>
|
||||
<translation type="vanished">Video</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>下载列表</source>
|
||||
<translation type="vanished">Download list</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>系统工具</source>
|
||||
<translation type="vanished">Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>主题美化</source>
|
||||
<translatorcomment>Icon theme and other </translatorcomment>
|
||||
<translation type="vanished">Themes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>音乐欣赏</source>
|
||||
<translation>Music</translation>
|
||||
<translation type="vanished">Music</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="114"/>
|
||||
@ -63,206 +338,166 @@ We born for change.</translation>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="153"/>
|
||||
<source>编程开发</source>
|
||||
<translation>Development</translation>
|
||||
<translation type="vanished">Development</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="177"/>
|
||||
<source>办公学习</source>
|
||||
<translation>Office</translation>
|
||||
<translation type="vanished">Office</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="197"/>
|
||||
<source>阅读翻译</source>
|
||||
<translation>Translate</translation>
|
||||
<translation type="vanished">Translate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="204"/>
|
||||
<source>其他应用</source>
|
||||
<translation>Others</translation>
|
||||
<translation type="vanished">Others</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="214"/>
|
||||
<source>商店首页</source>
|
||||
<translation>Home</translation>
|
||||
<translation type="vanished">Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="221"/>
|
||||
<source>图形图像</source>
|
||||
<translation>Images</translation>
|
||||
<translation type="vanished">Images</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="228"/>
|
||||
<source>游戏娱乐</source>
|
||||
<translation>Games</translation>
|
||||
<translation type="vanished">Games</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="235"/>
|
||||
<source>社交沟通</source>
|
||||
<translation>Chat</translation>
|
||||
<translation type="vanished">Chat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="242"/>
|
||||
<source>网络应用</source>
|
||||
<translation type="unfinished">Network</translation>
|
||||
<translation type="obsolete">Network</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="313"/>
|
||||
<location filename="../widget.ui" line="339"/>
|
||||
<source>about:blank</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="354"/>
|
||||
<source>当前下载列表为空</source>
|
||||
<translation>The Download list is empty</translation>
|
||||
<translation type="vanished">The Download list is empty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="386"/>
|
||||
<location filename="../widget.ui" line="412"/>
|
||||
<source>打开文件夹</source>
|
||||
<translation>Open in File Manager</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="486"/>
|
||||
<source>安装</source>
|
||||
<translation>Install</translation>
|
||||
<translation type="vanished">Install</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="522"/>
|
||||
<source>卸载</source>
|
||||
<translation>Remove</translation>
|
||||
<translation type="vanished">Remove</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="551"/>
|
||||
<source>官网</source>
|
||||
<translation>Site</translation>
|
||||
<translation type="vanished">Site</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="580"/>
|
||||
<source>软件名</source>
|
||||
<translation>Name</translation>
|
||||
<translation type="vanished">Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="592"/>
|
||||
<location filename="../widget.ui" line="498"/>
|
||||
<source><html><head/><body><p><br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="636"/>
|
||||
<source>图标</source>
|
||||
<translation>Icon</translation>
|
||||
<translation type="vanished">Icon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="649"/>
|
||||
<source>分享</source>
|
||||
<translation>Share</translation>
|
||||
<translation type="vanished">Share</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="683"/>
|
||||
<location filename="../widget.ui" line="696"/>
|
||||
<location filename="../widget.ui" line="709"/>
|
||||
<location filename="../widget.ui" line="722"/>
|
||||
<location filename="../widget.ui" line="735"/>
|
||||
<location filename="../widget.ui" line="748"/>
|
||||
<location filename="../widget.ui" line="761"/>
|
||||
<location filename="../widget.ui" line="774"/>
|
||||
<location filename="../widget.ui" line="797"/>
|
||||
<source>TextLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="808"/>
|
||||
<source>详细介绍</source>
|
||||
<translation type="unfinished">Details</translation>
|
||||
<translation type="obsolete">Details</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="815"/>
|
||||
<location filename="../widget.ui" line="883"/>
|
||||
<source><html><head/><body><p>由社区爱好者开发的软件商店</p></body></html></source>
|
||||
<translation type="unfinished"><html><head/><body><p>software store developed by community enthusiasts</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="854"/>
|
||||
<source>软件截图</source>
|
||||
<translation>Screen Shots</translation>
|
||||
<translation type="vanished">Screen Shots</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1017"/>
|
||||
<source>线路设置</source>
|
||||
<translation>Line Settings</translation>
|
||||
<translation type="vanished">Line Settings</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1033"/>
|
||||
<source>线路选择:</source>
|
||||
<translation type="unfinished">Choose</translation>
|
||||
<translation type="obsolete">Choose</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1056"/>
|
||||
<source>刷新</source>
|
||||
<translation>Update</translation>
|
||||
<translation type="vanished">Update</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1069"/>
|
||||
<source> 重启商店后生效</source>
|
||||
<translation>Restart to take effect</translation>
|
||||
<translation type="vanished">Restart to take effect</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1098"/>
|
||||
<source><html><head/><body><p>源服务器的作用是保证软件更新,并且支持使用apt工具获取软件。通常我们更建议你使用第一个线路作为更新源,一般是最稳定的。</p></body></html></source>
|
||||
<translation type="unfinished"><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></translation>
|
||||
<translation type="obsolete"><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1108"/>
|
||||
<source>更新源</source>
|
||||
<translation>Update APT Source</translation>
|
||||
<translation type="vanished">Update APT Source</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1115"/>
|
||||
<source>更新源服务器:</source>
|
||||
<translation type="unfinished">APT Source</translation>
|
||||
<translation type="obsolete">APT Source</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1135"/>
|
||||
<source>服务器</source>
|
||||
<translation type="unfinished">server</translation>
|
||||
<translation type="obsolete">server</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1156"/>
|
||||
<source>缓存目录</source>
|
||||
<translation>Temp</translation>
|
||||
<translation type="vanished">Temp</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1179"/>
|
||||
<source>清空</source>
|
||||
<translation>Clean</translation>
|
||||
<translation type="vanished">Clean</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1189"/>
|
||||
<source>因为这个目录位于/tmp下,所以即使你不手动清空的话,其也将在系统重启时自动清空。</source>
|
||||
<translation>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</translation>
|
||||
<translation type="vanished">Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1202"/>
|
||||
<source>目录大小:</source>
|
||||
<translation type="unfinished">Size: </translation>
|
||||
<translation type="obsolete">Size: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1209"/>
|
||||
<location filename="../widget.ui" line="1277"/>
|
||||
<source>0B</source>
|
||||
<translation type="unfinished">0B</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1216"/>
|
||||
<source>目录位置:/tmp/spark-store</source>
|
||||
<translation type="unfinished">Location:/tmp/spark-store</translation>
|
||||
<translation type="obsolete">Location:/tmp/spark-store</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1237"/>
|
||||
<source>关于我们</source>
|
||||
<translation type="unfinished">About us</translation>
|
||||
<translation type="obsolete">About us</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widget.ui" line="1244"/>
|
||||
<source><html><head/><body><p>我们并不是官方团队,和你一样,我们也只是众多Linux/deepin系统爱好者和用户之中的一员,我们开发并且运营这个“Spark应用商店”,是为了让社区的朋友们一起分享好用的软件,或者一起参与开发,让大家都用到最新的,最优秀的软件。</p><p>我们并没有因此盈利,所有开发和维护人员都不会获得报酬,我们的主要支出大部分依赖于社区对我们的捐助,很感谢大家,这部分捐助让我们并不需要耗费太多精力去担心资金问题。</p><p>我们的服务和开发的软件都是免费供给大家使用,交流,学习的,但是在您的使用过程中一定要遵守当地的法律法规,否则出现任何问题和我们无关。</p><p>如果商店中任何一部分有侵犯您权益的行为,请告知我们&lt;jifengshenmo@outlook.com&gt;,我们会第一时间删除侵权内容。</p><p>如果你也想参与我们,不管是参与开发,设计,投递还是投稿作品,我们都欢迎你的加入。</p><p>QQ群:872690351<br/></p></body></html></source>
|
||||
<translation type="unfinished"><html><head/><body><p>We are not the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the "Spark Store"! ", is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p> We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></translation>
|
||||
<translation type="obsolete"><html><head/><body><p>We are not the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the "Spark Store"! ", is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p> We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -284,29 +519,49 @@ We born for change.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="106"/>
|
||||
<source>名称</source>
|
||||
<translation>Name</translation>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="189"/>
|
||||
<source>等待开始下载</source>
|
||||
<translatorcomment>Wait to download</translatorcomment>
|
||||
<translation>Wait to download</translation>
|
||||
<source>Waiting to download</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="240"/>
|
||||
<source>安装</source>
|
||||
<translation>Install</translation>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="259"/>
|
||||
<source>取消</source>
|
||||
<translation>Cancel</translation>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../downloadlist.ui" line="278"/>
|
||||
<source>Info</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>名称</source>
|
||||
<translation type="vanished">Name</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>等待开始下载</source>
|
||||
<translatorcomment>Wait to download</translatorcomment>
|
||||
<translation type="vanished">Wait to download</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>安装</source>
|
||||
<translation type="vanished">Install</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>取消</source>
|
||||
<translation type="vanished">Cancel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>详情</source>
|
||||
<translation>Detail</translation>
|
||||
<translation type="vanished">Detail</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
</TS>
|
||||
|
54
widget.cpp
@ -74,7 +74,7 @@ Widget::Widget(DBlurEffectWidget *parent) :
|
||||
qDebug()<<"Dark";
|
||||
setTheme(true,main_color);
|
||||
}else {
|
||||
qDebug()<<"White";
|
||||
qDebug()<<"Light";
|
||||
setTheme(false,main_color);
|
||||
}
|
||||
});
|
||||
@ -142,15 +142,15 @@ void Widget::initUI()
|
||||
titlebar=ui->titlebar;
|
||||
titlebar->setCustomWidget(w_titlebar);
|
||||
// titlebar->setIcon(QIcon::fromTheme("spark-store"));
|
||||
titlebar->setTitle("Spark Store");
|
||||
searchEdit->setPlaceholderText("Search or enter spk://");
|
||||
titlebar->setTitle(QObject::tr("Spark Store"));
|
||||
searchEdit->setPlaceholderText(QObject::tr("Search or enter spk://"));
|
||||
searchEdit->setFixedWidth(300);
|
||||
titlebar->setSeparatorVisible(false);
|
||||
// titlebar->setAutoHideOnFullscreen(true);
|
||||
|
||||
// 添加菜单项
|
||||
QAction *actionSubmission = new QAction("Submit App", this);
|
||||
QAction *setting=new QAction("Settings");
|
||||
QAction *actionSubmission = new QAction(QObject::tr("Submit App"), this);
|
||||
QAction *setting=new QAction(QObject::tr("Settings"));
|
||||
|
||||
QMenu *menu=new QMenu;
|
||||
|
||||
@ -242,7 +242,7 @@ void Widget::initConfig()
|
||||
if(aptserver.isOpen()){
|
||||
ui->label_aptserver->setText(aptserver.readAll());
|
||||
}else {
|
||||
ui->label_aptserver->setText("不存在");
|
||||
ui->label_aptserver->setText(QObject::tr("Not Exist"));
|
||||
}
|
||||
aptserver.close();
|
||||
|
||||
@ -487,20 +487,20 @@ int Widget::loadappinfo(QUrl arg1)
|
||||
ui->label_show->show();
|
||||
// 软件信息加载
|
||||
QString info;
|
||||
info= "PkgName: "+json["Pkgname"].toString()+"\n";
|
||||
info+="Version: "+json["Version"].toString()+"\n";
|
||||
info= QObject::tr("PkgName: ")+json["Pkgname"].toString()+"\n";
|
||||
info+=QObject::tr("Version: ")+json["Version"].toString()+"\n";
|
||||
if(json["Author"].toString()!="" && json["Author"].toString()!=" "){
|
||||
info+="Author: "+json["Author"].toString()+"\n";
|
||||
info+=QObject::tr("Author: ")+json["Author"].toString()+"\n";
|
||||
}
|
||||
|
||||
if(json["Website"].toString()!="" && json["Website"].toString()!=" "){
|
||||
info+="Official Site: "+json["Website"].toString()+"\n";
|
||||
info+=QObject::tr("Official Site: ")+json["Website"].toString()+"\n";
|
||||
ui->pushButton_website->show();
|
||||
appweb=json["Website"].toString();
|
||||
}
|
||||
info+="Contributor: "+json["Contributor"].toString()+"\n";
|
||||
info+="Update Time: "+json["Update"].toString()+"\n";
|
||||
info+="Installed Size: "+json["Size"].toString()+"\n";
|
||||
info+=QObject::tr("Contributor: ")+json["Contributor"].toString()+"\n";
|
||||
info+=QObject::tr("Update Time: ")+json["Update"].toString()+"\n";
|
||||
info+=QObject::tr("Installed Size: ")+json["Size"].toString()+"\n";
|
||||
ui->label_info->setText(info);
|
||||
ui->label_more->setText(json["More"].toString());
|
||||
QProcess isInstall;
|
||||
@ -509,11 +509,11 @@ int Widget::loadappinfo(QUrl arg1)
|
||||
isInstall.waitForFinished();
|
||||
int error=QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
||||
if(error==0){
|
||||
ui->pushButton_download->setText("Reinstall");
|
||||
ui->pushButton_download->setText(QObject::tr("Reinstall"));
|
||||
ui->pushButton_uninstall->show();
|
||||
|
||||
}else {
|
||||
ui->pushButton_download->setText("Install");
|
||||
ui->pushButton_download->setText(QObject::tr("Install"));
|
||||
}
|
||||
//tag加载
|
||||
QString tags=json["Tags"].toString();
|
||||
@ -545,7 +545,7 @@ int Widget::loadappinfo(QUrl arg1)
|
||||
ui->pushButton_download->setEnabled(true);
|
||||
}
|
||||
else
|
||||
system("notify-send Failed to load App icon --icon=spark-store");
|
||||
system("notify-send Failed to load App icon --icon=spark-store");//这一句怎么翻译?
|
||||
|
||||
|
||||
// 截图展示加载
|
||||
@ -591,7 +591,7 @@ void Widget::on_pushButton_download_clicked()
|
||||
download_list[allDownload-1].pkgName=pkgName;
|
||||
if(fileName.isEmpty())
|
||||
{
|
||||
system("notify-send Failed to get file name --icon=spark-store");
|
||||
system("notify-send Failed to get file name --icon=spark-store");//??这玩意怎么翻译
|
||||
return;
|
||||
}
|
||||
download_list[allDownload-1].setParent(ui->listWidget);
|
||||
@ -616,7 +616,7 @@ void Widget::on_pushButton_download_clicked()
|
||||
nowDownload+=1;
|
||||
startRequest(urList.at(nowDownload-1)); // 进行链接请求
|
||||
}
|
||||
if(ui->pushButton_download->text()=="Reinstall"){
|
||||
if(ui->pushButton_download->text()==QObject::tr("Reinstall")){
|
||||
download_list[allDownload-1].reinstall=true;
|
||||
}
|
||||
}
|
||||
@ -640,7 +640,7 @@ void Widget::searchApp(QString text)
|
||||
openUrl(text);
|
||||
}else {
|
||||
system("notify-send The store can only process spk:// url now.Please look forward to later version! --icon=spark-store");
|
||||
// ui->webView->setUrl(QUrl("http://www.baidu.com/s?wd="+text));
|
||||
// ui->webView->setUrl(QUrl("http://www.baidu.com/s?wd="+text));//这东西对接百度
|
||||
// ui->stackedWidget->setCurrentIndex(0);
|
||||
}
|
||||
}
|
||||
@ -759,7 +759,7 @@ void Widget::on_pushButton_updateApt_clicked()
|
||||
{
|
||||
QtConcurrent::run([=](){
|
||||
ui->pushButton_updateApt->setEnabled(false);
|
||||
ui->label_aptserver->setText("Updating,PLease wait");
|
||||
ui->label_aptserver->setText(QObject::tr("Updating,PLease wait"));
|
||||
std::fstream sourcesList;
|
||||
QDir tmpdir("/tmp");
|
||||
tmpdir.mkpath("spark-store");
|
||||
@ -788,10 +788,10 @@ void Widget::on_pushButton_updateApt_clicked()
|
||||
if(!haveError){
|
||||
ui->label_aptserver->setText("deb [by-hash=force] "+ui->comboBox_server->currentText().toUtf8()+" /");
|
||||
}else {
|
||||
ui->label_aptserver->setText("更新中发生错误,请在终端使用apt update来查看错误原因");
|
||||
ui->label_aptserver->setText(QObject::tr("An error occured during the apt process.Please use apt update in terminal to locate problem"));
|
||||
}
|
||||
}else {
|
||||
ui->label_aptserver->setText("服务器错误");
|
||||
ui->label_aptserver->setText(QObject::tr("Unknwon server error!"));
|
||||
}
|
||||
|
||||
ui->pushButton_updateApt->setEnabled(true);
|
||||
@ -807,11 +807,11 @@ void Widget::on_pushButton_uninstall_clicked()
|
||||
uninstall.start("pkexec apt purge -y "+pkgName);
|
||||
uninstall.waitForFinished();
|
||||
ui->pushButton_download->setEnabled(true);
|
||||
ui->pushButton_download->setText("安装");
|
||||
ui->pushButton_download->setText("Install");
|
||||
ui->pushButton_uninstall->hide();
|
||||
ui->pushButton_uninstall->setEnabled(true);
|
||||
updatesEnabled();
|
||||
system("notify-send 卸载完成 --icon=spark-store");
|
||||
system("notify-send Uninstall Successed --icon=spark-store");
|
||||
});
|
||||
}
|
||||
|
||||
@ -825,7 +825,7 @@ void Widget::on_pushButton_clear_clicked() // 清空临时缓存目录
|
||||
for (int i=0;i<quantity;i++) {
|
||||
tmpdir.remove(tmpdir[i]);
|
||||
}
|
||||
system("notify-send 已清除所有临时缓存 --icon=spark-store");
|
||||
system("notify-send Temp cleaned --icon=spark-store");
|
||||
ui->pushButton_clear->setEnabled(true);
|
||||
Widget::opensetting();
|
||||
});
|
||||
@ -891,7 +891,7 @@ void Widget::on_pushButton_clicked()
|
||||
share_url="spk://store/"+type_name+"/"+pkgName;
|
||||
qDebug()<<"Share"<<share_url;
|
||||
QClipboard *clipboard=QApplication::clipboard();
|
||||
system("notify-send 链接已经复制到剪贴板 --icon=spark-store");
|
||||
system("notify-send The url has already been copied to the clipboard --icon=spark-store");
|
||||
clipboard->setText(share_url);
|
||||
}
|
||||
|
||||
@ -942,7 +942,7 @@ void Widget::on_webEngineView_urlChanged(const QUrl &arg1)
|
||||
//此处不应通知用户
|
||||
break;
|
||||
case 2: // curl下载app.json失败
|
||||
system("notify-send 应用程序详细信息下载失败,请检查网络连接 --icon=spark-store");
|
||||
system("notify-send Failed to get app info,Please Check your connection to Internet --icon=spark-store");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -724,7 +724,7 @@
|
||||
<string><html><head/><body><p>Capable to Ubuntu 20.04</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>UB</string>
|
||||
<string><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -762,7 +762,7 @@
|
||||
<string><html><head/><body><p>Capable to UOS home 20</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/uos.svg"/></p></body></html></string>
|
||||
<string><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1066,8 +1066,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>903</width>
|
||||
<height>852</height>
|
||||
<width>738</width>
|
||||
<height>896</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_23">
|
||||
|