mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-01 16:01:06 -05:00
TranslateParty: update docs
This commit is contained in:
parent
db125ee5d1
commit
6ce29eda6c
@ -7,8 +7,8 @@ some amusing results. It automatically picks a list of languages to go through,
|
|||||||
back and forth between them quite a few times. This guarantees that the result will be different
|
back and forth between them quite a few times. This guarantees that the result will be different
|
||||||
every time.
|
every time.
|
||||||
|
|
||||||
Any source language [supported by Google Translate](https://cloud.google.com/translate/v2/translate-reference#supported_languages)
|
Any source language [supported by Google Translate](https://cloud.google.com/translate/docs/languages)
|
||||||
is allowed, since auto-detection is used to translate text back to your desired language. This can be set via `config plugins.wte.language`, and defaults to English (`en`).
|
is allowed, since auto-detection is used to translate text back to your desired language. The output language can be set via `config plugins.wte.language`, and defaults to English (`en`).
|
||||||
|
|
||||||
Samples:
|
Samples:
|
||||||
|
|
||||||
|
@ -50,8 +50,7 @@ except ImportError:
|
|||||||
_ = lambda x:x
|
_ = lambda x:x
|
||||||
|
|
||||||
class TranslateParty(callbacks.Plugin):
|
class TranslateParty(callbacks.Plugin):
|
||||||
"""Worst Translations Ever! plugin. Translates text through
|
"""Translates text through multiple rounds of Google Translate to get amusing results!"""
|
||||||
multiple rounds of Google Translate to get amazing results!"""
|
|
||||||
threaded = True
|
threaded = True
|
||||||
|
|
||||||
def __init__(self, irc):
|
def __init__(self, irc):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user