Commit 56b11962 by Daniel Friedman

Fix accidental extra escaping

parent 679cdc37
...@@ -9,8 +9,8 @@ from django.utils.translation import ugettext as _ ...@@ -9,8 +9,8 @@ from django.utils.translation import ugettext as _
<div class="wrapper-mast wrapper sr"> <div class="wrapper-mast wrapper sr">
<header class="mast"> <header class="mast">
<h1 class="page-header"> <h1 class="page-header">
${_("{studio_name} Account Activation").format( ${Text(_("{studio_name} Account Activation")).format(
studio_name=Text(settings.STUDIO_SHORT_NAME) studio_name=Text(settings.STUDIO_SHORT_NAME),
)} )}
</h1> </h1>
</header> </header>
...@@ -26,7 +26,7 @@ from django.utils.translation import ugettext as _ ...@@ -26,7 +26,7 @@ from django.utils.translation import ugettext as _
<h1 class="title">${_("Your account activation is complete!")}</h1> <h1 class="title">${_("Your account activation is complete!")}</h1>
<div class="copy"> <div class="copy">
<p> <p>
${_("Thank you for activating your account. You may now sign in and start using {studio_name} to author courses.").format( ${Text(_("Thank you for activating your account. You may now sign in and start using {studio_name} to author courses.")).format(
studio_name=Text(settings.STUDIO_NAME) studio_name=Text(settings.STUDIO_NAME)
)} )}
</p> </p>
...@@ -36,7 +36,7 @@ from django.utils.translation import ugettext as _ ...@@ -36,7 +36,7 @@ from django.utils.translation import ugettext as _
<ul class="list-actions"> <ul class="list-actions">
<li class="action-item"> <li class="action-item">
<a href="/signin" class="action-primary action-signin"> <a href="/signin" class="action-primary action-signin">
${_("Sign into {studio_name}").format( ${Text(_("Sign into {studio_name}")).format(
studio_name=Text(settings.STUDIO_SHORT_NAME) studio_name=Text(settings.STUDIO_SHORT_NAME)
)} )}
</a> </a>
......
...@@ -9,7 +9,7 @@ from django.utils.translation import ugettext as _ ...@@ -9,7 +9,7 @@ from django.utils.translation import ugettext as _
<div class="wrapper-mast wrapper sr"> <div class="wrapper-mast wrapper sr">
<header class="mast"> <header class="mast">
<h1 class="page-header"> <h1 class="page-header">
${_("{studio_name} Account Activation").format( ${Text(_("{studio_name} Account Activation")).format(
studio_name=Text(settings.STUDIO_SHORT_NAME) studio_name=Text(settings.STUDIO_SHORT_NAME)
)} )}
</h1> </h1>
...@@ -27,7 +27,7 @@ from django.utils.translation import ugettext as _ ...@@ -27,7 +27,7 @@ from django.utils.translation import ugettext as _
<div class="copy"> <div class="copy">
<p>${_("We're sorry. Something went wrong with your activation. Check to make sure the URL you went to was correct, as e-mail programs will sometimes split it into two lines.")}</p> <p>${_("We're sorry. Something went wrong with your activation. Check to make sure the URL you went to was correct, as e-mail programs will sometimes split it into two lines.")}</p>
<p> <p>
${_("If you still have issues, contact {platform_name} Support. In the meantime, you can also return to {link_start}the {studio_name} homepage.{link_end}").format( ${Text(_("If you still have issues, contact {platform_name} Support. In the meantime, you can also return to {link_start}the {studio_name} homepage.{link_end}")).format(
platform_name=Text(settings.PLATFORM_NAME), platform_name=Text(settings.PLATFORM_NAME),
studio_name=Text(settings.STUDIO_NAME), studio_name=Text(settings.STUDIO_NAME),
link_start=HTML('<a href="/">'), link_start=HTML('<a href="/">'),
......
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