From 4c9e5dbc2406386f5e3a30226629a4d0dbe10644 Mon Sep 17 00:00:00 2001 From: Fioddor Superconcentrado Date: Mon, 14 Sep 2020 16:32:52 +0200 Subject: [PATCH] snapshots: Clarify description for disabling yearly snapshots BTW, choice literals translated. Close #1937. Signed-off-by: Fioddor Superconcentrado Reviewed-by: Sunil Mohan Adapa --- plinth/modules/snapshot/forms.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plinth/modules/snapshot/forms.py b/plinth/modules/snapshot/forms.py index 3404b86e0..19be2ee98 100644 --- a/plinth/modules/snapshot/forms.py +++ b/plinth/modules/snapshot/forms.py @@ -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).'))