i18n: make emails in lms translatable

The email texts in lms/templates/emails are not extracted by rake i18n:generate because the babel_mako.cfg does not include them.
And a several emails are not translatable because they do not use ugettext.
This commit is contained in:
louyihua
2014-03-25 13:58:49 +08:00
parent 62fdf33c6f
commit 0316f3b758
5 changed files with 34 additions and 28 deletions

View File

@@ -9,3 +9,5 @@ input_encoding = utf-8
input_encoding = utf-8
[mako: cms/templates/emails/**.txt]
input_encoding = utf-8
[mako: lms/templates/emails/**.txt]
input_encoding = utf-8