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

@@ -61,8 +61,7 @@
{% if can_download %}
<p>
{% blocktrans trimmed %}
Please use the buttons below to obtain your ticket. Please have your ticket ready when
entering the event.
Please obtain your ticket below. Please have your ticket ready when entering the event.
{% endblocktrans %}
</p>
{% for b in download_buttons %}

View File

@@ -58,4 +58,4 @@
</table>
</div>
{% include "pretixpresale/pagination.html" %}
{% endblock %}
{% endblock %}

View File

@@ -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.')

View File

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