Skip to content

Commit

Permalink
Add strings for new season of incentives (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Nov 19, 2024
1 parent 3bf5531 commit 736d171
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"MINE": "Mine",
"MINIMUM_ORDER_SIZE": "Minimum Order Size",
"MODIFY": "Modify",
"MORE_INFORMATION_HERE": "More information {HERE}",
"MULTIPLE": "Multiple",
"NETWORK": "Network",
"NEW": "New",
Expand Down Expand Up @@ -2004,9 +2005,11 @@
},
"TRADING_REWARDS": {
"ABOUT": "About",
"EARN_POINTS_TO_QUALIFY_FOR_REWARDS": "Earn points to qualify for {REWARD_POOL} in {TOKEN} rewards each month.",
"EVENT": "Event",
"FOR_TRADING": "For trading {PERIOD}",
"FOR_V4": "{SUBJECT} for v4",
"INCENTIVE_PROGRAM": "Incentive Program",
"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",
Expand All @@ -2020,6 +2023,11 @@
"TRADING_REWARD_TABLE_EMPTY_STATE": "You have no history.",
"TRADING_REWARDS_LEGAL_DISCLAIMER": "Governance, rewards, and staking related services are provided to you directly by third parties, who are independent from and unaffiliated with the host and operator of this interface (the “Operator”), on third-party sites, without involvement of the Operator. You agree that you are familiar with the {TERMS_OF_USE_LINK} and understand the risks associated with these services, including variable reward rates, slashing and other risks inherent in staking. Nothing on this website constitutes, nor should be construed or relied upon as, financial advice, legal advice, tax advice, investment advice or advice of any other nature. You are solely responsible for conducting independent research, due diligence and seeking advice from a professional advisor prior to taking any action related to the services.",
"REWARD_HISTORY_DESCRIPTION": "While trading rewards are distributed immediately after every block, history is updated every five minutes. Trading rewards history goes back until {REWARDS_HISTORY_START_DATE}.",
"REWARD_POOL_FOR_MARKET_MAKERS": "Reward pool for market makers",
"REWARD_POOL_FOR_TRADERS": "Reward pool for traders",
"REWARD_POOL_DESC": "{REWARD_POOL} rewards in {TOKEN} based on points per season",
"REWARD_POOL_FOR_TRADERS_DESC_2": "Points earned equal to fees paid (1-1) in top-5 markets by volume in the respective season",
"REWARD_POOL_FOR_TRADERS_DESC_3": "2x boost for fees paid in markets that are not in the top-5 according to volume in the respective season",
"EMPTY_HISTORICAL_REWARDS_DESCRIPTION": "Start trading to earn rewards.",
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_QUESTION": "How do I claim my trading rewards?",
"FAQ_HOW_DO_I_CLAIM_MY_REWARDS_ANSWER": "Each block, trading rewards are automatically sent directly to the trader’s dYdX Chain address.",
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.248",
"version": "1.1.249",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ export const APP_STRING_KEYS = {
MINE: 'APP.GENERAL.MINE',
MINIMUM_ORDER_SIZE: 'APP.GENERAL.MINIMUM_ORDER_SIZE',
MODIFY: 'APP.GENERAL.MODIFY',
MORE_INFORMATION_HERE: 'APP.GENERAL.MORE_INFORMATION_HERE',
MULTIPLE: 'APP.GENERAL.MULTIPLE',
NETWORK: 'APP.GENERAL.NETWORK',
NEW: 'APP.GENERAL.NEW',
Expand Down Expand Up @@ -1840,6 +1841,7 @@ export const APP_STRING_KEYS = {

// TRADING_REWARDS

EARN_POINTS_TO_QUALIFY_FOR_REWARDS: 'APP.TRADING_REWARDS.EARN_POINTS_TO_QUALIFY_FOR_REWARDS',
EMPTY_HISTORICAL_REWARDS_DESCRIPTION: 'APP.TRADING_REWARDS.EMPTY_HISTORICAL_REWARDS_DESCRIPTION',
EVENT: 'APP.TRADING_REWARDS.EVENT',
FAQ_HOW_DO_I_CLAIM_MY_REWARDS_ANSWER: 'APP.TRADING_REWARDS.FAQ_HOW_DO_I_CLAIM_MY_REWARDS_ANSWER',
Expand All @@ -1859,8 +1861,14 @@ export const APP_STRING_KEYS = {
FAQ_WHO_IS_ELIGIBLE_ANSWER: 'APP.TRADING_REWARDS.FAQ_WHO_IS_ELIGIBLE_ANSWER',
FAQ_WHO_IS_ELIGIBLE_QUESTION: 'APP.TRADING_REWARDS.FAQ_WHO_IS_ELIGIBLE_QUESTION',
FOR_TRADING: 'APP.TRADING_REWARDS.FOR_TRADING',
INCENTIVE_PROGRAM: 'APP.TRADING_REWARDS.INCENTIVE_PROGRAM',
LAUNCH_INCENTIVES: 'APP.TRADING_REWARDS.LAUNCH_INCENTIVES',
REWARD_HISTORY_DESCRIPTION: 'APP.TRADING_REWARDS.REWARD_HISTORY_DESCRIPTION',
REWARD_POOL_DESC: 'APP.TRADING_REWARDS.REWARD_POOL_DESC',
REWARD_POOL_FOR_MARKET_MAKERS: 'APP.TRADING_REWARDS.REWARD_POOL_FOR_MARKET_MAKERS',
REWARD_POOL_FOR_TRADERS: 'APP.TRADING_REWARDS.REWARD_POOL_FOR_TRADERS',
REWARD_POOL_FOR_TRADERS_DESC_2: 'APP.TRADING_REWARDS.REWARD_POOL_FOR_TRADERS_DESC_2',
REWARD_POOL_FOR_TRADERS_DESC_3: 'APP.TRADING_REWARDS.REWARD_POOL_FOR_TRADERS_DESC_3',
SEASON_ID: 'APP.TRADING_REWARDS.SEASON_ID',
TRADING_REWARD: 'APP.TRADING_REWARDS.TRADING_REWARD',
TRADING_REWARDS_LEGAL_DISCLAIMER: 'APP.TRADING_REWARDS.TRADING_REWARDS_LEGAL_DISCLAIMER',
Expand Down

0 comments on commit 736d171

Please sign in to comment.