@orderly.network/i18n 2.10.2-alpha.0 → 2.11.0-alpha.0

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.
@@ -452,6 +452,7 @@ declare const en: {
452
452
  "transfer.LTV.description": string;
453
453
  "transfer.LTV.tooltip": string;
454
454
  "transfer.LTV.currentLTV": string;
455
+ "transfer.LTV.isolatedModeUsdcOnly": string;
455
456
  "transfer.convert": string;
456
457
  "transfer.deposit.globalMaxQty.error": string;
457
458
  "transfer.deposit.gasFee.error": string;
@@ -668,6 +669,20 @@ declare const en: {
668
669
  "orderEntry.slTriggerPrice.error.max": string;
669
670
  "orderEntry.total.error.min": string;
670
671
  "orderEntry.initialMarginTotal.error.min": string;
672
+ "marginMode.switchMarginMode": string;
673
+ "marginMode.cross": string;
674
+ "marginMode.isolated": string;
675
+ "marginMode.crossMargin": string;
676
+ "marginMode.isolatedMargin": string;
677
+ "marginMode.crossMarginDescription": string;
678
+ "marginMode.isolatedMarginDescription": string;
679
+ "marginMode.current": string;
680
+ "marginMode.marginModeSettings": string;
681
+ "marginMode.updatedSuccessfully": string;
682
+ "marginMode.perpetualFutures": string;
683
+ "marginMode.searchPlaceholder": string;
684
+ "marginMode.selectAll": string;
685
+ "marginMode.setAs": string;
671
686
  "orderEntry.startPrice.error.required": string;
672
687
  "orderEntry.startPrice.error.min": string;
673
688
  "orderEntry.startPrice.error.max": string;
@@ -885,6 +900,17 @@ declare const en: {
885
900
  "positions.reverse.marketOpenShort": string;
886
901
  "positions.reverse.reverseToLong": string;
887
902
  "positions.reverse.reverseToShort": string;
903
+ "positions.adjustMargin.title": string;
904
+ "positions.adjustMargin.add": string;
905
+ "positions.adjustMargin.reduce": string;
906
+ "positions.adjustMargin.quantity": string;
907
+ "positions.adjustMargin.max": string;
908
+ "positions.adjustMargin.currentMargin": string;
909
+ "positions.adjustMargin.liqPriceAfter": string;
910
+ "positions.adjustMargin.leverageAfter": string;
911
+ "positions.adjustMargin.success": string;
912
+ "positions.adjustMargin.failed": string;
913
+ "positions.adjustMargin.marginCannotMoreThanMax": string;
888
914
  "chart.now": string;
889
915
  "trading.layout": string;
890
916
  "trading.layout.advanced": string;
@@ -1106,6 +1132,7 @@ declare const en: {
1106
1132
  "markets.symbolInfoBar.predFundingRate": string;
1107
1133
  "markets.symbolInfoBar.predFundingRate.tooltip": string;
1108
1134
  "common.cancel": string;
1135
+ "common.close": string;
1109
1136
  "common.confirm": string;
1110
1137
  "common.ok": string;
1111
1138
  "common.yes": string;
@@ -452,6 +452,7 @@ declare const en: {
452
452
  "transfer.LTV.description": string;
453
453
  "transfer.LTV.tooltip": string;
454
454
  "transfer.LTV.currentLTV": string;
455
+ "transfer.LTV.isolatedModeUsdcOnly": string;
455
456
  "transfer.convert": string;
456
457
  "transfer.deposit.globalMaxQty.error": string;
457
458
  "transfer.deposit.gasFee.error": string;
@@ -668,6 +669,20 @@ declare const en: {
668
669
  "orderEntry.slTriggerPrice.error.max": string;
669
670
  "orderEntry.total.error.min": string;
670
671
  "orderEntry.initialMarginTotal.error.min": string;
672
+ "marginMode.switchMarginMode": string;
673
+ "marginMode.cross": string;
674
+ "marginMode.isolated": string;
675
+ "marginMode.crossMargin": string;
676
+ "marginMode.isolatedMargin": string;
677
+ "marginMode.crossMarginDescription": string;
678
+ "marginMode.isolatedMarginDescription": string;
679
+ "marginMode.current": string;
680
+ "marginMode.marginModeSettings": string;
681
+ "marginMode.updatedSuccessfully": string;
682
+ "marginMode.perpetualFutures": string;
683
+ "marginMode.searchPlaceholder": string;
684
+ "marginMode.selectAll": string;
685
+ "marginMode.setAs": string;
671
686
  "orderEntry.startPrice.error.required": string;
672
687
  "orderEntry.startPrice.error.min": string;
673
688
  "orderEntry.startPrice.error.max": string;
@@ -885,6 +900,17 @@ declare const en: {
885
900
  "positions.reverse.marketOpenShort": string;
886
901
  "positions.reverse.reverseToLong": string;
887
902
  "positions.reverse.reverseToShort": string;
903
+ "positions.adjustMargin.title": string;
904
+ "positions.adjustMargin.add": string;
905
+ "positions.adjustMargin.reduce": string;
906
+ "positions.adjustMargin.quantity": string;
907
+ "positions.adjustMargin.max": string;
908
+ "positions.adjustMargin.currentMargin": string;
909
+ "positions.adjustMargin.liqPriceAfter": string;
910
+ "positions.adjustMargin.leverageAfter": string;
911
+ "positions.adjustMargin.success": string;
912
+ "positions.adjustMargin.failed": string;
913
+ "positions.adjustMargin.marginCannotMoreThanMax": string;
888
914
  "chart.now": string;
889
915
  "trading.layout": string;
890
916
  "trading.layout.advanced": string;
@@ -1106,6 +1132,7 @@ declare const en: {
1106
1132
  "markets.symbolInfoBar.predFundingRate": string;
1107
1133
  "markets.symbolInfoBar.predFundingRate.tooltip": string;
1108
1134
  "common.cancel": string;
1135
+ "common.close": string;
1109
1136
  "common.confirm": string;
1110
1137
  "common.ok": string;
1111
1138
  "common.yes": string;
@@ -1,2 +1,2 @@
1
- export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-UZhfXyyb.mjs';
1
+ export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-BeXwHrGj.mjs';
2
2
  import 'react';
@@ -1,2 +1,2 @@
1
- export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-UZhfXyyb.js';
1
+ export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-BeXwHrGj.js';
2
2
  import 'react';
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LocaleCode, R as Resources, a as LocaleContextState } from './constant-UZhfXyyb.mjs';
2
- export { b as Language, d as LocaleContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLocaleContext } from './constant-UZhfXyyb.mjs';
1
+ import { L as LocaleCode, R as Resources, a as LocaleContextState } from './constant-BeXwHrGj.mjs';
2
+ export { b as Language, d as LocaleContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLocaleContext } from './constant-BeXwHrGj.mjs';
3
3
  import * as react_i18next from 'react-i18next';
4
4
  import { I18nextProviderProps, FallbackNs, UseTranslationOptions } from 'react-i18next';
5
5
  export * from 'react-i18next';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LocaleCode, R as Resources, a as LocaleContextState } from './constant-UZhfXyyb.js';
2
- export { b as Language, d as LocaleContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLocaleContext } from './constant-UZhfXyyb.js';
1
+ import { L as LocaleCode, R as Resources, a as LocaleContextState } from './constant-BeXwHrGj.js';
2
+ export { b as Language, d as LocaleContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLocaleContext } from './constant-BeXwHrGj.js';
3
3
  import * as react_i18next from 'react-i18next';
4
4
  import { I18nextProviderProps, FallbackNs, UseTranslationOptions } from 'react-i18next';
5
5
  export * from 'react-i18next';
package/dist/index.js CHANGED
@@ -237,6 +237,7 @@ var chart = {
237
237
  // src/locale/module/common.ts
238
238
  var common = {
239
239
  "common.cancel": "Cancel",
240
+ "common.close": "Close",
240
241
  "common.confirm": "Confirm",
241
242
  "common.ok": "OK",
242
243
  "common.yes": "Yes",
@@ -619,6 +620,21 @@ var orderEntry = {
619
620
  "orderEntry.slTriggerPrice.error.max": "SL Price must be less than {{value}}",
620
621
  "orderEntry.total.error.min": "The order value should be greater or equal to {{value}} USDC",
621
622
  "orderEntry.initialMarginTotal.error.min": "The initial margin should be greater or equal to {{value}} USDC",
623
+ // Margin mode (Cross / Isolated)
624
+ "marginMode.switchMarginMode": "Switch Margin Mode",
625
+ "marginMode.cross": "Cross",
626
+ "marginMode.isolated": "Isolated",
627
+ "marginMode.crossMargin": "Cross Margin",
628
+ "marginMode.isolatedMargin": "Isolated Margin",
629
+ "marginMode.crossMarginDescription": "Margin and PnL are shared across positions. You may lose all positions if liquidation occurs.",
630
+ "marginMode.isolatedMarginDescription": "Margin and PnL are independent for each position. You'll only lose the current position if liquidation occurs.",
631
+ "marginMode.current": "Current",
632
+ "marginMode.marginModeSettings": "Margin mode settings",
633
+ "marginMode.updatedSuccessfully": "Updated successfully",
634
+ "marginMode.perpetualFutures": "Perpetual futures",
635
+ "marginMode.searchPlaceholder": "Search",
636
+ "marginMode.selectAll": "Select all",
637
+ "marginMode.setAs": "Set as",
622
638
  "orderEntry.startPrice.error.required": "Start price is required",
623
639
  "orderEntry.startPrice.error.min": "Start price must be greater than {{value}}",
624
640
  "orderEntry.startPrice.error.max": "Start price must be less than {{value}}",
@@ -813,9 +829,9 @@ var positions = {
813
829
  "positions.column.liqPrice": "Liq. price",
814
830
  "positions.column.unrealPnl.tooltip": "Current unrealized profit or loss on your open positions across all widgets calculated using Mark Price.",
815
831
  "positions.column.unrealPnl.priceBasis": "Unrealized PnL Price Basis",
816
- "positions.column.margin": "Maintenance Margin",
817
- "positions.column.margin.tooltip": "The minimum equity to keep your position.",
818
- "positions.column.margin.formula": "Margin = Position size * Mark price * MMR",
832
+ "positions.column.margin": "Margin",
833
+ "positions.column.margin.tooltip": "Isolated margin locked in the position",
834
+ "positions.column.margin.formula": "Margin = Position size * Open price * IMR",
819
835
  "positions.column.close": "Close",
820
836
  "positions.limitClose": "Limit close",
821
837
  "positions.limitClose.description": "You agree closing {{quantity}} {{base}} position at limit price.",
@@ -863,7 +879,19 @@ var positions = {
863
879
  "positions.reverse.marketOpenLong": "Market Open Long",
864
880
  "positions.reverse.marketOpenShort": "Market Open Short",
865
881
  "positions.reverse.reverseToLong": "Reverse to Long",
866
- "positions.reverse.reverseToShort": "Reverse to Short"
882
+ "positions.reverse.reverseToShort": "Reverse to Short",
883
+ // Adjust Margin
884
+ "positions.adjustMargin.title": "Adjust Margin",
885
+ "positions.adjustMargin.add": "Add Margin",
886
+ "positions.adjustMargin.reduce": "Reduce Margin",
887
+ "positions.adjustMargin.quantity": "Quantity",
888
+ "positions.adjustMargin.max": "Max",
889
+ "positions.adjustMargin.currentMargin": "Current margin:",
890
+ "positions.adjustMargin.liqPriceAfter": "Liquidation price after adjustment:",
891
+ "positions.adjustMargin.leverageAfter": "Effective leverage after adjustment:",
892
+ "positions.adjustMargin.success": "Margin adjusted successfully",
893
+ "positions.adjustMargin.failed": "Failed to adjust margin",
894
+ "positions.adjustMargin.marginCannotMoreThanMax": "Margin cannot be more than max"
867
895
  };
868
896
 
869
897
  // src/locale/module/scaffold.ts
@@ -1283,6 +1311,7 @@ var transfer = {
1283
1311
  "transfer.LTV.description": `LTV (Loan-to-Value) is the ratio between your negative USDC and the current value of your collateral. If your LTV exceeds {{threshold}}, your collateral will be automatically converted to USDC.`,
1284
1312
  "transfer.LTV.tooltip": `If your LTV exceeds {{threshold}}% or your USDC balance plus Unsettled PnL falls below {{usdcThreshold}}, your collateral will be automatically converted with a haircut. To avoid this, you can manually convert assets to USDC.`,
1285
1313
  "transfer.LTV.currentLTV": "Current LTV",
1314
+ "transfer.LTV.isolatedModeUsdcOnly": "Only USDC can be used as margin in Isolated Mode.",
1286
1315
  "transfer.convert": "Convert",
1287
1316
  // "transfer.convert.note": "Please note that convert fees will be charged.",
1288
1317
  "transfer.deposit.globalMaxQty.error": "Your deposit couldn't be processed because the global deposit cap for {{token}} on {{chain}} has been reached. This is typically resolved after rebalancing, which takes around 1 hour. Please try again later, or use a smaller amount or a different chain. <0>Learn more</0>",