Skip to content

Commit

Permalink
Merge pull request #565 from edx/adam/i18n-bug-fixes
Browse files Browse the repository at this point in the history
more template fixes for faq, press, and help
  • Loading branch information
adampalay committed Aug 5, 2013
2 parents 0e2f5fd + d0a3607 commit ad73feb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lms/templates/static_templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2>${_("{harvard_university}").format(harvard_university="Harvard University")}
<article>
<h2>${_("{massachusetts_institute_of_technology}").format(massachusetts_institute_of_technology="Massachusetts Institute of Technology")}</h2>
<p>${_("The {massachusetts_institute_of_technology} &mdash; a coeducational, privately endowed research university founded in 1861 &mdash; is dedicated to advancing knowledge and educating students in science, technology, and other areas of scholarship that will best serve the nation and the world in the 21st century. The Institute has close to 1,000 faculty and 10,000 undergraduate and graduate students. It is organized into five Schools: Architecture and Urban Planning; Engineering; Humanities, Arts, and Social Sciences; {Sloan} School of Management; and Science.").format(massachusetts_institute_of_technology="Massachusetts Institute of Technology", Sloan="Sloan")}</p>
<p>${_("{MIT}'s commitment to innovation has led to a host of scientific breakthroughs and technological advances. Achievements of the Institute's faculty and graduates have included the first chemical synthesis of penicillin and vitamin A, the development of inertial guidance systems, modern technologies for artificial limbs, and the magnetic core memory that made possible the development of digital computers. 78 alumni, faculty, researchers and staff have won Nobel Prizes.")}</p>
<p>${_("{MIT}'s commitment to innovation has led to a host of scientific breakthroughs and technological advances. Achievements of the Institute's faculty and graduates have included the first chemical synthesis of penicillin and vitamin A, the development of inertial guidance systems, modern technologies for artificial limbs, and the magnetic core memory that made possible the development of digital computers. 78 alumni, faculty, researchers and staff have won Nobel Prizes.").format(MIT="MIT")}</p>
<p>${_("Current areas of research and education include neuroscience and the study of the brain and mind, bioengineering, cancer, energy, the environment and sustainable development, information sciences and technology, new media, financial technology, and entrepreneurship.")}</p>
</article>
</section>
Expand Down
16 changes: 8 additions & 8 deletions lms/templates/static_templates/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h2>${_("Organization")}</h2>
<article class="response">
<h3>${_("What is {edX}?").format(edX="edX")}</h3>
<p>${_('{edX} is a not-for-profit enterprise of its founding partners, the {MIT_long} ({MIT}) and {harvard_u} that offers online learning to on-campus students and to millions of people around the world. To do so, {edX} is building an open-source online learning platform and hosts an online web portal at <a href=\"http://www.edx.org\">www.edx.org</a> for online education.').format(edX="edX", MIT_long="Massachusetts Institute of Technology", MIT="MIT", harvard_u="Harvard University")}</p>
<p>${_('{EdX} is a not-for-profit enterprise of its founding partners, the {MIT_long} ({MIT}) and {harvard_u} that offers online learning to on-campus students and to millions of people around the world. To do so, {edX} is building an open-source online learning platform and hosts an online web portal at <a href=\"http://www.edx.org\">www.edx.org</a> for online education.').format(EdX="EdX", edX="edX", MIT_long="Massachusetts Institute of Technology", MIT="MIT", harvard_u="Harvard University")}</p>
<p>${_("{EdX} currently offers {HarvardX}, {MITx} and {BerkeleyX} classes online for free. Beginning in fall 2013, {edX} will offer {WellesleyX} , {GeorgetownX} and the {UTexas} classes online for free. The {UT} System includes nine universities and six health institutions. In 2014, {edX} will further expand its consortium, including several international schools, when it begins offering courses from {EPFL}, {McGill}, {Toronto}, {ANU}, {Delft}, and {Rice}. The {edX} institutions aim to extend their collective reach to build a global community of online students. Along with offering online courses, the three universities undertake research on how students learn and how technology can transform learning both on-campus and online throughout the world.").format(
EdX="EdX",
edX="edX",
Expand All @@ -32,7 +32,7 @@ <h3>${_("What is {edX}?").format(edX="edX")}</h3>
GeorgetownX="GeorgetownX",
UTexas="University of Texas System",
UT="UT",
EPFL="École Polytechnique Fédérale de Lausanne",
EPFL=u"École Polytechnique Fédérale de Lausanne",
McGill="McGill University",
Toronto="University of Toronto",
ANU="Australian National University",
Expand All @@ -44,27 +44,27 @@ <h3>${_("What is {edX}?").format(edX="edX")}</h3>

<article class="response">
<h3>${_("Will {edX} be adding additional X Universities?").format(edX="edX")}</h3>
<p>${_("More than 200 institutions from around the world have expressed interest in collaborating with {edX} since {Harvard} and {MIT} announced its creation in May. {EdX} is focused above all on quality and developing the best not-for-profit model for online education. In addition to providing online courses on the {edX} platform, the {x_consortium} will be a forum in which members can share experiences around online learning. {Harvard}, {MIT}, {Berkeley}, the {UTexas} and the other {consortium} members will work collaboratively to establish the {\"X_University\" Consortium}, whose membership will expand to include additional \"{X_Universities}.\" As noted above, {edX}'s newest {consortium} members include {Wellesley}, {Georgetown}, {EPFL}, {McGill}, {Toronto}, {ANU}, {Delft}, and {Rice}. Each member of the {consortium} will offer courses on the {edX} platform as an \"{X_University}\". The gathering of many universities' educational content together on one site will enable learners worldwide to access the offered course content of any participating university from a single website, and to use a set of online educational tools shared by all participating universities.").format(
<p>${_("More than 200 institutions from around the world have expressed interest in collaborating with {edX} since {Harvard} and {MIT} announced its creation in May. {EdX} is focused above all on quality and developing the best not-for-profit model for online education. In addition to providing online courses on the {edX} platform, the {x_consortium} will be a forum in which members can share experiences around online learning. {Harvard}, {MIT}, {Berkeley}, the {UTexas} and the other {consortium} members will work collaboratively to establish the {x_consortium}, whose membership will expand to include additional \"{X_Universities}.\" As noted above, {edX}'s newest {consortium} members include {Wellesley}, {Georgetown}, {EPFL}, {McGill}, {Toronto}, {ANU}, {Delft}, and {Rice}. Each member of the {consortium} will offer courses on the {edX} platform as an \"{X_University}\". The gathering of many universities' educational content together on one site will enable learners worldwide to access the offered course content of any participating university from a single website, and to use a set of online educational tools shared by all participating universities.").format(
EdX="EdX",
edX="edX",
Harvard="Harvard",
MIT="MIT",
x_consortium="\"X_University\" Consortium",
x_consortium="\"X University\" Consortium",
consortium="consortium",
X_Universities="X Universities",
X_University="X University",
Berkeley="UC Berkeley",
Wellesley="Wellesley",
Georgetown="Georgetown",
UTexas="University of Texas System",
EPFL="École Polytechnique Fédérale de Lausanne",
EPFL=u"École Polytechnique Fédérale de Lausanne",
McGill="McGill University",
Toronto="University of Toronto",
ANU="Australian National University",
Delft="Delft University of Technology",
Rice="Rice University",
)}</p>
<p>${_("{edX} will actively explore the addition of other institutions from around the world to the {edX} platform, and looks forward to adding more \"{X Universities}\".").format(edX="edX", X_Universities="X Universities")}
<p>${_("{EdX} will actively explore the addition of other institutions from around the world to the {edX} platform, and looks forward to adding more \"{X_Universities}\".").format(EdX="EdX", edX="edX", X_Universities="X Universities")}
</p>
</article>
</section>
Expand All @@ -79,7 +79,7 @@ <h3>${_("Who can take {edX} courses? Will there be an admissions process?").form
<h3>${_("Will certificates be awarded?")}</h3>
<p>${_("Yes. Online learners who demonstrate mastery of subjects can earn a certificate "
"of mastery. Certificates will be issued at the discretion of {edX} and the underlying "
"{X_University} that offered the course under the name of the underlying \"{X_University}\" from where the course originated, i.e. {HarvardX}, {MITx} or {BerkeleyX}. "
"\"{X_University}\" that offered the course under the name of the underlying \"{X_University}\" from where the course originated, i.e. {HarvardX}, {MITx} or {BerkeleyX}. "
"For the courses in Fall 2012, those certificates will be free. There is a plan to "
"charge a modest fee for certificates in the future. Note: At this time, {edX} is "
"holding certificates for learners connected with Cuba, Iran, Syria and Sudan "
Expand All @@ -102,7 +102,7 @@ <h3>${_("How do you intend to test whether this approach is improving learning?"
<p>${_("{EdX} institutions have assembled faculty members who will collect and analyze data to assess results and the impact {edX} is having on learning.").format(EdX="EdX", edX="edX")}</p>
</article>
<article class="response">
<h3>${_("How may I apply to study with {edX}?")}</h3>
<h3>${_("How may I apply to study with {edX}?").format(edX="edX")}</h3>
<p>${_('Simply complete the online {link_start}signup form{link_end}. Enrolling will create your unique student record in the {edX} database, allow you to register for classes, and to receive a certificate on successful completion.').format(link_start='<a href="#signup-modal" rel="leanModal">', link_end='</a>', edX="edX")}</p>
</article>
<article class="response">
Expand Down
4 changes: 2 additions & 2 deletions lms/templates/static_templates/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h3 class="question">${_("How can I meet/find other students?")}</h3>
<article class="response">
<h3 class="question">${_("How can I talk to professors, fellows and teaching assistants?")}</h3>
<div class ="answer" id="classes_faq_answer_9">
<p>${_("The Discussion Forums are the best place to reach out to the {edX} teaching team for your class, and you don\'t have to wait in line or rearrange your schedule to fit your professor'\s - just post your questions. The response isn\'t always immediate, but it\'s usually pretty darned quick.").format(edX="edX")}</p>
<p>${_("The Discussion Forums are the best place to reach out to the {edX} teaching team for your class, and you don\'t have to wait in line or rearrange your schedule to fit your professor\'s - just post your questions. The response isn\'t always immediate, but it\'s usually pretty darned quick.").format(edX="edX")}</p>
</div>
</article>

Expand Down Expand Up @@ -319,7 +319,7 @@ <h3 class="question">${_("How can I help {edX}?").format(edX="edX")}</h3>
<a href="#classes_faq">${_("The Classes")}</a>
<a href="#certificates_and_credits_faq">${_("Certificates and Credits")}</a>
<a href="#open_source_faq">${_("{edX} & Open source").format(edX="edX")}</a>
<a href="#other_help_faq">$${_("Other Help Questions - Account Questions")}</a>
<a href="#other_help_faq">${_("Other Help Questions - Account Questions")}</a>
</nav>

</section>
Expand Down
4 changes: 3 additions & 1 deletion lms/templates/static_templates/press.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
% for article in articles:
<article class="press-story">
<div class="article-cover">
<a href="${article.url}" target="_blank"/>${"<img src='%s' />" % static.url('images/press/' + article.image)}</a>
<a href="${article.url}" target="_blank"/>
<img src="${static.url('images/press/' + article.image)}" />
</a>
</div>
<div class="press-info">
<header>
Expand Down

0 comments on commit ad73feb

Please sign in to comment.