Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
8d096b6e
Commit
8d096b6e
authored
Oct 30, 2016
by
Jillian Vogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR review: ensure all template text is translated.
parent
432c1b9a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
29 deletions
+23
-29
problem_builder/templates/html/instructor_tool.html
+7
-7
problem_builder/templates/html/mentoring-table-container.html
+4
-10
problem_builder/templates/html/mentoring.html
+6
-6
problem_builder/templates/html/mentoring_with_steps.html
+6
-6
No files found.
problem_builder/templates/html/instructor_tool.html
View file @
8d096b6e
...
...
@@ -10,7 +10,7 @@
<div
class=
"data-export-field"
>
<label>
<span>
{% trans "Username[s]:" %}
</span>
<input
type=
"text"
name=
"usernames"
title=
"
Enter one or more usernames, comma separated.
"
/>
<input
type=
"text"
name=
"usernames"
title=
"
{% trans "
Enter
one
or
more
usernames
,
comma
separated
."
%}
"
/>
</label>
</div>
</div>
...
...
@@ -45,7 +45,7 @@
<label>
<span>
{% trans "Problem types:" %}
</span>
<select
name=
"block_types"
>
<option
value=
"all"
>
All
</option>
<option
value=
"all"
>
{% trans "All" %}
</option>
{% for label, value in block_choices.items %}
<option
value=
"{{value}}"
>
{{label}}
</option>
{% endfor %}
...
...
@@ -54,7 +54,7 @@
</div>
</div>
<div
class=
"data-export-actions"
>
<button
class=
"data-export-start"
>
Search
</button>
<button
class=
"data-export-start"
>
{% trans "Search" %}
</button>
</div>
</div>
</div>
...
...
@@ -77,11 +77,11 @@
</table>
<div
class=
"data-export-info"
></div>
<div
class=
"data-export-result-actions"
>
<button
id=
"first-page"
>
First
</button>
<button
id=
"prev-page"
>
Prev
</button>
<button
id=
"first-page"
>
{% trans "First" %}
</button>
<button
id=
"prev-page"
>
{% trans "Prev" %}
</button>
<span
id=
"current-page"
></span>
/
<span
id=
"total-pages"
></span>
<button
id=
"next-page"
>
Next
</button>
<button
id=
"last-page"
>
Last
</button>
<button
id=
"next-page"
>
{% trans "Next" %}
</button>
<button
id=
"last-page"
>
{% trans "Last" %}
</button>
</div>
</div>
...
...
problem_builder/templates/html/mentoring-table-container.html
View file @
8d096b6e
...
...
@@ -12,7 +12,7 @@
</select>
{% endif %}
<button
class=
"mentoring-share-button"
>
<i
class=
"fa fa-share-alt"
></i>
Share
<i
class=
"fa fa-share-alt"
></i>
{% trans "Share" %}
</button>
<div
class=
"mentoring-share-with"
style=
"display: none;"
>
<div
class=
"shared-with-container"
></div>
...
...
@@ -24,21 +24,15 @@
<div
class=
"share-errors"
></div>
</div>
<div
class=
"share-action-buttons"
>
<button
class=
"do-share-button"
>
Share
</button>
<button
class=
"do-share-button"
>
{% trans "Share" %}
</button>
</div>
</div>
{% if share_notifications %}
<div
class=
"share-notification"
data-shared=
"{{share_notifications}}"
>
<a
class=
"notification-close"
><i
class=
"fa fa-close"
></i></a>
<p><strong>
{% trans "Map added!" %}
</strong></p>
<p>
{% blocktrans %}
Another user has shared a map with you.
</p>
<p>
You can change the user you're currently displaying using the drop-down selector above.
{% endblocktrans %}
</p>
<p>
{% trans "Another user has shared a map with you." %}
</p>
<p>
{% trans "You can change the user you're currently displaying using the drop-down selector above." %}
</p>
</div>
{% endif %}
</div>
...
...
problem_builder/templates/html/mentoring.html
View file @
8d096b6e
...
...
@@ -41,12 +41,12 @@
<span
class=
"assessment-checkmark fa icon-2x"
></span>
{% endif %}
<input
type=
"button"
class=
"input-main"
value=
"
Submit
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-main"
value=
"
{% trans "
Submit
"
%}
"
disabled=
"disabled"
/>
{% if self.mode == 'assessment' %}
<input
type=
"button"
class=
"input-next"
value=
"
Next Question
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-review"
value=
"
Review grade
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-try-again"
value=
"
Try again
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-next"
value=
"
{% trans "
Next
Question
"
%}
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-review"
value=
"
{% trans "
Review
grade
"
%}
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-try-again"
value=
"
{% trans "
Try
again
"
%}
"
disabled=
"disabled"
/>
{% endif %}
<div
class=
"attempts"
data-max_attempts=
"{{ self.max_attempts }}"
data-num_attempts=
"{{ self.num_attempts }}"
></div>
...
...
@@ -55,10 +55,10 @@
<div
class=
"messages"
></div>
<div
class=
"assessment-review-tips"
></div>
</div>
<div
class=
"review-link"
><a
href=
"#"
>
Review final grade
</a></div>
<div
class=
"review-link"
><a
href=
"#"
>
{% trans "Review final grade" %}
</a></div>
<p
class=
"copyright"
>
Copyright
©
2013
–
2015 OpenCraft, Harvard, edX, McKinsey, and The People's Science, released under the
<a
target=
"_blank"
href=
"https://github.com/open-craft/problem-builder/blob/master/LICENSE"
>
APGLv3 license
</a>
<a
target=
"_blank"
href=
"https://github.com/open-craft/problem-builder/blob/master/LICENSE"
>
{% trans "APGLv3 license" %}
</a>
</p>
</div>
problem_builder/templates/html/mentoring_with_steps.html
View file @
8d096b6e
...
...
@@ -17,10 +17,10 @@
<span
class=
"step-overall-checkmark fa icon-2x fa-fw"
aria-label=
""
data-label_correct=
"{% trans "
Correct
"
%}"
data-label_incorrect=
"{% trans "
Incorrect
"
%}"
data-label_partial=
"{% trans "
Partially
correct
"
%}"
></span>
<input
type=
"button"
class=
"input-main"
value=
"
Submit
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-next"
value=
"
Next Step
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-review"
value=
"
Review grade
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-try-again"
value=
"
Try again
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-main"
value=
"
{% trans "
Submit
"
%}
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-next"
value=
"
{% trans "
Next
Step
"
%}
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-review"
value=
"
{% trans "
Review
grade
"
%}
"
disabled=
"disabled"
/>
<input
type=
"button"
class=
"input-try-again"
value=
"
{% trans "
Try
again
"
%}
"
disabled=
"disabled"
/>
<div
class=
"attempts"
data-max_attempts=
"{{ self.max_attempts }}"
data-num_attempts=
"{{ self.num_attempts }}"
>
...
...
@@ -28,11 +28,11 @@
</div>
</div>
<div
class=
"review-link"
><a
href=
"#"
>
Review final grade
</a></div>
<div
class=
"review-link"
><a
href=
"#"
>
{% trans "Review final grade" %}
</a></div>
<p
class=
"copyright"
>
Copyright
©
2013
–
2015 OpenCraft, Harvard, edX, McKinsey, and The People's Science, released under the
<a
target=
"_blank"
href=
"https://github.com/open-craft/problem-builder/blob/master/LICENSE"
>
APGLv3 license
</a>
<a
target=
"_blank"
href=
"https://github.com/open-craft/problem-builder/blob/master/LICENSE"
>
{% trans "APGLv3 license" %}
</a>
</p>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment