From 3b402771d57f28fd25e2528c61b842d7bdbf4e4f Mon Sep 17 00:00:00 2001 From: Jokul Date: Sat, 4 Jul 2026 22:26:32 +0800 Subject: [PATCH] fix: i18n, password edit, and key count issues - Add i18n to all components (zh-CN/en) - Fix password not showing when editing connection - Fix key count showing 0 by adding getInfo function --- src/components/HashEditor.vue | 26 ++++++++++--------- src/components/KeyDetail.vue | 30 +++++++++++---------- src/components/ListEditor.vue | 28 ++++++++++---------- src/components/MainArea.vue | 16 +++++++----- src/components/NewConnectionDialog.vue | 5 ++-- src/components/SetEditor.vue | 24 +++++++++-------- src/components/SlowLogView.vue | 16 +++++++----- src/components/StatusView.vue | 10 ++++--- src/components/StreamEditor.vue | 36 ++++++++++++++------------ src/components/ZsetEditor.vue | 26 ++++++++++--------- src/i18n/locales/en.ts | 9 +++++++ src/i18n/locales/zh-CN.ts | 9 +++++++ src/stores/connection.ts | 20 +++++++++++++- 13 files changed, 155 insertions(+), 100 deletions(-) diff --git a/src/components/HashEditor.vue b/src/components/HashEditor.vue index 4c4266a..57a2e47 100644 --- a/src/components/HashEditor.vue +++ b/src/components/HashEditor.vue @@ -1,12 +1,14 @@