mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 11:43:23 +00:00
Fix string in About dialog for translation
The translatable string in about dialog is truncated at the VERSION_STRING. Thus it has to be given as argument to the tr function. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5a1a25a476
commit
cded8eb198
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ SubsurfaceAbout::SubsurfaceAbout(QWidget* parent, Qt::WindowFlags f)
|
||||||
{
|
{
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
ui.aboutLabel->setText(tr("<span style='font-size: 18pt; font-weight: bold;'>" \
|
ui.aboutLabel->setText(tr("<span style='font-size: 18pt; font-weight: bold;'>" \
|
||||||
"Subsurface " VERSION_STRING "</span><br><br>" \
|
"Subsurface %1 </span><br><br>" \
|
||||||
"Multi-platform divelog software<br>" \
|
"Multi-platform divelog software<br>" \
|
||||||
"<span style='font-size: 8pt'>Linus Torvalds, Dirk Hohndel, and others, 2011, 2012, 2013</span>"));
|
"<span style='font-size: 8pt'>Linus Torvalds, Dirk Hohndel, and others, 2011, 2012, 2013</span>").arg(VERSION_STRING));
|
||||||
licenseButton = new QPushButton(tr("&License"));
|
licenseButton = new QPushButton(tr("&License"));
|
||||||
websiteButton = new QPushButton(tr("&Website"));
|
websiteButton = new QPushButton(tr("&Website"));
|
||||||
ui.buttonBox->addButton(licenseButton, QDialogButtonBox::ActionRole);
|
ui.buttonBox->addButton(licenseButton, QDialogButtonBox::ActionRole);
|
||||||
|
|
Loading…
Add table
Reference in a new issue