From 91e120eea0bd84830429203fce60db919b951ae1 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Fri, 21 Mar 2014 14:50:55 -0400 Subject: [PATCH] Unicode strings for server error page --- lms/templates/static_templates/server-error.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lms/templates/static_templates/server-error.html b/lms/templates/static_templates/server-error.html index b63efe7e08..2d459912d0 100644 --- a/lms/templates/static_templates/server-error.html +++ b/lms/templates/static_templates/server-error.html @@ -2,6 +2,12 @@ <%inherit file="../main.html" />
-

${_("There has been a 500 error on the {platform_name} servers").format(platform_name=settings.PLATFORM_NAME)}

-

${_('Please wait a few seconds and then reload the page. If the problem persists, please email us at {email}.').format(email=settings.TECH_SUPPORT_EMAIL)}

+

${_(u"There has been a 500 error on the {platform_name} servers").format( + platform_name=settings.PLATFORM_NAME + )}

+

${_(u'Please wait a few seconds and then reload the page. If the problem persists, please email us at {email}.').format( + email=u'{email}'.format( + email=settings.TECH_SUPPORT_EMAIL + ) + )}