Merge pull request #1436 from keepassxreboot/feature/fix-locale-source-string

Make 'Welcome to KeePassXC $VERSION' string properly translatable
This commit is contained in:
Janek Bevendorff authored and GitHub committed 2018-01-28 16:52:18 +01:00
commit 490f77137d
2 files changed
+1 -4

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ WelcomeWidget::WelcomeWidget(QWidget* parent)
{
m_ui->setupUi(this);
m_ui->welcomeLabel->setText(m_ui->welcomeLabel->text() + " " + KEEPASSX_VERSION);
m_ui->welcomeLabel->setText(tr("Welcome to KeePassXC %1").arg(KEEPASSX_VERSION));
QFont welcomeLabelFont = m_ui->welcomeLabel->font();
welcomeLabelFont.setBold(true);
welcomeLabelFont.setPointSize(welcomeLabelFont.pointSize() + 4);
-3
View File
@@ -72,9 +72,6 @@
</item>
<item>
<widget class="QLabel" name="welcomeLabel">
<property name="text">
<string>Welcome to KeePassXC</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>