mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 15:42:27 +00:00
replica: improve schedule format example
Add one more to show that also weekdays + intervals are possible Further improve wording + reduce translation needs for others entries. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
aa5ce65a13
commit
42b45f8fe8
@ -11,11 +11,12 @@ Ext.define('PVE.form.CalendarEvent', {
|
|||||||
store: {
|
store: {
|
||||||
field: [ 'value', 'text'],
|
field: [ 'value', 'text'],
|
||||||
data: [
|
data: [
|
||||||
{ value: '*/30', text: gettext("Every 30 minutes")},
|
{ value: '*/30', text: Ext.String.format(gettext("Every {0} minutes"), 30) },
|
||||||
{ value: '*/2:00', text: gettext("Every two hours")},
|
{ value: '*/2:00', text: gettext("Every two hours")},
|
||||||
{ value: '2,22:30', text: gettext("02:30, 22:30")},
|
{ 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', text: gettext("Monday to Friday") + " 00:00"},
|
||||||
{ value: 'sun 01:00', text: gettext("Sunday 01:00")}
|
{ value: 'mon..fri */1:00', text: gettext("Monday to Friday") + ': ' + gettext("hourly")},
|
||||||
|
{ value: 'sun 01:00', text: gettext("Sunday") + " 01:00"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Ext.define('PVE.window.ReplicaEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'pveCalendarEvent',
|
xtype: 'pveCalendarEvent',
|
||||||
fieldLabel: gettext('Schedule'),
|
fieldLabel: gettext('Schedule'),
|
||||||
emptyText: '*/15 - ' + gettext('Every 15 minutes'),
|
emptyText: '*/15 - ' + Ext.String.format(gettext('Every {0} minutes'), 15),
|
||||||
name: 'schedule'
|
name: 'schedule'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user