Commit 07664389 by Sarina Canelake

Fix Translator comment syntax in Mako templates [TNL-3277]

parent d2659326
...@@ -242,8 +242,8 @@ from edxmako.shortcuts import marketing_link ...@@ -242,8 +242,8 @@ from edxmako.shortcuts import marketing_link
site_domain = microsite.get_value('site_domain', settings.SITE_NAME) site_domain = microsite.get_value('site_domain', settings.SITE_NAME)
platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME) platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME)
# Translators: This text will be automatically posted to the student's ## Translators: This text will be automatically posted to the student's
# Twitter account. {url} should appear at the end of the text. ## Twitter account. {url} should appear at the end of the text.
tweet_text = _("I just registered for {number} {title} through {account}: {url}").format( tweet_text = _("I just registered for {number} {title} through {account}: {url}").format(
number=course.number, number=course.number,
title=get_course_about_section(course, 'title'), title=get_course_about_section(course, 'title'),
......
...@@ -75,7 +75,7 @@ from django.utils.http import urlquote_plus ...@@ -75,7 +75,7 @@ from django.utils.http import urlquote_plus
</div> </div>
%elif is_generating: %elif is_generating:
<div class="msg-content"> <div class="msg-content">
# Translators: This message appears to users when the system is processessing course certificates, which can take a few hours. ## Translators: This message appears to users when the system is processessing course certificates, which can take a few hours.
<h2 class="title">${_("We're working on it...")}</h2> <h2 class="title">${_("We're working on it...")}</h2>
<p class="copy">${_("We're creating your certificate. You can keep working in your courses and a link to it will appear here and on your Dashboard when it is ready.")}</p> <p class="copy">${_("We're creating your certificate. You can keep working in your courses and a link to it will appear here and on your Dashboard when it is ready.")}</p>
</div> </div>
......
...@@ -15,7 +15,7 @@ from django.utils.translation import ungettext ...@@ -15,7 +15,7 @@ from django.utils.translation import ungettext
% if is_course_enrollment_closed: % if is_course_enrollment_closed:
<% <%
# Translators: course_names is a comma-separated list of one or more course names ## Translators: course_names is a comma-separated list of one or more course names
expiry_message = ungettext( expiry_message = ungettext(
"{course_names} has been removed because the enrollment period has closed.", "{course_names} has been removed because the enrollment period has closed.",
"{course_names} have been removed because the enrollment period has closed.", "{course_names} have been removed because the enrollment period has closed.",
......
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