Skip to content

Commit

Permalink
l10n for deposite ui revampe strings
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam committed Apr 26, 2024
1 parent 3bdfc66 commit 4a8f504
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
4 changes: 4 additions & 0 deletions config/localization/en/tooltips.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
1 change: 1 addition & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 2 additions & 0 deletions scripts/generated/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4a8f504

Please sign in to comment.