snapshots: Clarify description for disabling yearly snapshots

BTW, choice literals translated.

Close #1937.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Fioddor Superconcentrado 2020-09-14 16:32:52 +02:00 committed by Sunil Mohan Adapa
parent 43ab6db456
commit 4c9e5dbc24
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -20,13 +20,13 @@ class SnapshotForm(forms.Form):
label=_('Timeline Snapshots'),
help_text=_('Enable or disable timeline snapshots '
'(hourly, daily, monthly and yearly).'),
choices=[('yes', 'Enabled'), ('no', 'Disabled')])
choices=[('yes', _('Enabled')), ('no', _('Disabled'))])
enable_software_snapshots = forms.ChoiceField(
label=_('Software Installation Snapshots'),
help_text=_('Enable or disable snapshots before and after software '
'installation'), choices=[('yes', 'Enabled'),
('no', 'Disabled')])
'installation'), choices=[('yes', _('Enabled')),
('no', _('Disabled'))])
hourly_limit = forms.IntegerField(
label=_('Hourly Snapshots Limit'), min_value=0,
@ -47,4 +47,4 @@ class SnapshotForm(forms.Form):
yearly_limit = forms.IntegerField(
label=_('Yearly Snapshots Limit'), min_value=0,
help_text=_('Keep a maximum of this many yearly snapshots. '
'The default value is 0 (disabled).'))
'The default value is 0 (keep no yearly snapshot).'))