From d2017c2b962fffb7123309b6a8fa12743cd69c6a Mon Sep 17 00:00:00 2001 From: Kang Date: Tue, 30 Jun 2026 16:49:45 +0800 Subject: [PATCH] chore(i18n): add new localization strings for jump host functionality - Introduced new keys for detecting jump host cycles and displaying jump host chains in both English and Chinese locales. - Enhanced user feedback for missing jump hosts and potential loop scenarios in proxy configurations. --- src/i18n/locales/en.json | 4 ++++ src/i18n/locales/zh-CN.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 283580a3..a9d64a10 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -320,6 +320,7 @@ "privateKeyRequired": "Select a key", "proxyJump": "Jump Host", "proxyJumpAlreadyConfigured": "Already uses a jump host", + "proxyJumpCycleDetected": "Would create a jump loop", "proxyJumpSshOnly": "SSH only", "proxySelect": "Proxy", "quickConnectLocal": "Quick Connect", @@ -937,6 +938,9 @@ "importSelectSource": "Select import source", "importSessions": "Import", "importSuccess": "Imported {{count}} sessions", + "jumpHostChain": "Jump chain", + "jumpHostCycle": "Loop detected", + "jumpHostMissing": "Missing jump host", "newConnection": "New Conn.", "newFolder": "New Folder", "newSubfolder": "New Subfolder", diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 51ba6d7f..0691f792 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -320,6 +320,7 @@ "privateKeyRequired": "请选择私钥", "proxyJump": "跳板机", "proxyJumpAlreadyConfigured": "该连接已配置跳板机,不能再作为跳板机", + "proxyJumpCycleDetected": "会形成跳板机循环", "proxyJumpSshOnly": "仅显示 SSH 连接", "proxySelect": "代理", "quickConnectLocal": "快速连接 (不保存)", @@ -937,6 +938,9 @@ "importSelectSource": "请选择要导入的配置来源", "importSessions": "导入配置", "importSuccess": "成功导入 {{count}} 个会话", + "jumpHostChain": "跳板链路", + "jumpHostCycle": "检测到循环", + "jumpHostMissing": "跳板机已缺失", "newConnection": "新建连接", "newFolder": "新建文件夹", "newSubfolder": "新建子文件夹",