Mercurial > trustbridge
changeset 1199:bd2cb6bdb1c5
(admin) Fixed translations and added whitespace between pushbutton icon and text.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Tue, 23 Sep 2014 09:15:44 +0200 |
parents | c072dda0b541 |
children | 7b24109c1a55 |
files | ui/administratorwindow.cpp ui/createcertlistdialog.cpp ui/l10n/administrator_de_DE.ts |
diffstat | 3 files changed, 16 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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);
--- 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"/>