From 07ff523ea38340e1593ca85a4c6f7fd3ae29e709 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 2 Nov 2020 16:59:33 +0100 Subject: [PATCH] Don't mention subevents in user-facing strings --- src/pretix/control/forms/orders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/forms/orders.py b/src/pretix/control/forms/orders.py index ff0eaa93e..7976907c0 100644 --- a/src/pretix/control/forms/orders.py +++ b/src/pretix/control/forms/orders.py @@ -770,7 +770,7 @@ class EventCancelForm(forms.Form): if d.get('subevent') and d.get('subevents_from'): raise ValidationError(pgettext_lazy('subevent', 'Please either select a specific date or a date range, not both.')) if d.get('all_subevents') and d.get('subevent_from'): - raise ValidationError(pgettext_lazy('subevent', 'Please either select all subevents or a date range, not both.')) + raise ValidationError(pgettext_lazy('subevent', 'Please either select all dates or a date range, not both.')) if bool(d.get('subevents_from')) != bool(d.get('subevents_to')): raise ValidationError(pgettext_lazy('subevent', 'If you set a date range, please set both a start and an end.')) if self.event.has_subevents and not d['subevent'] and not d['all_subevents'] and not d.get('subevents_from'):