@orderly.network/i18n 2.4.1 → 2.5.0-alpha.1
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.
- package/README.md +38 -12
- package/dist/index.d.mts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/locale.csv +45 -0
- package/dist/locales/de.json +45 -0
- package/dist/locales/en.json +45 -0
- package/dist/locales/es.json +45 -0
- package/dist/locales/fr.json +45 -0
- package/dist/locales/id.json +45 -0
- package/dist/locales/it.json +45 -0
- package/dist/locales/ja.json +45 -0
- package/dist/locales/ko.json +45 -0
- package/dist/locales/nl.json +45 -0
- package/dist/locales/pl.json +45 -0
- package/dist/locales/pt.json +45 -0
- package/dist/locales/ru.json +45 -0
- package/dist/locales/tr.json +45 -0
- package/dist/locales/uk.json +45 -0
- package/dist/locales/vi.json +45 -0
- package/dist/locales/zh.json +45 -0
- package/package.json +2 -2
- package/script/diffCsv.js +4 -1
package/dist/locales/vi.json
CHANGED
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"common.accountId": "ID tài khoản",
|
|
91
91
|
"common.web3Wallet": "Ví Web3",
|
|
92
92
|
"common.txId": "TxID",
|
|
93
|
+
"common.result": "Kết quả",
|
|
93
94
|
"markets.favorites": "Yêu thích",
|
|
94
95
|
"markets.recent": "Gần đây",
|
|
95
96
|
"markets.newListings": "Danh sách mới",
|
|
@@ -150,10 +151,18 @@
|
|
|
150
151
|
"portfolio.overview.column.token": "Token",
|
|
151
152
|
"portfolio.overview.column.qty": "Số lượng",
|
|
152
153
|
"portfolio.overview.column.indexPrice": "Giá chỉ số",
|
|
154
|
+
"portfolio.overview.column.assetValue": "Giá trị tài sản",
|
|
153
155
|
"portfolio.overview.column.collateralRatio": "Tỷ lệ tài sản thế chấp",
|
|
156
|
+
"portfolio.overview.column.collateralRatio.explain": "Tỷ lệ thế chấp cho thấy giá trị của một tài sản có thể được sử dụng làm ký quỹ",
|
|
154
157
|
"portfolio.overview.column.assetContribution": "Đóng góp tài sản",
|
|
155
158
|
"portfolio.overview.column.form": "Từ",
|
|
156
159
|
"portfolio.overview.column.to": "Đến",
|
|
160
|
+
"portfolio.overview.column.convert.convertedAsset": "Tài sản đã chuyển đổi",
|
|
161
|
+
"portfolio.overview.column.convert.usdcAmount": "Số lượng USDC",
|
|
162
|
+
"portfolio.overview.column.convert.convertId": "ID chuyển đổi",
|
|
163
|
+
"portfolio.overview.column.convert.details": "Chi tiết",
|
|
164
|
+
"portfolio.overview.tab.convert.history": "Lịch sử chuyển đổi",
|
|
165
|
+
"portfolio.overview.convert.dialog.title.details": "Chi tiết chuyển đổi",
|
|
157
166
|
"portfolio.overview.distribution.type.referralCommission": "Hoa hồng giới thiệu",
|
|
158
167
|
"portfolio.overview.distribution.type.refereeRebate": "Hoàn tiền người được giới thiệu",
|
|
159
168
|
"portfolio.overview.distribution.type.brokerFee": "Phí môi giới",
|
|
@@ -588,6 +597,42 @@
|
|
|
588
597
|
"transfer.internalTransfer.error.transferToSelf": "Không được phép chuyển vào tài khoản của chính bạn",
|
|
589
598
|
"transfer.internalTransfer.error.accountIdNotExist": "ID tài khoản người nhận không tồn tại.",
|
|
590
599
|
"transfer.internalTransfer.error.transferToSubAccount": "Không được phép chuyển vào tài khoản phụ dưới các tài khoản chính khác nhau.",
|
|
600
|
+
"transfer.swapDeposit.crossSwap.notice": "Sẽ tính phí giao dịch xuyên chuỗi. Để tránh điều này, hãy sử dụng <0>Mạng không cần cầu nối</0> được hỗ trợ của chúng tôi",
|
|
601
|
+
"transfer.swapDeposit.swap.notice": "Lưu ý rằng sẽ tính phí hoán đổi.",
|
|
602
|
+
"transfer.swapDeposit.bridging": "Cầu nối",
|
|
603
|
+
"transfer.swapDeposit.bridge": "Cầu nối",
|
|
604
|
+
"transfer.swapDeposit.bridge.description": "Cầu nối đến Arbirtum qua Stargate",
|
|
605
|
+
"transfer.swapDeposit.depositing": "Đang nạp tiền",
|
|
606
|
+
"transfer.swapDeposit.deposit": "Nạp tiền",
|
|
607
|
+
"transfer.swapDeposit.deposit.description": "Nạp tiền vào {{brokerName}}",
|
|
608
|
+
"transfer.swapDeposit.viewStatus": "Xem trạng thái",
|
|
609
|
+
"transfer.swapDeposit.depositFailed": "Nạp tiền thất bại, vui lòng thử lại sau.",
|
|
610
|
+
"transfer.slippage": "Trượt giá",
|
|
611
|
+
"transfer.slippage.slippageTolerance": "Dung sai trượt giá",
|
|
612
|
+
"transfer.slippage.slippageTolerance.description": "Giao dịch của bạn sẽ bị hoàn nguyên nếu giá thay đổi bất lợi hơn tỷ lệ phần trăm này.",
|
|
613
|
+
"transfer.swapDeposit.swapFee": "Phí hoán đổi",
|
|
614
|
+
"transfer.swapDeposit.swapFee.description": "WOOFi tính phí 0.025% cho mỗi lần hoán đổi.",
|
|
615
|
+
"transfer.swapDeposit.bridgeFee": "Phí cầu nối",
|
|
616
|
+
"transfer.swapDeposit.bridgeFee.description": "Stargate tính phí để cầu nối tài sản của bạn.",
|
|
617
|
+
"transfer.swapDeposit.minimumReceived": "Số tiền nhận tối thiểu",
|
|
618
|
+
"transfer.swapDeposit.confirmSwap": "Xác nhận hoán đổi",
|
|
619
|
+
"transfer.swapDeposit.averageSwapTime": "Thời gian hoán đổi trung bình <0>~ {{time}} phút</0>",
|
|
620
|
+
"transfer.swapDeposit.swapDialog.title": "Xem lại chi tiết hoán đổi",
|
|
621
|
+
"transfer.swapDeposit.viewFAQs": "Cần giúp đỡ? <0>Xem Câu hỏi thường gặp</0>",
|
|
622
|
+
"transfer.swapDeposit.notEnoughLiquidity": "Không đủ thanh khoản. Vui lòng thử lại sau hoặc sử dụng chuỗi khác để nạp tiền.",
|
|
623
|
+
"transfer.convert.completed": "Chuyển đổi đã hoàn thành",
|
|
624
|
+
"transfer.convert.failed": "Chuyển đổi thất bại",
|
|
625
|
+
"transfer.deposit.convertRate": "Tỷ lệ chuyển đổi",
|
|
626
|
+
"transfer.convert.convertAssets": "Chuyển đổi tài sản sang USDC",
|
|
627
|
+
"transfer.deposit.collateralContribution": "Đóng góp tài sản thế chấp",
|
|
628
|
+
"transfer.withdraw.InsufficientVaultBalance": "Số dư kho bạc không đủ",
|
|
629
|
+
"transfer.LTV": "LTV",
|
|
630
|
+
"transfer.LTV.description": "LTV (Tỷ lệ Cho vay trên Giá trị) là tỷ lệ giữa USDC âm của bạn và giá trị hiện tại của tài sản thế chấp. Nếu LTV của bạn vượt quá {{threshold}}, tài sản thế chấp sẽ được tự động chuyển đổi sang USDC.",
|
|
631
|
+
"transfer.LTV.tooltip": "Nếu LTV của bạn vượt quá {{threshold}}% hoặc số dư USDC cộng với PnL chưa thanh toán giảm xuống dưới {{usdcThreshold}}, tài sản thế chấp sẽ được tự động chuyển đổi với mức giảm giá. Để tránh điều này, bạn có thể chuyển đổi tài sản sang USDC thủ công.",
|
|
632
|
+
"transfer.LTV.currentLTV": "LTV hiện tại",
|
|
633
|
+
"transfer.convert": "Chuyển đổi",
|
|
634
|
+
"transfer.deposit.userMaxQty.error": "Đã đạt giới hạn tài sản thế chấp. Số lượng tối đa cho phép: {{maxQty}} {{token}}.",
|
|
635
|
+
"transfer.deposit.gasFee.error": "Vui lòng đảm bảo bạn có đủ {{token}} cho phí gas.",
|
|
591
636
|
"affiliate.referral": "Giới thiệu",
|
|
592
637
|
"affiliate.trader": "Nhà giao dịch",
|
|
593
638
|
"affiliate.enter": "Nhập",
|
package/dist/locales/zh.json
CHANGED
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"common.accountId": "账户 ID",
|
|
91
91
|
"common.web3Wallet": "Web3 钱包",
|
|
92
92
|
"common.txId": "交易ID",
|
|
93
|
+
"common.result": "结果",
|
|
93
94
|
"markets.favorites": "收藏",
|
|
94
95
|
"markets.recent": "最近",
|
|
95
96
|
"markets.newListings": "新上市",
|
|
@@ -150,10 +151,18 @@
|
|
|
150
151
|
"portfolio.overview.column.token": "代币",
|
|
151
152
|
"portfolio.overview.column.qty": "数量",
|
|
152
153
|
"portfolio.overview.column.indexPrice": "指数价格",
|
|
154
|
+
"portfolio.overview.column.assetValue": "资产价值",
|
|
153
155
|
"portfolio.overview.column.collateralRatio": "抵押率",
|
|
156
|
+
"portfolio.overview.column.collateralRatio.explain": "抵押比率显示资产价值中可用作保证金的比例",
|
|
154
157
|
"portfolio.overview.column.assetContribution": "资产贡献",
|
|
155
158
|
"portfolio.overview.column.form": "从",
|
|
156
159
|
"portfolio.overview.column.to": "到",
|
|
160
|
+
"portfolio.overview.column.convert.convertedAsset": "转换资产",
|
|
161
|
+
"portfolio.overview.column.convert.usdcAmount": "USDC 数量",
|
|
162
|
+
"portfolio.overview.column.convert.convertId": "转换 ID",
|
|
163
|
+
"portfolio.overview.column.convert.details": "详情",
|
|
164
|
+
"portfolio.overview.tab.convert.history": "转换历史",
|
|
165
|
+
"portfolio.overview.convert.dialog.title.details": "转换详情",
|
|
157
166
|
"portfolio.overview.distribution.type.referralCommission": "推荐佣金",
|
|
158
167
|
"portfolio.overview.distribution.type.refereeRebate": "被推荐人返利",
|
|
159
168
|
"portfolio.overview.distribution.type.brokerFee": "经纪人费用",
|
|
@@ -588,6 +597,42 @@
|
|
|
588
597
|
"transfer.internalTransfer.error.transferToSelf": "不允许向自己的账户转账",
|
|
589
598
|
"transfer.internalTransfer.error.accountIdNotExist": "收款账户 ID 不存在。",
|
|
590
599
|
"transfer.internalTransfer.error.transferToSubAccount": "不允许向不同主账户下的子账户转账。",
|
|
600
|
+
"transfer.swapDeposit.crossSwap.notice": "将收取跨链交易费用。为了避免这些费用,请使用我们支持的<0>无桥接网络</0>",
|
|
601
|
+
"transfer.swapDeposit.swap.notice": "请注意,将收取交换费用。",
|
|
602
|
+
"transfer.swapDeposit.bridging": "桥接中",
|
|
603
|
+
"transfer.swapDeposit.bridge": "桥接",
|
|
604
|
+
"transfer.swapDeposit.bridge.description": "通过Stargate桥接到Arbirtum",
|
|
605
|
+
"transfer.swapDeposit.depositing": "存款中",
|
|
606
|
+
"transfer.swapDeposit.deposit": "存款",
|
|
607
|
+
"transfer.swapDeposit.deposit.description": "存款到{{brokerName}}",
|
|
608
|
+
"transfer.swapDeposit.viewStatus": "查看状态",
|
|
609
|
+
"transfer.swapDeposit.depositFailed": "存款失败,请稍后再试。",
|
|
610
|
+
"transfer.slippage": "滑点",
|
|
611
|
+
"transfer.slippage.slippageTolerance": "滑点容忍度",
|
|
612
|
+
"transfer.slippage.slippageTolerance.description": "如果价格不利变化超过此百分比,您的交易将被撤销。",
|
|
613
|
+
"transfer.swapDeposit.swapFee": "交换费用",
|
|
614
|
+
"transfer.swapDeposit.swapFee.description": "WOOFi对每次交换收取0.025%的费用。",
|
|
615
|
+
"transfer.swapDeposit.bridgeFee": "桥接费用",
|
|
616
|
+
"transfer.swapDeposit.bridgeFee.description": "Stargate对桥接您的资产收取费用。",
|
|
617
|
+
"transfer.swapDeposit.minimumReceived": "最低接收",
|
|
618
|
+
"transfer.swapDeposit.confirmSwap": "确认交换",
|
|
619
|
+
"transfer.swapDeposit.averageSwapTime": "平均交换时间<0>~ {{time}} 分钟</0>",
|
|
620
|
+
"transfer.swapDeposit.swapDialog.title": "查看交换详情",
|
|
621
|
+
"transfer.swapDeposit.viewFAQs": "需要帮助?<0>查看常见问题</0>",
|
|
622
|
+
"transfer.swapDeposit.notEnoughLiquidity": "流动性不足。请稍后再试或使用其他链进行存款。",
|
|
623
|
+
"transfer.convert.completed": "转换完成",
|
|
624
|
+
"transfer.convert.failed": "转换失败",
|
|
625
|
+
"transfer.deposit.convertRate": "兑换汇率",
|
|
626
|
+
"transfer.convert.convertAssets": "将资产转换为 USDC",
|
|
627
|
+
"transfer.deposit.collateralContribution": "抵押品贡献",
|
|
628
|
+
"transfer.withdraw.InsufficientVaultBalance": "保险库余额不足",
|
|
629
|
+
"transfer.LTV": "贷款价值比",
|
|
630
|
+
"transfer.LTV.description": "LTV(贷款价值比)是您的负 USDC 与抵押品当前价值之间的比率。如果您的 LTV 超过 {{threshold}},您的抵押品将自动转换为 USDC。",
|
|
631
|
+
"transfer.LTV.tooltip": "如果您的 LTV 超过 {{threshold}}% 或您的 USDC 余额加上未结算盈亏低于 {{usdcThreshold}},您的抵押品将自动转换并扣除折扣。为避免这种情况,您可以手动将资产转换为 USDC。",
|
|
632
|
+
"transfer.LTV.currentLTV": "当前 LTV",
|
|
633
|
+
"transfer.convert": "转换",
|
|
634
|
+
"transfer.deposit.userMaxQty.error": "已达到抵押品上限。最大允许数量:{{maxQty}} {{token}}。",
|
|
635
|
+
"transfer.deposit.gasFee.error": "请确保您有足够的 {{token}} 用于支付 gas 费用。",
|
|
591
636
|
"affiliate.referral": "推荐",
|
|
592
637
|
"affiliate.trader": "交易员",
|
|
593
638
|
"affiliate.enter": "输入",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/i18n",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0-alpha.1",
|
|
4
4
|
"description": "Internationalization for orderly sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tsup": "^7.1.0",
|
|
47
47
|
"typescript": "^5.1.6",
|
|
48
48
|
"yargs": "^17.7.2",
|
|
49
|
-
"tsconfig": "0.
|
|
49
|
+
"tsconfig": "0.8.0-alpha.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18",
|
package/script/diffCsv.js
CHANGED
|
@@ -3,7 +3,10 @@ const path = require("path");
|
|
|
3
3
|
const { csv2multiJson } = require("./json-csv-converter");
|
|
4
4
|
const packageJson = require("../package.json");
|
|
5
5
|
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* https://www.jsdelivr.com/package/npm/@orderly.network/i18n?tab=files&path=dist
|
|
8
|
+
* Compare two locale CSV files
|
|
9
|
+
*/
|
|
7
10
|
async function diffCsv(oldFile, newFile) {
|
|
8
11
|
const oldCsv = await fs.readFile(oldFile, { encoding: "utf8" });
|
|
9
12
|
const newCsv = await fs.readFile(newFile, { encoding: "utf8" });
|