diff --git a/packages/checkout/widgets-lib/src/locales/en.json b/packages/checkout/widgets-lib/src/locales/en.json index 7abcde6c64..f0c397ffa3 100644 --- a/packages/checkout/widgets-lib/src/locales/en.json +++ b/packages/checkout/widgets-lib/src/locales/en.json @@ -285,8 +285,8 @@ } }, "insufficientCoinsBanner": { - "caption": "Insufficient coin balance. Pay with card to proceed, or add coins and try again.", - "gasCaption": "Insufficient IMX for gas fees. Pay with card to proceed, or add coins and try again." + "caption": "Insufficient coin balance. Pay with card to proceed, or add coins and try again.", + "gasCaption": "Insufficient IMX for gas fees. Pay with card to proceed, or add coins and try again." }, "loading": { "ready1": "Collecting your order", diff --git a/packages/checkout/widgets-lib/src/locales/ja.json b/packages/checkout/widgets-lib/src/locales/ja.json index 7623360467..d7d2e078a3 100644 --- a/packages/checkout/widgets-lib/src/locales/ja.json +++ b/packages/checkout/widgets-lib/src/locales/ja.json @@ -288,8 +288,8 @@ } }, "insufficientCoinsBanner": { - "caption": "コインの残高が不足しています。カードで支払うか、コインを追加して再試行してください。", - "gasCaption": "ガス料金に足りない IMX コイン。カードで支払うか、コインを追加して再試行してください。", + "caption": "コインの残高が不足しています。カードで支払うか、コインを追加して再試行してください。", + "gasCaption": "ガス料金に足りない IMX コイン。カードで支払うか、コインを追加して再試行してください。" }, "loading": { "ready1": "注文を受け取り中", diff --git a/packages/checkout/widgets-lib/src/locales/ko.json b/packages/checkout/widgets-lib/src/locales/ko.json index 1b5ad6c4f8..0662185101 100644 --- a/packages/checkout/widgets-lib/src/locales/ko.json +++ b/packages/checkout/widgets-lib/src/locales/ko.json @@ -285,8 +285,8 @@ } }, "insufficientCoinsBanner": { - "caption": "코인 잔액이 부족합니다. 카드로 결제하거나 코인 추가하고 다시 시도해 보세요.", - "gasCaption": "가스를 위한 IMX가 부족합니다. 카드로 결제하거나 코인 추가하고 다시 시도해 보세요." + "caption": "코인 잔액이 부족합니다. 카드로 결제하거나 코인 추가하고 다시 시도해 보세요.", + "gasCaption": "가스를 위한 IMX가 부족합니다. 카드로 결제하거나 코인 추가하고 다시 시도해 보세요." }, "loading": { "ready1": "주문 수집 중", diff --git a/packages/checkout/widgets-lib/src/locales/zh.json b/packages/checkout/widgets-lib/src/locales/zh.json index e786fb783c..bcf18b3381 100644 --- a/packages/checkout/widgets-lib/src/locales/zh.json +++ b/packages/checkout/widgets-lib/src/locales/zh.json @@ -285,8 +285,8 @@ } }, "insufficientCoinsBanner": { - "caption": "硬币余额不足。请使用卡支付,或 添加硬币 再试一次。", - "gasCaption": "IMX 币不足以支付汽油费。请使用卡支付,或 添加硬币 再试一次。" + "caption": "硬币余额不足。请使用卡支付,或 添加硬币 再试一次。", + "gasCaption": "IMX 币不足以支付汽油费。请使用卡支付,或 添加硬币 再试一次。" }, "loading": { "ready1": "正在收集您的订单", diff --git a/packages/checkout/widgets-lib/src/widgets/sale/components/InsufficientCoinsBanner.tsx b/packages/checkout/widgets-lib/src/widgets/sale/components/InsufficientCoinsBanner.tsx index f129684511..57c8e8b4eb 100644 --- a/packages/checkout/widgets-lib/src/widgets/sale/components/InsufficientCoinsBanner.tsx +++ b/packages/checkout/widgets-lib/src/widgets/sale/components/InsufficientCoinsBanner.tsx @@ -54,7 +54,7 @@ export function InsufficientCoinsBanner() { onClick()} />), + cta: onClick()} />, }} /> diff --git a/packages/checkout/widgets-sample-app/src/components/ui/sale/sale.tsx b/packages/checkout/widgets-sample-app/src/components/ui/sale/sale.tsx index 7d0450c7fb..61fdd073b8 100644 --- a/packages/checkout/widgets-sample-app/src/components/ui/sale/sale.tsx +++ b/packages/checkout/widgets-sample-app/src/components/ui/sale/sale.tsx @@ -197,8 +197,14 @@ export function SaleUI() { - - +