Skip to content

Commit

Permalink
add portfolio strings and update copy for goverance/staking (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka authored Nov 29, 2023
1 parent d6b52d4 commit b61d7a8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
13 changes: 10 additions & 3 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}*",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -1846,4 +1853,4 @@
"TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market"
}
}
}
}
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.0.9",
"version": "1.0.10",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit b61d7a8

Please sign in to comment.