From b61d7a88e0732ba03db49e2b43197b4388489184 Mon Sep 17 00:00:00 2001 From: aleka Date: Tue, 28 Nov 2023 19:22:59 -0500 Subject: [PATCH] add portfolio strings and update copy for goverance/staking (#183) --- config/localization/en/app.json | 13 ++++++++++--- package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 7 +++++++ 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index ce589d80d..89d13a875 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -870,6 +870,7 @@ "EXPORT": "Export", "FEE_DISCOUNT": "Fee Discount", "FEE_STRUCTURE": "Fee Structure", + "FOR_V4": "for v4", "FREE_TRADING_TITLE": "Trade for free", "FREE_TRADING_DESCRIPTION": "Enjoy no trading fees on your first $100,000 in volume every month!", "FREE_TRADING_TITLE_ASTERISK": "Trade for {FREE_TRADING_TITLE_ASTERISK_FREE}*", @@ -879,10 +880,15 @@ "FREE_TRADING_DISCLAIMER_PERPETUAL_FUNDING": "perpetual funding", "GASLESS_DEPOSITS_NEW_PROMO": "If your first deposit is $1000 or more, dYdX will pay your deposit gas fees!", "GASLESS_DEPOSITS_PROMO": "Enjoy zero gas costs on your deposit of $2000 or more, once every three days.", - "GOVERNANCE_DESCRIPTION": "To participate in governance, you need to export your secret phrase to Keplr Wallet.", + "GOVERNANCE_DESCRIPTION": "Participate in governance of the dYdX Chain with $DYDX. Available through Keplr.", "HAVE_YOU_EXPORTED": "Have you exported your secret phrase?", + "HAVE_YOU_EXPORTED_DESCRIPTION": "To vote or stake on dYdX Chain, users must utilize a Cosmos-native wallet.", "HOLDING": "Holding {NUMBER}", "IN_THIS_EPOCH": "in this epoch", + "LAUNCH_INCENTIVES_TITLE": "Launch Incentives {FOR_V4}", + "LAUNCH_INCENTIVES_DESCRIPTION": "Each season, you can earn rewards for trading on dYdX v4. Trade to climb the rankings to earn your rightful spot on the {LEADERBOARD}.", + "LAUNCH_INCENTIVES_LEADERBOARD": "leaderboard", + "LEADERBOARD": "Leaderboard", "LEARN_TO_EXPORT": "{STRONG_NO}, learn how to export my secret phrase.", "MAKER_MARKET_SHARE": "maker market share", "MARKET_NOW_LIVE": "{SYMBOL} now live", @@ -896,6 +902,7 @@ "OVER_THE_LAST_30_DAYS": "over the last 30 days", "OVERVIEW_DESCRIPTION": "Account overview", "PAYMENTS_DESCRIPTION": "See how much you spent trading", + "POINTS": "points", "PORTFOLIO_VALUE": "Portfolio Value", "PORTFOLIO": "Portfolio", "POSITIONS_DESCRIPTION": "Monitor your exposure & risk", @@ -907,7 +914,7 @@ "REWARDS_UPDATE": "Rewards update", "SEARCH_MARKETS": "Search markets", "STAKING": "Staking", - "STAKING_DESCRIPTION": "To stake, you need to export your secret phrase to Keplr Wallet.", + "STAKING_DESCRIPTION": "Stake your $DYDX to help secure the network and earn $USDC. All fees on the dYdX Chain go to stakers. Available through Keplr.", "STOP_MARKET_ORDERS": "Stop market orders", "STOP_MARKET_ORDERS_DESCRIPTION": "Stop market and take profit market orders are here! Quickly and easily set triggers to limit your losses and lock in profits.", "TARGET_VOLUME": "Target Volume", @@ -1846,4 +1853,4 @@ "TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market" } } -} +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ef22fd54c..4a7ff48a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.0.9", + "version": "1.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.0.9", + "version": "1.0.10", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 626553314..b74725c9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.0.9", + "version": "1.0.10", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index aab99094c..d9b95e514 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -941,6 +941,7 @@ export const APP_STRING_KEYS = { EXPORT: 'APP.PORTFOLIO.EXPORT', FEE_DISCOUNT: 'APP.PORTFOLIO.FEE_DISCOUNT', FEE_STRUCTURE: 'APP.PORTFOLIO.FEE_STRUCTURE', + FOR_V4: 'APP.PORTFOLIO.FOR_V4', FREE_TRADING_DESCRIPTION: 'APP.PORTFOLIO.FREE_TRADING_DESCRIPTION', FREE_TRADING_DESCRIPTION_ASTERISK: 'APP.PORTFOLIO.FREE_TRADING_DESCRIPTION_ASTERISK', FREE_TRADING_DISCLAIMER: 'APP.PORTFOLIO.FREE_TRADING_DISCLAIMER', @@ -952,8 +953,13 @@ export const APP_STRING_KEYS = { GASLESS_DEPOSITS_PROMO: 'APP.PORTFOLIO.GASLESS_DEPOSITS_PROMO', GOVERNANCE_DESCRIPTION: 'APP.PORTFOLIO.GOVERNANCE_DESCRIPTION', HAVE_YOU_EXPORTED: 'APP.PORTFOLIO.HAVE_YOU_EXPORTED', + HAVE_YOU_EXPORTED_DESCRIPTION: 'APP.PORTFOLIO.HAVE_YOU_EXPORTED_DESCRIPTION', HOLDING: 'APP.PORTFOLIO.HOLDING', IN_THIS_EPOCH: 'APP.PORTFOLIO.IN_THIS_EPOCH', + LAUNCH_INCENTIVES_DESCRIPTION: 'APP.PORTFOLIO.LAUNCH_INCENTIVES_DESCRIPTION', + LAUNCH_INCENTIVES_LEADERBOARD: 'APP.PORTFOLIO.LAUNCH_INCENTIVES_LEADERBOARD', + LAUNCH_INCENTIVES_TITLE: 'APP.PORTFOLIO.LAUNCH_INCENTIVES_TITLE', + LEADERBOARD: 'APP.PORTFOLIO.LEADERBOARD', LEARN_TO_EXPORT: 'APP.PORTFOLIO.LEARN_TO_EXPORT', MAKER_MARKET_SHARE: 'APP.PORTFOLIO.MAKER_MARKET_SHARE', MARKET_NOW_LIVE: 'APP.PORTFOLIO.MARKET_NOW_LIVE', @@ -967,6 +973,7 @@ export const APP_STRING_KEYS = { OVERVIEW_DESCRIPTION: 'APP.PORTFOLIO.OVERVIEW_DESCRIPTION', OVER_THE_LAST_30_DAYS: 'APP.PORTFOLIO.OVER_THE_LAST_30_DAYS', PAYMENTS_DESCRIPTION: 'APP.PORTFOLIO.PAYMENTS_DESCRIPTION', + POINTS: 'APP.PORTFOLIO.POINTS', PORTFOLIO: 'APP.PORTFOLIO.PORTFOLIO', PORTFOLIO_VALUE: 'APP.PORTFOLIO.PORTFOLIO_VALUE', POSITIONS_DESCRIPTION: 'APP.PORTFOLIO.POSITIONS_DESCRIPTION',