summaryrefslogtreecommitdiffstats
path: root/src/network/ssl
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-03 15:06:05 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-03 15:06:05 (GMT)
commitc95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc (patch)
treeab7635127756dbe55859aeda249dffd3ac0042d0 /src/network/ssl
parent86e074f47848955cd0ffbc78112493af46c2ed12 (diff)
downloadQt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.zip
Qt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.tar.gz
Qt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.tar.bz2
Doc/i18n: Fixed source strings for translation.
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'src/network/ssl')
-rw-r--r--src/network/ssl/qsslerror.cpp4
-rw-r--r--src/network/ssl/qsslsocket_openssl.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/ssl/qsslerror.cpp b/src/network/ssl/qsslerror.cpp
index 62fcd4c..8fb605c 100644
--- a/src/network/ssl/qsslerror.cpp
+++ b/src/network/ssl/qsslerror.cpp
@@ -251,10 +251,10 @@ QString QSslError::errorString() const
errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "One of the CA certificates is invalid"));
break;
case PathLengthExceeded:
- errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "The basicConstraints pathlength parameter has been exceeded"));
+ errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "The basicConstraints path length parameter has been exceeded"));
break;
case InvalidPurpose:
- errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "The supplied certificate is unsuited for this purpose"));
+ errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "The supplied certificate is unsuitable for this purpose"));
break;
case CertificateUntrusted:
errStr = QObject::tr(QT_TRANSLATE_NOOP(QSslError, "The root CA certificate is not trusted for this purpose"));
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
index 6f7e55a..743722f 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -324,7 +324,7 @@ init_context:
// Check if the certificate matches the private key.
if (!q_SSL_CTX_check_private_key(ctx)) {
- q->setErrorString(QSslSocket::tr("Private key does not certificate public key, %1").arg(SSL_ERRORSTR()));
+ q->setErrorString(QSslSocket::tr("Private key does not certify public key, %1").arg(SSL_ERRORSTR()));
emit q->error(QAbstractSocket::UnknownSocketError);
return false;
}