Fix typos

This commit is contained in:
Raphael Michel
2026-08-24 17:26:37 +02:00
parent 9f8ba28cda
commit b74371bef1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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