Skip to content

Commit

Permalink
localization strings for market wind down + update collateral language (
Browse files Browse the repository at this point in the history
#672)

* added

* version bump

* english god
  • Loading branch information
moo-onthelawn authored Aug 28, 2024
1 parent fc54f1e commit 9e4d611
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2292,7 +2292,7 @@
"WOULD_NOT_REDUCE_UNCHECK": "Your position would not be reduced with this order. Please uncheck Reduce-Only if you would like to place your order.",
"INVALID_GOOD_TIL_MAX_90_DAYS": "Good Til exceeds the maximum 90 days.",
"POSITION_LEVERAGE_OVER_MAX": "Resulting position leverage would be over the maximum leverage for this market.",
"ISOLATED_MARGIN_LIMIT_ORDER_BELOW_MINIMUM": "This limit order is below the minimum order size of {MIN_VALUE}."
"ISOLATED_MARGIN_LIMIT_ORDER_BELOW_MINIMUM": "Your order is below the minimum collateral requirement for isolated margin orders. Isolated margin orders require at least {MIN_VALUE} of collateral."
},
"TRADE_BOX_TITLE": {
"AMOUNT_INPUT_STEP_SIZE": "Step size",
Expand Down
8 changes: 8 additions & 0 deletions config/localization_notifications/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@
"TITLE": "$20K giveaway",
"BODY": "To celebrate surpassing 200B in cumulative trading volume, dYdX is running a Twitter giveaway, where you have the opportunity to claim $200. 100 winners will be selected based on a random selection mechanism after August 16, 2024, 23:59 UTC {HERE_LINK}."
},
"MARKET_WIND_DOWN": {
"TITLE": "{MARKET} market wound down",
"BODY": "On {DATE}, the {MARKET} market went through final settlement. Existing positions have been closed and open orders have now been canceled. You can find more information regarding the final settlement {HERE_LINK}."
},
"MARKET_WIND_DOWN_PROPOSAL": {
"TITLE": "Live proposal to wind down {MARKET} market",
"BODY": "There is currently a live proposal to wind down the {MARKET} market. If passed, the {MARKET} market will enter final settlement on {DATE}. Existing positions will be closed and open orders will be canceled. You can find more information regarding the proposal {HERE_LINK}."
},
"TWO_MARKET_WIND_DOWN": {
"TITLE": "{MARKET_1} and {MARKET_2} markets wound down",
"BODY": "On {DATE}, the {MARKET_1} and {MARKET_2} markets went through final settlement. Existing positions have been closed and open orders have now been canceled. You can find more information regarding the final settlement {HERE_LINK}."
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.184",
"version": "1.1.185",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions scripts/generated/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export const NOTIFICATIONS_STRING_KEYS = {
LIQUIDATION_TITLE: 'NOTIFICATIONS.LIQUIDATION.TITLE',
MARKET_PARAM_UPDATE_BODY: 'NOTIFICATIONS.MARKET_PARAM_UPDATE.BODY',
MARKET_PARAM_UPDATE_TITLE: 'NOTIFICATIONS.MARKET_PARAM_UPDATE.TITLE',
MARKET_WIND_DOWN_BODY: 'NOTIFICATIONS.MARKET_WIND_DOWN.BODY',
MARKET_WIND_DOWN_TITLE: 'NOTIFICATIONS.MARKET_WIND_DOWN.TITLE',
MARKET_WIND_DOWN_PROPOSAL_BODY: 'NOTIFICATIONS.MARKET_WIND_DOWN_PROPOSAL.BODY',
MARKET_WIND_DOWN_PROPOSAL_TITLE: 'NOTIFICATIONS.MARKET_WIND_DOWN_PROPOSAL.TITLE',
OFFSETTING_BODY: 'NOTIFICATIONS.OFFSETTING.BODY',
OFFSETTING_TITLE: 'NOTIFICATIONS.OFFSETTING.TITLE',
ORDER_CANCEL_BODY: 'NOTIFICATIONS.ORDER_CANCEL.BODY',
Expand Down

0 comments on commit 9e4d611

Please sign in to comment.