From ef3420f7619e5ae766cf27203392a39683a79bb1 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Fri, 8 Mar 2024 19:34:18 +0100 Subject: [PATCH] Fix typo in error message --- src/pretix/base/services/cart.py | 2 +- src/pretix/base/services/orders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/services/cart.py b/src/pretix/base/services/cart.py index 7f96ea74d..ca1864690 100644 --- a/src/pretix/base/services/cart.py +++ b/src/pretix/base/services/cart.py @@ -203,7 +203,7 @@ error_messages = { 'You need to select at least %(min)s add-ons from the category %(cat)s for the product %(base)s.', 'min' ), - 'addon_no_multi': gettext_lazy('You can select every add-ons from the category %(cat)s for the product %(base)s at most once.'), + 'addon_no_multi': gettext_lazy('You can select every add-on from the category %(cat)s for the product %(base)s at most once.'), 'addon_only': gettext_lazy('One of the products you selected can only be bought as an add-on to another product.'), 'bundled_only': gettext_lazy('One of the products you selected can only be bought part of a bundle.'), 'seat_required': gettext_lazy('You need to select a specific seat.'), diff --git a/src/pretix/base/services/orders.py b/src/pretix/base/services/orders.py index 9c192ac3b..cb3dfc54a 100644 --- a/src/pretix/base/services/orders.py +++ b/src/pretix/base/services/orders.py @@ -197,7 +197,7 @@ error_messages = { 'You need to select at least %(min)s add-ons from the category %(cat)s for the product %(base)s.', 'min' ), - 'addon_no_multi': gettext_lazy('You can select every add-ons from the category %(cat)s for the product %(base)s at most once.'), + 'addon_no_multi': gettext_lazy('You can select every add-on from the category %(cat)s for the product %(base)s at most once.'), 'addon_already_checked_in': gettext_lazy('You cannot remove the position %(addon)s since it has already been checked in.'), }