@cfxjs/sirius-next-i18n 0.1.19 → 0.1.21
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 +12 -12
- package/cspace/zh_cn/translation.json +1 -1
- package/dist/cspace/en/translation.json +12 -12
- 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 +7 -7
- package/evm/base/en/translation.json +7 -7
- 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
package/.turbo/turbo-build.log
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error": {
|
|
52
52
|
"invalid": "Invalid file",
|
|
53
53
|
"fileChanged": "Invalid file, the file has been changed, please upload the unchanged file",
|
|
54
|
-
"chainIdError": "
|
|
54
|
+
"chainIdError": "Invalid file, Chain ID is incorrect, please use file with Chain ID is {{chainId}}"
|
|
55
55
|
},
|
|
56
56
|
"export": {
|
|
57
57
|
"button": "Export",
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
},
|
|
767
767
|
"finalizedInterval": {
|
|
768
768
|
"title": "Finality Intervals",
|
|
769
|
-
"subtitle": "The interval between
|
|
769
|
+
"subtitle": "The interval between latest state and PoS finalized.",
|
|
770
770
|
"yAxisTitle": "Interval",
|
|
771
771
|
"seriesName": "Time Interval (Secs)",
|
|
772
772
|
"yAxisTitle2": "Interval",
|
|
@@ -812,8 +812,8 @@
|
|
|
812
812
|
"seriesName": "Reward (Day)",
|
|
813
813
|
"yAxisTitle2": "Per capita reward",
|
|
814
814
|
"seriesName2": "Per capita reward (Day)",
|
|
815
|
-
"yAxisTitle3": "
|
|
816
|
-
"seriesName3": "
|
|
815
|
+
"yAxisTitle3": "Accounts",
|
|
816
|
+
"seriesName3": "Accounts (Day)"
|
|
817
817
|
},
|
|
818
818
|
"dailyDeposit": {
|
|
819
819
|
"title": "Deposit & Withdraw",
|
|
@@ -1164,9 +1164,9 @@
|
|
|
1164
1164
|
"totalHolders": "A total of {{total}} holders",
|
|
1165
1165
|
"totalRecordLimit": "Showing the last 10k records (A total of {{total}} records)",
|
|
1166
1166
|
"remark": "Remark:",
|
|
1167
|
-
"invalidBytecode": "
|
|
1168
|
-
"invalidABI": "
|
|
1169
|
-
"invalidJsonFile": "
|
|
1167
|
+
"invalidBytecode": "Invalid bytecode",
|
|
1168
|
+
"invalidABI": "Invalid ABI",
|
|
1169
|
+
"invalidJsonFile": "Invalid JSON file",
|
|
1170
1170
|
"importJsonFile": "Import JSON file",
|
|
1171
1171
|
"showLess": "Show Less",
|
|
1172
1172
|
"viewMore": "View More",
|
|
@@ -1827,7 +1827,7 @@
|
|
|
1827
1827
|
"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",
|
|
1828
1828
|
"timestamp": "The date and time at which a block is mined.",
|
|
1829
1829
|
"size": "The block size is actually determined by the block's gas limit.",
|
|
1830
|
-
"transactions": "The
|
|
1830
|
+
"transactions": "The amount of transactions which belong to the block.",
|
|
1831
1831
|
"referenceBlocks": "The other blocks referred by the current block.",
|
|
1832
1832
|
"powBaseBlockReward": "PoW Base Block Reward: {{amount}}",
|
|
1833
1833
|
"transactionFees": "Transaction Fees: {{amount}}",
|
|
@@ -1872,8 +1872,8 @@
|
|
|
1872
1872
|
}
|
|
1873
1873
|
},
|
|
1874
1874
|
"address": {
|
|
1875
|
-
"balance": "The
|
|
1876
|
-
"token": "The
|
|
1875
|
+
"balance": "The amount of assets which belong to the address.",
|
|
1876
|
+
"token": "The amount of tokens which belong to the address.",
|
|
1877
1877
|
"storageCollateral": "The amount of storage used by the current address, the unit is the KB.",
|
|
1878
1878
|
"nonce": "Sequential running number for an address, beginning with 0 for the first transaction. For example, if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.",
|
|
1879
1879
|
"stakedBegin": "Total CFX staked. Access ",
|
|
@@ -2049,7 +2049,7 @@
|
|
|
2049
2049
|
"totalAccountCount": "Accounts",
|
|
2050
2050
|
"votingBlock": "Latest Voted Block",
|
|
2051
2051
|
"apy": "APR",
|
|
2052
|
-
"apyTip": "The existing base staking rate is
|
|
2052
|
+
"apyTip": "The existing base staking rate is {{rate1}}%, and the PoS staking reward is added to this with a plus factor. Let x=CFX total circulation / CFX total staking, and the additional coefficient be √x.\nWhen the amount of staking is 1/4 of the circulation, the reward rate is {{rate2}}%; When the amount of staking is 1/9 of the circulation, the reward rate is {{rate3}}%; And so on. When the total number of votes cast is relatively low, those who vote will benefit more."
|
|
2053
2053
|
}
|
|
2054
2054
|
},
|
|
2055
2055
|
"swap": {
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
"number": "Txn Number",
|
|
2410
2410
|
"blockHash": "Block Hash",
|
|
2411
2411
|
"blockNumber": "Block Number",
|
|
2412
|
-
"payload": "
|
|
2412
|
+
"payload": "Payload"
|
|
2413
2413
|
}
|
|
2414
2414
|
},
|
|
2415
2415
|
"committees": {
|
|
@@ -2045,7 +2045,7 @@
|
|
|
2045
2045
|
"totalAccountCount": "账户总数",
|
|
2046
2046
|
"votingBlock": "最新已投票区块",
|
|
2047
2047
|
"apy": "年利率",
|
|
2048
|
-
"apyTip": "现有基础质押利率为
|
|
2048
|
+
"apyTip": "现有基础质押利率为 {{rate1}}%,而 PoS 质押奖励在此基础上添加加成系数。设 x=CFX总流通量 /CFX总质押量,加成系数为 √x。\n当质押量为流通量的 1/4 时,利率为 {{rate2}}%;当质押量为流通量 1/9 时,利率为 {{rate3}}%;以此类推。当参与投票的总数相对较低时,参与投票的人将获得更多的利益。"
|
|
2049
2049
|
}
|
|
2050
2050
|
},
|
|
2051
2051
|
"swap": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error": {
|
|
52
52
|
"invalid": "Invalid file",
|
|
53
53
|
"fileChanged": "Invalid file, the file has been changed, please upload the unchanged file",
|
|
54
|
-
"chainIdError": "
|
|
54
|
+
"chainIdError": "Invalid file, Chain ID is incorrect, please use file with Chain ID is {{chainId}}"
|
|
55
55
|
},
|
|
56
56
|
"export": {
|
|
57
57
|
"button": "Export",
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
},
|
|
767
767
|
"finalizedInterval": {
|
|
768
768
|
"title": "Finality Intervals",
|
|
769
|
-
"subtitle": "The interval between
|
|
769
|
+
"subtitle": "The interval between latest state and PoS finalized.",
|
|
770
770
|
"yAxisTitle": "Interval",
|
|
771
771
|
"seriesName": "Time Interval (Secs)",
|
|
772
772
|
"yAxisTitle2": "Interval",
|
|
@@ -812,8 +812,8 @@
|
|
|
812
812
|
"seriesName": "Reward (Day)",
|
|
813
813
|
"yAxisTitle2": "Per capita reward",
|
|
814
814
|
"seriesName2": "Per capita reward (Day)",
|
|
815
|
-
"yAxisTitle3": "
|
|
816
|
-
"seriesName3": "
|
|
815
|
+
"yAxisTitle3": "Accounts",
|
|
816
|
+
"seriesName3": "Accounts (Day)"
|
|
817
817
|
},
|
|
818
818
|
"dailyDeposit": {
|
|
819
819
|
"title": "Deposit & Withdraw",
|
|
@@ -1164,9 +1164,9 @@
|
|
|
1164
1164
|
"totalHolders": "A total of {{total}} holders",
|
|
1165
1165
|
"totalRecordLimit": "Showing the last 10k records (A total of {{total}} records)",
|
|
1166
1166
|
"remark": "Remark:",
|
|
1167
|
-
"invalidBytecode": "
|
|
1168
|
-
"invalidABI": "
|
|
1169
|
-
"invalidJsonFile": "
|
|
1167
|
+
"invalidBytecode": "Invalid bytecode",
|
|
1168
|
+
"invalidABI": "Invalid ABI",
|
|
1169
|
+
"invalidJsonFile": "Invalid JSON file",
|
|
1170
1170
|
"importJsonFile": "Import JSON file",
|
|
1171
1171
|
"showLess": "Show Less",
|
|
1172
1172
|
"viewMore": "View More",
|
|
@@ -1826,7 +1826,7 @@
|
|
|
1826
1826
|
"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",
|
|
1827
1827
|
"timestamp": "The date and time at which a block is mined.",
|
|
1828
1828
|
"size": "The block size is actually determined by the block's gas limit.",
|
|
1829
|
-
"transactions": "The
|
|
1829
|
+
"transactions": "The amount of transactions which belong to the block.",
|
|
1830
1830
|
"referenceBlocks": "The other blocks referred by the current block.",
|
|
1831
1831
|
"powBaseBlockReward": "PoW Base Block Reward: {{amount}}",
|
|
1832
1832
|
"transactionFees": "Transaction Fees: {{amount}}",
|
|
@@ -1871,8 +1871,8 @@
|
|
|
1871
1871
|
}
|
|
1872
1872
|
},
|
|
1873
1873
|
"address": {
|
|
1874
|
-
"balance": "The
|
|
1875
|
-
"token": "The
|
|
1874
|
+
"balance": "The amount of assets which belong to the address.",
|
|
1875
|
+
"token": "The amount of tokens which belong to the address.",
|
|
1876
1876
|
"storageCollateral": "The amount of storage used by the current address, the unit is the KB.",
|
|
1877
1877
|
"nonce": "Sequential running number for an address, beginning with 0 for the first transaction. For example, if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.",
|
|
1878
1878
|
"stakedBegin": "Total CFX staked. Access ",
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
"totalAccountCount": "Accounts",
|
|
2049
2049
|
"votingBlock": "Latest Voted Block",
|
|
2050
2050
|
"apy": "APR",
|
|
2051
|
-
"apyTip": "The existing base staking rate is
|
|
2051
|
+
"apyTip": "The existing base staking rate is {{rate1}}%, and the PoS staking reward is added to this with a plus factor. Let x=CFX total circulation / CFX total staking, and the additional coefficient be √x.\nWhen the amount of staking is 1/4 of the circulation, the reward rate is {{rate2}}%; When the amount of staking is 1/9 of the circulation, the reward rate is {{rate3}}%; And so on. When the total number of votes cast is relatively low, those who vote will benefit more."
|
|
2052
2052
|
}
|
|
2053
2053
|
},
|
|
2054
2054
|
"swap": {
|
|
@@ -2400,7 +2400,7 @@
|
|
|
2400
2400
|
"number": "Txn Number",
|
|
2401
2401
|
"blockHash": "Block Hash",
|
|
2402
2402
|
"blockNumber": "Block Number",
|
|
2403
|
-
"payload": "
|
|
2403
|
+
"payload": "Payload"
|
|
2404
2404
|
}
|
|
2405
2405
|
},
|
|
2406
2406
|
"committees": {
|
|
@@ -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);
|