From a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 9 Mar 2019 15:36:32 +0100 Subject: Fix various spelling mistakes throughout the code --- plugins/alias.py | 4 ++-- plugins/amsg.py | 2 +- plugins/otr.py | 2 +- plugins/replace.py | 2 +- plugins/simple_notify.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/alias.py b/plugins/alias.py index a10beb7c..459ce02c 100644 --- a/plugins/alias.py +++ b/plugins/alias.py @@ -128,7 +128,7 @@ class Plugin(BasePlugin): if update: self.api.information('Alias /%s updated' % alias, 'Info') else: - self.api.information('Alias /%s successfuly created' % alias, + self.api.information('Alias /%s successfully created' % alias, 'Info') def command_unalias(self, alias): @@ -139,7 +139,7 @@ class Plugin(BasePlugin): del self.commands[alias] self.api.del_command(alias) self.config.remove(alias) - self.api.information('Alias /%s successfuly deleted' % alias, + self.api.information('Alias /%s successfully deleted' % alias, 'Info') def completion_unalias(self, the_input): diff --git a/plugins/amsg.py b/plugins/amsg.py index b8ac4e26..4cd6c055 100644 --- a/plugins/amsg.py +++ b/plugins/amsg.py @@ -1,7 +1,7 @@ """ This plugin broadcasts a message to all your joined rooms. -.. note:: With great power comes great responsability. +.. note:: With great power comes great responsibility. Use with moderation. Command diff --git a/plugins/otr.py b/plugins/otr.py index 9c80f390..909a4ea5 100644 --- a/plugins/otr.py +++ b/plugins/otr.py @@ -306,7 +306,7 @@ MESSAGE_INVALID = _('%(info)sThe message from %(jid_c)s%(jid)s%(info)s' OTR_ERROR = _('%(info)sReceived the following error from ' '%(jid_c)s%(jid)s%(info)s:\x19o %(err)s') -POTR_ERROR = _('%(info)sAn unspecified error in the OTR plugin occured:\n' +POTR_ERROR = _('%(info)sAn unspecified error in the OTR plugin occurred:\n' '%(exc)s') TRUST_ADDED = _('%(info)sYou added %(jid_c)s%(bare_jid)s%(info)s with key ' diff --git a/plugins/replace.py b/plugins/replace.py index 3202721c..7e259dab 100644 --- a/plugins/replace.py +++ b/plugins/replace.py @@ -23,7 +23,7 @@ Add your own pattern -------------------- You can easily edit this plugin to add your own patterns. For example if -don’t want to search for an insult everytime you’re angry, you can create a +don’t want to search for an insult every time you’re angry, you can create a curse pattern this way: - In the init(self) method of the Plugin class, add something like diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index cfb65e9b..f4dfd2d2 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -117,7 +117,7 @@ class Plugin(BasePlugin): self.do_notify(message, fro) def on_muc_msg(self, message, tab): - # Dont notify if message is from yourself + # Don't notify if message is from yourself if message['from'].resource == tab.own_nick: return -- cgit v1.2.3