ui: calendar event: add once daily example and clarify workday one

similar to PVE, copying over the remaining commit message:

Using 00:00 with relying on the implied default is sub optimal as its
a bit of a magic example that new users may not understand as easily.
So spell it out explicitly, even if there'd be a shorter version
possible.

We also had some request for the once-daily every day, and its a
sensible example to have in general, could help getting the
difference between an hour list and a single one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-12-07 18:54:24 +01:00
parent d4877712f8
commit 4912d5f0e3
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@ Ext.define('PBS.data.CalendarEventExamples', {
{ value: 'hourly', text: gettext("Every hour") }, { value: 'hourly', text: gettext("Every hour") },
{ value: '0/2:00', text: gettext("Every two hours") }, { value: '0/2:00', text: gettext("Every two hours") },
{ value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30" }, { value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30" },
{ value: '21:00', text: gettext("Every day") + " 21:00" },
{ value: 'daily', text: gettext("Every day") + " 00:00" }, { value: 'daily', text: gettext("Every day") + " 00:00" },
{ value: 'mon..fri', text: gettext("Monday to Friday") + " 00:00" }, { value: 'mon..fri 00:00', text: gettext("Monday to Friday") + " 00:00" },
{ value: 'mon..fri *:00', text: gettext("Monday to Friday") + ', ' + gettext("hourly") }, { value: 'mon..fri *:00', text: gettext("Monday to Friday") + ', ' + gettext("hourly") },
{ value: 'sat 18:15', text: gettext("Every Saturday") + " 18:15" }, { value: 'sat 18:15', text: gettext("Every Saturday") + " 18:15" },
{ value: 'monthly', text: gettext("Every first day of the Month") + " 00:00" }, { value: 'monthly', text: gettext("Every first day of the Month") + " 00:00" },