From eafa42262813180336ae5e4c4c284d17a4f42e65 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 6 Mar 2012 20:36:36 +0000 Subject: fixed minor cosmetic effects git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@849 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- keymgmt.cpp | 4 ++-- verifydetailsdialog.cpp | 4 ++-- verifynotification.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keymgmt.cpp b/keymgmt.cpp index 2469e0e..904c856 100755 --- a/keymgmt.cpp +++ b/keymgmt.cpp @@ -219,8 +219,8 @@ void KeyMgmt::deleteKeysWithWarning(QStringList *uidList) } int ret = QMessageBox::warning(this, tr("Deleting Keys"), - tr("Are you sure that you want to delete the following keys?.

")+keynames+ - tr("
The action can not be undone."), + ""+tr("Are you sure that you want to delete the following keys?")+"

"+keynames+ + +"
"+tr("The action can not be undone."), QMessageBox::No | QMessageBox::Yes); if (ret == QMessageBox::Yes) { diff --git a/verifydetailsdialog.cpp b/verifydetailsdialog.cpp index a8e53e6..e6980b8 100644 --- a/verifydetailsdialog.cpp +++ b/verifydetailsdialog.cpp @@ -64,12 +64,12 @@ void VerifyDetailsDialog::refresh() { case 2: { - mVboxLayout->addWidget(new QLabel(tr("Text was completely signed on\n %1 by:\n").arg(timestamp.toString(Qt::SystemLocaleLongDate)))); + mVboxLayout->addWidget(new QLabel(tr("Text was completely signed on
%1 by:
").arg(timestamp.toString(Qt::SystemLocaleLongDate)))); break; } case 1: { - mVboxLayout->addWidget(new QLabel(tr("Text was partially signed on\n %1 by:\n").arg(timestamp.toString(Qt::SystemLocaleLongDate)))); + mVboxLayout->addWidget(new QLabel(tr("Text was partially signed on
%1 by:
").arg(timestamp.toString(Qt::SystemLocaleLongDate)))); break; } } diff --git a/verifynotification.cpp b/verifynotification.cpp index d3bef1e..3e056b9 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -44,7 +44,7 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::GpgContext *ctx, importFromKeyserverAct->setVisible(false); keysNotInList = new QStringList(); - detailsButton = new QPushButton("Details",this); + detailsButton = new QPushButton(tr("Details"),this); detailsButton->setMenu(detailMenu); QHBoxLayout *notificationWidgetLayout = new QHBoxLayout(this); notificationWidgetLayout->setContentsMargins(10,0,0,0); -- cgit v1.2.3