diff --git a/lms/djangoapps/verify_student/tests/test_views.py b/lms/djangoapps/verify_student/tests/test_views.py index 3561cf429b..69597a756d 100644 --- a/lms/djangoapps/verify_student/tests/test_views.py +++ b/lms/djangoapps/verify_student/tests/test_views.py @@ -309,6 +309,8 @@ class TestVerifiedView(ModuleStoreTestCase): """ def setUp(self): self.user = UserFactory.create(username="abc", password="test") + self.user.profile.name = u"Røøsty Bøøgins" + self.user.save() self.client.login(username="abc", password="test") self.course = CourseFactory.create(org='MITx', number='999.1x', display_name='Verified Course') self.course_id = self.course.id @@ -357,6 +359,8 @@ class TestReverifyView(ModuleStoreTestCase): """ def setUp(self): self.user = UserFactory.create(username="rusty", password="test") + self.user.profile.name = u"Røøsty Bøøgins" + self.user.profile.save() self.client.login(username="rusty", password="test") self.course = CourseFactory.create(org='MITx', number='999', display_name='Robot Super Course') self.course_key = self.course.id diff --git a/lms/templates/verify_student/photo_reverification.html b/lms/templates/verify_student/photo_reverification.html index 21f51adfd1..28d7ca3555 100644 --- a/lms/templates/verify_student/photo_reverification.html +++ b/lms/templates/verify_student/photo_reverification.html @@ -347,8 +347,8 @@
${_("Make sure your full name on your {platform_name} account ({full_name}) matches your ID. We will also use this as the name on your certificate.").format( - full_name="{name}".format(name=user_full_name), +
${_(u"Make sure your full name on your {platform_name} account ({full_name}) matches your ID. We will also use this as the name on your certificate.").format( + full_name=u"{name}".format(name=user_full_name), platform_name=settings.PLATFORM_NAME, )}
${_("Make sure your full name on your {platform_name} account ({full_name}) matches your ID. We will also use this as the name on your certificate.").format( - full_name="{name}".format(name=user_full_name), +
${_(u"Make sure your full name on your {platform_name} account ({full_name}) matches your ID. We will also use this as the name on your certificate.").format( + full_name=u"{name}".format(name=user_full_name), platform_name=settings.PLATFORM_NAME, )}