mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Merge remote-tracking branch 'remotes/flaviabastos/187_unify_canceled_spelling'
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{% elif order.status == "e" %}
|
||||
<span class="label label-danger {{ class }}">{% trans "Expired" %}</span>
|
||||
{% elif order.status == "c" %}
|
||||
<span class="label label-danger {{ class }}">{% trans "Cancelled" %}</span>
|
||||
<span class="label label-danger {{ class }}">{% trans "Canceled" %}</span>
|
||||
{% elif order.status == "r" %}
|
||||
<span class="label label-danger {{ class }}">{% trans "Refunded" %}</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -453,7 +453,7 @@ class OrderCancelDo(EventViewMixin, OrderDetailMixin, AsyncAction, View):
|
||||
return ctx
|
||||
|
||||
def get_success_message(self, value):
|
||||
return _('The order has been cancelled.')
|
||||
return _('The order has been canceled.')
|
||||
|
||||
def get_error_message(self, exception):
|
||||
if isinstance(exception, dict) and exception['exc_type'] == 'OrderError':
|
||||
|
||||
Reference in New Issue
Block a user