mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Update translations
This commit is contained in:
@@ -989,7 +989,7 @@ class ItemAddOns(ItemDetailMixin, EventPermissionRequiredMixin, TemplateView):
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
if self.get_object().category and self.get_object().category.is_addon:
|
||||
messages.error(self.request, _('Your cannot add addons to a product that is only available as an add-on '
|
||||
messages.error(self.request, _('You cannot add addons to a product that is only available as an add-on '
|
||||
'itself.'))
|
||||
return redirect(self.get_previous_url())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user