diff options
author | dartraiden <wowemuh@gmail.com> | 2017-08-23 14:40:41 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-08-23 14:40:41 +0300 |
commit | 25081c44e66ec1135d5c375b2e4bd0fe4e488ec6 (patch) | |
tree | d6c50c623bd59531629d0eb0995096a9fd4430d7 | |
parent | 22ddb8cad9845e24420fedd9d15c1d1cf487f932 (diff) |
more understandable error description
-rw-r--r-- | protocols/Tox/include/tox.h | 6 | ||||
-rw-r--r-- | protocols/Tox/include/toxav.h | 4 | ||||
-rw-r--r-- | protocols/Tox/src/tox_utils.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Tox/include/tox.h b/protocols/Tox/include/tox.h index 373138c4eb..e49e40e4fb 100644 --- a/protocols/Tox/include/tox.h +++ b/protocols/Tox/include/tox.h @@ -1622,7 +1622,7 @@ typedef enum TOX_ERR_SET_TYPING { TOX_ERR_SET_TYPING_OK, /** - * The friend number did not designate a valid friend. + * The friend ID did not designate a valid friend. */ TOX_ERR_SET_TYPING_FRIEND_NOT_FOUND, @@ -1654,7 +1654,7 @@ typedef enum TOX_ERR_FRIEND_SEND_MESSAGE { TOX_ERR_FRIEND_SEND_MESSAGE_NULL, /** - * The friend number did not designate a valid friend. + * The friend ID did not designate a valid friend. */ TOX_ERR_FRIEND_SEND_MESSAGE_FRIEND_NOT_FOUND, @@ -2786,7 +2786,7 @@ typedef enum TOX_ERR_FRIEND_CUSTOM_PACKET { TOX_ERR_FRIEND_CUSTOM_PACKET_NULL, /** - * The friend number did not designate a valid friend. + * The friend ID did not designate a valid friend. */ TOX_ERR_FRIEND_CUSTOM_PACKET_FRIEND_NOT_FOUND, diff --git a/protocols/Tox/include/toxav.h b/protocols/Tox/include/toxav.h index 2a8b90fa5e..ac6766145c 100644 --- a/protocols/Tox/include/toxav.h +++ b/protocols/Tox/include/toxav.h @@ -192,7 +192,7 @@ typedef enum TOXAV_ERR_CALL { TOXAV_ERR_CALL_SYNC, /** - * The friend number did not designate a valid friend. + * The friend ID did not designate a valid friend. */ TOXAV_ERR_CALL_FRIEND_NOT_FOUND, @@ -268,7 +268,7 @@ typedef enum TOXAV_ERR_ANSWER { TOXAV_ERR_ANSWER_CODEC_INITIALIZATION, /** - * The friend number did not designate a valid friend. + * The friend ID did not designate a valid friend. */ TOXAV_ERR_ANSWER_FRIEND_NOT_FOUND, diff --git a/protocols/Tox/src/tox_utils.cpp b/protocols/Tox/src/tox_utils.cpp index f90c927004..6ef9a5b0fb 100644 --- a/protocols/Tox/src/tox_utils.cpp +++ b/protocols/Tox/src/tox_utils.cpp @@ -84,7 +84,7 @@ wchar_t* CToxProto::ToxErrorToString(TOX_ERR_FRIEND_SEND_MESSAGE error) case TOX_ERR_FRIEND_SEND_MESSAGE_NULL:
return TranslateT("One of the arguments is missing");
case TOX_ERR_FRIEND_SEND_MESSAGE_FRIEND_NOT_FOUND:
- return TranslateT("The friend number did not designate a valid friend");
+ return TranslateT("The friend ID did not designate a valid friend");
case TOX_ERR_FRIEND_SEND_MESSAGE_FRIEND_NOT_CONNECTED:
return TranslateT("This client is currently not connected to the friend");
case TOX_ERR_FRIEND_SEND_MESSAGE_SENDQ:
|