Commit 43afb9a9 by Miles Steele

fix i18n

parent b1074ff1
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
<input type="checkbox" name="auto-enroll" value="${_("Auto-Enroll")}" style="margin-top: 1em;"> <input type="checkbox" name="auto-enroll" value="${_("Auto-Enroll")}" style="margin-top: 1em;">
<label for="auto-enroll">${_("Auto Enroll")}</label> <label for="auto-enroll">${_("Auto Enroll")}</label>
<div class="auto-enroll-hint"> <div class="auto-enroll-hint">
<p> ${_("If auto enroll is")} <span class="emph">${_("checked")}</span>${_(", students who have not yet registered for edX will be automatically enrolled.")} <p> ${_("If auto enroll is <em>checked</em>, students who have not yet registered for edX will be automatically enrolled.")}
${_("If auto enroll is left")} <span class="emph">${_("unchecked")}</span>, ${_("students who have not yet registered for edX will not be enrolled, but will be allowed to enroll.")} ${_("If auto enroll is left <em>unchecked</em>, students who have not yet registered for edX will not be enrolled, but will be allowed to enroll.")}
</p> </p>
</div> </div>
<div class="request-response"></div> <div class="request-response"></div>
......
...@@ -22,11 +22,12 @@ ...@@ -22,11 +22,12 @@
<p> Specify a particular problem in the course here by its url: </p> <p> Specify a particular problem in the course here by its url: </p>
<input type="text" name="problem-select-single" placeholder="${_("Problem urlname")}"> <input type="text" name="problem-select-single" placeholder="${_("Problem urlname")}">
<p> <p>
${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. ' ${_('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(
'(For example, if the location is <tt>i4x://university/course/problem/problemname</tt>, ' location1="<tt>i4x://university/course/problem/problemname</tt>",
'then just provide the <tt>problemname</tt>. ' urlname1="<tt>problemname</tt>",
'If the location is <tt>i4x://university/course/notaproblem/someothername</tt>, then ' location2="<tt>i4x://university/course/notaproblem/someothername</tt>",
'provide <tt>notaproblem/someothername</tt>.)')} urlname2="<tt>notaproblem/someothername</tt>")
}
</p> </p>
<input type="button" name="reset-attempts-single" value="${_("Reset Student Attempts")}" data-endpoint="${ section_data['reset_student_attempts_url'] }"> <input type="button" name="reset-attempts-single" value="${_("Reset Student Attempts")}" data-endpoint="${ section_data['reset_student_attempts_url'] }">
...@@ -61,11 +62,12 @@ ...@@ -61,11 +62,12 @@
<input type="text" name="problem-select-all" size="60"> <input type="text" name="problem-select-all" size="60">
</p> </p>
<p> <p>
${_('You may use just the "urlname" if a problem, or "modulename/urlname" if not. ' ${_('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(
'(For example, if the location is <tt>i4x://university/course/problem/problemname</tt>, ' location1="<tt>i4x://university/course/problem/problemname</tt>",
'then just provide the <tt>problemname</tt>. ' urlname1="<tt>problemname</tt>",
'If the location is <tt>i4x://university/course/notaproblem/someothername</tt>, then ' location2="<tt>i4x://university/course/notaproblem/someothername</tt>",
'provide <tt>notaproblem/someothername</tt>.)')} urlname2="<tt>notaproblem/someothername</tt>")
}
</p> </p>
<p> <p>
${_("Then select an action")}: ${_("Then select an action")}:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment