@dydxprotocol/v4-localization 0.1.34 → 0.1.36
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.
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"TITLE": "Order Canceled",
|
|
17
17
|
"BODY": "Your order to {SIDE} {AMOUNT} {MARKET} has been canceled."
|
|
18
18
|
},
|
|
19
|
+
"ORDER_CANCEL_WITH_PARTIAL_FILL": {
|
|
20
|
+
"TITLE": "Order Canceled with Partial Fill",
|
|
21
|
+
"BODY": "Your order to {SIDE} {AMOUNT} {MARKET} has been canceled with {TOTAL_FILLED} partially filled."
|
|
22
|
+
},
|
|
19
23
|
"LIQUIDATION": {
|
|
20
24
|
"TITLE": "Position Liquidated",
|
|
21
25
|
"BODY": "Your {SIDE} position on {MARKET} has been liquidated."
|
package/index.ts
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import walletConnect from './wallet_connect';
|
|
5
|
-
import { APP } from './config/localization/app';
|
|
1
|
+
import marketsV4 from "./v4/staging/markets.json";
|
|
2
|
+
import walletConnect from "./wallet_connect";
|
|
3
|
+
import { APP } from "./config/localization/app";
|
|
6
4
|
|
|
7
|
-
export { TOOLTIPS } from
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
export { TOOLTIPS } from "./config/localization/tooltip";
|
|
6
|
+
export {
|
|
7
|
+
APP_STRING_KEYS,
|
|
8
|
+
ERRORS_STRING_KEYS,
|
|
9
|
+
WARNINGS_STRING_KEYS,
|
|
10
|
+
TOKEN_MIGRATION_STRING_KEYS,
|
|
11
|
+
} from "./scripts/generated/app";
|
|
12
|
+
export { TOOLTIP_STRING_KEYS } from "./scripts/generated/tooltips";
|
|
13
|
+
export { APP_NATIVE } from "./config/localizations_native";
|
|
14
|
+
export { NOTIFICATIONS } from "./config/localization_notifications";
|
|
15
|
+
export { NOTIFICATIONS_STRING_KEYS } from "./scripts/generated/notifications";
|
|
13
16
|
|
|
14
|
-
export { DEV_ENDPOINTS, ENDPOINTS_STAGING, WALLETS_V2_STAGING } from './config/staging';
|
|
15
|
-
export { ENDPOINTS, WALLETS_V2_PRODUCTION } from './config/prod';
|
|
16
|
-
|
|
17
|
-
export const COUNTRIES = countries;
|
|
18
17
|
export const MARKETS_V4 = marketsV4;
|
|
19
|
-
export const VERSION_IOS = versionIos;
|
|
20
18
|
export const WALLET_CONNECT = walletConnect;
|
|
21
19
|
|
|
22
20
|
export type SupportedLocale = keyof typeof APP;
|
package/package.json
CHANGED
|
@@ -14,6 +14,8 @@ export const NOTIFICATIONS_STRING_KEYS = {
|
|
|
14
14
|
LIQUIDATION_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.LIQUIDATION.TITLE',
|
|
15
15
|
ORDER_CANCEL_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_CANCEL.BODY',
|
|
16
16
|
ORDER_CANCEL_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_CANCEL.TITLE',
|
|
17
|
+
ORDER_CANCEL_WITH_PARTIAL_FILL_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_CANCEL_WITH_PARTIAL_FILL.BODY',
|
|
18
|
+
ORDER_CANCEL_WITH_PARTIAL_FILL_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_CANCEL_WITH_PARTIAL_FILL.TITLE',
|
|
17
19
|
ORDER_FILL_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_FILL.BODY',
|
|
18
20
|
ORDER_FILL_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_FILL.TITLE',
|
|
19
21
|
ORDER_PARTIAL_FILL_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_PARTIAL_FILL.BODY',
|