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

@@ -22,11 +22,11 @@ error_messages = {
'server was too busy. Please try again.'),
'empty': _('You did not select any products.'),
'not_for_sale': _('You selected a product which is not available for sale.'),
'unavailable': _('Some of the products you selected were no longer available. '
'unavailable': _('Some of the products you selected are no longer available. '
'Please see below for details.'),
'in_part': _('Some of the products you selected were no longer available in '
'in_part': _('Some of the products you selected are no longer available in '
'the quantity you selected. Please see below for details.'),
'max_items': _("You cannot select more than %s items per order"),
'max_items': _("You cannot select more than %s items per order."),
'not_started': _('The presale period for this event has not yet started.'),
'ended': _('The presale period has ended.'),
'voucher_invalid': _('This voucher code is not known in our database.'),

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