summaryrefslogtreecommitdiff
path: root/plugins/New_GPG
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-07-19 19:10:09 +0300
committerdartraiden <wowemuh@gmail.com>2020-07-19 19:10:09 +0300
commit9091993011d36e32308948b2bdfe8b7c0be78978 (patch)
tree004a2340493d6a7c91420ebe80aff030994caec2 /plugins/New_GPG
parent26e85a2968965c10946b94908f231bf8f130f7ea (diff)
NewGPG: fix typos
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-xplugins/New_GPG/src/messages.cpp8
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index e1c5dbdcda..1c59a90c9b 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -153,7 +153,7 @@ static void RecvMsgSvc_func(RecvParams *param)
}
SendErrorMessage(hContact);
- HistoryLog(hContact, TranslateU("GPG cannot decrypt imcoming message"), param->timestamp);
+ HistoryLog(hContact, TranslateU("GPG cannot decrypt incoming message"), param->timestamp);
delete param;
return;
}
@@ -164,7 +164,7 @@ static void RecvMsgSvc_func(RecvParams *param)
string out(params.out);
while (out.find("public key decryption failed: bad passphrase") != string::npos) {
if (globals.debuglog)
- globals.debuglog << "info: failed to decrypt messaage from " + szScreenName + " password needed, trying to get one";
+ globals.debuglog << "info: failed to decrypt message from " + szScreenName + " password needed, trying to get one";
if (globals._terminate) {
SendErrorMessage(hContact);
break;
@@ -196,7 +196,7 @@ static void RecvMsgSvc_func(RecvParams *param)
boost::filesystem::remove(path, e);
}
- HistoryLog(hContact, TranslateU("GPG cannot decrypt imcoming message"), param->timestamp);
+ HistoryLog(hContact, TranslateU("GPG cannot decrypt incoming message"), param->timestamp);
SendErrorMessage(hContact);
delete param;
return;
@@ -211,7 +211,7 @@ static void RecvMsgSvc_func(RecvParams *param)
boost::filesystem::remove(path, e);
}
- HistoryLog(hContact, TranslateU("GPG cannot decrypt imcoming message"), param->timestamp);
+ HistoryLog(hContact, TranslateU("GPG cannot decrypt incoming message"), param->timestamp);
SendErrorMessage(hContact);
delete param;
return;
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 058e4db6ab..a7a7388644 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -288,7 +288,7 @@ int onProtoAck(WPARAM, LPARAM l)
string out(params.out);
while (out.find("public key decryption failed: bad passphrase") != string::npos) {
if (globals.debuglog)
- globals.debuglog << "info: failed to decrypt messaage from " + toUTF8(Clist_GetContactDisplayName(ack->hContact)) + " password needed, trying to get one";
+ globals.debuglog << "info: failed to decrypt message from " + toUTF8(Clist_GetContactDisplayName(ack->hContact)) + " password needed, trying to get one";
if (globals._terminate)
break;
{ //save inkey id