Make Pleroma.Upload.Filter.Mogrify suggestions strings

This commit is contained in:
Angelina Filippova 2021-07-10 15:28:09 +03:00
parent 07ffce0342
commit fe263d0d00

View File

@ -211,11 +211,11 @@ config :pleroma, :config_description, [
type: :multiple_select, type: :multiple_select,
description: description:
"List of actions for the mogrify command. It's possible to add self-written settings as string. " <> "List of actions for the mogrify command. It's possible to add self-written settings as string. " <>
"For example `auto-orient, strip, {\"resize\", \"3840x1080>\"}` value will be parsed into valid list of the settings.", "For example `auto-orient, strip, \"{'resize', '3840x1080>'}\"` value will be parsed into valid list of the settings.",
suggestions: [ suggestions: [
"strip", "strip",
"auto-orient", "auto-orient",
{"implode", "1"} "{'implode', '1'}"
] ]
} }
] ]