Skip to content

Commit

Permalink
add stirngs for affiliate progress cards
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaszheng committed Nov 25, 2024
1 parent 33120b2 commit 42277cf
Showing 4 changed files with 62 additions and 52 deletions.
103 changes: 54 additions & 49 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
@@ -756,66 +756,71 @@
}
},
"AFFILIATES": {
"AFFILIATES_PROGRAM": "Affiliates Program",
"AFFILIATE_LINK": "Affiliate Link",
"AFFILIATE_CHART_EMPTY_STATE": "There is no data available",
"AFFILIATE_CONNECT_WALLET": "Please connect your wallet to check your rankings",
"AFFILIATE_EARNINGS": "Affiliate Earnings",
"AFFILIATE_LINK_REQUIREMENT": "Affiliate Link will activate at ${AMOUNT_USD} volume",
"AFFILIATE_LINK": "Affiliate Link",
"AFFILIATE_PAYOUTS": "Affiliate Payouts",
"AFFILIATE_PROGRAM_TRADING_REQUIREMENT": "In order to become an affiliate, you will need to trade at least ${AMOUNT_USD} in volume.",
"AFFILIATE_TIER": "Affiliate Tier",
"AFFILIATE_TIERS_CRITERIA": "View Criteria",
"AFFILIATE_TIERS": "Affiliate Tiers",
"AFFILIATES_LEADERBOARD": "Leaderboard",
"AFFILIATES_PROGRAM": "Affiliates Program",
"AFFILIATES": "Affiliates",
"ALL_REWARDS_DYDX_COMMUNITY": "*All rewards are made available through {DYDX_COMMUNITY_LINK}.",
"ALL_TIME_RANK": "All-time rank",
"APPLY_HERE": "apply here",
"APPLY_NOW": "Apply now",
"BECOME_A_VIP": "Become a VIP Affiliate",
"EARN_FOR_EACH_TRADER": "Earn up to ${AMOUNT_USD} per month for each new trader",
"BENEFITS": "Benefits",
"BY_APPLICATION_ONLY": "By application only.",
"COMISSIONS": "Comissions",
"CONTACT_SUPPORT": "Contact Support",
"CRITERIA_MODAL_VIP_DISCLAIMER": "Earn up to {REGULAR_VALUE} for each new trader referred. If you want to become a VIP Affiliate to earn even more (up to {VIP_VALUE} per user per month), {APPLY_HERE}.",
"CURRENT_AFFILIATE_TIER": "Current Affiliate Tier",
"DYDX_COMMUNITY": "dYdX Community",
"EARN_FEES": "Earn fees",
"REFER_FOR_DISCOUNTS": "Refer a friend and they can receive up to ${AMOUNT_USD} in discounts.",
"REFER_FOR_DISCOUNTS_FIRST_ORDER": "Receive up to {AMOUNT_USD} in fee discounts after placing your first order!",
"EARN_FOR_EACH_TRADER_REFER_FOR_DISCOUNTS": "Earn up to ${AMOUNT_PER_MONTH} per month for each new trader you refer. If you're a VIP Affiliate, you can earn up to ${VIP_AMOUNT_USD}! Your referral can save up to ${AMOUNT_DISCOUNT} in trading fees. {LEARN_MORE_LINK}",
"WANT_TO_VIEW_EARNINGS": "Want to view your earnings? {LINK}",
"INVITE_FRIENDS": "Invite Friends",
"YOUR_FRIEND": "Your friend",
"HAS_REFERRED_YOU": "has referred you to start trading on the world's most powerful open exchange.",
"EARN_USDC": "Earn USDC",
"EARN_FOR_EACH_TRADER": "Earn up to ${AMOUNT_USD} per month for each new trader.",
"EARN_USDC_DISCRIPTION": "Take advantage of staking and other products to earn USDC.",
"TRADE_ANYTHING": "Trade anything",
"TRADE_ANYTHING_DISCRIPTION": "Any asset, any time. Don't see what you're looking for? List the market and be the first to trade it!",
"LIGHTNING_FAST": "Lightning fast with deep liquidity",
"EARN_USDC": "Earn USDC",
"FEES_REFERRED": "Fees Referred",
"HAS_REFERRED_YOU": "has referred you to start trading on the world's most powerful open exchange.",
"INVITE_FRIENDS": "Invite Friends",
"LIGHTNING_FAST_DISCRIPTION": "The most seamless and powerful experience in DeFi.",
"ALL_REWARDS_DYDX_COMMUNITY": "*All rewards are made available through {DYDX_COMMUNITY_LINK}.",
"DYDX_COMMUNITY": "dYdX Community",
"THE_PRO_TRADING_PLATFORM": "The Pro Trading Platform for DeFi",
"TWEET_SHARE_AFFILIATES": "Save up to ${AMOUNT_USD} in trading fees on @dYdX: ",
"YOUVE_TRADED": "You've traded ${AMOUNT_USD}",
"CONTACT_SUPPORT": "Contact Support",
"APPLY_NOW": "Apply now",
"AFFILIATE_PAYOUTS": "Affiliate Payouts",
"TOTAL_AFFILIATES": "Total Affiliates",
"COMISSIONS": "Comissions",
"CRITERIA_MODAL_VIP_DISCLAIMER": "Earn up to {REGULAR_VALUE} for each new trader referred. If you want to become a VIP Affiliate to earn even more (up to {VIP_VALUE} per user per month), {APPLY_HERE}.",
"YOUR_TIER": "You're in tier {TIER}",
"AFFILIATES": "Affiliates",
"APPLY_HERE": "apply here",
"VIP": "VIP",
"VIP_AFFILIATE": "VIP Affiliate",
"BY_APPLICATION_ONLY": "By application only.",
"YOURE_A_VIP": "You're a {VIP}",
"PROGRAM_CARD_TITLE": "Earn more as a VIP Affiliate!",
"LIGHTNING_FAST": "Lightning fast with deep liquidity",
"LOAD_MORE": "Load more",
"PROGRAM_CARD_BODY_VIP": "Thanks for being a {VIP}! You're now earning even more rewards.",
"PROGRAM_CARD_BODY": "If you're a VIP Affiliate, you can earn up to {VIP_VALUE} per referred user per month.",
"PROGRAM_CARD_TITLE_VIP": "You're a VIP Affiliate!",
"PROGRAM_CARD_BODY_VIP": "Thanks for being a {VIP}! You're now earning even more rewards.",
"YOUR_STATS": "Your Stats",
"PROGRAM_CARD_TITLE": "Earn more as a VIP Affiliate!",
"PROGRAM_STATS": "Program Stats",
"AFFILIATE_TIER": "Affiliate Tier",
"AFFILIATE_TIERS": "Affiliate Tiers",
"AFFILIATE_EARNINGS": "Affiliate Earnings",
"ALL_TIME_RANK": "All-time rank",
"VOLUME_REFERRED": "Volume Referred",
"FEES_REFERRED": "Fees Referred",
"USERS_REFERRED": "Users Referred",
"TRADES_REFERRED": "Trades Referred",
"AFFILIATE_TIERS_CRITERIA": "View Criteria",
"REFER_FOR_DISCOUNTS_FIRST_ORDER": "Receive up to {AMOUNT_USD} in fee discounts after placing your first order!",
"REFER_FOR_DISCOUNTS": "Refer a friend and they can receive up to ${AMOUNT_USD} in discounts.",
"REFEREE_BENEFITS": "The person you refer will save up to ${AMOUNT_USD} in fees.",
"SHARE_AFFILIATE_BANNER_TITLE": "Trade over ${AMOUNT} to unlock your affiliate link",
"THE_PRO_TRADING_PLATFORM": "The Pro Trading Platform for DeFi",
"TOTAL_AFFILIATES": "Total Affiliates",
"TOTAL_EARNINGS": "Total Earnings",
"AFFILIATES_LEADERBOARD": "Leaderboard",
"CURRENT_AFFILIATE_TIER": "Current Affiliate Tier",
"TRADE_ANYTHING_DISCRIPTION": "Any asset, any time. Don't see what you're looking for? List the market and be the first to trade it!",
"TRADE_ANYTHING": "Trade anything",
"TRADES_REFERRED": "Trades Referred",
"TWEET_SHARE_AFFILIATES": "Save up to ${AMOUNT_USD} in trading fees on @dYdX: ",
"UNLOCK_AFFILIATE_PROGRAM": "Unlock affiliate program",
"USERS_REFERRED": "Users Referred",
"VIP_AFFILIATE_EARNINGS": "If you’re a VIP, you can earn up to ${AMOUNT_USD} per month.",
"VIP_AFFILIATE": "VIP Affiliate",
"VIP": "VIP",
"VOLUME_REFERRED": "Volume Referred",
"WANT_TO_VIEW_EARNINGS": "Want to view your earnings? {LINK}",
"YOUR_FRIEND": "Your friend",
"YOUR_RANK": "Your rank",
"AFFILIATE_CONNECT_WALLET": "Please connect your wallet to check your rankings",
"LOAD_MORE": "Load more",
"SHARE_AFFILIATE_BANNER_TITLE": "Trade over ${AMOUNT} to unlock your affiliate link",
"AFFILIATE_CHART_EMPTY_STATE": "There is no data available"
"YOUR_STATS": "Your Stats",
"YOUR_TIER": "You're in tier {TIER}",
"YOURE_A_VIP": "You're a {VIP}",
"YOUVE_TRADED": "You've traded ${AMOUNT_USD}"
},
"HEADER": {
"API_DOCUMENTATION": "API Documentation",
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.250",
"version": "1.1.251",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
5 changes: 5 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ export const APP_STRING_KEYS = {
AFFILIATE_LINK: 'APP.AFFILIATES.AFFILIATE_LINK',
AFFILIATE_LINK_REQUIREMENT: 'APP.AFFILIATES.AFFILIATE_LINK_REQUIREMENT',
AFFILIATE_PAYOUTS: 'APP.AFFILIATES.AFFILIATE_PAYOUTS',
AFFILIATE_PROGRAM_TRADING_REQUIREMENT: 'APP.AFFILIATES.AFFILIATE_PROGRAM_TRADING_REQUIREMENT',
AFFILIATE_TIER: 'APP.AFFILIATES.AFFILIATE_TIER',
AFFILIATE_TIERS: 'APP.AFFILIATES.AFFILIATE_TIERS',
AFFILIATE_TIERS_CRITERIA: 'APP.AFFILIATES.AFFILIATE_TIERS_CRITERIA',
@@ -23,6 +24,7 @@ export const APP_STRING_KEYS = {
APPLY_HERE: 'APP.AFFILIATES.APPLY_HERE',
APPLY_NOW: 'APP.AFFILIATES.APPLY_NOW',
BECOME_A_VIP: 'APP.AFFILIATES.BECOME_A_VIP',
BENEFITS: 'APP.AFFILIATES.BENEFITS',
BY_APPLICATION_ONLY: 'APP.AFFILIATES.BY_APPLICATION_ONLY',
COMISSIONS: 'APP.AFFILIATES.COMISSIONS',
CONTACT_SUPPORT: 'APP.AFFILIATES.CONTACT_SUPPORT',
@@ -45,6 +47,7 @@ export const APP_STRING_KEYS = {
PROGRAM_CARD_TITLE: 'APP.AFFILIATES.PROGRAM_CARD_TITLE',
PROGRAM_CARD_TITLE_VIP: 'APP.AFFILIATES.PROGRAM_CARD_TITLE_VIP',
PROGRAM_STATS: 'APP.AFFILIATES.PROGRAM_STATS',
REFEREE_BENEFITS: 'APP.AFFILIATES.REFEREE_BENEFITS',
REFER_FOR_DISCOUNTS: 'APP.AFFILIATES.REFER_FOR_DISCOUNTS',
REFER_FOR_DISCOUNTS_FIRST_ORDER: 'APP.AFFILIATES.REFER_FOR_DISCOUNTS_FIRST_ORDER',
SHARE_AFFILIATE_BANNER_TITLE: 'APP.AFFILIATES.SHARE_AFFILIATE_BANNER_TITLE',
@@ -55,9 +58,11 @@ export const APP_STRING_KEYS = {
TRADE_ANYTHING: 'APP.AFFILIATES.TRADE_ANYTHING',
TRADE_ANYTHING_DISCRIPTION: 'APP.AFFILIATES.TRADE_ANYTHING_DISCRIPTION',
TWEET_SHARE_AFFILIATES: 'APP.AFFILIATES.TWEET_SHARE_AFFILIATES',
UNLOCK_AFFILIATE_PROGRAM: 'APP.AFFILIATES.UNLOCK_AFFILIATE_PROGRAM',
USERS_REFERRED: 'APP.AFFILIATES.USERS_REFERRED',
VIP: 'APP.AFFILIATES.VIP',
VIP_AFFILIATE: 'APP.AFFILIATES.VIP_AFFILIATE',
VIP_AFFILIATE_EARNINGS: 'APP.AFFILIATES.VIP_AFFILIATE_EARNINGS',
VOLUME_REFERRED: 'APP.AFFILIATES.VOLUME_REFERRED',
WANT_TO_VIEW_EARNINGS: 'APP.AFFILIATES.WANT_TO_VIEW_EARNINGS',
YOURE_A_VIP: 'APP.AFFILIATES.YOURE_A_VIP',

0 comments on commit 42277cf

Please sign in to comment.