Mercurial > trustbridge
diff ui/mainwindow.cpp @ 713:cdf8a924e480
(UI) Increase apply/quit button height. Updated translations.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 02 Jul 2014 15:46:50 +0200 |
parents | 8f110e6b8295 |
children | 57bd73145e48 |
line wrap: on
line diff
--- a/ui/mainwindow.cpp Wed Jul 02 15:23:44 2014 +0200 +++ b/ui/mainwindow.cpp Wed Jul 02 15:46:50 2014 +0200 @@ -468,7 +468,7 @@ updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); updatesButton->setIcon(QIcon(":/img/view-refresh.png")); updatesButton->setIconSize(QSize(40, 40)); - updatesButton->setText(tr("Changes")); + updatesButton->setText(tr("Updates")); updatesButton->setFixedWidth(120); updatesButton->setFixedHeight(80); updatesButton->setCheckable(true); @@ -564,12 +564,14 @@ /* Header 2: Action text and buttons */ QLabel *updatesTip = - new QLabel(tr("You should apply the following, recommended changes to your root certificates.")); + new QLabel(tr("You should apply the following, recommended changes to your certificate stores.")); updatesTip->setWordWrap(true); QHBoxLayout *updatesHeaderActionButtonLayout = new QHBoxLayout; mQuitButton = new QPushButton(" " + tr("Quit without saving")); mQuitButton->setIcon(QIcon(":/img/application-exit.png")); + mQuitButton->setFixedHeight(30); QPushButton *installButton = new QPushButton(" " + tr("Apply changes")); + installButton->setFixedHeight(30); #ifdef Q_OS_WIN if (is_admin()) { QIcon uacShield = QApplication::style()->standardIcon(QStyle::SP_VistaShield); @@ -843,7 +845,7 @@ "</h2>"); } else { mQuitButton->setText(" " + tr("Quit without saving")); - mUpdatesHeader->setText("<h2>" + tr("Changes (%1)") + mUpdatesHeader->setText("<h2>" + tr("Changes to certificate stores (%1)") .arg(totalCount) + "</h2>"); }