mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Merge remote-tracking branch 'remotes/flaviabastos/187_unify_canceled_spelling'
This commit is contained in:
@@ -54,10 +54,10 @@ class ActionView(EventPermissionRequiredMixin, View):
|
||||
'status': 'error',
|
||||
'message': _('The order has already been refunded.')
|
||||
})
|
||||
elif trans.order.status == Order.STATUS_CANCELLED:
|
||||
elif trans.order.status == Order.STATUS_CANCELED:
|
||||
return JsonResponse({
|
||||
'status': 'error',
|
||||
'message': _('The order has already been cancelled.')
|
||||
'message': _('The order has already been canceled.')
|
||||
})
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user