diff --git a/src/plugins/plugin_misc_account.py b/src/plugins/plugin_misc_account.py index 0776ddbd..6fde0699 100755 --- a/src/plugins/plugin_misc_account.py +++ b/src/plugins/plugin_misc_account.py @@ -306,12 +306,12 @@ class MiscAccount(object): 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: -Login on libervia.org: %(profile)s -Jabber ID (JID): %(jid_s)s +Login on {domain}: {profile} +Jabber ID (JID): {jid} 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: @@ -322,7 +322,7 @@ Any feedback welcome. Thank you! Salut à Toi association 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['Subject'] = _(u'Libervia account created') msg['From'] = email_from