[pve-devel] [PATCH manager] calendarevent: improve schedule format examples

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 28 09:56:25 CEST 2017


Add one more to show that also weekdays + intervals are possible

Further improve wording + translation needs for others

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/form/CalendarEvent.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/manager6/form/CalendarEvent.js b/www/manager6/form/CalendarEvent.js
index 5661bf92..7dcebe32 100644
--- a/www/manager6/form/CalendarEvent.js
+++ b/www/manager6/form/CalendarEvent.js
@@ -13,9 +13,10 @@ Ext.define('PVE.form.CalendarEvent', {
 	data: [
 	    { value: '*/30', text: gettext("Every 30 minutes")},
 	    { value: '*/2:00', text: gettext("Every two hours")},
-	    { value: '2,22:30', text: gettext("02:30, 22:30")},
-	    { value: 'mon..fri', text: gettext("Monday to Friday 00:00")},
-	    { value: 'sun 01:00', text: gettext("Sunday 01:00")}
+	    { value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30"},
+	    { value: 'mon..fri', text: gettext("Monday to Friday") + " 00:00"},
+	    { value: 'mon..fri */1:00', text: gettext("Monday to Friday") + ': ' +  gettext("hourly")},
+	    { value: 'sun 01:00', text: gettext("Sunday") + " 01:00"}
 	]
     },
 
-- 
2.11.0





More information about the pve-devel mailing list