From cd807f974d7a839bbe1fef672440b80ef94e7873 Mon Sep 17 00:00:00 2001
From: Leena Miettinen <riitta-leena.miettinen@digia.com>
Date: Mon, 1 Oct 2012 10:08:24 +0200
Subject: [PATCH] UI text: fix capitalization and unify message style

Change-Id: Ib5e24e6d697e5ce9c3960adecee5b015f7dee450
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
---
 src/libs/ssh/sshkeycreationdialog.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libs/ssh/sshkeycreationdialog.cpp b/src/libs/ssh/sshkeycreationdialog.cpp
index 287ea8e21ac..d3d59a88f0c 100644
--- a/src/libs/ssh/sshkeycreationdialog.cpp
+++ b/src/libs/ssh/sshkeycreationdialog.cpp
@@ -106,7 +106,7 @@ void SshKeyCreationDialog::saveKeys()
 {
     const QString parentDir = QFileInfo(privateKeyFilePath()).dir().path();
     if (!QDir::root().mkpath(parentDir)) {
-        QMessageBox::critical(this, tr("Failure To Save Key File"),
+        QMessageBox::critical(this, tr("Cannot Save Key File"),
             tr("Failed to create directory: '%1'.").arg(parentDir));
         return;
     }
@@ -114,7 +114,7 @@ void SshKeyCreationDialog::saveKeys()
     QFile privateKeyFile(privateKeyFilePath());
     if (!privateKeyFile.open(QIODevice::WriteOnly)
             || !privateKeyFile.write(m_keyGenerator->privateKey())) {
-        QMessageBox::critical(this, tr("Saving Private Key File failed"),
+        QMessageBox::critical(this, tr("Cannot Save Private Key File"),
             tr("The private key file could not be saved: %1").arg(privateKeyFile.errorString()));
         return;
     }
@@ -123,7 +123,7 @@ void SshKeyCreationDialog::saveKeys()
     QFile publicKeyFile(publicKeyFilePath());
     if (!publicKeyFile.open(QIODevice::WriteOnly)
             || !publicKeyFile.write(m_keyGenerator->publicKey())) {
-        QMessageBox::critical(this, tr("Saving Public Key File failed"),
+        QMessageBox::critical(this, tr("Cannot Save Public Key File"),
             tr("The public key file could not be saved: %1").arg(publicKeyFile.errorString()));
         return;
     }
-- 
GitLab