diff --git a/AquaNet/src/libs/i18n/en_ref.ts b/AquaNet/src/libs/i18n/en_ref.ts index c76a683a..e74d9938 100644 --- a/AquaNet/src/libs/i18n/en_ref.ts +++ b/AquaNet/src/libs/i18n/en_ref.ts @@ -1,16 +1,16 @@ export const EN_REF_USER = { - 'UseHome.ServerRank': 'Server Rank', - 'UseHome.Ratting': 'DX Ratting', - 'UseHome.Statistics': 'Statistics', - 'UseHome.Accuracy': 'Accuracy', - 'UseHome.DXScore': 'DX Score', - 'UseHome.PlayActivity': ' Play Activity', - 'UseHome.Plays': 'Plays', - 'UseHome.PlayTime': 'Play Time', - 'UseHome.FirstSeen': 'First Seen', - 'UseHome.LastSeen': 'Last Seen', - 'UseHome.Version': 'Last Version', - 'UseHome.RecentScores': 'Recent Scores' + 'UserHome.ServerRank': 'Server Rank', + 'UserHome.Ratting': 'DX Ratting', + 'UserHome.Statistics': 'Statistics', + 'UserHome.Accuracy': 'Accuracy', + 'UserHome.DXScore': 'DX Score', + 'UserHome.PlayActivity': ' Play Activity', + 'UserHome.Plays': 'Plays', + 'UserHome.PlayTime': 'Play Time', + 'UserHome.FirstSeen': 'First Seen', + 'UserHome.LastSeen': 'Last Seen', + 'UserHome.Version': 'Last Version', + 'UserHome.RecentScores': 'Recent Scores' } export const EN_REF_Welcome = { diff --git a/AquaNet/src/libs/i18n/zh.ts b/AquaNet/src/libs/i18n/zh.ts index 0f6d3d34..4f360cd9 100644 --- a/AquaNet/src/libs/i18n/zh.ts +++ b/AquaNet/src/libs/i18n/zh.ts @@ -1,5 +1,20 @@ import { EN_REF_USER, type EN_REF_Welcome } from "./en_ref"; +const zhUser: typeof EN_REF_USER = { + 'UserHome.ServerRank': '服务器排名', + 'UserHome.Ratting': 'DX B50分', + 'UserHome.Statistics': '统计数据', + 'UserHome.Accuracy': '准确度', + 'UserHome.DXScore': 'DX 得分', + 'UserHome.PlayActivity': '游戏活动', + 'UserHome.Plays': '出勤次', + 'UserHome.PlayTime': '出勤时间', + 'UserHome.FirstSeen': '发现新大陆', + 'UserHome.LastSeen': '上次出勤', + 'UserHome.Version': '最新最热否', + 'UserHome.RecentScores': '我的战绩' +} + const zhWelcome: typeof EN_REF_Welcome = { 'back': '返回', 'email': '邮箱', @@ -21,19 +36,4 @@ const zhWelcome: typeof EN_REF_Welcome = { 'welcome.verification-failed': '验证失败:${message}。请重试', } -const zhUser: typeof EN_REF_USER = { - 'UseHome.ServerRank': '服务器排名', - 'UseHome.Ratting': 'DX B50分', - 'UseHome.Statistics': '统计数据', - 'UseHome.Accuracy': '准确度', - 'UseHome.DXScore': 'DX 得分', - 'UseHome.PlayActivity': '游戏活动', - 'UseHome.Plays': '出勤次', - 'UseHome.PlayTime': '出勤时间', - 'UseHome.FirstSeen': '发现新大陆', - 'UseHome.LastSeen': '上次出勤', - 'UseHome.Version': '最新最热否', - 'UseHome.RecentScores': '我的战绩' -} - export const ZH = { ...zhUser, ...zhWelcome } diff --git a/AquaNet/src/pages/UserHome.svelte b/AquaNet/src/pages/UserHome.svelte index fbcf1b28..534b4962 100644 --- a/AquaNet/src/pages/UserHome.svelte +++ b/AquaNet/src/pages/UserHome.svelte @@ -74,17 +74,17 @@