From 7399729fea1e1604c4c60e5766211751e3a63405 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 17 Aug 2018 11:20:24 +0200 Subject: [PATCH] add missing languages to datacenter_schema copied from proxmox-widget-toolkit Utils.js since i see no good way to only have this in one place Signed-off-by: Dominik Csapak --- data/PVE/Cluster.pm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 35e0b86..93c3f01 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1360,7 +1360,27 @@ my $datacenter_schema = { optional => 1, type => 'string', description => "Default GUI language.", - enum => [ 'en', 'de' ], + enum => [ + 'zh_CN', + 'zh_TW', + 'ca', + 'en', + 'eu', + 'fr', + 'de', + 'it', + 'es', + 'ja', + 'nb', + 'nn', + 'fa', + 'pl', + 'pt_BR', + 'ru', + 'sl', + 'sv', + 'tr', + ], }, http_proxy => { optional => 1, -- 2.39.5