feat: StatusView i18n + 1s auto-refresh

- Section titles (Server, Clients, Memory...) follow app language
- Auto-refresh every 1 second
- Clean up interval on unmount/disconnect
This commit is contained in:
2026-07-04 23:48:27 +08:00
parent d2fd07161c
commit 393c82c879
3 changed files with 77 additions and 3 deletions
+11
View File
@@ -129,6 +129,17 @@ export default {
connecting: '连接中...',
error: '错误: {error}',
noConnection: '无连接',
sectionServer: '服务器',
sectionClients: '客户端',
sectionMemory: '内存',
sectionPersistence: '持久化',
sectionStats: '统计',
sectionReplication: '复制',
sectionCpu: 'CPU',
sectionModules: '模块',
sectionErrorstats: '错误统计',
sectionCluster: '集群',
sectionKeyspace: '键空间',
},
db: {
label: '数据库',