Commit 5f786454 by Felipe Montoya

i18n: Strings for new instructor dashboard

parent 45a1e551
<%! from django.utils.translation import ugettext as _ %>
<%page args="section_data"/>
<h2>Course Information</h2>
<h2>${_("Course Information")}</h2>
<div class="basic-data">
${_("Course Name")}:
......
......@@ -29,7 +29,7 @@
<section class="container">
<div class="instructor-dashboard-wrapper-2">
<div class="olddash-button-wrapper"><a href="${ old_dashboard_url }"> Back to Standard Dashboard </a></div>
<div class="olddash-button-wrapper"><a href="${ old_dashboard_url }"> ${_("Back to Standard Dashboard")} </a></div>
<section class="instructor-dashboard-content-2">
## <h1>Instructor Dashboard</h1>
......
......@@ -19,7 +19,7 @@
## <option>Getting problems...</option>
## </select>
<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")}">
<p>
${_('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(
......@@ -32,7 +32,7 @@
<input type="button" name="reset-attempts-single" value="${_("Reset Student Attempts")}" data-endpoint="${ section_data['reset_student_attempts_url'] }">
%if section_data['access']['instructor']:
<p> You may also delete the entire state of a student for the specified module: </p>
<p> ${_('You may also delete the entire state of a student for the specified module:')} </p>
<input type="button" class="molly-guard" name="delete-state-single" value="${_("Delete Student State for Module")}" data-endpoint="${ section_data['reset_student_attempts_url'] }">
%endif
......@@ -54,7 +54,7 @@
%if settings.MITX_FEATURES.get('ENABLE_INSTRUCTOR_BACKGROUND_TASKS') and section_data['access']['instructor']:
<div class="course-specific-container action-type-container">
<H2>Course-specific grade adjustment</h2>
<H2>${_('Course-specific grade adjustment')}</h2>
<div class="request-response-error"></div>
<p>
......
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