[pve-devel] [PATCH manager 1/1] add Language selection in user menu

Dominik Csapak d.csapak at proxmox.com
Fri Apr 17 13:23:36 CEST 2020


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/Workspace.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index 1ee91504..01b462c7 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -374,6 +374,14 @@ Ext.define('PVE.StdWorkspace', {
 					win.show();
 				    }
 				},
+				{
+				    iconCls: 'fa fa-language',
+				    text: gettext('Language'),
+				    handler: function() {
+					Ext.create('Proxmox.window.LanguageEditWindow')
+					    .show();
+				    },
+				},
 				'-',
 				{
 				    iconCls: 'fa fa-fw fa-sign-out',
-- 
2.20.1





More information about the pve-devel mailing list