doc: fix typos (#220)
This commit is contained in:
parent
ee02d4b6fd
commit
5dd9bc5819
@ -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)
|
||||
@ -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).
|
||||
|
||||
|
@ -105,7 +105,7 @@ class TokenAcquirer:
|
||||
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.
|
||||
|
@ -9,7 +9,7 @@ class Base:
|
||||
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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user