diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-14 19:44:01 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-14 19:47:07 (GMT) |
commit | aecc266b2084cb231655c92c53f95404306a7fa7 (patch) | |
tree | a6888d632ce96de25d046e35b2832fda9fa69154 /Swift/QtUI/QtAboutWidget.cpp | |
parent | 3b3eb0ff07877c8cc9bb8a56f9be8c17ca60ec01 (diff) | |
download | swift-contrib-aecc266b2084cb231655c92c53f95404306a7fa7.zip swift-contrib-aecc266b2084cb231655c92c53f95404306a7fa7.tar.bz2 |
Fixed some translation strings.
Diffstat (limited to 'Swift/QtUI/QtAboutWidget.cpp')
-rw-r--r-- | Swift/QtUI/QtAboutWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtAboutWidget.cpp b/Swift/QtUI/QtAboutWidget.cpp index 90f04f2..e369390 100644 --- a/Swift/QtUI/QtAboutWidget.cpp +++ b/Swift/QtUI/QtAboutWidget.cpp @@ -47,9 +47,9 @@ QtAboutWidget::QtAboutWidget() : QDialog() { mainLayout->addWidget(buildLabel); if (QCoreApplication::translate("TRANSLATION_INFO", "TRANSLATION_AUTHOR") != "TRANSLATION_AUTHOR") { - mainLayout->addWidget(new QLabel(QString("<center><font size='-1'>") + QString(tr("Using the English translation by\n%1")).arg(QCoreApplication::translate("TRANSLATION_INFO", "TRANSLATION_AUTHOR")) + "</font></center>", this)); + mainLayout->addWidget(new QLabel(QString("<center><font size='-1'>") + QString(tr("Using the English translation by\n%1")).arg(QCoreApplication::translate("TRANSLATION_INFO", "TRANSLATION_AUTHOR")).replace("\n", "<br/>") + "</font></center>", this)); } - QCoreApplication::translate("TRANSLATION_INFO", "TRANSLATION_LICENSE", "Should be the following text: 'This translation is BSD-licensed. See http://www.opensource.org/licenses/bsd-license.php'"); + QCoreApplication::translate("TRANSLATION_INFO", "TRANSLATION_LICENSE", "Should be the following (untranslated) text: 'This translation is licensed under the BSD License. See http://www.opensource.org/licenses/bsd-license.php'"); QPushButton* licenseButton = new QPushButton(tr("View License"), this); mainLayout->addWidget(licenseButton); |