mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
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
@@ -128,7 +128,7 @@ class AsyncAction:
|
||||
|
||||
def get_error_message(self, exception):
|
||||
logger.error('Unexpected exception: %r' % exception)
|
||||
return _('An unexpected error has occured')
|
||||
return _('An unexpected error has occured.')
|
||||
|
||||
def get_success_message(self, value):
|
||||
return _('The task has been completed')
|
||||
return _('The task has been completed.')
|
||||
|
||||
@@ -296,7 +296,7 @@ class OrderCancel(EventViewMixin, OrderDetailMixin, TemplateView):
|
||||
if not self.order:
|
||||
raise Http404(_('Unknown order code or not authorized to access this order.'))
|
||||
if self.order.status not in (Order.STATUS_PENDING, Order.STATUS_EXPIRED):
|
||||
messages.error(request, _('You cannot cancel this order'))
|
||||
messages.error(request, _('You cannot cancel this order.'))
|
||||
return redirect(self.get_order_url())
|
||||
return super().dispatch(request, *args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user