Fixed typos and a little phrasing. (#175)

Mostly in German translation, some small fixes in English text, too.
This commit is contained in:
Tobias Kunze
2016-08-13 21:16:16 +02:00
committed by Raphael Michel
parent 2ad5565db5
commit 34212841e2
10 changed files with 114 additions and 108 deletions

View File

@@ -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()