diff options
author | dartraiden <wowemuh@gmail.com> | 2017-05-13 20:09:34 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-05-13 20:09:34 +0300 |
commit | 55a5a94aeaab59cef1e65e9b7761aa72e53003f3 (patch) | |
tree | b9f567c3926dd222d20aca4dab0458d094dde4bb /protocols/JabberG | |
parent | dacd1524baa05b45425b8f2a3d573d9c60bc831d (diff) |
Jabber: spelling correction
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-x | protocols/JabberG/src/jabber_omemo.cpp | 4 | ||||
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp index 2dcbcada98..af069156df 100755 --- a/protocols/JabberG/src/jabber_omemo.cpp +++ b/protocols/JabberG/src/jabber_omemo.cpp @@ -1429,9 +1429,9 @@ namespace omemo { fp_trusted = true;
if (val == -1)
{
- const size_t msg_len = strlen(Translate("Do you want to create omemo session with new device:")) + strlen("\n\n\t") + strlen(fp_str) + 1;
+ const size_t msg_len = strlen(Translate("Do you want to create OMEMO session with new device:")) + strlen("\n\n\t") + strlen(fp_str) + 1;
char *msg = (char*)mir_alloc(msg_len);
- mir_snprintf(msg, msg_len, "%s%s%s", Translate("Do you want to create omemo session with new device:"), "\n\n\t", fp_str);
+ mir_snprintf(msg, msg_len, "%s%s%s", Translate("Do you want to create OMEMO session with new device:"), "\n\n\t", fp_str);
int ret = MessageBoxA(NULL, msg, Translate("OMEMO: New session"), MB_YESNO);
if (ret == IDYES)
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 9d143d440c..4743906a8a 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -963,7 +963,7 @@ int __cdecl CJabberProto::SendMsg(MCONTACT hContact, int, const char* pszSrc) //TODO: check if message encrypted for at least one session and return error if not
if (!OmemoEncryptMessage(m, msg, hContact))
{
- TFakeAckParams *param = new TFakeAckParams(hContact, Translate("OMEMO no valid sessions exists"));
+ TFakeAckParams *param = new TFakeAckParams(hContact, Translate("No valid OMEMO session exists"));
ForkThread(&CJabberProto::SendMessageAckThread, param);
return 0;
}
|