1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Merge remote-tracking branch 'jacksgt/fix-spelling-errors'

This commit is contained in:
James Booth 2016-09-27 20:32:48 +01:00
commit 51fd812d47
3 changed files with 4 additions and 4 deletions

View File

@ -6486,7 +6486,7 @@ cmd_pgp(ProfWin *window, const char *const command, gchar **args)
} }
chatwin->pgp_send = TRUE; chatwin->pgp_send = TRUE;
ui_current_print_formatted_line('!', 0, "PGP encyption enabled."); ui_current_print_formatted_line('!', 0, "PGP encryption enabled.");
return TRUE; return TRUE;
} }
@ -6509,7 +6509,7 @@ cmd_pgp(ProfWin *window, const char *const command, gchar **args)
} }
chatwin->pgp_send = FALSE; chatwin->pgp_send = FALSE;
ui_current_print_formatted_line('!', 0, "PGP encyption disabled."); ui_current_print_formatted_line('!', 0, "PGP encryption disabled.");
return TRUE; return TRUE;
} }

View File

@ -120,7 +120,7 @@ cb_handle_msg_event(void *opdata, OtrlMessageEvent msg_event,
ui_handle_otr_error(context->username, "OTR: Policy requires encryption, but attempting to send an unencrypted message."); ui_handle_otr_error(context->username, "OTR: Policy requires encryption, but attempting to send an unencrypted message.");
break; break;
case OTRL_MSGEVENT_ENCRYPTION_ERROR: case OTRL_MSGEVENT_ENCRYPTION_ERROR:
ui_handle_otr_error(context->username, "OTR: Error occured while encrypting a message, message not sent."); ui_handle_otr_error(context->username, "OTR: Error occurred while encrypting a message, message not sent.");
break; break;
case OTRL_MSGEVENT_CONNECTION_ENDED: case OTRL_MSGEVENT_CONNECTION_ENDED:
ui_handle_otr_error(context->username, "OTR: Message not sent because contact has ended the private conversation."); ui_handle_otr_error(context->username, "OTR: Message not sent because contact has ended the private conversation.");

View File

@ -140,7 +140,7 @@ notify_subscription(const char *const from)
{ {
GString *message = g_string_new("Subscription request: \n"); GString *message = g_string_new("Subscription request: \n");
g_string_append(message, from); g_string_append(message, from);
notify(message->str, 10000, "Incomming message"); notify(message->str, 10000, "Incoming message");
g_string_free(message, TRUE); g_string_free(message, TRUE);
} }