[pmg-devel] [PATCH pmg-gui] Make report labels more explicit

Stoiko Ivanov s.ivanov at proxmox.com
Tue May 28 12:30:16 CEST 2019


PMG (optionally) sends two kinds of reports:
* the reports to users, which mails of theirs are in the Spamquarantine
  (`pmgqm`)
* the reports about the System's state and performance to the Administrator
  (`pmgreport`)

Given that these get confused quite often, make their labels in the GUI
more explicit.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/SpamQuarantineOptions.js | 2 +-
 js/SystemOptions.js         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/SpamQuarantineOptions.js b/js/SpamQuarantineOptions.js
index d605c13..284e563 100644
--- a/js/SpamQuarantineOptions.js
+++ b/js/SpamQuarantineOptions.js
@@ -44,7 +44,7 @@ Ext.define('PMG.SpamQuarantineOptions', {
 	    return me.reportstyleTextHash[value] || value;
 	};
 
-	me.add_combobox_row('reportstyle', gettext('Report Style'), {
+	me.add_combobox_row('reportstyle', gettext('User Spamreport Style'), {
 	    defaultValue: 'verbose',
 	    renderer: render_reportstyle,
 	    comboItems: [
diff --git a/js/SystemOptions.js b/js/SystemOptions.js
index 9692aa2..1ce3178 100644
--- a/js/SystemOptions.js
+++ b/js/SystemOptions.js
@@ -64,7 +64,7 @@ Ext.define('PMG.SystemOptions', {
     initComponent : function() {
 	var me = this;
 
-	me.add_boolean_row('dailyreport', gettext('Send daily reports'),
+	me.add_boolean_row('dailyreport', gettext('Send daily admin reports'),
 			   { defaultValue: 1});
 
 	me.add_boolean_row('advfilter', gettext('Use advanced statistic filters'),
-- 
2.11.0




More information about the pmg-devel mailing list