mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Make 'Welcome to KeePassXC $VERSION' string properly translatable, resolves #1236
This commit is contained in:
parent
2849e19d49
commit
07a2077c1e
@ -29,7 +29,7 @@ WelcomeWidget::WelcomeWidget(QWidget* parent)
|
|||||||
{
|
{
|
||||||
m_ui->setupUi(this);
|
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();
|
QFont welcomeLabelFont = m_ui->welcomeLabel->font();
|
||||||
welcomeLabelFont.setBold(true);
|
welcomeLabelFont.setBold(true);
|
||||||
welcomeLabelFont.setPointSize(welcomeLabelFont.pointSize() + 4);
|
welcomeLabelFont.setPointSize(welcomeLabelFont.pointSize() + 4);
|
||||||
|
@ -72,9 +72,6 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="welcomeLabel">
|
<widget class="QLabel" name="welcomeLabel">
|
||||||
<property name="text">
|
|
||||||
<string>Welcome to KeePassXC</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user