ui: node options: add support for selecting default language

Allows setting the default language in Configuration/Other/General

Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Matthias Heiserer 2022-02-10 12:57:37 +01:00 committed by Thomas Lamprecht
parent 41adda1c64
commit 11363a6a69
1 changed files with 9 additions and 1 deletions

View File

@ -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() {