From e88c298a94525cb891e3d7942be428df6afab1e7 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Tue, 13 Jan 2015 16:14:53 -0500 Subject: [PATCH] Fix i18n from Destination team pages --- lms/templates/verify_student/make_payment_step.underscore | 2 +- lms/templates/verify_student/photo_verification.html | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lms/templates/verify_student/make_payment_step.underscore b/lms/templates/verify_student/make_payment_step.underscore index 9479f056c8..e3e6014424 100644 --- a/lms/templates/verify_student/make_payment_step.underscore +++ b/lms/templates/verify_student/make_payment_step.underscore @@ -35,7 +35,7 @@

<% if ( !upgrade ) { %> <%- _.sprintf( - gettext( "Please confirm your contribution for this course (min. $ %(minPrice)s %(currency)s)" ), + gettext( "Please confirm your contribution for this course (min. %(minPrice)s %(currency)s)" ), { minPrice: minPrice, currency: currency } ) %> <% } %> diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html index 8bc2b57098..3614f2e8f7 100644 --- a/lms/templates/verify_student/photo_verification.html +++ b/lms/templates/verify_student/photo_verification.html @@ -394,7 +394,11 @@

${_("Check Your Contribution Level")}

-

${_("Please confirm your contribution for this course (min. $")} ${min_price} ${currency}${_("):")}

+ ## Translators: The last part of this string will appear such as: "(min. 50 USD)" +

${_("Please confirm your contribution for this course (min. {min_price} {currency}):").format( + min_price=min_price, + currency=u"{}".format(currency) + )}

<%include file="/course_modes/_contribution.html" args="suggested_prices=suggested_prices, currency=currency, chosen_price=chosen_price, min_price=min_price"/>