Fixed a wrong locale string

This commit is contained in:
Raphael Michel
2016-03-15 17:09:04 +01:00
parent 108b518a50
commit 8812da5325
2 changed files with 6 additions and 3 deletions

View File

@@ -61,8 +61,8 @@ def mail(email: str, subject: str, template: str,
body += "\r\n\r\n----\r\n"
body += _(
"You are receiving this e-mail because you placed an order for %s." % event.name
)
"You are receiving this e-mail because you placed an order for {event}."
).format(event=event.name)
body += "\r\n"
try:
return mail_send([email], subject, body, sender, event.id if event else None)