Commit 09fb5f0a authored by MinchinWeb's avatar MinchinWeb

Fix Spelling

parent 4d97f19d
......@@ -61,7 +61,7 @@ class AddCommand(Command):
def _add_todo(self, p_todo_text):
def _preprocess_input_todo(p_todo_text):
"""
Preprocesses user input when adding a task.
Pre-processes user input when adding a task.
It detects a priority mid-sentence and puts it at the start.
"""
......
......@@ -118,7 +118,7 @@ When an expression is given, only the todos matching that expression are shown.
-f : Specify the output format, being 'text' (default), 'ical' or 'json'.
* 'text' - Text output with colors and identation if applicable.
* 'text' - Text output with colors and indentation if applicable.
* 'ical' - iCalendar (RFC 2445). Is not supported in Python 3.2. Be aware
that this is not a read-only operation, todo items may obtain
an 'ical' tag with a unique ID. Completed todo items may be
......
......@@ -28,7 +28,7 @@ class PrettyPrinterFilter(object):
"""
Base class for a pretty printer filter.
Subclasses must reimplement the filter method.
Subclasses must re-implement the filter method.
"""
def filter(self, p_todo_str, _):
......@@ -111,7 +111,7 @@ class PrettyPrinterNumbers(PrettyPrinterFilter):
class PrettyPrinterHideTagFilter(PrettyPrinterFilter):
""" Removes all occurences of the given tags from the text. """
""" Removes all occurrences of the given tags from the text. """
def __init__(self, p_hidden_tags):
super(PrettyPrinterHideTagFilter, self).__init__()
self.hidden_tags = p_hidden_tags
......
......@@ -216,7 +216,7 @@ class TodoBase(object):
"""
self.fields['creationDate'] = p_date
# not particulary pretty, but inspired by
# not particularly pretty, but inspired by
# http://bugs.python.org/issue1519638 non-existent matches trigger
# exceptions, hence the lambda
self.src = re.sub(
......
......@@ -86,7 +86,7 @@ class TodoListBase(object):
"""
Attempts to find the todo on the given line number.
When the identifier is a number but has leading zeroes, the result
When the identifier is a number but has leading zeros, the result
will be None.
"""
......
......@@ -44,7 +44,7 @@ def parse_line(p_string):
First checks whether the standard elements are present, such as priority,
creation date, completeness check and the completion date.
Then the rest of the analyzed for any occurences of contexts, projects or
Then the rest of the analyzed for any occurrences of contexts, projects or
tags.
Returns an dictionary with the default values as shown below.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment