@dydxprotocol/v4-localization 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"AVAILABLE": "Available",
|
|
48
48
|
"BACK": "Back",
|
|
49
49
|
"BALANCE": "Balance",
|
|
50
|
+
"BASE_INITIAL_MARGIN_FRACTION": "Base Initial Margin Fraction",
|
|
51
|
+
"BASE_POSITION_NOTIONAL": "Base Position Notional",
|
|
50
52
|
"BLOCK_HEIGHT": "Block Height",
|
|
51
53
|
"BUY": "Buy",
|
|
52
54
|
"BUYING_POWER": "Buying Power",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"INITIAL_MARGIN_FRACTION": {
|
|
75
75
|
"TITLE": "Initial Margin Fraction",
|
|
76
|
-
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the initial margin fraction, you will no longer be allowed to increase your position. To limit risk, the initial margin fraction increases
|
|
76
|
+
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the initial margin fraction, you will no longer be allowed to increase your position. To limit risk, the initial margin fraction increases by the square root of position size divided by Base Positional Notional multiplied by Base Initial Margin Fraction."
|
|
77
77
|
},
|
|
78
78
|
"INITIAL_STOP": {
|
|
79
79
|
"TITLE": "Initial Stop",
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
<p align="center"><img src="https://dydx.exchange/icon.svg?" width="256" /></p>
|
|
2
|
+
|
|
3
|
+
<h1 align="center">v4 Localization</h1>
|
|
4
|
+
|
|
5
|
+
<div align="center">
|
|
6
|
+
<a href='https://www.npmjs.com/package/@dydxprotocol/v4-localization'>
|
|
7
|
+
<img src='https://img.shields.io/npm/v/@dydxprotocol/v4-localization.svg' alt='NPM'/>
|
|
8
|
+
</a>
|
|
9
|
+
<a href='https://github.com/dydxprotocol/v4-localization/blob/main/LICENSE'>
|
|
10
|
+
<img src='https://img.shields.io/badge/License-BSL_1.1-blue' alt='License' />
|
|
11
|
+
</a>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
1
14
|
# Translation structures
|
|
2
15
|
|
|
3
16
|
There are four folders for translations.
|
package/scripts/generated/app.ts
CHANGED
|
@@ -317,6 +317,8 @@ export const APP_STRING_KEYS = {
|
|
|
317
317
|
AVAILABLE: 'APP.GENERAL.AVAILABLE',
|
|
318
318
|
BACK: 'APP.GENERAL.BACK',
|
|
319
319
|
BALANCE: 'APP.GENERAL.BALANCE',
|
|
320
|
+
BASE_INITIAL_MARGIN_FRACTION: 'APP.GENERAL.BASE_INITIAL_MARGIN_FRACTION',
|
|
321
|
+
BASE_POSITION_NOTIONAL: 'APP.GENERAL.BASE_POSITION_NOTIONAL',
|
|
320
322
|
BLOCK_HEIGHT: 'APP.GENERAL.BLOCK_HEIGHT',
|
|
321
323
|
BUY: 'APP.GENERAL.BUY',
|
|
322
324
|
BUYING_POWER: 'APP.GENERAL.BUYING_POWER',
|