Deepl: use :base_url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
2b739faa7e
commit
fedae008c8
3 changed files with 36 additions and 16 deletions
|
|
@ -3540,10 +3540,10 @@ config :pleroma, :config_description, [
|
|||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Deepl},
|
||||
key: :plan,
|
||||
label: "DeepL plan",
|
||||
type: {:dropdown, :atom},
|
||||
suggestions: [:free, :pro]
|
||||
key: :base_url,
|
||||
label: "DeepL base URL",
|
||||
type: :string,
|
||||
suggestions: ["https://api-free.deepl.com", "https://api.deepl.com"]
|
||||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Deepl},
|
||||
|
|
@ -3555,7 +3555,7 @@ config :pleroma, :config_description, [
|
|||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Libretranslate},
|
||||
key: :base_url,
|
||||
label: "LibreTranslate plan",
|
||||
label: "LibreTranslate instance URL",
|
||||
type: :string,
|
||||
suggestions: ["https://libretranslate.com"]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue