[pve-devel] [PATCH proxmox-backup v2] ui: notify options: Remove gettext for root at pam

Dominic Jäger d.jaeger at proxmox.com
Thu Jan 7 09:32:15 CET 2021


Translating root at pam is not useful, especially as the empty text symbolises the
default value.

Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
---
new in v2

 www/window/NotifyOptions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/window/NotifyOptions.js b/www/window/NotifyOptions.js
index 5250e0e8..50a19dd7 100644
--- a/www/window/NotifyOptions.js
+++ b/www/window/NotifyOptions.js
@@ -52,7 +52,7 @@ Ext.define('PBS.window.NotifyOptions', {
 		xtype: 'pbsUserSelector',
 		name: 'notify-user',
 		fieldLabel: gettext('Notify User'),
-		emptyText: gettext('root at pam'),
+		emptyText: 'root at pam',
 		value: null,
 		allowBlank: true,
 		renderer: Ext.String.htmlEncode,
-- 
2.20.1





More information about the pve-devel mailing list