From 771d37a238b31a759ccd6308055a3325c9a43d6e Mon Sep 17 00:00:00 2001 From: Britlog Date: Tue, 23 Jan 2018 10:04:11 +0100 Subject: [PATCH] Stripe translations (#4892) --- payments/templates/includes/stripe_checkout.js | 3 ++- payments/templates/pages/stripe_checkout.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/payments/templates/includes/stripe_checkout.js b/payments/templates/includes/stripe_checkout.js index b662012..f711ca7 100644 --- a/payments/templates/includes/stripe_checkout.js +++ b/payments/templates/includes/stripe_checkout.js @@ -14,7 +14,8 @@ $(document).ready(function(){ description: "{{description}}", amount: cint("{{ amount }}" * 100), // 2000 paise = INR 20 email: "{{payer_email}}", - currency: "{{currency}}" + currency: "{{currency}}", + locale: "auto" }); })(); diff --git a/payments/templates/pages/stripe_checkout.html b/payments/templates/pages/stripe_checkout.html index 0fe5dc0..d448ff8 100644 --- a/payments/templates/pages/stripe_checkout.html +++ b/payments/templates/pages/stripe_checkout.html @@ -12,8 +12,8 @@ {%- block page_content -%}

- Loading Payment System - + {{ _("Loading Payment System") }} +

{% endblock %}