@cfxjs/sirius-next-i18n 0.0.0 → 0.1.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.
Files changed (32) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/cspace/en/translation.json +38 -9
  3. package/cspace/zh_cn/translation.json +39 -10
  4. package/cspace/zh_cn/translationForDotNet.json +42 -2038
  5. package/dist/cspace/en/translation.json +38 -9
  6. package/dist/cspace/zh_cn/index.d.ts +2 -0
  7. package/dist/cspace/zh_cn/index.d.ts.map +1 -0
  8. package/dist/cspace/zh_cn/index.js +14 -0
  9. package/dist/cspace/zh_cn/translation.json +2369 -0
  10. package/dist/cspace/zh_cn/translationForDotNet.json +2289 -0
  11. package/dist/evm/base/en/translation.json +34 -8
  12. package/evm/base/en/translation.json +34 -8
  13. package/evm/base/zh_cn/translation.json +34 -9
  14. package/node_modules/@cfxjs/sirius-next-eslint-config/README.md +3 -0
  15. package/node_modules/@cfxjs/sirius-next-eslint-config/library.js +34 -0
  16. package/node_modules/@cfxjs/sirius-next-eslint-config/package.json +18 -0
  17. package/node_modules/@cfxjs/sirius-next-eslint-config/react-internal.js +43 -0
  18. package/node_modules/@cfxjs/sirius-next-typescript-config/base.json +20 -0
  19. package/node_modules/@cfxjs/sirius-next-typescript-config/package.json +9 -0
  20. package/node_modules/@cfxjs/sirius-next-typescript-config/react-library.json +8 -0
  21. package/node_modules/@turbo/gen/LICENSE +373 -0
  22. package/node_modules/@turbo/gen/README.md +38 -0
  23. package/node_modules/@turbo/gen/dist/cli.d.ts +1 -0
  24. package/node_modules/@turbo/gen/dist/cli.js +127 -0
  25. package/node_modules/@turbo/gen/dist/templates/simple-js/config.js +43 -0
  26. package/node_modules/@turbo/gen/dist/templates/simple-js/templates/turborepo-generators.hbs +5 -0
  27. package/node_modules/@turbo/gen/dist/templates/simple-ts/config.ts +45 -0
  28. package/node_modules/@turbo/gen/dist/templates/simple-ts/templates/turborepo-generators.hbs +5 -0
  29. package/node_modules/@turbo/gen/dist/types.d.ts +2 -0
  30. package/node_modules/@turbo/gen/dist/types.js +1 -0
  31. package/node_modules/@turbo/gen/package.json +57 -0
  32. package/package.json +8 -8
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @cfxjs/sirius-next-i18n@0.0.0 build /Users/mac/Desktop/code/sirius-next/packages/i18n
3
+ > @cfxjs/sirius-next-i18n@0.1.0 build /Users/mac/Desktop/code/sirius-next/packages/i18n
4
4
  > tsc
5
5
 
@@ -1199,7 +1199,8 @@
1199
1199
  "reward": "Reward",
1200
1200
  "age": "Age",
1201
1201
  "difficulty": "Difficulty",
1202
- "gasLimit": "Gas Limit"
1202
+ "gasLimit": "Gas Limit",
1203
+ "burntFees": "Burnt Fees"
1203
1204
  },
