diff --git a/src/wagtail_personalisation/rules.py b/src/wagtail_personalisation/rules.py index 86948d5..6affc9b 100644 --- a/src/wagtail_personalisation/rules.py +++ b/src/wagtail_personalisation/rules.py @@ -150,7 +150,7 @@ class DayRule(AbstractBaseRule): description = { 'title': _('These users visit on'), - 'value': _('{}').format(", ".join([f"{day}" for day in chosen_days]).title()), + 'value': (', '.join(_(day) for day in chosen_days)).title() } return description