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:
parent
41adda1c64
commit
11363a6a69
|
@ -42,7 +42,15 @@ Ext.define('PBS.NodeOptionView', {
|
||||||
vtype: 'proxmoxMail',
|
vtype: 'proxmoxMail',
|
||||||
deleteEmpty: true,
|
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() {
|
initComponent: function() {
|
||||||
|
|
Loading…
Reference in New Issue