diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-02-13 12:06:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-13 16:25:13 +0100 |
commit | 7f6c4f7d590bc71ab45d208abcec94f32e61a9e4 (patch) | |
tree | 326e5592281dc9a1d24543437a4ddd06bf48830c /src/bluetooth/qbluetoothsocket_android.cpp | |
parent | 173d16efb54ccc152f19afb9b1c2a87915fb414b (diff) |
Adjust strings for translation
This includes unification of error messages, fixes for spelling
mistakes, hints for translators and other forms of simplifications.
Change-Id: Idd0e01614b24ff2d19133f0d19d49649d59e3f57
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_android.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket_android.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothsocket_android.cpp b/src/bluetooth/qbluetoothsocket_android.cpp index 0b6fd9c6..93089182 100644 --- a/src/bluetooth/qbluetoothsocket_android.cpp +++ b/src/bluetooth/qbluetoothsocket_android.cpp @@ -109,7 +109,7 @@ void QBluetoothSocketPrivate::connectToServiceConc(const QBluetoothAddress &addr const int state = adapter.callMethod<jint>("getState"); if (state != 12 ) { //BluetoothAdapter.STATE_ON qCWarning(QT_BT_ANDROID) << "Bt device offline"; - errorString = QBluetoothSocket::tr("Device is powered off."); + errorString = QBluetoothSocket::tr("Device is powered off"); q->setSocketError(QBluetoothSocket::NetworkError); q->setSocketState(QBluetoothSocket::UnconnectedState); return; @@ -124,7 +124,7 @@ void QBluetoothSocketPrivate::connectToServiceConc(const QBluetoothAddress &addr env->ExceptionDescribe(); env->ExceptionClear(); - errorString = QBluetoothSocket::tr("Cannot access address %1").arg(address.toString()); + errorString = QBluetoothSocket::tr("Cannot access address %1", "%1 = Bt address e.g. 11:22:33:44:55:66").arg(address.toString()); q->setSocketError(QBluetoothSocket::HostNotFoundError); q->setSocketState(QBluetoothSocket::UnconnectedState); return; |