[PATCH 1 of 2] (admin) Fixed translations and added whitespace between pushbutton icon and text

Wald Commits scm-commit at wald.intevation.org
Tue Sep 23 09:21:18 CEST 2014


# HG changeset patch
# User Emanuel Schuetze <emanuel at intevation.de>
# Date 1411456544 -7200
# Node ID bd2cb6bdb1c58f67235c94d49adf20c8b07cc3e4
# Parent  c072dda0b54116e740ccd8e72be768085f118f64
(admin) Fixed translations and added whitespace between pushbutton icon and text.

diff -r c072dda0b541 -r bd2cb6bdb1c5 ui/administratorwindow.cpp
--- a/ui/administratorwindow.cpp	Mon Sep 22 19:06:24 2014 +0200
+++ b/ui/administratorwindow.cpp	Tue Sep 23 09:15:44 2014 +0200
@@ -119,13 +119,13 @@
 
     // The buttons.
     bottomLayout->setAlignment(Qt::AlignBottom);
-    saveButton = new QPushButton(QIcon(":/img/document-save.png"), tr("Save list"));
+    saveButton = new QPushButton(QIcon(":/img/document-save.png"), " " + tr("Save list"));
     connect(saveButton, SIGNAL(clicked()), this, SLOT(saveCertificateFile()));
-    loadButton = new QPushButton(QIcon(":/img/document-open.png"), tr("Load list"));
+    loadButton = new QPushButton(QIcon(":/img/document-open.png"), " " + tr("Load list"));
     connect(loadButton, SIGNAL(clicked()), this, SLOT(loadCertificateFile()));
-    addButton = new QPushButton(QIcon(":/img/document-new.png"), tr("Add certificate"));
+    addButton = new QPushButton(QIcon(":/img/document-new.png"), " " + tr("Add certificate"));
     connect(addButton, SIGNAL(clicked()), this, SLOT(addCertificates()));
-    removeButton = new QPushButton(QIcon(":/img/document-close.png"), tr("Remove certificate"));
+    removeButton = new QPushButton(QIcon(":/img/document-close.png"), " " + tr("Remove certificate"));
     removeButton->setEnabled(false);
     connect(removeButton, SIGNAL(clicked()), this, SLOT(removeCertificates()));
     bottomLayout->addWidget(saveButton);
diff -r c072dda0b541 -r bd2cb6bdb1c5 ui/createcertlistdialog.cpp
--- a/ui/createcertlistdialog.cpp	Mon Sep 22 19:06:24 2014 +0200
+++ b/ui/createcertlistdialog.cpp	Tue Sep 23 09:15:44 2014 +0200
@@ -91,9 +91,9 @@
     centerLayout->addLayout(fieldLayout);
     centerLayout->addLayout(buttonLayout);
 
-    QPushButton *create = new QPushButton(tr("Save list"));
+    QPushButton *create = new QPushButton(" " + tr("Save list"));
     connect(create, SIGNAL(clicked()), this, SLOT(createList()));
-    QPushButton *cancel = new QPushButton(tr("Cancel"));
+    QPushButton *cancel = new QPushButton(" " + tr("Cancel"));
     connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
     bottomLayout->insertStretch(0, 10);
     bottomLayout->addWidget(create);
diff -r c072dda0b541 -r bd2cb6bdb1c5 ui/l10n/administrator_de_DE.ts
--- a/ui/l10n/administrator_de_DE.ts	Mon Sep 22 19:06:24 2014 +0200
+++ b/ui/l10n/administrator_de_DE.ts	Tue Sep 23 09:15:44 2014 +0200
@@ -152,25 +152,25 @@
     </message>
     <message>
         <location filename="../administratorwindow.cpp" line="275"/>
-        <source>signing certificate: 
+        <source>signing certificate: 
 </source>
-        <translation>Signaturzertifikat:
+        <translation>Signaturzertifikat: 
 </translation>
     </message>
     <message>
         <location filename="../administratorwindow.cpp" line="278"/>
-        <source>
-new certificates:
+        <source>
+new certificates:
 </source>
-        <translation>
-Neues Zertifikat:
+        <translation>
+Neues Zertifikat:
 </translation>
     </message>
     <message>
         <location filename="../administratorwindow.cpp" line="292"/>
-        <source>certificates marked to remove:
+        <source>certificates marked to remove:
 </source>
-        <translation>Zertifikate zum Löschen markiert:
+        <translation>Zertifikate zum Löschen markiert:
 </translation>
     </message>
     <message>
@@ -317,19 +317,6 @@
         <translation>Zertifikatsliste speichern</translation>
     </message>
     <message>
-        <source>Save all managed root certificates in a new, signed certificate list</source>
-        <translation type="vanished">Alle verwalteten Wurzelzertifikate in einer neuen, signierten Zertifikatsliste speichern</translation>
-    </message>
-    <message>
-        <source>In addition, each certificate list will be savedautomatically in the archive directory:
-</source>
-        <translation type="vanished">Zusätzlich wird jede Zertifikatsliste automatisch im folgenden Archiv-Verzeichnis gespeichert:</translation>
-    </message>
-    <message>
-        <source>Sign list</source>
-        <translation type="obsolete">Liste signieren</translation>
-    </message>
-    <message>
         <location filename="../createcertlistdialog.cpp" line="54"/>
         <source>Save all managed root certificates in a new, signed certificate list.</source>
         <translation>Eine neue, signierte Zertifikatsliste erstellen.</translation>
@@ -338,7 +325,8 @@
         <location filename="../createcertlistdialog.cpp" line="84"/>
         <source>In addition, each certificate list will be saved automatically in the archive directory:
 </source>
-        <translation>Zusätzlich wird jede Zertifikatsliste automatisch in diesem Ordner Archiviert:</translation>
+        <translation>Zusätzlich wird jede Zertifikatsliste automatisch in diesem Ordner Archiviert:
+</translation>
     </message>
     <message>
         <location filename="../createcertlistdialog.cpp" line="94"/>


More information about the Trustbridge-commits mailing list