From 010e1773068ed612e93678d2de5acd7deb17bf88 Mon Sep 17 00:00:00 2001 From: Luis Riegger Date: Tue, 4 May 2021 08:32:42 +0200 Subject: [PATCH] Add language selection to plugin schema --- config.schema.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config.schema.json b/config.schema.json index 290f674..f9446ef 100644 --- a/config.schema.json +++ b/config.schema.json @@ -17,7 +17,33 @@ "type": "string", "required": true, "description": "Your Password" + }, + "language": { + "title": "language", + "type": "string", + "default": "en", + "oneOf": [ + { + "title": "English", + "enum": [ + "en" + ] + }, + { + "title": "German", + "enum": [ + "de" + ] + }, + { + "title": "French", + "enum": [ + "fr" + ] + } + ], + "required": true } } } -} \ No newline at end of file +}