Skip to content

Commit

Permalink
Trading Rewards Copy (#198)
Browse files Browse the repository at this point in the history
* add card to profile screen

* Update app.json

* bump version

* remove unused/redundant strings

* add tooltip copy

* remove unused keys, formatting, update string content

* bump version
  • Loading branch information
mike-dydx authored Jan 9, 2024
1 parent fa72f02 commit 4795168
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
27 changes: 27 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"_24H": "24h",
"_30D": "30d",
"ALL_TIME": "All Time",
"DAILY": "Daily",
"DAYS_ABBREVIATED": "d",
"DAYS": "Days",
"HOURS_ABBREVIATED": "h",
"HOURS": "Hours",
"LAST_24H": "Last 24H",
"LAST_WEEK": "Last week",
"MONTHLY": "Monthly",
"MINUTES_ABBREVIATED": "m",
"MINUTES_SHORT": "Mins",
"MONTHS_ABBREVIATED": "M",
Expand All @@ -28,6 +30,7 @@
"WEEK": "Week",
"WEEKS_ABBREVIATED": "w",
"WEEKS": "Weeks",
"WEEKLY": "Weekly",
"X_HOURS_LOWERCASED": "{X} hours",
"X_MINUTES_LOWERCASED": "{X} minutes",
"X_MINUTES": "{X} Minutes",
Expand Down Expand Up @@ -142,6 +145,7 @@
"LANGUAGE": "Language",
"LAYER_1": "Layer 1",
"LEARN_MORE": "Learn more",
"LEARN_MORE_ARROW": "Learn more →",
"LEARN": "Learn",
"LEGACY": "Legacy",
"LEVERAGE": "Leverage",
Expand Down Expand Up @@ -210,6 +214,8 @@
"REFERRER_PERCENT_OFF": "{DISCOUNT}% off",
"RESULTS": "Results",
"REWARDS": "Rewards",
"REWARDED": "Rewarded",
"REWARD_HISTORY": "Reward History",
"SAVE": "Save",
"SAVED": "Saved",
"SELECT_ASSET": "Select an asset",
Expand Down Expand Up @@ -249,6 +255,8 @@
"TRADES": "Trades",
"TRADING_FEE_REDUCTION_DESCRIPTION_2": "We've updated our fee structure! Enjoy an up to {REDUCTION} in fees across all tiers.",
"TRADING_FEE_REDUCTION": "Trading fee reduction",
"TRADING_REWARDS": "Trading Rewards",
"TRADING_REWARDS_SUMMARY": "Trading Rewards Summary",
"TRADING": "Trading",
"TRAILING_STOP_SHORT": "Trailing",
"TRANSFER_IN": "Transfer In",
Expand Down Expand Up @@ -1315,6 +1323,25 @@
"USERS_REFERRED": "Users Referred",
"YOU_CAN_WIN_THESE": "You can win these in our {LEAGUES_LINK}"
},
"TRADING_REWARDS" : {
"ABOUT": "About",
"EVENT": "Event",
"FOR_TRADING": "For trading {PERIOD}",
"FOR_V4":"{SUBJECT} for v4",
"LAUNCH_INCENTIVES":"Launch Incentives",
"LAUNCH_INCENTIVES_DESCRIPTION":"Each season, you can earn rewards for trading on dYdX Chain. Trade to earn your spot on the leaderboard.",
"LEADERBOARD": "Leaderboard",
"POINTS":"{POINTS} points",
"POWERED_BY":"POWERED BY",
"SEASON_ID":"Season {SEASON_ID}",
"TRADING_REWARD": "Trading Reward",
"FAQ_WHO_IS_ELIGIBLE_QUESTION": "Who is eligible for trading rewards?",
"FAQ_WHO_IS_ELIGIBLE_ANSWER": "All traders are eligible for trading rewards.",
"FAQ_HOW_DO_TRADING_REWARDS_WORK_QUESTION": "How do trading rewards work?",
"FAQ_HOW_DO_TRADING_REWARDS_WORK_ANSWER": "Immediately after each fill, trading rewards are sent directly to the trader’s dYdX Chain address, based on the amount of fees paid by the trader.",
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_QUESTION": "How do I claim my rewards?",
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_ANSWER": "Each block, trading rewards are automatically sent directly to the trader’s dYdX Chain address."
},
"EPOCH_END_MODAL": {
"EPOCH_END_EARNED": "You earned {AMOUNT} $DYDX rewards during Epoch {EPOCH_NUMBER}! Claim your rewards on the governance dashboard.",
"YOU_EARNED": "You earned rewards!"
Expand Down
3 changes: 3 additions & 0 deletions config/localization/en/tooltips.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@
"UNREALIZED_PNL": {
"TITLE": "Unrealized Profit / Loss",
"BODY": "Total profit / loss if you were to fully close the remainder of your current position at the current oracle price. Resets if you close your position or change position sides (long to short, or vice versa)."
},
"REWARD_HISTORY": {
"BODY": "Time is displayed in Coordinated Universal Time (UTC)"
}
},
"DEPOSIT": {
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": "1.1.7",
"version": "1.1.8",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down

0 comments on commit 4795168

Please sign in to comment.