@cfxjs/sirius-next-i18n 0.0.0 → 0.1.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/.turbo/turbo-build.log +1 -1
- package/cspace/en/translation.json +38 -9
- package/cspace/zh_cn/translation.json +39 -10
- package/cspace/zh_cn/translationForDotNet.json +42 -2038
- package/dist/cspace/en/translation.json +38 -9
- package/dist/cspace/zh_cn/index.d.ts +2 -0
- package/dist/cspace/zh_cn/index.d.ts.map +1 -0
- package/dist/cspace/zh_cn/index.js +14 -0
- package/dist/cspace/zh_cn/translation.json +2369 -0
- package/dist/cspace/zh_cn/translationForDotNet.json +2289 -0
- package/dist/evm/base/en/translation.json +34 -8
- package/evm/base/en/translation.json +34 -8
- package/evm/base/zh_cn/translation.json +34 -9
- package/node_modules/@cfxjs/sirius-next-eslint-config/README.md +3 -0
- package/node_modules/@cfxjs/sirius-next-eslint-config/library.js +34 -0
- package/node_modules/@cfxjs/sirius-next-eslint-config/package.json +18 -0
- package/node_modules/@cfxjs/sirius-next-eslint-config/react-internal.js +43 -0
- package/node_modules/@cfxjs/sirius-next-typescript-config/base.json +20 -0
- package/node_modules/@cfxjs/sirius-next-typescript-config/package.json +9 -0
- package/node_modules/@cfxjs/sirius-next-typescript-config/react-library.json +8 -0
- package/node_modules/@turbo/gen/LICENSE +373 -0
- package/node_modules/@turbo/gen/README.md +38 -0
- package/node_modules/@turbo/gen/dist/cli.d.ts +1 -0
- package/node_modules/@turbo/gen/dist/cli.js +127 -0
- package/node_modules/@turbo/gen/dist/templates/simple-js/config.js +43 -0
- package/node_modules/@turbo/gen/dist/templates/simple-js/templates/turborepo-generators.hbs +5 -0
- package/node_modules/@turbo/gen/dist/templates/simple-ts/config.ts +45 -0
- package/node_modules/@turbo/gen/dist/templates/simple-ts/templates/turborepo-generators.hbs +5 -0
- package/node_modules/@turbo/gen/dist/types.d.ts +2 -0
- package/node_modules/@turbo/gen/dist/types.js +1 -0
- package/node_modules/@turbo/gen/package.json +57 -0
- package/package.json +8 -8
|
@@ -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",
|
|
@@ -1500,14 +1501,21 @@
|
|
|
1500
1501
|
"gasUsed": "Limit | Gas Used | Gas Charged",
|
|
1501
1502
|
"gasPrice": "Gas Price",
|
|
1502
1503
|
"gasFee": "Gas Fee",
|
|
1504
|
+
"transactionFee": "Transaction Fee",
|
|
1505
|
+
"baseFee": "Base:",
|
|
1506
|
+
"maxFee": "Max:",
|
|
1507
|
+
"maxPriorityFee": "Priority:",
|
|
1508
|
+
"burntFees": "Burnt Fees",
|
|
1509
|
+
"transactionAttributes": "Transaction Attributes",
|
|
1503
1510
|
"gasCharged": "Gas Charged",
|
|
1504
|
-
"
|
|
1511
|
+
"txnType": "Txn Type: {{type}} {{typeDesc}} ",
|
|
1512
|
+
"nonce": "Nonce: {{num}}",
|
|
1505
1513
|
"blockHash": "Block Hash",
|
|
1506
|
-
"position": "Position",
|
|
1514
|
+
"position": "Position in block: {{num}}",
|
|
1507
1515
|
"storageLimit": "Storage Used/Limit",
|
|
1508
1516
|
"storageCollateralized": "Storage Collateralize Fee",
|
|
1509
1517
|
"storageReleased": "Storage Released",
|
|
1510
|
-
"chainID": "Chain ID",
|
|
1518
|
+
"chainID": "Chain ID: {{num}}",
|
|
1511
1519
|
"inputData": "Input Data",
|
|
1512
1520
|
"select": {
|
|
1513
1521
|
"decodeInputData": "Decode Input Data",
|
|
@@ -1633,6 +1641,9 @@
|
|
|
1633
1641
|
"parentHash": "Parent Hash",
|
|
1634
1642
|
"nonce": "Nonce",
|
|
1635
1643
|
"gasUsed": "Limit | Gas Used",
|
|
1644
|
+
"gasTargetUsage": "Gas Target Usage",
|
|
1645
|
+
"baseFeePerGas": "Base Fee Per Gas",
|
|
1646
|
+
"burntFeesLabel": "Burnt Fees",
|
|
1636
1647
|
"timestamp": "Timestamp",
|
|
1637
1648
|
"size": "Size",
|
|
1638
1649
|
"transactions": "Transactions",
|
|
@@ -1741,7 +1752,7 @@
|
|
|
1741
1752
|
"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.",
|
|
1742
1753
|
"difficulty": "The amount of effort required to mine a new block. The difficulty may adjust according to time.",
|
|
1743
1754
|
"miner": "Miner who successfully generate the block onto the blockchain.",
|
|
1744
|
-
"reward": "The
|
|
1755
|
+
"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.",
|
|
1745
1756
|
"security": "The security of block, higher security requires more block confirmations.",
|
|
1746
1757
|
"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.",
|
|
1747
1758
|
"blockHash": "The hash of the block header of the current block.",
|
|
@@ -1749,10 +1760,18 @@
|
|
|
1749
1760
|
"parentHash": "The hash of the block from which this block was generated, also known as its parent block.",
|
|
1750
1761
|
"nonce": "Block nonce is a value used during mining to demonstrate proof of work for a block.",
|
|
1751
1762
|
"gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
|
|
1763
|
+
"gasTargetUsage": "Refers to Pivot block gas target usage, the target is 27,000,000.",
|
|
1764
|
+
"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.",
|
|
1765
|
+
"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",
|
|
1752
1766
|
"timestamp": "The date and time at which a block is mined.",
|
|
1753
1767
|
"size": "The block size is actually determined by the block's gas limit.",
|
|
1754
1768
|
"transactions": "The amout of transactions which belong to the block.",
|
|
1755
|
-
"referenceBlocks": "The other blocks referred by the current block."
|
|
1769
|
+
"referenceBlocks": "The other blocks referred by the current block.",
|
|
1770
|
+
"powBaseBlockReward": "PoW Base Block Reward: {{amount}}",
|
|
1771
|
+
"transactionFees": "Transaction Fees: {{amount}}",
|
|
1772
|
+
"storageInterest": "Storage Interest: {{amount}}",
|
|
1773
|
+
"burntFees": "Burnt Fees: {{amount}}",
|
|
1774
|
+
"compareToPivotBlock": "Compare to Pivot block: {{block}}"
|
|
1756
1775
|
},
|
|
1757
1776
|
"tx": {
|
|
1758
1777
|
"transactionHash": "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",
|
|
@@ -1767,7 +1786,10 @@
|
|
|
1767
1786
|
"value": "The value being transacted in CFX. ",
|
|
1768
1787
|
"gasUsedLimit": "The exact units of gas that was used for the transaction; Maximum amount of gas provided for the transaction.",
|
|
1769
1788
|
"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.",
|
|
1770
|
-
"gasFee": "
|
|
1789
|
+
"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.",
|
|
1790
|
+
"transactionFee": "The exact fee of gas that was used for the transaction.",
|
|
1791
|
+
"burntFees": "Total amount of CFX burnt from this tx.",
|
|
1792
|
+
"transactionAttributes": "Attributes related to this tx.",
|
|
1771
1793
|
"gasLimitTip": "Limit: Maximum amount of gas supplied for the transaction to happen. Normal CFX transfers involve 21,000 units while contracts involve higher value.",
|
|
1772
1794
|
"gasUsedTip": " Gas Used: The amount of gas used by the specific transaction alone and its percentage of limit in the transaction. ",
|
|
1773
1795
|
"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. ",
|
|
@@ -1779,7 +1801,12 @@
|
|
|
1779
1801
|
"storageCollateralized": "The cost of storage that needs to be paid.",
|
|
1780
1802
|
"storageReleased": "The refund of storage collateralize fees.",
|
|
1781
1803
|
"chainID": "The ID indicating which blockchain this transaction is meant to send to. Provides protection against replay-attack.",
|
|
1782
|
-
"inputData": "Additional information that is required for the transaction."
|
|
1804
|
+
"inputData": "Additional information that is required for the transaction.",
|
|
1805
|
+
"txnType": {
|
|
1806
|
+
"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.",
|
|
1807
|
+
"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 .",
|
|
1808
|
+
"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."
|
|
1809
|
+
}
|
|
1783
1810
|
},
|
|
1784
1811
|
"address": {
|
|
1785
1812
|
"balance": "The amout of assets which belong to the address.",
|
|
@@ -2339,6 +2366,8 @@
|
|
|
2339
2366
|
"median": "Median",
|
|
2340
2367
|
"high": "High",
|
|
2341
2368
|
"market": "Gas Price Market",
|
|
2342
|
-
"latest60Blocks": "Latest 60 epochs"
|
|
2369
|
+
"latest60Blocks": "Latest 60 epochs",
|
|
2370
|
+
"baseFee": "Base: {{amount}}",
|
|
2371
|
+
"maxPriorityFee": "Priority: {{amount}}"
|
|
2343
2372
|
}
|
|
2344
2373
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../cspace/zh_cn/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import cn from './translation.json';
|
|
2
|
+
import cnDotNet from './translationForDotNet.json';
|
|
3
|
+
Object.keys(cnDotNet).forEach((key) => {
|
|
4
|
+
const item = cnDotNet[key];
|
|
5
|
+
if (item && typeof item === 'object') {
|
|
6
|
+
}
|
|
7
|
+
else {
|
|
8
|
+
const cnItem = cn[key];
|
|
9
|
+
if (cnItem === item) {
|
|
10
|
+
delete cnDotNet[key];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
console.log('cnDotNet', cnDotNet);
|