feat: Sentinel mode support

- NewConnectionDialog: sentinel toggle + host/port/masterName/nodePassword form
- connection.ts: use ioredis sentinels config when sentinelEnabled
- Add sentinelEnabled/sentinelHost/sentinelPort/sentinelNodePassword to all types
- i18n keys for all sentinel fields (zh-CN + en)
This commit is contained in:
2026-07-05 16:43:52 +08:00
parent 1686af1a79
commit e46d6a80be
8 changed files with 133 additions and 2 deletions
+5
View File
@@ -34,6 +34,11 @@ export default {
tlsCertPath: '客户端证书',
tlsKeyPath: '客户端私钥',
tlsRejectUnauthorized: '验证服务器证书',
sentinel: 'Sentinel 哨兵模式',
sentinelHost: '哨兵主机',
sentinelPort: '哨兵端口',
sentinelMasterName: 'Master 名称',
sentinelNodePassword: '哨兵密码',
ssh: 'SSH 隧道',
sshHost: 'SSH 主机',
sshPort: 'SSH 端口',