Refactor App component to integrate mock statistics and recent chat messages; update localization for stats and activity sections

This commit is contained in:
2025-10-04 13:23:40 +08:00
parent ff056c4c47
commit af676aaa9f
3 changed files with 165 additions and 46 deletions

View File

@@ -18,10 +18,10 @@
"viewStats": "📊 View Stats"
},
"stats": {
"onlinePlayers": "Online Players",
"activeServers": "Active Servers",
"hoursPlayed": "Hours Played",
"liveMatches": "Live Matches"
"totalPlayers": "Total Players",
"totalConnects": "Total Connections",
"totalPlayTime": "Hours Played",
"totalKills": "Total Kills"
},
"features": {
"title": "Community Features",
@@ -53,11 +53,11 @@
},
"activity": {
"title": "Recent Activity",
"topPlayers": "🏆 Top Players",
"quickStats": "🎯 Quick Stats",
"avgMatchTime": "Avg Match Time: 12m 34s",
"mostPopularMap": "Most Popular Map: Dust2",
"peakHours": "Peak Hours: 8-11 PM"
"topPlayers": "Top Players by Playtime",
"serverInfo": "Server Info",
"serverStatus": "Status: Online ✓",
"currentMap": "Map: de_dust2",
"nextRestart": "Restart: 6h 30m"
},
"footer": {
"community": "🎯 CS Community",

View File

@@ -1,6 +1,5 @@
{
"nav": {
"logo": "CS 社区",
"home": "首页",
"servers": "服务器",
"blog": "博客",
@@ -18,10 +17,10 @@
"viewStats": "📊 查看统计"
},
"stats": {
"onlinePlayers": "在线玩家",
"activeServers": "活跃服务器",
"hoursPlayed": "游戏时长",
"liveMatches": "实时比赛"
"totalPlayers": "玩家",
"totalConnects": "总连接数",
"totalPlayTime": "游戏时长",
"totalKills": "总击杀数"
},
"features": {
"title": "社区功能",
@@ -53,11 +52,11 @@
},
"activity": {
"title": "最近活动",
"topPlayers": "🏆 顶级玩家",
"quickStats": "🎯 快速统计",
"avgMatchTime": "平均比赛时长12分34秒",
"mostPopularMap": "最受欢迎地图Dust2",
"peakHours": "高峰时段晚上8-11点"
"topPlayers": "游戏时长排行榜",
"serverInfo": "服务器信息",
"serverStatus": "状态:在线 ✓",
"currentMap": "地图de_dust2",
"nextRestart": "重启6小时30分钟"
},
"footer": {
"community": "🎯 CS 社区",