From b74371bef190e21501903006fbf047dccd7e3e51 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 24 Aug 2026 17:26:37 +0200 Subject: [PATCH] Fix typos --- src/pretix/base/reldate.py | 4 ++-- src/pretix/plugins/paypal2/payment.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pretix/base/reldate.py b/src/pretix/base/reldate.py index 510a4b4661..fc89643d91 100644 --- a/src/pretix/base/reldate.py +++ b/src/pretix/base/reldate.py @@ -742,9 +742,9 @@ class RelativeDateField(RelativeDateTimeField): if data.rel_days_number is None or not data.rel_days_relationto: raise ValidationError(self.error_messages['incomplete']) elif data.rel_days_relation == "before" and not choice.supports_before: - raise ValidationError(_("A relative date cannot be expressed as 'before' for '{}'".format(choice.text))) + raise ValidationError(_('A relative date cannot be expressed as "before" for "{}"'.format(choice.text))) elif data.rel_days_relation == "after" and not choice.supports_after: - raise ValidationError(_("A relative date cannot be expressed as 'after' for '{}'".format(choice.text))) + raise ValidationError(_('A relative date cannot be expressed as "after" for "{}"'.format(choice.text))) return forms.MultiValueField.clean(self, value) diff --git a/src/pretix/plugins/paypal2/payment.py b/src/pretix/plugins/paypal2/payment.py index 019bb2d984..d89b8dada4 100644 --- a/src/pretix/plugins/paypal2/payment.py +++ b/src/pretix/plugins/paypal2/payment.py @@ -199,7 +199,7 @@ class PaypalSettingsHolder(BasePaymentProvider): help_text=_( 'PayPals fraud prevention might block processing of individual payments for a considerable amount ' 'of time. The payment is marked as "pending" during this time window. You can allow your customers to ' - 'start another payment attempts during that window. This might result in them being charged twice if the' + 'start another payment attempts during that window. This might result in them being charged twice if the ' 'original payment is approved.' ), required=False