Account registration and activation text string revisions

This commit is contained in:
Sylvia Pearce
2016-06-16 15:36:21 -04:00
committed by Bill DeRusha
parent 35267e4777
commit 8b1f28d317
15 changed files with 56 additions and 51 deletions

View File

@@ -25,7 +25,7 @@ from django.core.urlresolvers import reverse
%if user_logged_in:
${_("Visit your {link_start}dashboard{link_end} to see your courses.").format(link_start='<a href="/">', link_end='</a>')}
%else:
${_("You can now {link_start}login{link_end}.").format(link_start='<a href="{url}">'.format(url=reverse('login')), link_end='</a>')}
${_("You can now {link_start}sign in{link_end}.").format(link_start='<a href="{url}">'.format(url=reverse('login')), link_end='</a>')}
%endif
</p>
</section>

View File

@@ -1,3 +1,3 @@
<%! from django.utils.translation import ugettext as _ %>
<h1>Check your email</h1>
<p>${_("An activation link has been sent to {email}, along with instructions for activating your account.").format(email=email)}</p>
<p>${_("We've sent an email message to {email} with instructions for activating your account.").format(email=email)}</p>