[FIX] ensure that the mail template is exported for translation

bzr revid: rco@openerp.com-20110428135227-9sa52eeal63xqofz
This commit is contained in:
Raphael Collet
2011-04-28 15:52:27 +02:00
parent 5de01d9e8c
commit b8cb4dc8a5
+5 -4
View File
@@ -30,9 +30,10 @@ from base.res.res_user import _lang_get
# welcome email sent to new portal users
WELCOME_EMAIL_SUBJECT = u"Your OpenERP account at %(company)s"
WELCOME_EMAIL_BODY = u"""Dear %(name)s,
# welcome email sent to new portal users (note that calling tools.translate._
# has no effect except exporting those strings for translation)
WELCOME_EMAIL_SUBJECT = _("Your OpenERP account at %(company)s")
WELCOME_EMAIL_BODY = _("""Dear %(name)s,
You have been created an OpenERP account at %(url)s.
@@ -44,7 +45,7 @@ Password: %(password)s
--
OpenERP - Open Source Business Applications
http://www.openerp.com
"""
""")
ROOT_UID = 1