feat: add translation setting to template toml

pull/861/head
Callum Leslie 2 years ago
parent 5a2112b34e
commit 9244cc9b2b
No known key found for this signature in database
GPG Key ID: D382C4AFEECEAA90

@ -17,7 +17,7 @@ random = { optional = true, options = [
subreddit = { optional = false, regex = "[_0-9a-zA-Z]+$", nmin = 3, nmax = 21, explanation = "what subreddit to pull posts from, the name of the sub, not the URL", example = "AskReddit", oob_error = "A subreddit name HAS to be between 3 and 20 characters" }
post_id = { optional = true, regex = "^((?!://|://).)*$", explanation = "Used if you want to use a specific post.", example = "urdtfx" }
max_comment_length = { default = 500, optional = false, nmin = 10, nmax = 10000, type = "int", explanation = "max number of characters a comment can have. default is 500", example = 500, oob_error = "the max comment length should be between 10 and 10000" }
post_lang = { optional = true, explanation = "The language you would like to translate to - leave blank for none.", example = "es-cr"}
[settings]
allow_nsfw = { optional = false, type = "bool", default = false, example = false, options = [

Loading…
Cancel
Save