diff --git a/config/localization/en/app.json b/config/localization/en/app.json index bbb1c6f3c..ae579ec55 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -331,6 +331,7 @@ "TOTAL_VALUE": "Total Value", "TRADE_AN_AMOUNT": "Trade {AMOUNT}", "TRADE": "Trade", + "TRADE_NOW": "Trade now", "TRADER": "Trader", "TRADES": "Trades", "TRADING_FEE_REDUCTION_DESCRIPTION_2": "We've updated our fee structure! Enjoy an up to {REDUCTION} in fees across all tiers.", @@ -664,7 +665,7 @@ "SECONDARY": "Celestia enables the next generation of scalable blockchain architectures - modular blockchains. Celestia scales by decoupling execution from consensus and introducing a new primitive, data availability sampling." }, "TRUMPWIN": { - "PRIMARY": "This market will final settle to $1 if Donald J. Trump wins the 2024 US Presidential Election. Otherwise, this market will final settle to 0.00001. This market uses Polymarket as its oracle source.", + "PRIMARY": "This market will final settle to $1 if Donald J. Trump wins the 2024 US Presidential Election. Otherwise, this market will final settle to $0.001. This market uses Polymarket as its oracle source.", "SECONDARY": "Polymarket’s resolution source for this market is the Associated Press, Fox News, and NBC. This market will resolve once all three sources call the race for the same candidate. If all three sources haven’t called the race for the same candidate by the inauguration date (January 20, 2025) this market will resolve based on who is inaugurated." }, "TRX": { @@ -2076,6 +2077,12 @@ "PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}.", "BLOCKED_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}.", "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": { + "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.", + "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}." } }, "TOKEN_MIGRATION": { diff --git a/config/localization_notifications/en/app.json b/config/localization_notifications/en/app.json index 0b79b1d75..02cb79ffd 100644 --- a/config/localization_notifications/en/app.json +++ b/config/localization_notifications/en/app.json @@ -171,6 +171,10 @@ "MARKET_PARAM_UPDATE": { "TITLE": "Live proposal to update {MARKET} parameters", "BODY": "There is currently a live proposal to update the parameters of {MARKET} market. If passed, the {MARKET} market will have Coinbase Pro {MARKET} as the only oracle source. You can find more information regarding the proposal {HERE_LINK}." + }, + "TRUMPWIN_MARKET_LAUNCH": { + "TITLE": "Trade the U.S. presidential election!", + "BODY": "{MARKET} is now live. This market will settle at $1 if Donald J. Trump wins the 2024 election. Otherwise, it will settle at $0.001." } } } diff --git a/package-lock.json b/package-lock.json index eaf166de3..aed90ac5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.168", + "version": "1.1.169", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.168", + "version": "1.1.169", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 97ca50314..52b679f12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.168", + "version": "1.1.169", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 00cde653a..2a8a98306 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -595,6 +595,7 @@ export const APP_STRING_KEYS = { TRADER: 'APP.GENERAL.TRADER', TRADES: 'APP.GENERAL.TRADES', TRADE_AN_AMOUNT: 'APP.GENERAL.TRADE_AN_AMOUNT', + TRADE_NOW: 'APP.GENERAL.TRADE_NOW', TRADING: 'APP.GENERAL.TRADING', TRADING_FEE_REDUCTION: 'APP.GENERAL.TRADING_FEE_REDUCTION', TRADING_FEE_REDUCTION_DESCRIPTION_2: 'APP.GENERAL.TRADING_FEE_REDUCTION_DESCRIPTION_2', @@ -1165,6 +1166,13 @@ export const APP_STRING_KEYS = { VIEW_FEE_STRUCTURE: 'APP.PORTFOLIO.VIEW_FEE_STRUCTURE', VIEW_REWARDS: 'APP.PORTFOLIO.VIEW_REWARDS', + // PREDICTION_MARKET + + LEVERAGE_TRADE_US_ELECTION: 'APP.PREDICTION_MARKET.LEVERAGE_TRADE_US_ELECTION', + 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', + // PREFERENCES_MODAL MAGIC_EXPORT_PRIVATE_KEY: 'APP.PREFERENCES_MODAL.MAGIC_EXPORT_PRIVATE_KEY', diff --git a/scripts/generated/notifications.ts b/scripts/generated/notifications.ts index 934738999..643845c2f 100644 --- a/scripts/generated/notifications.ts +++ b/scripts/generated/notifications.ts @@ -85,6 +85,8 @@ export const NOTIFICATIONS_STRING_KEYS = { TAKE_PROFIT_TRIGGER_UPDATING_TITLE: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING.TITLE', TAKE_PROFIT_TRIGGER_UPDATING_ERROR_BODY: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING_ERROR.BODY', TAKE_PROFIT_TRIGGER_UPDATING_ERROR_TITLE: 'NOTIFICATIONS.TAKE_PROFIT_TRIGGER_UPDATING_ERROR.TITLE', + TRUMPWIN_MARKET_LAUNCH_BODY: 'NOTIFICATIONS.TRUMPWIN_MARKET_LAUNCH.BODY', + TRUMPWIN_MARKET_LAUNCH_TITLE: 'NOTIFICATIONS.TRUMPWIN_MARKET_LAUNCH.TITLE', TWO_MARKET_WIND_DOWN_BODY: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN.BODY', TWO_MARKET_WIND_DOWN_TITLE: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN.TITLE', TWO_MARKET_WIND_DOWN_PROPOSAL_BODY: 'NOTIFICATIONS.TWO_MARKET_WIND_DOWN_PROPOSAL.BODY',