summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-09 15:36:32 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-03-19 17:50:58 +0000
commita6e66cd50ef64c0f2bf6fe154edcc652a66e9a46 (patch)
treeaeb07df2812590e8e63c2641360c58433f796e94 /plugins
parent1a5d0493da157ec5ac32a4cf1297f592b599fdd8 (diff)
downloadpoezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.gz
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.bz2
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.xz
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.zip
Fix various spelling mistakes throughout the code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/alias.py4
-rw-r--r--plugins/amsg.py2
-rw-r--r--plugins/otr.py2
-rw-r--r--plugins/replace.py2
-rw-r--r--plugins/simple_notify.py2
5 files changed, 6 insertions, 6 deletions
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