mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Merge pull request #1249 from GLolol/patch-1
Google: mention the format of language codes
This commit is contained in:
commit
9c29652697
@ -290,7 +290,9 @@ class Google(callbacks.PluginRegexp):
|
||||
"""<source language> [to] <target language> <text>
|
||||
|
||||
Returns <text> translated from <source language> into <target
|
||||
language>.
|
||||
language>. <source language> and <target language> take language
|
||||
codes (not language names), which are listed here:
|
||||
https://cloud.google.com/translate/v2/translate-reference#supported_languages
|
||||
"""
|
||||
channel = msg.args[0]
|
||||
(text, language) = self._translate(sourceLang, targetLang, text)
|
||||
|
Loading…
Reference in New Issue
Block a user