From 2130763e020353c67b2cc6d93b817d0067593ade Mon Sep 17 00:00:00 2001 From: jaredvu Date: Thu, 15 Aug 2024 11:37:35 -0400 Subject: [PATCH] Add Prediction Market Intro Modal strings --- config/localization/en/app.json | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 6 ++++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 95f4ff0d3..c38890c86 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -127,6 +127,7 @@ "DISMISS": "Dismiss", "DOCUMENT": "document", "DONE": "Done", + "DONT_SHOW_ME_AGAIN": "Don't show me this again", "DOWNLOAD_MOBILE_APP": "Download mobile app", "DYDX_CHAIN_ADDRESS": "dYdX Chain Address", "DYDX_CHAIN": "dYdX Chain", @@ -2088,8 +2089,13 @@ "BLOCKED_BANNER_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}. If you think this is an error, please contact support in the {HELP_LINK}." }, "PREDICTION_MARKET": { + "BINARY SETTLEMENT": "Binary Settlement", + "BINARY_SETTLEMENT_DESC": "Market will automatically settle at $1 if the event occurs. Otherwise, it will settle at $0.001. Price is equivalent to the percentage chance the outcome will occur.", + "LEVERAGE_TRADE_EVENTS": "Leverage Trade Event Outcomes", + "LEVERAGE_TRADE_EVENTS_CONTINUATION": "On a wide range of topics, including politics, sports, pop culture, and more.", "LEVERAGE_TRADE_US_ELECTION": "Leverage trade the outcome of the U.S. Election", "PREDICTION_MARKET_DESC": "Prediction Markets will settle at $1 if the event occurs as predicted. Otherwise, they will settle at $0.001.", + "PREDICTION_MARKETS": "Prediction Markets", "TRADE_US_PRESIDENTIAL_ELECTION": "Trade the U.S. Presidential Election", "TRUMPWIN_DESC": "This is a Prediction Market and will settle at $1 if Donald J. Trump wins the 2024 U.S. Presidential Election. Otherwise, it will settle at $0.001. {LEARN_MORE} or {DISMISS}." } diff --git a/package-lock.json b/package-lock.json index 13199c8f7..015b568e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.174", + "version": "1.1.175", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.174", + "version": "1.1.175", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index f76a9a965..3e4ffa1cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.174", + "version": "1.1.175", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 389cc63f2..2eb5ff373 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -356,6 +356,7 @@ export const APP_STRING_KEYS = { DISMISS: 'APP.GENERAL.DISMISS', DOCUMENT: 'APP.GENERAL.DOCUMENT', DONE: 'APP.GENERAL.DONE', + DONT_SHOW_ME_AGAIN: 'APP.GENERAL.DONT_SHOW_ME_AGAIN', DOWNLOAD_MOBILE_APP: 'APP.GENERAL.DOWNLOAD_MOBILE_APP', DYDX_CHAIN: 'APP.GENERAL.DYDX_CHAIN', DYDX_CHAIN_ADDRESS: 'APP.GENERAL.DYDX_CHAIN_ADDRESS', @@ -1171,7 +1172,12 @@ export const APP_STRING_KEYS = { // PREDICTION_MARKET + BINARY SETTLEMENT: 'APP.PREDICTION_MARKET.BINARY SETTLEMENT', + BINARY_SETTLEMENT_DESC: 'APP.PREDICTION_MARKET.BINARY_SETTLEMENT_DESC', + LEVERAGE_TRADE_EVENTS: 'APP.PREDICTION_MARKET.LEVERAGE_TRADE_EVENTS', + LEVERAGE_TRADE_EVENTS_CONTINUATION: 'APP.PREDICTION_MARKET.LEVERAGE_TRADE_EVENTS_CONTINUATION', LEVERAGE_TRADE_US_ELECTION: 'APP.PREDICTION_MARKET.LEVERAGE_TRADE_US_ELECTION', + PREDICTION_MARKETS: 'APP.PREDICTION_MARKET.PREDICTION_MARKETS', PREDICTION_MARKET_DESC: 'APP.PREDICTION_MARKET.PREDICTION_MARKET_DESC', TRADE_US_PRESIDENTIAL_ELECTION: 'APP.PREDICTION_MARKET.TRADE_US_PRESIDENTIAL_ELECTION', TRUMPWIN_DESC: 'APP.PREDICTION_MARKET.TRUMPWIN_DESC',