Commit Graph

2 Commits

Author SHA1 Message Date
Zach Pendleton 126246bba5 respect course/account locale settings in notifications.
fixes #10690

previously, notifications only considered user locale settings
when translating; they now consider the context as well.

test plan:
  * create a course with a spanish or russian locale;
  * enroll an english user in the course;
  * verify that the enrollment email is sent in the course
    locale and not the user locale.

Change-Id: Ib942f35dff770ec02aa4e39880a5234e318f26a9
Reviewed-on: https://gerrit.instructure.com/14103
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2012-10-08 13:17:10 -06:00
Brian Whitmer 8b8173dcc9 Initial commit.
closes #6988138
2011-01-31 18:57:29 -07:00