mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Correct english typos (#662)
* Check that vouchers selected via API are for the correct event * Choose different subject for reminder mails if auto-expiry is off * correct english typos As with PR #660, it should be checked whether the changes to the .po-files are respected in the corresponding src-files.
This commit is contained in:
committed by
Raphael Michel
parent
1285e9aa69
commit
4614d04be4
@@ -592,7 +592,11 @@ def send_expiry_warnings(sender, **kwargs):
|
||||
'invoice_name': invoice_name,
|
||||
'invoice_company': invoice_company,
|
||||
}
|
||||
email_subject = _('Your order is about to expire: %(code)s') % {'code': o.code}
|
||||
if eventsettings.payment_term_expire_automatically:
|
||||
email_subject = _('Your order is about to expire: %(code)s') % {'code': o.code}
|
||||
else:
|
||||
email_subject = _('Your order is pending payment: %(code)s') % {'code': o.code}
|
||||
|
||||
try:
|
||||
o.send_mail(
|
||||
email_subject, email_template, email_context,
|
||||
|
||||
Reference in New Issue
Block a user