From 43afb9a940a2dca044091c5099d36aa0b3fd473c Mon Sep 17 00:00:00 2001 From: Miles Steele Date: Mon, 12 Aug 2013 13:21:39 -0400 Subject: [PATCH] fix i18n --- .../instructor_dashboard_2/membership.html | 4 ++-- .../instructor_dashboard_2/student_admin.html | 22 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/lms/templates/instructor/instructor_dashboard_2/membership.html b/lms/templates/instructor/instructor_dashboard_2/membership.html index bcccb7fede..eea52cdfc6 100644 --- a/lms/templates/instructor/instructor_dashboard_2/membership.html +++ b/lms/templates/instructor/instructor_dashboard_2/membership.html @@ -37,8 +37,8 @@
-

${_("If auto enroll is")} ${_("checked")}${_(", students who have not yet registered for edX will be automatically enrolled.")} - ${_("If auto enroll is left")} ${_("unchecked")}, ${_("students who have not yet registered for edX will not be enrolled, but will be allowed to enroll.")} +

${_("If auto enroll is checked, students who have not yet registered for edX will be automatically enrolled.")} + ${_("If auto enroll is left unchecked, students who have not yet registered for edX will not be enrolled, but will be allowed to enroll.")}

diff --git a/lms/templates/instructor/instructor_dashboard_2/student_admin.html b/lms/templates/instructor/instructor_dashboard_2/student_admin.html index 047369fc46..2ccef2164c 100644 --- a/lms/templates/instructor/instructor_dashboard_2/student_admin.html +++ b/lms/templates/instructor/instructor_dashboard_2/student_admin.html @@ -22,11 +22,12 @@

Specify a particular problem in the course here by its url:

- ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. ' - '(For example, if the location is i4x://university/course/problem/problemname, ' - 'then just provide the problemname. ' - 'If the location is i4x://university/course/notaproblem/someothername, then ' - 'provide notaproblem/someothername.)')} + ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. (For example, if the location is {location1}, then just provide the {urlname1}. If the location is {location2}, then provide {urlname2}.)').format( + location1="i4x://university/course/problem/problemname", + urlname1="problemname", + location2="i4x://university/course/notaproblem/someothername", + urlname2="notaproblem/someothername") + }

@@ -61,11 +62,12 @@

- ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. ' - '(For example, if the location is i4x://university/course/problem/problemname, ' - 'then just provide the problemname. ' - 'If the location is i4x://university/course/notaproblem/someothername, then ' - 'provide notaproblem/someothername.)')} + ${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. (For example, if the location is {location1}, then just provide the {urlname1}. If the location is {location2}, then provide {urlname2}.)').format( + location1="i4x://university/course/problem/problemname", + urlname1="problemname", + location2="i4x://university/course/notaproblem/someothername", + urlname2="notaproblem/someothername") + }

${_("Then select an action")}: