Doc fix
This commit is contained in:
parent
78058c3969
commit
d7822675a3
@ -1,6 +1,6 @@
|
||||
defmodule MicrosoftTranslator do
|
||||
@moduledoc """
|
||||
Basic functions for requests to Yandex Translate API on Yandex Cloud
|
||||
Basic functions for requests to Microsoft Translator API on Microsoft Azure
|
||||
"""
|
||||
|
||||
alias MicrosoftTranslator.Client
|
||||
@ -11,6 +11,7 @@ defmodule MicrosoftTranslator do
|
||||
Return a map with language code (use it for translations) and native language name
|
||||
|
||||
```elixir
|
||||
MicrosoftTranslator.detect()
|
||||
%{
|
||||
languages: [
|
||||
%{code: "af", "name":"Afrikaans","nativeName":"Afrikaans"},
|
||||
@ -32,7 +33,6 @@ defmodule MicrosoftTranslator do
|
||||
|
||||
```elixir
|
||||
MicrosoftTranslator.detect("Криївка")
|
||||
# Response
|
||||
%{languageCode: "uk"}
|
||||
```
|
||||
|
||||
@ -43,7 +43,6 @@ defmodule MicrosoftTranslator do
|
||||
|
||||
```elixir
|
||||
MicrosoftTranslator.detect(%{text: "Капелюх"})
|
||||
# Response
|
||||
%{languageCode: "uk"}
|
||||
```
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user