Translate text + reformat
This commit is contained in:
parent
84056a5b36
commit
3148dbccf8
1 changed files with 6 additions and 6 deletions
|
@ -849,13 +849,13 @@ class OrderConfirmationView(DetailView):
|
||||||
'to': [user.get('email')],
|
'to': [user.get('email')],
|
||||||
'body': _("Hi {name},\n\n"
|
'body': _("Hi {name},\n\n"
|
||||||
"thank you for your order!\n"
|
"thank you for your order!\n"
|
||||||
"We have just received a payment of CHF {amount:.2f} "
|
"We have just received a payment of CHF {amount:.2f}"
|
||||||
"from you.{recurring}\n\n"
|
" from you.{recurring}\n\n"
|
||||||
"Your DataCenterLight Team".format(
|
"Your DataCenterLight Team".format(
|
||||||
name=user.get('name'),
|
name=user.get('name'),
|
||||||
amount=gp_details['amount'],
|
amount=gp_details['amount'],
|
||||||
recurring=(
|
recurring=(
|
||||||
' This is a monthly recurring plan.'
|
_(' This is a monthly recurring plan.')
|
||||||
if gp_details['recurring'] else ''
|
if gp_details['recurring'] else ''
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue