Skip to content

Commit

Permalink
error message for pml (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Oct 21, 2024
1 parent 4d828c9 commit 07c3af0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2247,8 +2247,8 @@
"LIST_A_NEW_MARKET": "List a new market",
"LISTINGS_DESCRIPTION": "Listings on dYdX are completely community-driven. This tool will help you submit a governance proposal to list a new market.",
"MARKET_LAUNCH_DETAILS": "Select the market you'd like to launch and deposit {DEPOSIT_AMOUNT} into MegaVault. Your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
"MARKET_LAUNCH_DETAILS_2": "Immediately launch a new market on dYdX Chain by depositing {DEPOSIT_AMOUNT} into MegaVault. Your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
"MARKET_LAUNCH_DETAILS_3": "Select the market you'd like to launch and deposit {DEPOSIT_AMOUNT} into MegaVault for at least {PAST_DAYS} days. Your deposit will earn an estimated {APR_PERCENTAGE} APR.",
"MARKET_LAUNCH_DETAILS_2": "Immediately launch a new market on dYdX Chain by depositing {DEPOSIT_AMOUNT} into MegaVault. Deposits have earned an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
"MARKET_LAUNCH_DETAILS_3": "Select the market you'd like to launch and deposit {DEPOSIT_AMOUNT} into MegaVault for at least {PAST_DAYS} days. Deposits have earned an estimated {APR_PERCENTAGE} APR.",
"MARKET_LAUNCHED": "Market Launched!",
"MARKET_NOW_LIVE_TRADE": "{MARKET} is now live, start trading.",
"MARKET_TO_LAUNCH": "Market to Launch",
Expand Down Expand Up @@ -2619,6 +2619,7 @@
"ISOLATED_MARGIN_ADJUSTMENT_INVALID_AMOUNT": "Please enter a valid amount."
},
"NEW_MARKET_WIDGET": {
"LAUNCHING_MARKET_REQUIRES_USDC": "Launching a market requires a minimum of {USDC_AMOUNT} USDC of cross free collateral",
"NOT_ENOUGH_BALANCE": "You need at least {NUM_TOKENS_REQUIRED} {NATIVE_TOKEN_DENOM} to add a market."
}
},
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.225",
"version": "1.1.226",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion scripts/generated/app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// !! GENERATED FILE - DO NOT EDIT

// Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift
// Generated from ../config/localization/en/app.json using codegen_localization_app.swift

export const APP_STRING_KEYS = {

Expand Down Expand Up @@ -2079,6 +2079,7 @@ export const ERRORS_STRING_KEYS = {

// NEW_MARKET_WIDGET

LAUNCHING_MARKET_REQUIRES_USDC: 'ERRORS.NEW_MARKET_WIDGET.LAUNCHING_MARKET_REQUIRES_USDC',
NOT_ENOUGH_BALANCE: 'ERRORS.NEW_MARKET_WIDGET.NOT_ENOUGH_BALANCE',

// ONBOARDING
Expand Down

0 comments on commit 07c3af0

Please sign in to comment.