Skip to content

Commit

Permalink
Update more strings for megavault and iml (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Dec 11, 2024
1 parent 8b3db4b commit 442c99d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
36 changes: 18 additions & 18 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1732,41 +1732,40 @@
"CONFIRM_DEPOSIT_CTA": "Confirm Deposit",
"CONFIRM_WITHDRAW_CTA": "Confirm Withdraw",
"CROSS_ACCOUNT": "Cross Account",
"DEPOSIT_TOO_HIGH": "You cannot deposit more than your free collateral.",
"DEPOSIT_TOO_LOW": "Your deposit amount is below the $5 minimum deposit threshold.",
"ENTER_AMOUNT_TO_DEPOSIT": "Enter amount to deposit",
"ENTER_AMOUNT_TO_WITHDRAW": "Enter amount to withdraw",
"DEPOSIT_TOO_HIGH": "You cannot add more than your free collateral.",
"DEPOSIT_TOO_LOW": "Amount to add is below the $5 minimum threshold.",
"ENTER_AMOUNT_TO_DEPOSIT": "Enter amount to add",
"ENTER_AMOUNT_TO_WITHDRAW": "Enter amount to remove",
"EST_APR_PLAIN": "Est. APR",
"EST_SLIPPAGE": "Est. slippage",
"ESTIMATED_AMOUNT_RECEIVED": "Estimated Amount Received",
"ESTIMATED_SLIPPAGE": "Estimated Slippage",
"HOLDINGS": "Holdings",

"LEARN_MORE_ABOUT_MEGAVAULT": "Learn more about MegaVault",
"LEARN_MORE_ABOUT_OPERATOR": "Learn more about {OPERATOR_NAME}",
"LOCKED_BALANCE": "Locked Balance",
"MEGAVAULT": "MegaVault",
"MEGAVAULT_CANT_SUBMIT": "Unable to submit MegaVault transaction",
"MEGAVAULT_CANT_SUBMIT_BODY": "Please adjust the amount and try again.",
"MEGAVAULT_DEPOSIT_FAILED": "MegaVault deposit failed",
"MEGAVAULT_DEPOSIT_FAILED_BODY": "There was an error executing your deposit request.",
"MEGAVAULT_DEPOSIT_SUCCESSFUL": "MegaVault deposit successful",
"MEGAVAULT_DEPOSIT_SUCCESSFUL_BODY": "You deposited {AMOUNT} in the MegaVault.",
"MEGAVAULT_DEPOSIT_FAILED": "Failed to add funds to MegaVault",
"MEGAVAULT_DEPOSIT_FAILED_BODY": "There was an error adding funds.",
"MEGAVAULT_DEPOSIT_SUCCESSFUL": "Funds successfully added to MegaVault",
"MEGAVAULT_DEPOSIT_SUCCESSFUL_BODY": "You added {AMOUNT} in the MegaVault.",
"MEGAVAULT_FAQS": "MegaVault FAQs",
"MEGAVAULT_TERMS_LINK_TEXT": "MegaVault Terms",
"MEGAVAULT_TERMS_TEXT": "By clicking \"{CONFIRM_BUTTON_TEXT}\", you agree to the {LINK}.",
"MEGAVAULT_TRANSFERS": "MegaVault Transfers",
"MEGAVAULT_TRANSFERS_DESCRIPTION": "Transfers to and from the MegaVault",
"MEGAVAULT_WITHDRAWAL_FAILED": "MegaVault withdrawal failed",
"MEGAVAULT_WITHDRAWAL_FAILED_BODY": "There was an error executing your withdrawal request.",
"MEGAVAULT_WITHDRAWAL_SUCCESSFUL": "MegaVault withdrawal successful",
"MEGAVAULT_WITHDRAWAL_SUCCESSFUL_BODY": "You withdrew {AMOUNT} from the MegaVault.",
"MEGAVAULT_WITHDRAWAL_FAILED": "Failed to remove funds from MegaVault",
"MEGAVAULT_WITHDRAWAL_FAILED_BODY": "There was an error executing your removal request.",
"MEGAVAULT_WITHDRAWAL_SUCCESSFUL": "Funds successfully removed from MegaVault",
"MEGAVAULT_WITHDRAWAL_SUCCESSFUL_BODY": "You removed {AMOUNT} from the MegaVault.",
"PREVIEW_DEPOSIT": "Preview Deposit",
"PREVIEW_WITHDRAW": "Preview Withdraw",
"PROTOCOL_VAULT": "dYdX Protocol Vault",
"REMOVE_FUNDS": "Remove funds",
"SLIPPAGE_ACK": "I understand that withdrawing now will result in {AMOUNT} slippage.",
"SLIPPAGE_WARNING": "This withdrawal would result in {AMOUNT} slippage. Slippage may be reduced if you withdraw at a later time. For more information, see {LINK}.",
"SLIPPAGE_ACK": "I understand that removal of funds will result in {AMOUNT} slippage.",
"SLIPPAGE_WARNING": "Removal of funds would result in {AMOUNT} slippage. Slippage may be reduced if you remove funds at a later time. For more information, see {LINK}.",
"TVL": "TVL",
"VAULT": "Vault",
"VAULT_DESCRIPTION": "This vault automatically trades across dYdX markets and gets a share of fee revenue. The vault aims for a market-neutral position by quoting both sides of the book. P&L will vary based on market conditions and there's a risk of losing some or all of the USDC deposited.",
Expand All @@ -1781,8 +1780,8 @@
"VAULTS": "Vaults",
"VIEW_MEGAVAULT": "View MegaVault",
"VIEW_VAULT": "View Vault",
"WITHDRAW_TOO_HIGH": "You cannot withdraw more than your vault balance.",
"WITHDRAW_TOO_LOW": "Your withdrawal amount is below the $5 minimum withdrawal threshold. If your vault balance is below the minimum withdrawal threshold, you must withdraw the entire vault balance.",
"WITHDRAW_TOO_HIGH": "You cannot remove more than your vault balance.",
"WITHDRAW_TOO_LOW": "Amount to remove is below the $5 minimum threshold. If your vault balance is below the minimum threshold, you must remove the entire vault balance.",
"YOU_HAVE_NO_VAULT_BALANCE": "You have no vault balance.",
"YOU_HAVE_NO_VAULT_DEPOSITS": "You have no vault deposits.",
"YOUR_ALL_TIME_PNL": "Your All-time P&L",
Expand Down Expand Up @@ -2275,6 +2274,7 @@
"NEW_MARKET_WIDGET": {
"ADD_A_MARKET": "Add a market",
"ADD_DETAILS_TO_LAUNCH_MARKET": "Add details in order to propose a new market",
"ADD_FUNDS_AND_LAUNCH": "Add funds & Launch",
"ADD_MARKET_STEP_1_TITLE": "Select market",
"ADD_MARKET_STEP_2_TITLE": "Confirm details",
"ADD_MARKET_STEP_3_TITLE": "Propose new market",
Expand All @@ -2289,7 +2289,7 @@
"DEPOSIT_AND_LAUNCH": "Deposit & Launch Market",
"DEPOSIT_APR": "Deposit APR",
"DEPOSIT_LOCKUP": "Deposit Lockup",
"DEPOSIT_LOCKUP_DESCRIPTION": "The deposit lockup is {NUM_DAYS} days and your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
"DEPOSIT_LOCKUP_DESCRIPTION": "Added funds have a lockup period of {NUM_DAYS} days. Your funds will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
"HIDE_STEPS": "Hide steps",
"IMPACT_NOTIONAL": "Impact notional",
"INSTANT_MARKET_LISTINGS": "Instant Market Listings",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.256",
"version": "1.1.257",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@ export const APP_STRING_KEYS = {

ADD_A_MARKET: 'APP.NEW_MARKET_WIDGET.ADD_A_MARKET',
ADD_DETAILS_TO_LAUNCH_MARKET: 'APP.NEW_MARKET_WIDGET.ADD_DETAILS_TO_LAUNCH_MARKET',
ADD_FUNDS_AND_LAUNCH: 'APP.NEW_MARKET_WIDGET.ADD_FUNDS_AND_LAUNCH',
ADD_MARKET_STEP_1_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_1_DESCRIPTION',
ADD_MARKET_STEP_1_TITLE: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_1_TITLE',
ADD_MARKET_STEP_2_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_2_DESCRIPTION',
Expand Down

0 comments on commit 442c99d

Please sign in to comment.