@cfxjs/sirius-next-i18n 0.1.17 → 0.1.19
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 +28 -8
- package/cspace/zh_cn/translation.json +23 -3
- package/dist/cspace/en/translation.json +28 -8
- package/dist/evm/base/en/translation.json +1 -1
- package/evm/base/en/translation.json +1 -1
- package/evm/base/zh_cn/translation.json +1 -1
- package/package.json +8 -8
- package/dist/cspace/zh_cn/index.d.ts +0 -2
- package/dist/cspace/zh_cn/index.d.ts.map +0 -1
- package/dist/cspace/zh_cn/index.js +0 -14
- package/dist/cspace/zh_cn/translation.json +0 -2369
- package/dist/cspace/zh_cn/translationForDotNet.json +0 -2289
- package/node_modules/@cfxjs/sirius-next-eslint-config/README.md +0 -3
- package/node_modules/@cfxjs/sirius-next-eslint-config/library.js +0 -34
- package/node_modules/@cfxjs/sirius-next-eslint-config/package.json +0 -18
- package/node_modules/@cfxjs/sirius-next-eslint-config/react-internal.js +0 -43
- package/node_modules/@cfxjs/sirius-next-typescript-config/base.json +0 -20
- package/node_modules/@cfxjs/sirius-next-typescript-config/package.json +0 -9
- package/node_modules/@cfxjs/sirius-next-typescript-config/react-library.json +0 -8
- package/node_modules/@turbo/gen/LICENSE +0 -373
- package/node_modules/@turbo/gen/README.md +0 -38
- package/node_modules/@turbo/gen/dist/cli.d.ts +0 -1
- package/node_modules/@turbo/gen/dist/cli.js +0 -127
- package/node_modules/@turbo/gen/dist/templates/simple-js/config.js +0 -43
- package/node_modules/@turbo/gen/dist/templates/simple-js/templates/turborepo-generators.hbs +0 -5
- package/node_modules/@turbo/gen/dist/templates/simple-ts/config.ts +0 -45
- package/node_modules/@turbo/gen/dist/templates/simple-ts/templates/turborepo-generators.hbs +0 -5
- package/node_modules/@turbo/gen/dist/types.d.ts +0 -2
- package/node_modules/@turbo/gen/dist/types.js +0 -1
- package/node_modules/@turbo/gen/package.json +0 -57
package/.turbo/turbo-build.log
CHANGED
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"oldest": "Oldest"
|
|
629
629
|
},
|
|
630
630
|
"highcharts": {
|
|
631
|
-
"subtitle": "Source: confluxscan.
|
|
631
|
+
"subtitle": "Source: confluxscan.org<br/>Click and drag in the plot area to zoom in",
|
|
632
632
|
"preview": {
|
|
633
633
|
"title": "Charts",
|
|
634
634
|
"subtitle": " A collection of charts on the Conflux Chain (click on View Details for a zoomed view)",
|
|
@@ -1762,16 +1762,36 @@
|
|
|
1762
1762
|
},
|
|
1763
1763
|
"blocknumberCalc": {
|
|
1764
1764
|
"title": "Blocknumber Calculator",
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1765
|
+
"subtitle": "The estimated countdown can be calculated using the epoch height, PoW blocks, or PoS blocks.",
|
|
1766
|
+
"epoch": {
|
|
1767
|
+
"tab": "Epoch Height",
|
|
1768
|
+
"current": "Current epoch height",
|
|
1769
|
+
"remaining": "Remaining epoch height",
|
|
1770
|
+
"tooltip": "Epoch Height: By calculating the average time interval of the past 100,000 epochs and multiplying it by the height of the remaining epochs."
|
|
1771
|
+
},
|
|
1772
|
+
"pow": {
|
|
1773
|
+
"tab": "PoW Blocks",
|
|
1774
|
+
"current": "Current Blocknumber",
|
|
1775
|
+
"remaining": "Remaining Blocknumber",
|
|
1776
|
+
"tooltip": "PoW Blocks: Utilizing the past 100,000 epochs, calculate the average time interval of blocks during this period and multiply it by the height of the remaining blocks."
|
|
1777
|
+
},
|
|
1778
|
+
"pos": {
|
|
1779
|
+
"tab": "PoS Blocks",
|
|
1780
|
+
"current": "Current Blocknumber",
|
|
1781
|
+
"remaining": "Remaining Blocknumber",
|
|
1782
|
+
"tooltip": "PoS Blocks: By calculating the average time interval of the past 3,000 blocks and multiplying it by the height of the remaining blocks."
|
|
1783
|
+
},
|
|
1784
|
+
"countdown": "Estimated Countdown",
|
|
1785
|
+
"placeholder": "Please enter the target value",
|
|
1786
|
+
"higherError": "Please enter a higher value",
|
|
1767
1787
|
"calcBtn": "Calculate",
|
|
1768
1788
|
"currentBlocknumber": "Current Blocknumber",
|
|
1769
1789
|
"remainingBlocks": "Remaining Blocks",
|
|
1770
|
-
"targetDate": "Estimated
|
|
1771
|
-
"day": "
|
|
1772
|
-
"hour": "
|
|
1773
|
-
"min": "
|
|
1774
|
-
"sec": "
|
|
1790
|
+
"targetDate": "Estimated target date",
|
|
1791
|
+
"day": "DAYS",
|
|
1792
|
+
"hour": "HOURS",
|
|
1793
|
+
"min": "MINUTES",
|
|
1794
|
+
"sec": "SECONDS"
|
|
1775
1795
|
},
|
|
1776
1796
|
"notice": {
|
|
1777
1797
|
"mainnet": [
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"oldest": "最旧"
|
|
628
628
|
},
|
|
629
629
|
"highcharts": {
|
|
630
|
-
"subtitle": "资源:ConfluxScan.
|
|
630
|
+
"subtitle": "资源:ConfluxScan.org<br/>点击并拖动绘图区域以放大图表",
|
|
631
631
|
"preview": {
|
|
632
632
|
"title": "图表",
|
|
633
633
|
"subtitle": "Conflux 链上的图表 (点击查看详情)",
|
|
@@ -1758,8 +1758,28 @@
|
|
|
1758
1758
|
},
|
|
1759
1759
|
"blocknumberCalc": {
|
|
1760
1760
|
"title": "区块计算器",
|
|
1761
|
-
"
|
|
1762
|
-
"
|
|
1761
|
+
"subtitle": "使用纪元高度、PoW 区块或 PoS 区块计算预估倒计时。",
|
|
1762
|
+
"epoch": {
|
|
1763
|
+
"tab": "纪元高度",
|
|
1764
|
+
"current": "当前纪元高度",
|
|
1765
|
+
"remaining": "剩余纪元高度",
|
|
1766
|
+
"tooltip": "纪元高度:通过计算过去100,000个纪元的平均时间间隔,并将其与剩余纪元相乘。"
|
|
1767
|
+
},
|
|
1768
|
+
"pow": {
|
|
1769
|
+
"tab": "PoW 区块",
|
|
1770
|
+
"current": "当前区块",
|
|
1771
|
+
"remaining": "剩余区块",
|
|
1772
|
+
"tooltip": "PoW 区块:使用过去100,000个纪元,通过计算这段时间内区块的平均时间间隔,并将其与剩余区块数相乘。"
|
|
1773
|
+
},
|
|
1774
|
+
"pos": {
|
|
1775
|
+
"tab": "PoS 区块",
|
|
1776
|
+
"current": "当前区块",
|
|
1777
|
+
"remaining": "剩余区块",
|
|
1778
|
+
"tooltip": "PoS 区块:通过计算过去3,000个区块的平均时间间隔,并将其与剩余区块数相乘。"
|
|
1779
|
+
},
|
|
1780
|
+
"countdown": "预估倒计时",
|
|
1781
|
+
"placeholder": "请输入目标值",
|
|
1782
|
+
"higherError": "请输入一个更大的值",
|
|
1763
1783
|
"calcBtn": "计算",
|
|
1764
1784
|
"currentBlocknumber": "当前区块号",
|
|
1765
1785
|
"remainingBlocks": "剩余区块",
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"oldest": "Oldest"
|
|
629
629
|
},
|
|
630
630
|
"highcharts": {
|
|
631
|
-
"subtitle": "Source: confluxscan.
|
|
631
|
+
"subtitle": "Source: confluxscan.org<br/>Click and drag in the plot area to zoom in",
|
|
632
632
|
"preview": {
|
|
633
633
|
"title": "Charts",
|
|
634
634
|
"subtitle": " A collection of charts on the Conflux Chain (click on View Details for a zoomed view)",
|
|
@@ -1761,16 +1761,36 @@
|
|
|
1761
1761
|
},
|
|
1762
1762
|
"blocknumberCalc": {
|
|
1763
1763
|
"title": "Blocknumber Calculator",
|
|
1764
|
-
"
|
|
1765
|
-
"
|
|
1764
|
+
"subtitle": "The estimated countdown can be calculated using the epoch height, PoW blocks, or PoS blocks.",
|
|
1765
|
+
"epoch": {
|
|
1766
|
+
"tab": "Epoch Height",
|
|
1767
|
+
"current": "Current epoch height",
|
|
1768
|
+
"remaining": "Remaining epoch height",
|
|
1769
|
+
"tooltip": "Epoch Height: By calculating the average time interval of the past 100,000 epochs and multiplying it by the height of the remaining epochs."
|
|
1770
|
+
},
|
|
1771
|
+
"pow": {
|
|
1772
|
+
"tab": "PoW Blocks",
|
|
1773
|
+
"current": "Current Blocknumber",
|
|
1774
|
+
"remaining": "Remaining Blocknumber",
|
|
1775
|
+
"tooltip": "PoW Blocks: Utilizing the past 100,000 epochs, calculate the average time interval of blocks during this period and multiply it by the height of the remaining blocks."
|
|
1776
|
+
},
|
|
1777
|
+
"pos": {
|
|
1778
|
+
"tab": "PoS Blocks",
|
|
1779
|
+
"current": "Current Blocknumber",
|
|
1780
|
+
"remaining": "Remaining Blocknumber",
|
|
1781
|
+
"tooltip": "PoS Blocks: By calculating the average time interval of the past 3,000 blocks and multiplying it by the height of the remaining blocks."
|
|
1782
|
+
},
|
|
1783
|
+
"countdown": "Estimated Countdown",
|
|
1784
|
+
"placeholder": "Please enter the target value",
|
|
1785
|
+
"higherError": "Please enter a higher value",
|
|
1766
1786
|
"calcBtn": "Calculate",
|
|
1767
1787
|
"currentBlocknumber": "Current Blocknumber",
|
|
1768
1788
|
"remainingBlocks": "Remaining Blocks",
|
|
1769
|
-
"targetDate": "Estimated
|
|
1770
|
-
"day": "
|
|
1771
|
-
"hour": "
|
|
1772
|
-
"min": "
|
|
1773
|
-
"sec": "
|
|
1789
|
+
"targetDate": "Estimated target date",
|
|
1790
|
+
"day": "DAYS",
|
|
1791
|
+
"hour": "HOURS",
|
|
1792
|
+
"min": "MINUTES",
|
|
1793
|
+
"sec": "SECONDS"
|
|
1774
1794
|
},
|
|
1775
1795
|
"notice": {
|
|
1776
1796
|
"mainnet": [
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"active-accounts": "Active Accounts",
|
|
628
628
|
"contracts": "Contracts Statistics"
|
|
629
629
|
},
|
|
630
|
-
"subtitle": "Source: ConfluxScan.
|
|
630
|
+
"subtitle": "Source: ConfluxScan.org<br/>Click and drag in the plot area to zoom in",
|
|
631
631
|
"averageBlockTime": {
|
|
632
632
|
"title": "Average Block Time",
|
|
633
633
|
"subtitle": "The time required to generate a block.",
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"active-accounts": "Active Accounts",
|
|
628
628
|
"contracts": "Contracts Statistics"
|
|
629
629
|
},
|
|
630
|
-
"subtitle": "Source: ConfluxScan.
|
|
630
|
+
"subtitle": "Source: ConfluxScan.org<br/>Click and drag in the plot area to zoom in",
|
|
631
631
|
"averageBlockTime": {
|
|
632
632
|
"title": "Average Block Time",
|
|
633
633
|
"subtitle": "The time required to generate a block.",
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cfxjs/sirius-next-i18n",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"files": [
|
|
5
5
|
"*/**"
|
|
6
6
|
],
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc"
|
|
9
|
+
},
|
|
7
10
|
"devDependencies": {
|
|
11
|
+
"@cfxjs/sirius-next-eslint-config": "workspace:*",
|
|
12
|
+
"@cfxjs/sirius-next-typescript-config": "workspace:*",
|
|
8
13
|
"@turbo/gen": "^1.12.4",
|
|
9
|
-
"typescript": "^5.4.2"
|
|
10
|
-
"@cfxjs/sirius-next-eslint-config": "0.0.0",
|
|
11
|
-
"@cfxjs/sirius-next-typescript-config": "0.0.0"
|
|
14
|
+
"typescript": "^5.4.2"
|
|
12
15
|
},
|
|
13
16
|
"publishConfig": {
|
|
14
17
|
"access": "public"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc"
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../cspace/zh_cn/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
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);
|