Skip to content

Commit

Permalink
Trade Page rewards strings (#61)
Browse files Browse the repository at this point in the history
* Add rewards copies

* 0.1.12
  • Loading branch information
rosepuppy authored Sep 25, 2023
1 parent cae6455 commit fb60aeb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@
"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.",
"HOLDING": "Holding {NUMBER}",
"IN_THIS_EPOCH": "in this epoch",
"MAKER_MARKET_SHARE": "maker market share",
Expand All @@ -660,6 +661,8 @@
"REWARDS_NOT_PROVIDED": "Rewards are not provided by dYdX Trading Inc.",
"REWARDS_UPDATE": "Rewards update",
"SEARCH_MARKETS": "Search markets",
"STAKING": "Staking",
"STAKING_DESCRIPTION": "To stake, you need to export your secret phrase to Keplr Wallet.",
"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 All @@ -677,6 +680,7 @@
"TRADING_LEAGUES": "Trading leagues",
"TRADING_LEAGUES_DESCRIPTION": "Trading leagues are now live! Climb the rankings and earn your share of the {PRIZE}.",
"TRADING_LEAGUES_PRIZE": "$100K weekly prize pool",
"TRADING_REWARDS": "Trading Rewards",
"TRADING_VOLUME_LABEL": "exchanged in the last 24h",
"TRADING_VOLUME": "Trading Volume",
"TRAILING_VOLUME": "Trailing Volume",
Expand Down
4 changes: 4 additions & 0 deletions config/localization/en/tooltips.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
"TITLE": "Maximum Leverage",
"BODY": "Maximum allowed leverage for this market. To limit risk, maximum leverage decreases linearly with position size after a certain threshold."
},
"MAXIMUM_REWARDS": {
"TITLE": "Maximum Rewards",
"BODY": "Earn rewards when you trade on dYdX. Actual rewards may vary."
},
"NET_FUNDING": {
"TITLE": "Net Funding",
"BODY": "Total funding earned / paid for the lifetime of the current position. Resets if you close your position or change position sides (long to short, or vice versa)."
Expand Down
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": "0.1.11",
"version": "0.1.12",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ export const APP_STRING_KEYS = {
FREE_TRADING_TITLE_ASTERISK_FREE: 'APP.PORTFOLIO.FREE_TRADING_TITLE_ASTERISK_FREE',
GASLESS_DEPOSITS_NEW_PROMO: 'APP.PORTFOLIO.GASLESS_DEPOSITS_NEW_PROMO',
GASLESS_DEPOSITS_PROMO: 'APP.PORTFOLIO.GASLESS_DEPOSITS_PROMO',
GOVERNANCE_DESCRIPTION: 'APP.PORTFOLIO.GOVERNANCE_DESCRIPTION',
HOLDING: 'APP.PORTFOLIO.HOLDING',
IN_THIS_EPOCH: 'APP.PORTFOLIO.IN_THIS_EPOCH',
MAKER_MARKET_SHARE: 'APP.PORTFOLIO.MAKER_MARKET_SHARE',
Expand All @@ -927,6 +928,8 @@ export const APP_STRING_KEYS = {
REWARDS_NOT_PROVIDED: 'APP.PORTFOLIO.REWARDS_NOT_PROVIDED',
REWARDS_UPDATE: 'APP.PORTFOLIO.REWARDS_UPDATE',
SEARCH_MARKETS: 'APP.PORTFOLIO.SEARCH_MARKETS',
STAKING: 'APP.PORTFOLIO.STAKING',
STAKING_DESCRIPTION: 'APP.PORTFOLIO.STAKING_DESCRIPTION',
STOP_MARKET_ORDERS: 'APP.PORTFOLIO.STOP_MARKET_ORDERS',
STOP_MARKET_ORDERS_DESCRIPTION: 'APP.PORTFOLIO.STOP_MARKET_ORDERS_DESCRIPTION',
TARGET_VOLUME: 'APP.PORTFOLIO.TARGET_VOLUME',
Expand Down
2 changes: 2 additions & 0 deletions scripts/generated/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export const TOOLTIP_STRING_KEYS = {
MARGIN_USAGE_TITLE: 'TOOLTIPS.TRADE.MARGIN_USAGE.TITLE',
MAXIMUM_LEVERAGE_BODY: 'TOOLTIPS.TRADE.MAXIMUM_LEVERAGE.BODY',
MAXIMUM_LEVERAGE_TITLE: 'TOOLTIPS.TRADE.MAXIMUM_LEVERAGE.TITLE',
MAXIMUM_REWARDS_BODY: 'TOOLTIPS.TRADE.MAXIMUM_REWARDS.BODY',
MAXIMUM_REWARDS_TITLE: 'TOOLTIPS.TRADE.MAXIMUM_REWARDS.TITLE',
MAX_WITHDRAW_BODY: 'TOOLTIPS.TRADE.MAX_WITHDRAW.BODY',
MAX_WITHDRAW_TITLE: 'TOOLTIPS.TRADE.MAX_WITHDRAW.TITLE',
NET_FUNDING_BODY: 'TOOLTIPS.TRADE.NET_FUNDING.BODY',
Expand Down

0 comments on commit fb60aeb

Please sign in to comment.