translate-to-English

This commit is contained in:
2020-09-29 17:18:43 +08:00
parent 9c9317dea0
commit badc3aa089
3 changed files with 25 additions and 25 deletions

View File

@@ -13,19 +13,19 @@ int main(int argc, char *argv[])
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
a.loadTranslator();
a.setAboutDialog(&dialog);
dialog.setLicense("本程序按GPL第三版开源");
dialog.setVersion(DApplication::buildVersion("2.0+1"));
dialog.setLicense("We publish this program under GPL V3");
dialog.setVersion(DApplication::buildVersion(" Version 2.0+1"));
dialog.setAcknowledgementVisible(true);
dialog.setAcknowledgementLink("https://gitee.com/deepin-community-store/spark-store");
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
dialog.setProductIcon(QIcon::fromTheme("spark-store")); //设置Logo
dialog.setProductName(QLabel::tr("Spark应用商店"));
//dialog.setDescription(QLabel::tr("社区驱动的一款第三方应用商店,为改变而生\n We born for change"));
dialog.setProductName(QLabel::tr("Spark Store"));
//dialog.setDescription(QLabel::tr("An appstore powered by deepin community\n We born for change"));
dialog.setDescription(
"<span style=' font-size:10pt;font-weight:60;'>社区驱动的一款第三方应用商店</span><br/>"
"<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>");
dialog.setProductName(QLabel::tr("Spark应用商店"));
dialog.setProductName(QLabel::tr("Spark Store"));
dialog.setCompanyLogo(QPixmap(":/Logo-Spark.png"));
dialog.setWebsiteName("The Spark Project");
dialog.setWebsiteLink("https://gitee.com/deepin-community-store");