aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-06 20:36:36 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-06 20:36:36 +0000
commiteafa42262813180336ae5e4c4c284d17a4f42e65 (patch)
treee88d42d1d8cf39e2aad1ec6f1ba9bc3738e2cbdd
parentMerge branch '0.3.2-local' (diff)
downloadgpg4usb-eafa42262813180336ae5e4c4c284d17a4f42e65.tar.gz
gpg4usb-eafa42262813180336ae5e4c4c284d17a4f42e65.zip
fixed minor cosmetic effects
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@849 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rwxr-xr-xkeymgmt.cpp4
-rw-r--r--verifydetailsdialog.cpp4
-rw-r--r--verifynotification.cpp2
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("<b>Are you sure that you want to delete the following keys?.</b><br/><br/>")+keynames+
- tr("<br/>The action can not be undone."),
+ "<b>"+tr("Are you sure that you want to delete the following keys?")+"</b><br/><br/>"+keynames+
+ +"<br/>"+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 <br/> %1 by:<br/>").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 <br/> %1 by:<br/>").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);