From c0bf7c0ebdedddb99708f49979cf147157ba3e64 Mon Sep 17 00:00:00 2001 From: Aashish Date: Fri, 4 Aug 2023 13:10:11 +0700 Subject: [PATCH] Used locale instead of hardcoded en --- assets/javascripts/omise-embedded-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/omise-embedded-card.js b/assets/javascripts/omise-embedded-card.js index 09138158..af0c676c 100644 --- a/assets/javascripts/omise-embedded-card.js +++ b/assets/javascripts/omise-embedded-card.js @@ -29,7 +29,7 @@ function showOmiseEmbeddedCardForm({ publicKey: publicKey, element, customCardForm: true, - locale: 'en', + locale: locale, customCardFormTheme: theme, customCardFormHideRememberCard: hideRememberCard ?? false, customCardFormBrandIcons: brandIcons ?? null,