Merge branch 'description-improvement' into 'develop'
Use :list_behaviour_implementations for LanguageDetector and Translation providers See merge request pleroma/pleroma!4407
This commit is contained in:
commit
8c9e130cc9
2 changed files with 3 additions and 9 deletions
1
changelog.d/description.skip
Normal file
1
changelog.d/description.skip
Normal file
|
|
@ -0,0 +1 @@
|
|||
Use :list_behaviour_implementations for LanguageDetector and Translation providers
|
||||
|
|
@ -3539,9 +3539,7 @@ config :pleroma, :config_description, [
|
|||
%{
|
||||
key: :provider,
|
||||
type: :module,
|
||||
suggestions: [
|
||||
Pleroma.Language.LanguageDetector.Fasttext
|
||||
]
|
||||
suggestions: {:list_behaviour_implementations, Pleroma.Language.LanguageDetector.Provider}
|
||||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.LanguageDetector.Fasttext},
|
||||
|
|
@ -3561,12 +3559,7 @@ config :pleroma, :config_description, [
|
|||
%{
|
||||
key: :provider,
|
||||
type: :module,
|
||||
suggestions: [
|
||||
Pleroma.Language.Translation.Deepl,
|
||||
Pleroma.Language.Translation.Libretranslate,
|
||||
Pleroma.Language.Translation.Mozhi,
|
||||
Pleroma.Language.Translation.TranslateLocally
|
||||
]
|
||||
suggestions: {:list_behaviour_implementations, Pleroma.Language.Translation.Provider}
|
||||
},
|
||||
%{
|
||||
group: {:subgroup, Pleroma.Language.Translation.Deepl},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue