Fix message wording.

This commit is contained in:
Frederik Schwarzer 2016-06-03 21:33:25 +02:00
parent 1290296e5c
commit a594324d4f

View file

@ -127,7 +127,7 @@ void LanDeviceLink::dataReceived()
void LanDeviceLink::userRequestsPair() void LanDeviceLink::userRequestsPair()
{ {
if (mSocketLineReader->peerCertificate().isNull()) { if (mSocketLineReader->peerCertificate().isNull()) {
Q_EMIT pairingError(i18n("This device can't be paired because is running an old version of KDE Connect.")); Q_EMIT pairingError(i18n("This device cannot be paired because it is running an old version of KDE Connect."));
} else { } else {
qobject_cast<LanLinkProvider*>(provider())->userRequestsPair(deviceId()); qobject_cast<LanLinkProvider*>(provider())->userRequestsPair(deviceId());
} }
@ -141,7 +141,7 @@ void LanDeviceLink::userRequestsUnpair()
void LanDeviceLink::setPairStatus(PairStatus status) void LanDeviceLink::setPairStatus(PairStatus status)
{ {
if (status == Paired && mSocketLineReader->peerCertificate().isNull()) { if (status == Paired && mSocketLineReader->peerCertificate().isNull()) {
Q_EMIT pairingError(i18n("This device can't be paired because is running an old version of KDE Connect.")); Q_EMIT pairingError(i18n("This device cannot be paired because it is running an old version of KDE Connect."));
return; return;
} }