Use gettext instead of ugettext for Mako templates.

[LMS-1680]