1204
1205
  "transaction": {
1205
1206
  "hash": "Txn Hash",
@@ -1501,14 +1502,21 @@
1501
1502
  "gasUsed": "Limit | Gas Used | Gas Charged",
1502
1503
  "gasPrice": "Gas Price",
1503
1504
  "gasFee": "Gas Fee",
1505
+ "transactionFee": "Transaction Fee",
1506
+ "baseFee": "Base: {{amount}}",
1507
+ "maxFee": "Max: {{amount}}",
1508
+ "maxPriorityFee": "Priority: {{amount}}",
1509
+ "burntFees": "Burnt Fees",
1510
+ "transactionAttributes": "Transaction Attributes",
1504
1511
  "gasCharged": "Gas Charged",
1505
- "nonce": "Nonce",
1512
+ "txnType": "Txn Type: {{type}} {{typeDesc}} ",
1513
+ "nonce": "Nonce: {{num}}",
1506
1514
  "blockHash": "Block Hash",
1507
- "position": "Position",
1515
+ "position": "Position in block: {{num}}",
1508
1516
  "storageLimit": "Storage Used/Limit",
1509
1517
  "storageCollateralized": "Storage Collateralize Fee",
1510
1518
  "storageReleased": "Storage Released",
1511
- "chainID": "Chain ID",
1519
+ "chainID": "Chain ID: {{num}}",
1512
1520
  "inputData": "Input Data",
1513
1521
  "select": {
1514
1522
  "decodeInputData": "Decode Input Data",
@@ -1634,6 +1642,9 @@
1634
1642
  "parentHash": "Parent Hash",
1635
1643
  "nonce": "Nonce",
1636
1644
  "gasUsed": "Limit | Gas Used",
1645
+ "gasTargetUsage": "Gas Target Usage",
1646
+ "baseFeePerGas": "Base Fee Per Gas",
1647
+ "burntFeesLabel": "Burnt Fees",
1637
1648
  "timestamp": "Timestamp",
1638
1649
  "size": "Size",
1639
1650
  "transactions": "Transactions",
@@ -1742,7 +1753,7 @@
1742
1753
  "epoch": "Epoch refers to the block height of the first pivot block that (directly or indirectly) references this block. The epoch number of a block represents the time when this block is first observed by pivot blocks. A block in an earlier epoch always precedes blocks in later epoches in the total order of all blocks.",
1743
1754
  "difficulty": "The amount of effort required to mine a new block. The difficulty may adjust according to time.",
1744
1755
  "miner": "Miner who successfully generate the block onto the blockchain.",
1745
- "reward": "The miner of this block is rewarded with a finite amount of CFX, consists of base reward, reward from storage collateral interest and transaction fee.",
1756
+ "reward": "The reward of the miner who mined the block received, consists of block base reward, reward from transaction fees including priority fees, burnt remaining base fees and storage collateral interest.",
1746
1757
  "security": "The security of block, higher security requires more block confirmations.",
1747
1758
  "blame": "The number of consecutive ancestor blocks whose state commitments are incorrect and need revision. The state commitments can be realized as digests of transaction execution receipts and account status. An incorrect state commitment may affect the miner's reward, but has nothing to do with the consensus of total order of all blocks.",
1748
1759
  "blockHash": "The hash of the block header of the current block.",
@@ -1750,10 +1761,18 @@
1750
1761
  "parentHash": "The hash of the block from which this block was generated, also known as its parent block.",
1751
1762
  "nonce": "Block nonce is a value used during mining to demonstrate proof of work for a block.",
1752
1763
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1764
+ "gasTargetUsage": "Refers to Pivot block gas target usage, the target is 27,000,000.",
1765
+ "baseFeePerGas": "This represents the minimum gasUsed multiplier required for a tx included in a Pivot block and shows the %increase with the value in previous specified block.",
1766
+ "burntFeesLabel": "This represents the part of the tx fee based on CIP-1559, CIP-137 and CIP-107 that is burnt: baseFeePerGas*gasUsed*votingParam+storageInterestBurnt",
1753
1767
  "timestamp": "The date and time at which a block is mined.",
1754
1768
  "size": "The block size is actually determined by the block's gas limit.",
1755
1769
  "transactions": "The amout of transactions which belong to the block.",
1756
- "referenceBlocks": "The other blocks referred by the current block."
1770
+ "referenceBlocks": "The other blocks referred by the current block.",
1771
+ "powBaseBlockReward": "PoW Base Block Reward: {{amount}}",
1772
+ "transactionFees": "Transaction Fees: {{amount}}",
1773
+ "storageInterest": "Storage Interest: {{amount}}",
1774
+ "burntFees": "Burnt Fees: {{amount}}",
1775
+ "compareToPivotBlock": "Compare to Pivot block: {{block}}"
1757
1776
  },
1758
1777
  "tx": {
1759
1778
  "transactionHash": "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",
@@ -1768,7 +1787,10 @@
1768
1787
  "value": "The value being transacted in CFX. ",
1769
1788
  "gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
1770
1789
  "gasPrice": "Cost per unit of gas specified for the transaction in GDrip. The higher the gas price the higher chance of getting included in a block.",
1771
- "gasFee": "The exact fee of gas that was used for the transaction.",
1790
+ "gasFee": "Base: Refers to the base fee at the time of the Pivot block on Conflux Core.\nMax | Priority: Refers to the max amount a user is willing to pay for tx & to give the block producer respective reward.",
1791
+ "transactionFee": "The exact fee of gas that was used for the transaction.",
1792
+ "burntFees": "Total amount of CFX burnt from this tx.",
1793
+ "transactionAttributes": "Attributes related to this tx.",
1772
1794
  "gasLimitTip": "Limit: Maximum amount of gas supplied for the transaction to happen. Normal CFX transfers involve 21,000 units while contracts involve higher value.",
1773
1795
  "gasUsedTip": " Gas Used: The amount of gas used by the specific transaction alone and its percentage of limit in the transaction. ",
1774
1796
  "gasChargedip": "Gas Charged: Conflux protocol requires that the gas-charged should be at least 3/4 of the gas limit. Usually, gas-charged equals the gas used. But if the gas used is less than 3/4 of the gas limit, gas-charged equals 3/4 of the gas limit. ",
@@ -1780,7 +1802,12 @@
1780
1802
  "storageCollateralized": "The cost of storage that needs to be paid.",
1781
1803
  "storageReleased": "The refund of storage collateralize fees.",
1782
1804
  "chainID": "The ID indicating which blockchain this transaction is meant to send to. Provides protection against replay-attack.",
1783
- "inputData": "Additional information that is required for the transaction."
1805
+ "inputData": "Additional information that is required for the transaction.",
1806
+ "txnType": {
1807
+ "0": "Legacy transaction: Transactions with type 0x0 are legacy transactions that use the transaction format existing before typed transactions were introduced in CIP-2718. They contain the parameters nonce, gasPrice, gasLimit, to, value, data, v, r,and s.",
1808
+ "1": "Access list transaction: Transactions with type 0x1 are transactions introduced in CIP-2930. They contain, along with the legacy parameters, an accessList parameter, which specifies an array of addresses and storage keys that the transaction plans to access .",
1809
+ "2": "CIP-1559 transaction: Transactions with type 0x2 are transactions introduced in CIP-1559. They use an in-protocol dynamically changing base fee per gas at each pivot block, the base fee per gas is adjusted to address network congestion as measured by a gas target."
1810
+ }
1784
1811
  },
1785
1812
  "address": {
1786
1813
  "balance": "The amout of assets which belong to the address.",
@@ -2348,6 +2375,8 @@
2348
2375
  "median": "Median",
2349
2376
  "high": "High",
2350
2377
  "market": "Gas Price Market",
2351
- "latest60Blocks": "Latest 60 epochs"
2378
+ "latest60Blocks": "Latest 60 epochs",
2379
+ "baseFee": "Base: {{amount}}",
2380
+ "maxPriorityFee": "Priority: {{amount}}"
2352
2381
  }
2353
2382
  }
