Fix #1674 -- Change spelling of e-mail to email (#4636)

* Fix #1674 -- Change spelling of e-mail to email

* Conflicts and word list

* Add MobilePay to wordlist

* fix usage in tests
This commit is contained in:
Raphael Michel
2024-11-18 17:21:29 +01:00
committed by GitHub
parent 3e934acfa0
commit 03d3c389da
111 changed files with 14808 additions and 14466 deletions

View File

@@ -333,7 +333,7 @@ class BankTransfer(BasePaymentProvider):
required=False,
),
'send_invoice_to': forms.EmailField(
label=_('Invoice recipient e-mail'),
label=_('Invoice recipient email'),
required=False,
help_text=_('The invoice recipient will receive an email which includes the invoice and your email '
'address so they know who placed this order.'),

View File

@@ -929,5 +929,5 @@ class SendInvoiceMailView(EventViewMixin, OrderDetailMixin, View):
}
last_payment.save(update_fields=['info'])
messages.success(request, _('Sending the latest invoice via e-mail to {email}.').format(email=request.POST['email']))
messages.success(request, _('Sending the latest invoice via email to {email}.').format(email=request.POST['email']))
return redirect(self.get_order_url())