feat(i18n): enhance zh-TW localization with new hidden domain entries and UI updates

- Added new hidden domain names and descriptions to the zh-TW translation files.
- Updated StatusWidget to display cooldown years with proper localization.
- Enhanced zh-TW JSON localization with new labels for hidden domains, improving user experience.
This commit is contained in:
bridge
2026-02-02 21:08:06 +08:00
parent be6e3d43c0
commit 7143b27a0a
4 changed files with 29 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ const emit = defineEmits(['trigger-click'])
<div class="d-stats">
<span>💀 {{ (item.danger_prob * 100).toFixed(0) }}%</span>
<span>🎁 {{ (item.drop_prob * 100).toFixed(0) }}%</span>
<span> {{ item.cd_years }}</span>
<span> {{ item.cd_years }}{{ t('common.year') }}</span>
<span>🎲 {{ (item.open_prob * 100).toFixed(0) }}%</span>
</div>
</div>

View File

@@ -230,7 +230,16 @@
"change_success": "天象已更易爲:{name}",
"click_to_change": "(點擊可更易天象)",
"author_bilibili": "B站空間",
"author_github": "Github倉庫"
"author_github": "Github倉庫",
"hidden_domain": {
"label": "[祕境]",
"title": "祕境列表",
"empty": "暫無祕境數據",
"danger": "凶險",
"drop": "機緣",
"status_open": "開啟中",
"status_closed": "未開啟"
}
},
"controls": {
"resume": "繼續遊戲",