summaryrefslogtreecommitdiff
path: root/poezio
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 /poezio
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 'poezio')
-rw-r--r--poezio/common.py2
-rw-r--r--poezio/tabs/basetabs.py2
-rw-r--r--poezio/tabs/conversationtab.py2
-rw-r--r--poezio/tabs/data_forms.py2
-rw-r--r--poezio/tabs/listtab.py2
-rw-r--r--poezio/tabs/privatetab.py2
-rw-r--r--poezio/tabs/rostertab.py4
-rw-r--r--poezio/windows/data_forms.py2
-rw-r--r--poezio/windows/image.py2
-rw-r--r--poezio/windows/list.py2
10 files changed, 11 insertions, 11 deletions
diff --git a/poezio/common.py b/poezio/common.py
index 3a865054..a39f8145 100644
--- a/poezio/common.py
+++ b/poezio/common.py
@@ -394,7 +394,7 @@ def parse_secs_to_str(duration=0) -> str:
def format_tune_string(infos: Dict[str, str]) -> str:
"""
- Contruct a string from a dict created from an "User tune" event.
+ Construct a string from a dict created from an "User tune" event.
:param dict infos: Tune information
:return: The formatted string
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 330b9913..213f39d7 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -241,7 +241,7 @@ class Tab:
['/%s' % (name) for name in sorted(self.commands)]
the_input.new_completion(words, 0)
# Do not try to cycle command completion if there was only
- # one possibily. The next tab will complete the argument.
+ # one possibility. The next tab will complete the argument.
# Otherwise we would need to add a useless space before being
# able to complete the arguments.
hit_copy = set(the_input.hit_list)
diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py
index 94f1d719..05ca06c0 100644
--- a/poezio/tabs/conversationtab.py
+++ b/poezio/tabs/conversationtab.py
@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)
class ConversationTab(OneToOneTab):
"""
- The tab containg a normal conversation (not from a MUC)
+ The tab containing a normal conversation (not from a MUC)
Must not be instantiated, use Static or Dynamic version only.
"""
plugin_commands = {} # type: Dict[str, Command]
diff --git a/poezio/tabs/data_forms.py b/poezio/tabs/data_forms.py
index 496863bc..f4ed63e5 100644
--- a/poezio/tabs/data_forms.py
+++ b/poezio/tabs/data_forms.py
@@ -14,7 +14,7 @@ log = logging.getLogger(__name__)
class DataFormsTab(Tab):
"""
- A tab contaning various window type, displaying
+ A tab containing various window type, displaying
a form that the user needs to fill.
"""
plugin_commands = {} # type: Dict[str, Command]
diff --git a/poezio/tabs/listtab.py b/poezio/tabs/listtab.py
index 07b3fe05..87e7d9f4 100644
--- a/poezio/tabs/listtab.py
+++ b/poezio/tabs/listtab.py
@@ -1,5 +1,5 @@
"""
-A generic tab that displays a serie of items in a scrollable, searchable,
+A generic tab that displays a series of items in a scrollable, searchable,
sortable list. It should be inherited, to actually provide methods that
insert items in the list, and that lets the user interact with them.
"""
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index 35e5feaa..32b39aea 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -33,7 +33,7 @@ log = logging.getLogger(__name__)
class PrivateTab(OneToOneTab):
"""
- The tab containg a private conversation (someone from a MUC)
+ The tab containing a private conversation (someone from a MUC)
"""
plugin_commands = {} # type: Dict[str, Command]
plugin_keys = {} # type: Dict[str, Callable]
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py
index 768963af..86db06a0 100644
--- a/poezio/tabs/rostertab.py
+++ b/poezio/tabs/rostertab.py
@@ -44,7 +44,7 @@ def deny_anonymous(func: Callable) -> Callable:
class RosterInfoTab(Tab):
"""
- A tab, splitted in two, containing the roster and infos
+ A tab, split in two, containing the roster and infos
"""
plugin_commands = {} # type: Dict[str, Command]
plugin_keys = {} # type: Dict[str, Callable]
@@ -88,7 +88,7 @@ class RosterInfoTab(Tab):
usage='[jid]',
desc='Deny your presence to the provided JID (or the '
'selected contact in your roster), who is asking'
- 'you to be in his/here roster.',
+ 'you to be in his/her roster.',
shortdesc='Deny a user your presence.',
completion=self.completion_deny)
self.register_command(
diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py
index 3ec44b97..7e746774 100644
--- a/poezio/windows/data_forms.py
+++ b/poezio/windows/data_forms.py
@@ -272,7 +272,7 @@ class ListMultiWin(FieldInputMixin):
self._field.set_answer(values)
def get_help_message(self):
- return '←, →: Switch between the value. Space: select or unselect a value'
+ return '←, →: Switch between the value. Space: select or deselect a value'
class ListSingleWin(FieldInputMixin):
diff --git a/poezio/windows/image.py b/poezio/windows/image.py
index 96636ec7..dfd2eae2 100644
--- a/poezio/windows/image.py
+++ b/poezio/windows/image.py
@@ -52,7 +52,7 @@ def render_svg(svg: bytes) -> Optional[Image.Image]:
handle.render_cairo(context)
data = surface.get_data()
image = Image.frombytes('RGBA', (MAX_SIZE, MAX_SIZE), data.tobytes())
- # This is required because Cairo uses a BGRA (in host endianess)
+ # This is required because Cairo uses a BGRA (in host endianness)
# format, and PIL an ABGR (in byte order) format. Yes, this is
# confusing.
b, g, r, a = image.split()
diff --git a/poezio/windows/list.py b/poezio/windows/list.py
index 350255c6..c427a79e 100644
--- a/poezio/windows/list.py
+++ b/poezio/windows/list.py
@@ -40,7 +40,7 @@ class ListWin(Win):
def empty(self) -> None:
"""
- emtpy the list and reset some important values as well
+ empty the list and reset some important values as well
"""
self.lines = []
self._selected_row = 0