Skip to content

Commit

Permalink
doc: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tbm committed Sep 8, 2020
1 parent ee02d4b commit 7bee2e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -30,7 +30,7 @@ Here we list 12 main types:

* [bug](https://github.com/ssut/py-googletrans/labels/bug)
* [compromised](https://github.com/ssut/py-googletrans/labels/compromised)
* [dependices](https://github.com/ssut/py-googletrans/labels/dependices)
* [dependencies](https://github.com/ssut/py-googletrans/labels/dependencies)
* [duplicate](https://github.com/ssut/py-googletrans/labels/duplicate)
* [enhancement](https://github.com/ssut/py-googletrans/labels/enhancement)
* [help wanted](https://github.com/ssut/py-googletrans/labels/help%20wanted)
Expand All @@ -41,7 +41,7 @@ Please see [About labels](https://docs.github.com/en/github/managing-your-work-o

Note there is no labels for closed issues but still remember to have a look!

### Step 2: Formating Your Comment
### Step 2: Formatting Your Comment

Please see the [Issue Template](ISSUE_TEMPLATE.md).

Expand Down
2 changes: 1 addition & 1 deletion googletrans/gtoken.py
Expand Up @@ -105,7 +105,7 @@ def _update(self):
self.tkk = result

def _lazy(self, value):
"""like lazy evalution, this method returns a lambda function that
"""like lazy evaluation, this method returns a lambda function that
returns value given.
We won't be needing this because this seems to have been built for
code obfuscation.
Expand Down
2 changes: 1 addition & 1 deletion googletrans/models.py
Expand Up @@ -9,7 +9,7 @@ def __init__(self, response: Response = None):
class Translated(Base):
"""Translate result object
:param src: source langauge (default: auto)
:param src: source language (default: auto)
:param dest: destination language (default: en)
:param origin: original text
:param text: translated text
Expand Down
2 changes: 1 addition & 1 deletion googletrans/utils.py
Expand Up @@ -39,7 +39,7 @@ def legacy_format_json(original):
nxt = text.find('"', p)
states.append((p, text[p:nxt]))

# replace all weired characters in text
# replace all wiered characters in text
while text.find(',,') > -1:
text = text.replace(',,', ',null,')
while text.find('[,') > -1:
Expand Down

0 comments on commit 7bee2e8

Please sign in to comment.