doc: fix typos (#220)

This commit is contained in:
Martin Michlmayr 2020-09-08 23:03:31 +08:00 committed by GitHub
parent ee02d4b6fd
commit 5dd9bc5819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ Here we list 12 main types:
* [bug](https://github.com/ssut/py-googletrans/labels/bug) * [bug](https://github.com/ssut/py-googletrans/labels/bug)
* [compromised](https://github.com/ssut/py-googletrans/labels/compromised) * [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) * [duplicate](https://github.com/ssut/py-googletrans/labels/duplicate)
* [enhancement](https://github.com/ssut/py-googletrans/labels/enhancement) * [enhancement](https://github.com/ssut/py-googletrans/labels/enhancement)
* [help wanted](https://github.com/ssut/py-googletrans/labels/help%20wanted) * [help wanted](https://github.com/ssut/py-googletrans/labels/help%20wanted)
@ -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! 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). Please see the [Issue Template](ISSUE_TEMPLATE.md).

View File

@ -105,7 +105,7 @@ class TokenAcquirer:
self.tkk = result self.tkk = result
def _lazy(self, value): 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. returns value given.
We won't be needing this because this seems to have been built for We won't be needing this because this seems to have been built for
code obfuscation. code obfuscation.

View File

@ -9,7 +9,7 @@ class Base:
class Translated(Base): class Translated(Base):
"""Translate result object """Translate result object
:param src: source langauge (default: auto) :param src: source language (default: auto)
:param dest: destination language (default: en) :param dest: destination language (default: en)
:param origin: original text :param origin: original text
:param text: translated text :param text: translated text

View File

@ -39,7 +39,7 @@ def legacy_format_json(original):
nxt = text.find('"', p) nxt = text.find('"', p)
states.append((p, text[p:nxt])) states.append((p, text[p:nxt]))
# replace all weired characters in text # replace all wiered characters in text
while text.find(',,') > -1: while text.find(',,') > -1:
text = text.replace(',,', ',null,') text = text.replace(',,', ',null,')
while text.find('[,') > -1: while text.find('[,') > -1: