From 9244cc9b2bc67b8dae6c7290077f961953455746 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Tue, 5 Jul 2022 22:38:55 +0100 Subject: [PATCH] feat: add translation setting to template toml --- .config.template.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config.template.toml b/.config.template.toml index 5401118..7f4a277 100644 --- a/.config.template.toml +++ b/.config.template.toml @@ -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 = [