From 9fe1d892633225cfdf37063124f40b2201ece06c Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Thu, 7 Dec 2023 14:48:53 -0800 Subject: [PATCH] chore: update translation for required funds --- apps/trading/client-pages/referrals/apply-code-form.tsx | 6 ++++-- libs/i18n/src/locales/en/trading.json | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/trading/client-pages/referrals/apply-code-form.tsx b/apps/trading/client-pages/referrals/apply-code-form.tsx index 34d6acfcd..14460abc5 100644 --- a/apps/trading/client-pages/referrals/apply-code-form.tsx +++ b/apps/trading/client-pages/referrals/apply-code-form.tsx @@ -91,8 +91,10 @@ export const ApplyCodeForm = ({ onSuccess }: { onSuccess?: () => void }) => { const validateFundsAvailable = useCallback(() => { if (requiredFunds && !isEligible) { const err = t( - 'Require minimum of {{requiredFunds}} to join a referral set to protect the network from spam.', - { replace: { requiredFunds } } + 'To protect the network from spam, you must have at least {{requiredFunds}} qUSD of any asset on the network to proceed.', + { + requiredFunds, + } ); return err; } diff --git a/libs/i18n/src/locales/en/trading.json b/libs/i18n/src/locales/en/trading.json index 3cb2a8979..8ebae29a2 100644 --- a/libs/i18n/src/locales/en/trading.json +++ b/libs/i18n/src/locales/en/trading.json @@ -279,6 +279,7 @@ "This timestamp is user curated metadata and does not drive any on-chain functionality.": "This timestamp is user curated metadata and does not drive any on-chain functionality.", "Tier": "Tier", "to": "to", + "To protect the network from spam, you must have at least {{requiredFunds}} qUSD of any asset on the network to proceed.": "To protect the network from spam, you must have at least {{requiredFunds}} qUSD of any asset on the network to proceed.", "Toast location": "Toast location", "Total discount": "Total discount", "Total distributed": "Total distributed",