Skip to content

Commit

Permalink
Update token usage disclaimer for New Market Widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu committed Feb 3, 2024
1 parent b4064d6 commit e63d06d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
5 changes: 5 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,6 +145,7 @@
"INCREASED": "increased",
"INCREASING": "Increasing",
"INITIAL_MARGIN_FRACTION": "Initial Margin Fraction",
"INITIAL_MARGIN_FRACTION_SHORT": "IMF",
"INITIALIZING": "Initializing",
"KEEP_TRADING": "Keep trading",
"LANGUAGE": "Language",
Expand All @@ -152,10 +154,12 @@
"LEARN_MORE_ARROW": "Learn more →",
"LEARN": "Learn",
"LEGACY": "Legacy",
"LIQUIDITY_TIERS": "Liquidity Tiers",
"LEVERAGE": "Leverage",
"LIVE": "Live",
"LONG_POSITION_SHORT": "Long",
"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 Down Expand Up @@ -1581,6 +1585,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
7 changes: 6 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,6 +313,7 @@ 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',
LAYER_1: 'APP.GENERAL.LAYER_1',
Expand All @@ -320,9 +322,11 @@ export const APP_STRING_KEYS = {
LEARN_MORE_ARROW: 'APP.GENERAL.LEARN_MORE_ARROW',
LEGACY: 'APP.GENERAL.LEGACY',
LEVERAGE: 'APP.GENERAL.LEVERAGE',
LIQUIDITY_TIERS: 'APP.GENERAL.LIQUIDITY_TIERS',
LIVE: 'APP.GENERAL.LIVE',
LONG_POSITION_SHORT: 'APP.GENERAL.LONG_POSITION_SHORT',
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 Down Expand Up @@ -698,6 +702,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 e63d06d

Please sign in to comment.