plugin account: fixed use of {domain} instead of hardcoded libervia.org for welcoming e-mail.
This commit is contained in:
parent
aa50a1e807
commit
e45ceec338
1 changed files with 4 additions and 4 deletions
|
|
@ -306,12 +306,12 @@ class MiscAccount(object):
|
||||||
|
|
||||||
body = (_(u"""Welcome to Libervia, the web interface of Salut à Toi.
|
body = (_(u"""Welcome to Libervia, the web interface of Salut à Toi.
|
||||||
|
|
||||||
Your account on %(domain)s has been successfully created. This is a demonstration version to show you the current status of the project. It is still under development, please keep it in mind!
|
Your account on {domain} has been successfully created. This is a demonstration version to show you the current status of the project. It is still under development, please keep it in mind!
|
||||||
|
|
||||||
Here is your connection information:
|
Here is your connection information:
|
||||||
|
|
||||||
Login on libervia.org: %(profile)s
|
Login on {domain}: {profile}
|
||||||
Jabber ID (JID): %(jid_s)s
|
Jabber ID (JID): {jid}
|
||||||
Your password has been chosen by yourself during registration.
|
Your password has been chosen by yourself during registration.
|
||||||
|
|
||||||
In the beginning, you have nobody to talk to. To find some contacts, you may use the users' directory:
|
In the beginning, you have nobody to talk to. To find some contacts, you may use the users' directory:
|
||||||
|
|
@ -322,7 +322,7 @@ Any feedback welcome. Thank you!
|
||||||
|
|
||||||
Salut à Toi association
|
Salut à Toi association
|
||||||
http://www.salut-a-toi.org
|
http://www.salut-a-toi.org
|
||||||
""") % {'profile': profile, 'jid_s': jid_s, 'domain': domain}).encode('utf-8')
|
""").format(profile=profile, jid=jid_s, domain=domain)).encode('utf-8')
|
||||||
msg = MIMEText(body, 'plain', 'UTF-8')
|
msg = MIMEText(body, 'plain', 'UTF-8')
|
||||||
msg['Subject'] = _(u'Libervia account created')
|
msg['Subject'] = _(u'Libervia account created')
|
||||||
msg['From'] = email_from
|
msg['From'] = email_from
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue