forked from CGM_Public/pretix_original
Fixed typos and a little phrasing. (#175)
Mostly in German translation, some small fixes in English text, too.
This commit is contained in:
committed by
Raphael Michel
parent
2ad5565db5
commit
34212841e2
@@ -142,7 +142,7 @@ def cancel_order(order, user=None):
|
||||
user = User.objects.get(pk=user)
|
||||
with order.event.lock():
|
||||
if order.status not in (Order.STATUS_PENDING, Order.STATUS_EXPIRED):
|
||||
raise OrderError(_('You cannot cancel this order'))
|
||||
raise OrderError(_('You cannot cancel this order.'))
|
||||
order.status = Order.STATUS_CANCELLED
|
||||
order.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user