Commit c7cf0c6d by Ned Batchelder

Fixes to Translator comments found while debugging the i18n pipeline.

parent 2157b4d8
...@@ -94,7 +94,6 @@ require(["domReady!", "gettext", "js/views/feedback_prompt"], function(doc, gett ...@@ -94,7 +94,6 @@ require(["domReady!", "gettext", "js/views/feedback_prompt"], function(doc, gett
<h2 class="title">${_("About Exporting Courses")}</h2> <h2 class="title">${_("About Exporting Courses")}</h2>
<div class="copy"> <div class="copy">
## Translators: ".tar.gz" is a file extension, and should not be translated ## Translators: ".tar.gz" is a file extension, and should not be translated
<p>${_("You can export courses and edit them outside of Studio. The exported file is a .tar.gz file (that is, a .tar file compressed with GNU Zip) that contains the course structure and content. You can also re-import courses that you've exported.").format(em_start='<strong>', em_end="</strong>")}</p> <p>${_("You can export courses and edit them outside of Studio. The exported file is a .tar.gz file (that is, a .tar file compressed with GNU Zip) that contains the course structure and content. You can also re-import courses that you've exported.").format(em_start='<strong>', em_end="</strong>")}</p>
</div> </div>
</div> </div>
......
...@@ -126,20 +126,16 @@ ...@@ -126,20 +126,16 @@
<aside class="content-supplementary" role="complimentary"> <aside class="content-supplementary" role="complimentary">
<div class="bit"> <div class="bit">
<h3 class="title-3">${_("Why import a course?")}</h3> <h3 class="title-3">${_("Why import a course?")}</h3>
## Translators: ".tar.gz" is a file extension, and files with that extension are called "gzipped tar files": these terms should not be translated
<p>${_("You may want to run a new version of an existing course, or replace an existing course altogether. Or, you may have developed a course outside Studio.")}</p> <p>${_("You may want to run a new version of an existing course, or replace an existing course altogether. Or, you may have developed a course outside Studio.")}</p>
</div> </div>
<div class="bit"> <div class="bit">
<h3 class="title-3">${_("What content is imported?")}</h3> <h3 class="title-3">${_("What content is imported?")}</h3>
## Translators: ".tar.gz" is a file extension, and files with that extension are called "gzipped tar files": these terms should not be translated
<p>${_("Only the course content and structure (including sections, subsections, and units) are imported. Other data, including student data, grading information, discussion forum data, course settings, and course team information, remains the same as it was in the existing course.")}</p> <p>${_("Only the course content and structure (including sections, subsections, and units) are imported. Other data, including student data, grading information, discussion forum data, course settings, and course team information, remains the same as it was in the existing course.")}</p>
</div> </div>
<div class="bit"> <div class="bit">
## Translators: ".tar.gz" is a file extension, and should not be translated
<h3 class="title-3">${_("Warning: Importing while a course is running")}</h3> <h3 class="title-3">${_("Warning: Importing while a course is running")}</h3>
<p>${_("If you perform an import while your course is running, and you change the URL names (or url_name nodes) of any Problem components, the student data associated with those Problem components may be lost. This data includes students' problem scores.")}</p> <p>${_("If you perform an import while your course is running, and you change the URL names (or url_name nodes) of any Problem components, the student data associated with those Problem components may be lost. This data includes students' problem scores.")}</p>
</div> </div>
</aside> </aside>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<%inherit file="/main.html" /> <%inherit file="/main.html" />
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='../static_content.html'/>
<%block name="bodyclass">courseware</%block> <%block name="bodyclass">courseware</%block>
## Translators: "edX" should *not* be translated
<%block name="title"><title>${_("Courseware")} - ${settings.PLATFORM_NAME}</title></%block> <%block name="title"><title>${_("Courseware")} - ${settings.PLATFORM_NAME}</title></%block>
<%block name="headextra"> <%block name="headextra">
......
...@@ -21,9 +21,7 @@ ...@@ -21,9 +21,7 @@
<pre>{% trans "[Article Name](wiki:ArticleName)" %}</pre> <pre>{% trans "[Article Name](wiki:ArticleName)" %}</pre>
</section> </section>
<section> <section>
{% comment %} {# Translators: Do not translate "edX" #}
Translators: Do not translate "edX"
{% endcomment %}
<h3>{% trans "edX Additions:" %}</h3> <h3>{% trans "edX Additions:" %}</h3>
<pre>circuit-schematic:</pre> <pre>circuit-schematic:</pre>
<pre>$LaTeX Math Expression$</pre> <pre>$LaTeX Math Expression$</pre>
...@@ -34,12 +32,9 @@ ...@@ -34,12 +32,9 @@
<section> <section>
<h3>{% trans "Useful examples:" %}</h3> <h3>{% trans "Useful examples:" %}</h3>
<pre> <pre>
{% comment %} http://wikipedia.org
Translators: Do not translate "edX" or "Wikipedia" [Wikipedia](http://wikipedia.org)
{% endcomment %} [edX Wiki](wiki:/edx/)
{% trans "http://wikipedia.org" %}
{% trans "[Wikipedia](http://wikipedia.org)" %}
{% trans "[edX Wiki](wiki:/edx/)" %}
</pre> </pre>
<pre> <pre>
{% trans "Huge Header" %} {% trans "Huge Header" %}
...@@ -48,8 +43,10 @@ ...@@ -48,8 +43,10 @@
{% trans "Smaller Header" %} {% trans "Smaller Header" %}
--------------</pre> --------------</pre>
<pre> <pre>
{# Translators: Leave the punctuation, but translate "emphasis" #}
{% trans "*emphasis* or _emphasis_" %}</pre> {% trans "*emphasis* or _emphasis_" %}</pre>
<pre> <pre>
{# Translators: Leave the punctuation, but translate "strong" #}
{% trans "**strong** or __strong__" %}</pre> {% trans "**strong** or __strong__" %}</pre>
<pre> <pre>
- {% trans "Unordered List" %} - {% trans "Unordered List" %}
......
{% load i18n %} {% load i18n %}
<textarea {{ attrs }}>{{ content }}</textarea> <textarea {{ attrs }}>{{ content }}</textarea>
<p id="hint_id_content" class="help-block"> <p id="hint_id_content" class="help-block">
{% comment %} {% blocktrans with start_link="<a id='cheatsheetLink' href='#cheatsheetModal' rel='leanModal'>" end_link="</a>" %}
Translators: Do not translate 'cheatsheetLink' Markdown syntax is allowed. See the {{ start_link }}cheatsheet{{ end_link }} for help.
{% endcomment %} {% endblocktrans %}
{% blocktrans with start_link="<a id='cheatsheetLink' href='#cheatsheetModal' rel='leanModal'>" end_link="</a>" %}
Markdown syntax is allowed. See the {{ start_link }}cheatsheet{{ end_link }} for help.
{% endblocktrans %}
</p> </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