diff --git a/lms/djangoapps/shoppingcart/models.py b/lms/djangoapps/shoppingcart/models.py index c74ce8784c..d2e1e082fb 100644 --- a/lms/djangoapps/shoppingcart/models.py +++ b/lms/djangoapps/shoppingcart/models.py @@ -367,7 +367,8 @@ class PaidCourseRegistration(OrderItem): item.mode = course_mode.slug item.qty = 1 item.unit_cost = cost - item.line_desc = u'Registration for Course: {0}'.format(course.display_name_with_default) + item.line_desc = _(u'Registration for Course: {course_name}').format( + course_name=course.display_name_with_default) item.currency = currency order.currency = currency item.report_comments = item.csv_report_comments diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 75aba41d0e..f54a897440 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -81,7 +81,7 @@ site_status_msg = get_site_status_msg(course_id)
  1. - Shopping Cart + ${_("Shopping Cart")}
diff --git a/lms/templates/shoppingcart/receipt.html b/lms/templates/shoppingcart/receipt.html index d8200fe8f8..1fdebeba24 100644 --- a/lms/templates/shoppingcart/receipt.html +++ b/lms/templates/shoppingcart/receipt.html @@ -11,8 +11,8 @@
-

Thank you for your Purchase!

-

Please print this receipt page for your records. You should also have received a receipt in your email.

+

${_("Thank you for your Purchase!")}

+

${_("Please print this receipt page for your records. You should also have received a receipt in your email.")}

% for inst in instructions:

${inst}

% endfor