@@ -1197,7 +1197,8 @@
1197
1197
  "reward": "奖励",
1198
1198
  "age": "块龄",
1199
1199
  "difficulty": "难度",
1200
- "gasLimit": "燃料限制"
1200
+ "gasLimit": "燃料限制",
1201
+ "burntFees": "销毁费用"
1201
1202
  },
1202
1203
  "transaction": {
1203
1204
  "hash": "交易哈希",
@@ -1497,15 +1498,22 @@
1497
1498
  "value": "价值",
1498
1499
  "gasUsed": "燃料限制 | 燃料用量 | 燃料计费",
1499
1500
  "gasPrice": "燃料价格",
1500
- "gasFee": "燃气费",
1501
+ "gasFee": "燃料费",
1502
+ "transactionFee": "交易费",
1503
+ "baseFee": "Base: {{amount}}",
1504
+ "maxFee": "Max: {{amount}}",
1505
+ "maxPriorityFee": "Priority: {{amount}}",
1506
+ "burntFees": "销毁费用",
1507
+ "transactionAttributes": "交易属性",
1501
1508
  "gasCharged": "计费燃气",
1502
- "nonce": "随机数",
1509
+ "txnType": "Txn Type: {{type}} {{typeDesc}} ",
1510
+ "nonce": "Nonce: {{num}}",
1503
1511
  "blockHash": "区块哈希",
1504
- "position": "位置",
1512
+ "position": "Position in block: {{num}}",
1505
1513
  "storageLimit": "存储用量/限制",
1506
1514
  "storageCollateralized": "存储押金",
1507
1515
  "storageReleased": "存储释放",
1508
- "chainID": "区块链编号",
1516
+ "chainID": "Chain ID: {{num}}",
1509
1517
  "inputData": "输入数据",
1510
1518
  "select": {
1511
1519
  "decodeInputData": "解码输入数据",
@@ -1631,6 +1639,9 @@
1631
1639
  "parentHash": "父区块哈希",
1632
1640
  "nonce": "随机数",
1633
1641
  "gasUsed": "限制|燃料用量",
1642
+ "gasTargetUsage": "燃料使用率",
1643
+ "baseFeePerGas": "燃料基础费",
1644
+ "burntFeesLabel": "销毁费用",
1634
1645
  "timestamp": "时间戳",
1635
1646
  "size": "容量",
1636
1647
  "transactions": "交易",
@@ -1738,7 +1749,7 @@
1738
1749
  "epoch": "区块所属的纪元是枢轴链上首个(直接或间接地)引用这个区块的枢轴区块的高度,代表了枢轴链视角下观察到该区块的时间。处于较早纪元的区块在所有区块的全序中的位置总是在处于较晚纪元的区块之前。",
1739
1750
  "difficulty": "开采一个区块平均所需要的运算次数。 难度根据时间进行调整。",
1740
1751
  "miner": "生成该区块的矿工。",
1741
- "reward": "挖出该区块矿工将得到的奖励,包括区块奖励,存储押金利息,交易费。",
1752
+ "reward": "挖出该区块矿工将得到的奖励。包括基础区块奖励、优先交易费用、销毁剩余的基础交易费、存储押金利息。",
1742
1753
  "security": "该区块的安全性,更高的安全性需要得到更多的区块确认。",
1743
1754
  "blame": "表示(该区块认为的)需要修订关于状态的承诺的连续祖先区块的数量。关于状态的承诺可以理解为对于交易执行结果和账户状态的摘要。关于状态的承诺出错会影响矿工的收益,但不影响对于区块排序的共识。",
1744
1755
  "blockHash": "该区块的块头的哈希值。",
@@ -1746,10 +1757,18 @@
1746
1757
  "parentHash": "该区块的父区块的区块哈希,也称为父区块哈希。",
1747
1758
  "nonce": "区块随机数是在挖矿过程中用来演示区块工作量证明的值。",
1748
1759
  "gasUsedLimit": "燃料使用指交易所使用的燃料数量; 燃料限制代表用于愿意为交易花费的最大燃料量。",
1760
+ "gasTargetUsage": "指Pivot区块的目标燃料使用率,目标值27,000,000。",
1761
+ "baseFeePerGas": "表示Pivot区块中包含的交易最小的燃料用量乘积和上一个规定区块燃料基础费的涨幅。",
1762
+ "burntFeesLabel": "销毁费用:表示基于CIP-1559、CIP-137和CIP-107销毁的交易费用:燃料基础费*燃料用量*投票参数+存储抵押销毁",
1749
1763
  "timestamp": "开采该区块的日期和时间。",
1750
1764
  "size": "区块容量取决于燃料限制。",
1751
1765
  "transactions": "该区块发生的交易数量。",
1752
- "referenceBlocks": "该区块引用的其他区块。"
1766
+ "referenceBlocks": "该区块引用的其他区块。",
1767
+ "powBaseBlockReward": "PoW基础区块奖励: {{amount}}",
1768
+ "transactionFees": "交易费: {{amount}}",
1769
+ "storageInterest": "存储利息: {{amount}}",
1770
+ "burntFees": "销毁费用: {{amount}}",
1771
+ "compareToPivotBlock": "相较Pivot区块: {{block}}"
1753
1772
  },
1754
1773
  "tx": {
1755
1774
  "transactionHash": "交易哈希是一个唯一的66字符的标识符,该标识符在每次交易执行时都会生成。",
@@ -1764,7 +1783,10 @@
1764
1783
  "value": "该交易金额是以CFX显示。 ",
1765
1784
  "gasUsedLimit": "燃料使用指交易所使用的燃料数量; 燃料限制代表用于愿意为交易花费的最大燃料量。",
1766
1785
  "gasPrice": "交易指定的每单位燃料成本,GDrip为支付单位。燃料费用越高,被写入区块的机会就越大。",
1767
- "gasFee": "交易所使用的燃料费用。",
1786
+ "gasFee": "基础费:指Conflux Core Pivot区块出块时的燃料基础费。\n最大费用|优先费用:指用户愿意为这笔交易支付的最大费用并给予矿工的相应奖励费用。",
1787
+ "transactionFee": "交易所使用的燃料费用。",
1788
+ "burntFees": "此交易销毁的CFX总量。",
1789
+ "transactionAttributes": "此交易相关的属性信息。",
1768
1790
  "gasCharged": "Conflux 协议要求产生计费的燃气用量不少于燃气限制的 3/4. 一般计费燃气等于燃气用量,但如果燃气用量低于 3/4 的燃气限制,计费燃气等于 3/4 的燃气限制。",
1769
1791
  "gasLimitTip": "燃料限制:为交易发生提供的最大燃料用量。 普通的 CFX 转账使用 21,000 个单位,而合约则会使用更高的单位。",
1770
1792
  "gasUsedTip": "燃料用量:此交易最终使用的燃料用量与最终燃料用量与占交易燃料限制的百分比。",
@@ -1776,7 +1798,12 @@
1776
1798
  "storageCollateralized": "需要支付的用来存储的费用。",
1777
1799
  "storageReleased": "返还的存储押金。",
1778
1800
  "chainID": "交易被发往的区块链的编号,用以防止重放攻击。",
1779
- "inputData": "自定义数据,该交易中附加的信息。"
1801
+ "inputData": "自定义数据,该交易中附加的信息。",
1802
+ "txnType": {
1803
+ "0": "传统交易: 0x0交易类型是传统交易, 使用 CIP-2718 引入类型交易之前存在的交易格式。交易包含参数: nounce、gasPrice、gasLimit、to、value、data、v、r和s。",
1804
+ "1": "访问列表交易: 类型为0x1的交易是CIP-2930引入的交易。除了传统参数外, 还包含一个访问列表参数, 该参数指定了交易计划访问的地址数组和存储键。",
1805
+ "2": "CIP-1559交易: 类型为0x2的交易是CIP-1559引入的交易。交易使用协议中在每个Pivot区块动态变化的基础Gas费用, 基础Gas费用会根据Gas目标进行调整, 以应对网络拥塞。"
1806
+ }
1780
1807
  },
1781
1808
  "address": {
1782
1809
  "balance": "该地址的资产余额。",
@@ -2344,6 +2371,8 @@
2344
2371
  "median": "中",
2345
2372
  "high": "高",
2346
2373
  "market": "燃料价格市场",
2347
- "latest60Blocks": "最新 60 个纪元"
2374
+ "latest60Blocks": "最新 60 个纪元",
2375
+ "baseFee": "Base: {{amount}}",
2376
+ "maxPriorityFee": "Priority: {{amount}}"
2348
2377
  }
2349
2378
  }