Skip to content

Commit

Permalink
v1.1.23: Update token usage disclaimer for New Market Widget (#257)
Browse files Browse the repository at this point in the history
* Update token usage disclaimer for New Market Widget

* Add liq tiers
  • Loading branch information
jaredvu authored Feb 5, 2024
1 parent b4064d6 commit d3391cb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
8 changes: 8 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"DYDX_CHAIN": "dYdX Chain",
"EARNED": "Earned",
"EDIT": "Edit",
"EG": "e.g.",
"EMAIL": "Email",
"ENDED": "Ended",
"EQUITY": "Equity",
Expand Down Expand Up @@ -144,9 +145,11 @@
"INCREASED": "increased",
"INCREASING": "Increasing",
"INITIAL_MARGIN_FRACTION": "Initial Margin Fraction",
"INITIAL_MARGIN_FRACTION_SHORT": "IMF",
"INITIALIZING": "Initializing",
"KEEP_TRADING": "Keep trading",
"LANGUAGE": "Language",
"LARGE_CAP": "Large-cap",
"LAYER_1": "Layer 1",
"LEARN_MORE": "Learn more",
"LEARN_MORE_ARROW": "Learn more →",
Expand All @@ -155,7 +158,9 @@
"LEVERAGE": "Leverage",
"LIVE": "Live",
"LONG_POSITION_SHORT": "Long",
"LONG_TAIL": "Long-tail",
"MAINTENANCE_MARGIN_FRACTION": "Maintenance Margin Fraction",
"MAINTENANCE_MARGIN_FRACTION_SHORT": "MMF",
"MAKE_ONE_TRADE": "Make 1 trade",
"MANAGE_FUNDS": "Manage funds",
"MARGIN_USAGE": "Margin Usage",
Expand All @@ -172,6 +177,7 @@
"MENU": "Menu",
"METRICS": "Metrics",
"MIGRATE": "Migrate",
"MIN_CAP": "Min-cap",
"MINE": "Mine",
"MINIMUM_ORDER_SIZE": "Minimum Order Size",
"MODIFY": "Modify",
Expand Down Expand Up @@ -222,6 +228,7 @@
"REWARDS": "Rewards",
"REWARDED": "Rewarded",
"REWARD_HISTORY": "Reward History",
"SAFETY": "Safety",
"SAVE": "Save",
"SAVED": "Saved",
"SELECT_ASSET": "Select an asset",
Expand Down Expand Up @@ -1581,6 +1588,7 @@
"POPULATED_DETAILS": "Populated details",
"PREVIEW_MARKET_PROPOSAL": "Preview market proposal",
"PROPOSAL_DISCLAIMER": "When you submit a proposal, {NUM_TOKENS_REQUIRED} {NATIVE_TOKEN_DENOM} will be deducted from your wallet. After the governance vote concludes, these tokens will be returned to your wallet, except if the proposal is vetoed.",
"PROPOSAL_DISCLAIMER_1": "Submitting a proposal requires {NUM_TOKENS_REQUIRED} unstaked {NATIVE_TOKEN_DENOM}. Your {NATIVE_TOKEN_DENOM} will be locked for the duration of the proposal. Click {HERE} for more details.",
"PROPOSAL_SUBMISSION_SUCCESSFUL": "Your proposal has been successfully submitted onchain.",
"PROPOSE_NEW_MARKET": "Propose new market",
"REFERENCE_PRICE": "Reference price",
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.22",
"version": "1.1.23",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion scripts/generated/app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// !! GENERATED FILE - DO NOT EDIT

// Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift
// Generated from ../config/localization/en/app.json using codegen_localization_app.swift

export const APP_STRING_KEYS = {

Expand Down Expand Up @@ -275,6 +275,7 @@ export const APP_STRING_KEYS = {
DYDX_CHAIN_ADDRESS: 'APP.GENERAL.DYDX_CHAIN_ADDRESS',
EARNED: 'APP.GENERAL.EARNED',
EDIT: 'APP.GENERAL.EDIT',
EG: 'APP.GENERAL.EG',
EMAIL: 'APP.GENERAL.EMAIL',
ENDED: 'APP.GENERAL.ENDED',
EQUITY: 'APP.GENERAL.EQUITY',
Expand Down Expand Up @@ -312,8 +313,10 @@ export const APP_STRING_KEYS = {
INCREASING: 'APP.GENERAL.INCREASING',
INITIALIZING: 'APP.GENERAL.INITIALIZING',
INITIAL_MARGIN_FRACTION: 'APP.GENERAL.INITIAL_MARGIN_FRACTION',
INITIAL_MARGIN_FRACTION_SHORT: 'APP.GENERAL.INITIAL_MARGIN_FRACTION_SHORT',
KEEP_TRADING: 'APP.GENERAL.KEEP_TRADING',
LANGUAGE: 'APP.GENERAL.LANGUAGE',
LARGE_CAP: 'APP.GENERAL.LARGE_CAP',
LAYER_1: 'APP.GENERAL.LAYER_1',
LEARN: 'APP.GENERAL.LEARN',
LEARN_MORE: 'APP.GENERAL.LEARN_MORE',
Expand All @@ -322,7 +325,9 @@ export const APP_STRING_KEYS = {
LEVERAGE: 'APP.GENERAL.LEVERAGE',
LIVE: 'APP.GENERAL.LIVE',
LONG_POSITION_SHORT: 'APP.GENERAL.LONG_POSITION_SHORT',
LONG_TAIL: 'APP.GENERAL.LONG_TAIL',
MAINTENANCE_MARGIN_FRACTION: 'APP.GENERAL.MAINTENANCE_MARGIN_FRACTION',
MAINTENANCE_MARGIN_FRACTION_SHORT: 'APP.GENERAL.MAINTENANCE_MARGIN_FRACTION_SHORT',
MAKE_ONE_TRADE: 'APP.GENERAL.MAKE_ONE_TRADE',
MANAGE_FUNDS: 'APP.GENERAL.MANAGE_FUNDS',
MARGIN: 'APP.GENERAL.MARGIN',
Expand All @@ -341,6 +346,7 @@ export const APP_STRING_KEYS = {
MIGRATE: 'APP.GENERAL.MIGRATE',
MINE: 'APP.GENERAL.MINE',
MINIMUM_ORDER_SIZE: 'APP.GENERAL.MINIMUM_ORDER_SIZE',
MIN_CAP: 'APP.GENERAL.MIN_CAP',
MODIFY: 'APP.GENERAL.MODIFY',
NETWORK: 'APP.GENERAL.NETWORK',
NEW: 'APP.GENERAL.NEW',
Expand Down Expand Up @@ -389,6 +395,7 @@ export const APP_STRING_KEYS = {
REWARDED: 'APP.GENERAL.REWARDED',
REWARDS: 'APP.GENERAL.REWARDS',
REWARD_HISTORY: 'APP.GENERAL.REWARD_HISTORY',
SAFETY: 'APP.GENERAL.SAFETY',
SAVE: 'APP.GENERAL.SAVE',
SAVED: 'APP.GENERAL.SAVED',
SELECT_ASSET: 'APP.GENERAL.SELECT_ASSET',
Expand Down Expand Up @@ -698,6 +705,7 @@ export const APP_STRING_KEYS = {
POPULATED_DETAILS: 'APP.NEW_MARKET_WIDGET.POPULATED_DETAILS',
PREVIEW_MARKET_PROPOSAL: 'APP.NEW_MARKET_WIDGET.PREVIEW_MARKET_PROPOSAL',
PROPOSAL_DISCLAIMER: 'APP.NEW_MARKET_WIDGET.PROPOSAL_DISCLAIMER',
PROPOSAL_DISCLAIMER_1: 'APP.NEW_MARKET_WIDGET.PROPOSAL_DISCLAIMER_1',
PROPOSAL_SUBMISSION_SUCCESSFUL: 'APP.NEW_MARKET_WIDGET.PROPOSAL_SUBMISSION_SUCCESSFUL',
PROPOSE_NEW_MARKET: 'APP.NEW_MARKET_WIDGET.PROPOSE_NEW_MARKET',
REFERENCE_PRICE: 'APP.NEW_MARKET_WIDGET.REFERENCE_PRICE',
Expand Down

0 comments on commit d3391cb

Please sign in to comment.