summaryrefslogtreecommitdiff
path: root/poezio/core
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-01-10 02:13:35 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-01-10 02:13:35 +0100
commitb981327df58eac0cf41a206333bf36dd5c4e2330 (patch)
tree2b19a90bf934cb11499b7ff828aaa7dee647eeec /poezio/core
parent15c5d7822ae17b323f647d9f5a04b98755c056aa (diff)
downloadpoezio-b981327df58eac0cf41a206333bf36dd5c4e2330.tar.gz
poezio-b981327df58eac0cf41a206333bf36dd5c4e2330.tar.bz2
poezio-b981327df58eac0cf41a206333bf36dd5c4e2330.tar.xz
poezio-b981327df58eac0cf41a206333bf36dd5c4e2330.zip
Fix typos, thanks `codespell`!
Diffstat (limited to 'poezio/core')
-rw-r--r--poezio/core/core.py4
-rw-r--r--poezio/core/handlers.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 38d564b8..64ded385 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -580,7 +580,7 @@ class Core(object):
catches SIGWINCH itself. In its signal handler, it updates the
windows structures (for example the size, etc) and it
ungetch(KEY_RESIZE). That way, the next time we call getch() we know
- that a resize occured and we can act on it. BUT poezio doesn’t call
+ that a resize occurred and we can act on it. BUT poezio doesn’t call
getch() until it knows it will return something. The problem is we
can’t know that, because stdin is not affected by this KEY_RESIZE
value (it is only inserted in a ncurses internal fifo that we can’t
@@ -1615,7 +1615,7 @@ class Core(object):
def _pop_information_win_up(self, size, time):
"""
- Temporarly increase the size of the information win of size lines
+ Temporarily increase the size of the information win of size lines
during time seconds.
After that delay, the size will decrease from size lines.
"""
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index d7c51d8d..f1a8bcb9 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1242,7 +1242,7 @@ class HandlerCore:
if show_unavailable or hide_unavailable or non_priv or logging_off\
or non_anon or semi_anon or full_anon:
tab.add_message(
- '\x19%(info_col)s}Info: A configuration change not privacy-related occured.'
+ '\x19%(info_col)s}Info: A configuration change not privacy-related occurred.'
% {
'info_col': dump_tuple(
get_theme().COLOR_INFORMATION_TEXT)
@@ -1584,7 +1584,7 @@ class HandlerCore:
if status == 'error':
return self.core.information(
- "An error occured while executing the command")
+ "An error occurred while executing the command")
if status == 'executing':
if not form:
@@ -1616,7 +1616,7 @@ class HandlerCore:
self.core.xmpp.plugin['xep_0050'].terminate_command(adhoc_session)
error_message = self.core.get_error_message(iq)
self.core.information(
- "An error occured while executing the command: %s" %
+ "An error occurred while executing the command: %s" %
(error_message), 'Error')
def _cancel_adhoc_command(self, form, session):