changeset 663:b00c26fbc695

(UI) linebreak and bigger buttons for German translations.
author Emanuel Schuetze <emanuel@intevation.de>
date Thu, 26 Jun 2014 16:29:35 +0200
parents e6a6cbd58d1f
children 911b94a475e0
files ui/l10n/trustbridge_de_DE.ts ui/mainwindow.cpp
diffstat 2 files changed, 14 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ui/l10n/trustbridge_de_DE.ts	Thu Jun 26 16:14:09 2014 +0200
+++ b/ui/l10n/trustbridge_de_DE.ts	Thu Jun 26 16:29:35 2014 +0200
@@ -226,7 +226,8 @@
         <location filename="../mainwindow.cpp" line="482"/>
         <source>Revoked
 certificates</source>
-        <translation>Zurückgezogene Zertifikate</translation>
+        <translation type="unfinished">Zurückgezogene
+Zertifikate</translation>
     </message>
     <message>
         <location filename="../mainwindow.cpp" line="538"/>
@@ -275,7 +276,8 @@
         <location filename="../mainwindow.cpp" line="473"/>
         <source>Trusted
 certificates</source>
-        <translation>Vertrauenswürdige Zertifikate</translation>
+        <translation type="unfinished">Vertrauenswürdige
+Zertifikate</translation>
     </message>
     <message>
         <source>Insecure
@@ -286,7 +288,8 @@
         <location filename="../mainwindow.cpp" line="491"/>
         <source>Information
 and help</source>
-        <translation>Informationen und Hilfe</translation>
+        <translation type="unfinished">Informationen
+und Hilfe</translation>
     </message>
     <message>
         <location filename="../mainwindow.cpp" line="536"/>
--- a/ui/mainwindow.cpp	Thu Jun 26 16:14:09 2014 +0200
+++ b/ui/mainwindow.cpp	Thu Jun 26 16:29:35 2014 +0200
@@ -461,8 +461,8 @@
     updatesButton->setIcon(QIcon(":/img/view-refresh.png"));
     updatesButton->setIconSize(QSize(32, 32));
     updatesButton->setText(tr("Updates"));
-    updatesButton->setFixedWidth(90);
-    updatesButton->setFixedHeight(70);
+    updatesButton->setFixedWidth(120);
+    updatesButton->setFixedHeight(75);
     updatesButton->setCheckable(true);
     updatesButton->setChecked(true);
 
@@ -471,8 +471,8 @@
     allInstallButton->setIcon(QIcon(":/img/document-encrypt.png"));
     allInstallButton->setIconSize(QSize(32, 32));
     allInstallButton->setText(tr("Trusted\ncertificates"));
-    allInstallButton->setFixedWidth(90);
-    allInstallButton->setFixedHeight(70);
+    allInstallButton->setFixedWidth(120);
+    allInstallButton->setFixedHeight(75);
     allInstallButton->setCheckable(true);
 
     QToolButton *allRemoveButton = new QToolButton;
@@ -480,8 +480,8 @@
     allRemoveButton->setIcon(QIcon(":/img/task-attempt.png"));
     allRemoveButton->setIconSize(QSize(32, 32));
     allRemoveButton->setText(tr("Revoked\ncertificates"));
-    allRemoveButton->setFixedWidth(90);
-    allRemoveButton->setFixedHeight(70);
+    allRemoveButton->setFixedWidth(120);
+    allRemoveButton->setFixedHeight(75);
     allRemoveButton->setCheckable(true);
 
     QToolButton *infoButton = new QToolButton;
@@ -489,8 +489,8 @@
     infoButton->setIcon(QIcon(":/img/dialog-information.png"));
     infoButton->setIconSize(QSize(32, 32));
     infoButton->setText(tr("Information\nand help"));
-    infoButton->setFixedWidth(90);
-    infoButton->setFixedHeight(70);
+    infoButton->setFixedWidth(120);
+    infoButton->setFixedHeight(75);
     infoButton->setCheckable(true);
 
     mButtonGroup->addButton(updatesButton);

http://wald.intevation.org/projects/trustbridge/