[O] More i18n

pull/23/head
Azalea 2024-03-06 10:17:04 -05:00
parent 16f6acf8fc
commit 68f8ef0b24
3 changed files with 13 additions and 5 deletions

View File

@ -4,7 +4,11 @@ export const EN_REF_USER = {
'UserHome.Rating': 'Rating', 'UserHome.Rating': 'Rating',
'UserHome.Statistics': 'Statistics', 'UserHome.Statistics': 'Statistics',
'UserHome.Accuracy': 'Accuracy', 'UserHome.Accuracy': 'Accuracy',
'UserHome.MaxCombo': 'Max Combo',
'UserHome.FullCombo': 'Full Combo',
'UserHome.AllPerfect': 'All Perfect',
'UserHome.DXScore': 'DX Score', 'UserHome.DXScore': 'DX Score',
'UserHome.Score': 'Score',
'UserHome.PlayActivity': ' Play Activity', 'UserHome.PlayActivity': ' Play Activity',
'UserHome.Plays': 'Plays', 'UserHome.Plays': 'Plays',
'UserHome.PlayTime': 'Play Time', 'UserHome.PlayTime': 'Play Time',

View File

@ -6,7 +6,11 @@ const zhUser: typeof EN_REF_USER = {
'UserHome.Rating': '评分', 'UserHome.Rating': '评分',
'UserHome.Statistics': '统计数据', 'UserHome.Statistics': '统计数据',
'UserHome.Accuracy': '准确率', 'UserHome.Accuracy': '准确率',
'UserHome.DXScore': 'DX 得分', 'UserHome.MaxCombo': '最大连击',
'UserHome.FullCombo': '全连曲目',
'UserHome.AllPerfect': '完美曲目',
'UserHome.DXScore': 'DX 总分',
'UserHome.Score': '总分',
'UserHome.PlayActivity': '游戏活动', 'UserHome.PlayActivity': '游戏活动',
'UserHome.Plays': '出勤次数', 'UserHome.Plays': '出勤次数',
'UserHome.PlayTime': '游玩时间', 'UserHome.PlayTime': '游玩时间',

View File

@ -130,22 +130,22 @@
</div> </div>
<div class="max-combo"> <div class="max-combo">
<span>Max Combo</span> <span>{t("UserHome.MaxCombo")}</span>
<span>{d.user.maxCombo}</span> <span>{d.user.maxCombo}</span>
</div> </div>
<div class="full-combo"> <div class="full-combo">
<span>Full Combo</span> <span>{t("UserHome.FullCombo")}</span>
<span>{d.user.fullCombo}</span> <span>{d.user.fullCombo}</span>
</div> </div>
<div class="all-perfect"> <div class="all-perfect">
<span>All Perfect</span> <span>{t("UserHome.AllPerfect")}</span>
<span>{d.user.allPerfect}</span> <span>{d.user.allPerfect}</span>
</div> </div>
<div class="total-dx-score"> <div class="total-dx-score">
<span>{game === 'mai2' ? t('UserHome.DXScore') : 'Total Score'}</span> <span>{game === 'mai2' ? t('UserHome.DXScore') : t("UserHome.Score")}</span>
<span>{d.user.totalScore.toLocaleString()}</span> <span>{d.user.totalScore.toLocaleString()}</span>
</div> </div>
</div> </div>