From e63d06dd4662f340f88ee90c26b0453161550c15 Mon Sep 17 00:00:00 2001 From: jaredvu Date: Sat, 3 Feb 2024 10:13:30 -0800 Subject: [PATCH] Update token usage disclaimer for New Market Widget --- config/localization/en/app.json | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 7 ++++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 543d766b7..a9e7c09e4 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -109,6 +109,7 @@ "DYDX_CHAIN": "dYdX Chain", "EARNED": "Earned", "EDIT": "Edit", + "EG": "e.g.", "EMAIL": "Email", "ENDED": "Ended", "EQUITY": "Equity", @@ -144,6 +145,7 @@ "INCREASED": "increased", "INCREASING": "Increasing", "INITIAL_MARGIN_FRACTION": "Initial Margin Fraction", + "INITIAL_MARGIN_FRACTION_SHORT": "IMF", "INITIALIZING": "Initializing", "KEEP_TRADING": "Keep trading", "LANGUAGE": "Language", @@ -152,10 +154,12 @@ "LEARN_MORE_ARROW": "Learn more →", "LEARN": "Learn", "LEGACY": "Legacy", + "LIQUIDITY_TIERS": "Liquidity Tiers", "LEVERAGE": "Leverage", "LIVE": "Live", "LONG_POSITION_SHORT": "Long", "MAINTENANCE_MARGIN_FRACTION": "Maintenance Margin Fraction", + "MAINTENANCE_MARGIN_FRACTION_SHORT": "MMF", "MAKE_ONE_TRADE": "Make 1 trade", "MANAGE_FUNDS": "Manage funds", "MARGIN_USAGE": "Margin Usage", @@ -1581,6 +1585,7 @@ "POPULATED_DETAILS": "Populated details", "PREVIEW_MARKET_PROPOSAL": "Preview market proposal", "PROPOSAL_DISCLAIMER": "When you submit a proposal, {NUM_TOKENS_REQUIRED} {NATIVE_TOKEN_DENOM} will be deducted from your wallet. After the governance vote concludes, these tokens will be returned to your wallet, except if the proposal is vetoed.", + "PROPOSAL_DISCLAIMER_1": "Submitting a proposal requires {NUM_TOKENS_REQUIRED} unstaked {NATIVE_TOKEN_DENOM}. Your {NATIVE_TOKEN_DENOM} will be locked for the duration of the proposal. Click {HERE} for more details.", "PROPOSAL_SUBMISSION_SUCCESSFUL": "Your proposal has been successfully submitted onchain.", "PROPOSE_NEW_MARKET": "Propose new market", "REFERENCE_PRICE": "Reference price", diff --git a/package-lock.json b/package-lock.json index d67e36e83..4b2d70ce3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.22", + "version": "1.1.23", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.22", + "version": "1.1.23", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 9f908f703..5edc9c2e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.22", + "version": "1.1.23", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 15903f79c..823fe364c 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -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 = { @@ -275,6 +275,7 @@ export const APP_STRING_KEYS = { DYDX_CHAIN_ADDRESS: 'APP.GENERAL.DYDX_CHAIN_ADDRESS', EARNED: 'APP.GENERAL.EARNED', EDIT: 'APP.GENERAL.EDIT', + EG: 'APP.GENERAL.EG', EMAIL: 'APP.GENERAL.EMAIL', ENDED: 'APP.GENERAL.ENDED', EQUITY: 'APP.GENERAL.EQUITY', @@ -312,6 +313,7 @@ export const APP_STRING_KEYS = { INCREASING: 'APP.GENERAL.INCREASING', INITIALIZING: 'APP.GENERAL.INITIALIZING', INITIAL_MARGIN_FRACTION: 'APP.GENERAL.INITIAL_MARGIN_FRACTION', + INITIAL_MARGIN_FRACTION_SHORT: 'APP.GENERAL.INITIAL_MARGIN_FRACTION_SHORT', KEEP_TRADING: 'APP.GENERAL.KEEP_TRADING', LANGUAGE: 'APP.GENERAL.LANGUAGE', LAYER_1: 'APP.GENERAL.LAYER_1', @@ -320,9 +322,11 @@ export const APP_STRING_KEYS = { LEARN_MORE_ARROW: 'APP.GENERAL.LEARN_MORE_ARROW', LEGACY: 'APP.GENERAL.LEGACY', LEVERAGE: 'APP.GENERAL.LEVERAGE', + LIQUIDITY_TIERS: 'APP.GENERAL.LIQUIDITY_TIERS', LIVE: 'APP.GENERAL.LIVE', LONG_POSITION_SHORT: 'APP.GENERAL.LONG_POSITION_SHORT', MAINTENANCE_MARGIN_FRACTION: 'APP.GENERAL.MAINTENANCE_MARGIN_FRACTION', + MAINTENANCE_MARGIN_FRACTION_SHORT: 'APP.GENERAL.MAINTENANCE_MARGIN_FRACTION_SHORT', MAKE_ONE_TRADE: 'APP.GENERAL.MAKE_ONE_TRADE', MANAGE_FUNDS: 'APP.GENERAL.MANAGE_FUNDS', MARGIN: 'APP.GENERAL.MARGIN', @@ -698,6 +702,7 @@ export const APP_STRING_KEYS = { POPULATED_DETAILS: 'APP.NEW_MARKET_WIDGET.POPULATED_DETAILS', PREVIEW_MARKET_PROPOSAL: 'APP.NEW_MARKET_WIDGET.PREVIEW_MARKET_PROPOSAL', PROPOSAL_DISCLAIMER: 'APP.NEW_MARKET_WIDGET.PROPOSAL_DISCLAIMER', + PROPOSAL_DISCLAIMER_1: 'APP.NEW_MARKET_WIDGET.PROPOSAL_DISCLAIMER_1', PROPOSAL_SUBMISSION_SUCCESSFUL: 'APP.NEW_MARKET_WIDGET.PROPOSAL_SUBMISSION_SUCCESSFUL', PROPOSE_NEW_MARKET: 'APP.NEW_MARKET_WIDGET.PROPOSE_NEW_MARKET', REFERENCE_PRICE: 'APP.NEW_MARKET_WIDGET.REFERENCE_PRICE',