还是一样的问题,A选项的概率值没有正常显示,其他选项的概率值正常显示但文字Estimated probability:没有随右上角选择语言切换为中文
Browse files- i18n.js +4 -2
- index.html +1 -1
i18n.js
CHANGED
|
@@ -13,7 +13,8 @@ const translations = {
|
|
| 13 |
'verdict': 'The Verdict',
|
| 14 |
'disclaimer': 'Disclaimer: These estimates are rough approximations for entertainment purposes only.',
|
| 15 |
'probability': 'Estimated probability',
|
| 16 |
-
'
|
|
|
|
| 17 |
'ai-desc': 'Joining a top AI lab working on artificial general intelligence.',
|
| 18 |
'crypto-desc': 'Turning crypto trading into 50M+ RMB fortune.',
|
| 19 |
'hacker-desc': 'Developing AGI that cracks Bitcoin mining algorithm.',
|
|
@@ -22,8 +23,9 @@ const translations = {
|
|
| 22 |
'verdict-desc': 'Becoming a bestselling author has marginally better odds than the other options, though all remain extremely unlikely.'
|
| 23 |
},
|
| 24 |
zh: {
|
|
|
|
| 25 |
'home': '首页',
|
| 26 |
-
|
| 27 |
'title': '概率悖论',
|
| 28 |
'subtitle': '哪个不太可能的梦想概率稍高一些?',
|
| 29 |
'author': '畅销书作家',
|
|
|
|
| 13 |
'verdict': 'The Verdict',
|
| 14 |
'disclaimer': 'Disclaimer: These estimates are rough approximations for entertainment purposes only.',
|
| 15 |
'probability': 'Estimated probability',
|
| 16 |
+
'probability-zh': '估计概率',
|
| 17 |
+
'author-desc': 'Writing a web novel that becomes massively popular with 10,000+ subscribers.',
|
| 18 |
'ai-desc': 'Joining a top AI lab working on artificial general intelligence.',
|
| 19 |
'crypto-desc': 'Turning crypto trading into 50M+ RMB fortune.',
|
| 20 |
'hacker-desc': 'Developing AGI that cracks Bitcoin mining algorithm.',
|
|
|
|
| 23 |
'verdict-desc': 'Becoming a bestselling author has marginally better odds than the other options, though all remain extremely unlikely.'
|
| 24 |
},
|
| 25 |
zh: {
|
| 26 |
+
'probability': '估计概率',
|
| 27 |
'home': '首页',
|
| 28 |
+
'share': '分享',
|
| 29 |
'title': '概率悖论',
|
| 30 |
'subtitle': '哪个不太可能的梦想概率稍高一些?',
|
| 31 |
'author': '畅销书作家',
|
index.html
CHANGED
|
@@ -38,7 +38,7 @@
|
|
| 38 |
<div class="bg-gray-700 rounded-full h-4 mb-2">
|
| 39 |
<div class="bg-purple-500 h-4 rounded-full" style="width: 0.5%"></div>
|
| 40 |
</div>
|
| 41 |
-
<p class="text-sm text-gray-400" data-i18n="probability">Estimated probability
|
| 42 |
</div>
|
| 43 |
|
| 44 |
<div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg rounded-xl p-6 border border-gray-700 hover:border-blue-500 transition-all duration-300 hover:shadow-lg hover:shadow-blue-500/20">
|
|
|
|
| 38 |
<div class="bg-gray-700 rounded-full h-4 mb-2">
|
| 39 |
<div class="bg-purple-500 h-4 rounded-full" style="width: 0.5%"></div>
|
| 40 |
</div>
|
| 41 |
+
<p class="text-sm text-gray-400"><span data-i18n="probability">Estimated probability</span>: ~0.5%</p>
|
| 42 |
</div>
|
| 43 |
|
| 44 |
<div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg rounded-xl p-6 border border-gray-700 hover:border-blue-500 transition-all duration-300 hover:shadow-lg hover:shadow-blue-500/20">
|