aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);