mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2026-02-15 17:16:57 +00:00
Merge remote-tracking branch 'origin/develop' into translation-provider-translatelocally
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
commit
13bc4ba639
38 changed files with 418 additions and 147 deletions
|
|
@ -3559,6 +3559,7 @@ config :pleroma, :config_description, [
|
|||
suggestions: [
|
||||
Pleroma.Language.Translation.Deepl,
|
||||
Pleroma.Language.Translation.Libretranslate,
|
||||
Pleroma.Language.Translation.Mozhi,
|
||||
Pleroma.Language.Translation.TranslateLocally
|
||||
]
|
||||
},
|
||||
|
|
@ -3592,11 +3593,24 @@ config :pleroma, :config_description, [
|
|||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.TranslateLocally},
|
||||
key: :intermediate_language,
|
||||
key: :intermediary_language,
|
||||
label:
|
||||
"translateLocally intermediate language (used when direct source->target model is not available)",
|
||||
"translateLocally intermediary language (used when direct source->target model is not available)",
|
||||
type: :string,
|
||||
suggestions: ["en"]
|
||||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Mozhi},
|
||||
key: :base_url,
|
||||
label: "Mozhi instance URL",
|
||||
type: :string
|
||||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Mozhi},
|
||||
key: :engine,
|
||||
label: "Engine used for Mozhi",
|
||||
type: :string,
|
||||
suggestions: ["libretranslate"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue