From 4a8f5041e893bb28ec7a1cecac47587b9adef5aa Mon Sep 17 00:00:00 2001 From: jeremy lee Date: Fri, 26 Apr 2024 14:59:41 -0400 Subject: [PATCH] l10n for deposite ui revampe strings --- config/localization/en/app.json | 1 + config/localization/en/tooltips.json | 4 ++++ scripts/generated/app.ts | 1 + scripts/generated/tooltips.ts | 2 ++ 4 files changed, 8 insertions(+) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 363a88aa0..b3f51f18a 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -932,6 +932,7 @@ "GASLESS_DEPOSITS_SUBJECT_TO_RULES": "Gasless deposits are subject to these rules", "GASLESS_DEPOSITS_TEMPORARILY_DISABLED": "Gasless deposits are temporarily unavailable. Don't worry, they'll be back soon!", "GASLESS_ETH_DEPOSITS": "Gasless deposits are not available for ETH. You can convert your ETH to WETH on {1INCH_WETH_LINK} or {UNISWAP_WETH_LINK} and use WETH gasless deposits, or directly deposit ETH by paying your own gas costs.", + "LOWEST_FEE_DEPOSITS": "USDC deposits from {LOWEST_FEE_TOKENS_TOOLTIP} have the lowest fees. Other deposits may have additional third-party fees.", "MAX_SLIPPAGE": "Max Slippage", "MINIMUM_DEPOSIT_AMOUNT": "Minimum Deposit Amount", "MINIMUM_DEPOSIT_MET": "Nice! Your deposit meets the gasless deposit minimum of {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL}. dYdX will cover the gas fees for this deposit.", diff --git a/config/localization/en/tooltips.json b/config/localization/en/tooltips.json index de658ccd2..c9bdcb5de 100644 --- a/config/localization/en/tooltips.json +++ b/config/localization/en/tooltips.json @@ -256,6 +256,10 @@ "TITLE": "Unavailable", "BODY": "Gasless deposits are temporarily unavailable. Don't worry, they'll be back soon!" }, + "GAS_FEES_DEPOSIT":{ + "TITLE": "Gas Fees", + "BODY": "Gas fees are transaction fees on the source chain, in this case {SOURCE_CHAIN}." + }, "GASLESS_DEPOSITS": { "TITLE": "Gasless Deposits", "BODY": "dYdX will cover your gas fees if you deposit {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL} or more. You are eligible for one gasless deposit every three days. Gasless deposits are subject to rules." diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 7d3971e63..5d5c63659 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -84,6 +84,7 @@ export const APP_STRING_KEYS = { GASLESS_DEPOSITS_SUBJECT_TO_RULES: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_SUBJECT_TO_RULES', GASLESS_DEPOSITS_TEMPORARILY_DISABLED: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_TEMPORARILY_DISABLED', GASLESS_ETH_DEPOSITS: 'APP.DEPOSIT_MODAL.GASLESS_ETH_DEPOSITS', + LOWEST_FEE_DEPOSITS: 'APP.DEPOSIT_MODAL.LOWEST_FEE_DEPOSITS', MAX_SLIPPAGE: 'APP.DEPOSIT_MODAL.MAX_SLIPPAGE', MINIMUM_DEPOSIT_AMOUNT: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_AMOUNT', MINIMUM_DEPOSIT_MET: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_MET', diff --git a/scripts/generated/tooltips.ts b/scripts/generated/tooltips.ts index 6674129da..bde66df2e 100644 --- a/scripts/generated/tooltips.ts +++ b/scripts/generated/tooltips.ts @@ -12,6 +12,8 @@ export const TOOLTIP_STRING_KEYS = { DISABLED_GASLESS_DEPOSITS_TITLE: 'TOOLTIPS.DEPOSIT.DISABLED_GASLESS_DEPOSITS.TITLE', GASLESS_DEPOSITS_BODY: 'TOOLTIPS.DEPOSIT.GASLESS_DEPOSITS.BODY', GASLESS_DEPOSITS_TITLE: 'TOOLTIPS.DEPOSIT.GASLESS_DEPOSITS.TITLE', + GAS_FEES_DEPOSIT_BODY: 'TOOLTIPS.DEPOSIT.GAS_FEES_DEPOSIT.BODY', + GAS_FEES_DEPOSIT_TITLE: 'TOOLTIPS.DEPOSIT.GAS_FEES_DEPOSIT.TITLE', MINIMUM_DEPOSIT_AMOUNT_BODY: 'TOOLTIPS.DEPOSIT.MINIMUM_DEPOSIT_AMOUNT.BODY', MINIMUM_DEPOSIT_AMOUNT_TITLE: 'TOOLTIPS.DEPOSIT.MINIMUM_DEPOSIT_AMOUNT.TITLE', SWAP_BODY: 'TOOLTIPS.DEPOSIT.SWAP.BODY',