From 11363a6a695ccee003d678ccd2ac1ee45c0a51fd Mon Sep 17 00:00:00 2001 From: Matthias Heiserer Date: Thu, 10 Feb 2022 12:57:37 +0100 Subject: [PATCH] ui: node options: add support for selecting default language Allows setting the default language in Configuration/Other/General Signed-off-by: Matthias Heiserer Signed-off-by: Thomas Lamprecht --- www/config/NodeOptionView.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/config/NodeOptionView.js b/www/config/NodeOptionView.js index 64f3d792..506768d9 100644 --- a/www/config/NodeOptionView.js +++ b/www/config/NodeOptionView.js @@ -42,7 +42,15 @@ Ext.define('PBS.NodeOptionView', { vtype: 'proxmoxMail', deleteEmpty: true, }, - + { + xtype: 'combobox', + name: 'default-lang', + text: gettext('Default language'), + defaultValue: '__default__', + comboItems: Proxmox.Utils.language_array(), + deleteEmpty: true, + renderer: Proxmox.Utils.render_language, + }, ], initComponent: function() {