diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 79c6e65ee3..69cba764ea 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -185,13 +185,14 @@ %endif % if is_course_blocked:

- ${_("You can no longer access this course because payment has not yet been received. You - can {link_start}contact the account holder{link_end} to request payment, or you can - {unenroll_link_start}unenroll{unenroll_link_end} from this course").format( - link_start='', - link_end='', - unenroll_link_start='', - unenroll_link_end="")} + ${_("You can no longer access this course because payment has not yet been received. You " + "can {link_start}contact the account holder{link_end} to request payment, or you can " + "{unenroll_link_start}unenroll{unenroll_link_end} from this course").format( + link_start='', + link_end='', + unenroll_link_start='', + unenroll_link_end="" + )}

%endif diff --git a/lms/templates/emails/account_creation_and_enroll_emailMessage.txt b/lms/templates/emails/account_creation_and_enroll_emailMessage.txt index b2c5703b33..364a8f6f2f 100644 --- a/lms/templates/emails/account_creation_and_enroll_emailMessage.txt +++ b/lms/templates/emails/account_creation_and_enroll_emailMessage.txt @@ -9,6 +9,6 @@ ${_("password: {password}").format(password=password)} ${_("It is recommended that you change your password.")} -${_("Sincerely yours, - -The {course_name} Team").format(course_name=course.display_name_with_default)} +${_("Sincerely yours," +"" +"The {course_name} Team").format(course_name=course.display_name_with_default)} diff --git a/lms/templates/emails/business_order_confirmation_email.txt b/lms/templates/emails/business_order_confirmation_email.txt index 40bd104288..87f414c144 100644 --- a/lms/templates/emails/business_order_confirmation_email.txt +++ b/lms/templates/emails/business_order_confirmation_email.txt @@ -46,9 +46,11 @@ ${_('Company Contact Name:')} ${order.company_contact_name}
${_('Company Contact Email:')} ${order.company_contact_email}
%endif % if order.recipient_name: +# Translators: this will be the name of a person receiving an email ${_('Recipient Name:')} ${order.recipient_name}
%endif % if order.recipient_email: +# Translators: this will be the email address of a person receiving an email ${_('Recipient Email:')} ${order.recipient_email}
%endif @@ -65,11 +67,14 @@ ${order.bill_to_country.upper()}

${_("A CSV file of your registration URLs is attached. Please distribute registration URLs to each student planning to enroll using the email template below.")}

-

${_("Warm regards,")}
% if payment_email_signature: +# Translators: This is followed by the instructor or course team name (so could be singular or plural) +

${_("Warm regards,")}
${payment_email_signature} % else: -${_("The {platform_name} Team").format(platform_name=platform_name)} +# Translators: The
is a line break (empty line), please keep this html in the string after the sign off. +

${_("Warm regards,
" +"The {platform_name} Team").format(platform_name=platform_name)} %endif

@@ -77,17 +82,22 @@ ${_("The {platform_name} Team").format(platform_name=platform_name)} ——————————————————————————————————————————— -

Dear [[Name]]

+# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. +

${_("Dear [[Name]]")}

-

To enroll in ${course_names} we have provided a registration URL for you. Please follow the instructions below to claim your access.

+

${_("To enroll in ${course_names} we have provided a registration URL for you. Please follow the instructions below to claim your access.")}

-

Your redeem url is: [[Enter Redeem URL here from the attached CSV]]

+# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. +

${_("Your redeem url is: [[Enter Redeem URL here from the attached CSV]]")}

-

${_("(1) Register for an account at https://{site_name}.").format(site_name=site_name)}
+

${_("(1) Register for an account at {site_name}").format(site_name=u"https://{sn}".format(sn=site_name))}
${_("(2) Once registered, copy the redeem URL and paste it in your web browser.")}
${_("(3) On the enrollment confirmation page, Click the 'Activate Enrollment Code' button. This will show the enrollment confirmation.")}
-${_("(4) You should be able to click on 'view course' button or see your course on your student dashboard at https://{dashboard_url}").format(dashboard_url=dashboard_url)}
+${_("(4) You should be able to click on 'view course' button or see your course on your student dashboard at {url}").format( + url=u"https://{dashboard_url}".format(dashboard_url=dashboard_url) +)}
${_("(5) Course materials will not be available until the course start date.")}

-

Sincerely,

-

[[Your Signature]]

+# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. Please also keep the

and

HTML tags in place. +${_("

Sincerely,

" +"

[[Your Signature]]

")} diff --git a/lms/templates/emails/registration_codes_sale_email.txt b/lms/templates/emails/registration_codes_sale_email.txt index 77dcce24c9..bf9ed6fc75 100644 --- a/lms/templates/emails/registration_codes_sale_email.txt +++ b/lms/templates/emails/registration_codes_sale_email.txt @@ -6,26 +6,29 @@ ${_("An invoice for {currency_symbol}{total_price} is attached. Payment is due i ${_("A CSV file of your registration codes is attached. Please distribute registration codes to each student planning to enroll using the email template below.")} -${_("Thanks, -Your {platform_name} Team").format(platform_name=platform_name)} +${_("Thanks," +"The {platform_name} Team").format(platform_name=platform_name)} ——————————————————————————————————————————— +# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. ${_("Dear [[Name]]:")} ${_("We have provided an enrollment for you in the course {course_name} from {platform_name}. Please follow the instructions below to claim your access.").format(course_name=course.display_name, platform_name=platform_name)} +# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. ${_("Your redeem code is: [[Enter Redeem Code here from the attached CSV]]")} -${_("(1) Register for an account at https://{site_name}.").format(site_name=site_name)} -${_("(2) Once registered, navigate to https://{course_url}").format(course_url=course_url)} +${_("(1) Register for an account at {site_name}.").format(site_name=u"https://{}".format(site_name))} +${_("(2) Once registered, navigate to {course_url}").format(course_url=u"https://{}".format(course_url))} ${_("(3) Click 'Add {course_number} to Cart'").format(course_number=course.display_coursenumber)} -${_("(4) On the shopping cart page, enter your redeem code and click apply code. This will make payment equal to $0.")} +${_("(4) On the shopping cart page, enter your redeem code and click 'Apply Code'. This will make payment equal to $0.")} ${_("(5) Click 'Register'")} -${_("(6) You should be able to see your course on your student dashboard at https://{dashboard_url}").format(dashboard_url=dashboard_url)} +${_("(6) You should be able to see your course on your student dashboard at {dashboard_url}").format(dashboard_url=u"https://{}".format(dashboard_url))} ${_("(7) Course materials will not be available until the course start date.")} -${_("Sincerely,")} -${_("[[Your Signature]]")} +# Translators: please translate the text inside [[ ]]. This is meant as a template for course teams to use. +${_("Sincerely," +"[[Your Signature]]")}