From ec43308da80269a8ef2c895337cdd4389c6f701f Mon Sep 17 00:00:00 2001 From: Kang Date: Wed, 7 Oct 2026 13:01:32 +0800 Subject: [PATCH] chore(i18n): add drag-and-drop sorting messages for accounts and keys in multiple languages --- src/i18n/locales/en.json | 6 ++++++ src/i18n/locales/ko.json | 6 ++++++ src/i18n/locales/zh-CN.json | 6 ++++++ src/i18n/locales/zh-TW.json | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 9a4c6a6a..fc44e72c 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -1644,6 +1644,7 @@ "deleteConfirm": "Delete account '{{name}}'?", "deleteReferencedWarning": "This account is referenced by {{count}} connection(s): {{connections}}. SSH/Telnet will fall back to the connection username without an account password; RDP/VNC will have no saved password.", "deleteTitle": "Delete Account", + "dragToSort": "Drag to reorder", "hidePassword": "Hide", "keepPassword": "Keep saved password", "name": "Name", @@ -1657,6 +1658,8 @@ "passwordUnchanged": "Leave empty to keep current", "passwordWillBeRemoved": "Password will be removed", "removePassword": "Remove saved password", + "reorderFailed": "Failed to reorder accounts", + "reordering": "Reordering...", "showPassword": "Show", "title": "Accounts", "username": "Username", @@ -2363,6 +2366,7 @@ "keepAliveModeStrictDescription": "Disconnect after several intervals without receiving SSH data from the server. This can detect dead connections faster, but may be incompatible with some devices.", "keyContentPasted": "Content pasted", "keyContentPlaceholder": "Paste private key content...", + "keyDragToSort": "Drag to reorder", "keyEditorAddTitle": "Add SSH key", "keyEditorDescription": "Configure private key material, optional certificate, and passphrase.", "keyEditorEditTitle": "Edit SSH key", @@ -2373,6 +2377,8 @@ "keyManagement": "Keys", "keyName": "Key Name", "keyNamePlaceholder": "e.g. My SSH Key", + "keyReorderFailed": "Failed to reorder keys", + "keyReordering": "Reordering...", "keybindings": "Shortcuts", "keybindingsConflict": "Already used by: {{name}}", "keybindingsCustom": "Custom", diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index 6afc3bf6..bceb0932 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -1642,6 +1642,7 @@ "deleteConfirm": "계정 '{{name}}'을(를) 삭제할까요?", "deleteReferencedWarning": "이 계정은 {{count}}개 연결에서 참조합니다: {{connections}}. 삭제하면 SSH/Telnet은 계정 비밀번호 없이 연결 사용자 이름을 사용하고, RDP/VNC에는 저장된 비밀번호가 없게 됩니다.", "deleteTitle": "계정 삭제", + "dragToSort": "드래그하여 순서 변경", "hidePassword": "숨기기", "keepPassword": "저장된 비밀번호 유지", "name": "이름", @@ -1655,6 +1656,8 @@ "passwordUnchanged": "현재 값을 유지하려면 비워 두세요", "passwordWillBeRemoved": "비밀번호가 삭제됩니다", "removePassword": "저장된 비밀번호 삭제", + "reorderFailed": "계정 순서 변경 실패", + "reordering": "순서 변경 중...", "showPassword": "표시", "title": "계정", "username": "사용자 이름", @@ -2361,6 +2364,7 @@ "keepAliveModeStrictDescription": "여러 간격 동안 서버에서 SSH 데이터를 받지 못하면 연결을 끊습니다. 끊어진 연결을 더 빠르게 감지할 수 있지만 일부 장비와 호환되지 않을 수 있습니다.", "keyContentPasted": "내용이 붙여넣어졌습니다", "keyContentPlaceholder": "개인 키 내용 붙여넣기...", + "keyDragToSort": "드래그하여 순서 변경", "keyEditorAddTitle": "SSH 키 추가", "keyEditorDescription": "개인 키 자료, 선택적 인증서, 암호를 구성합니다.", "keyEditorEditTitle": "SSH 키 편집", @@ -2371,6 +2375,8 @@ "keyManagement": "키", "keyName": "키 이름", "keyNamePlaceholder": "예: 내 SSH 키", + "keyReorderFailed": "키 순서 변경 실패", + "keyReordering": "순서 변경 중...", "keybindings": "단축키", "keybindingsConflict": "다음에서 이미 사용 중: {{name}}", "keybindingsCustom": "사용자 지정", diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json index 05273e50..eeb90ce0 100644 --- a/src/i18n/locales/zh-CN.json +++ b/src/i18n/locales/zh-CN.json @@ -1642,6 +1642,7 @@ "deleteConfirm": "确定要删除账户「{{name}}」吗?", "deleteReferencedWarning": "此账户正被 {{count}} 个连接引用:{{connections}}。删除后,SSH/Telnet 将回退到连接用户名且无账户密码,RDP/VNC 将无可用的已保存密码。", "deleteTitle": "删除账户", + "dragToSort": "拖拽排序", "hidePassword": "隐藏密码", "keepPassword": "保留已保存密码", "name": "名称", @@ -1655,6 +1656,8 @@ "passwordUnchanged": "留空保持当前密码不变", "passwordWillBeRemoved": "保存后将删除密码", "removePassword": "删除已保存密码", + "reorderFailed": "账户排序失败", + "reordering": "正在排序…", "showPassword": "显示密码", "title": "账户", "username": "用户名", @@ -2361,6 +2364,7 @@ "keepAliveModeStrictDescription": "连续多次未收到远端 SSH 数据时断开连接,可更快发现失效连接,但可能与部分设备不兼容。", "keyContentPasted": "已粘贴内容", "keyContentPlaceholder": "粘贴私钥内容...", + "keyDragToSort": "拖拽排序", "keyEditorAddTitle": "添加 SSH 密钥", "keyEditorDescription": "配置私钥内容、可选证书和口令。", "keyEditorEditTitle": "编辑 SSH 密钥", @@ -2371,6 +2375,8 @@ "keyManagement": "密钥", "keyName": "密钥名称", "keyNamePlaceholder": "例如:我的 SSH 密钥", + "keyReorderFailed": "密钥排序失败", + "keyReordering": "正在排序…", "keybindings": "快捷键", "keybindingsConflict": "已被占用: {{name}}", "keybindingsCustom": "自定义", diff --git a/src/i18n/locales/zh-TW.json b/src/i18n/locales/zh-TW.json index 8cd2e4df..8c8e1e3a 100644 --- a/src/i18n/locales/zh-TW.json +++ b/src/i18n/locales/zh-TW.json @@ -1642,6 +1642,7 @@ "deleteConfirm": "確定要刪除帳戶「{{name}}」嗎?", "deleteReferencedWarning": "此帳戶正被 {{count}} 個連線引用:{{connections}}。刪除後,SSH/Telnet 將改用連線使用者名稱且無帳戶密碼,RDP/VNC 將無可用的已儲存密碼。", "deleteTitle": "刪除帳戶", + "dragToSort": "拖曳排序", "hidePassword": "隱藏密碼", "keepPassword": "保留已儲存密碼", "name": "名稱", @@ -1655,6 +1656,8 @@ "passwordUnchanged": "留空保持目前密碼不變", "passwordWillBeRemoved": "儲存後將刪除密碼", "removePassword": "刪除已儲存密碼", + "reorderFailed": "帳戶排序失敗", + "reordering": "正在排序…", "showPassword": "顯示密碼", "title": "帳戶", "username": "使用者名稱", @@ -2361,6 +2364,7 @@ "keepAliveModeStrictDescription": "連續多次未收到遠端 SSH 資料時斷開連線,可更快發現失效連線,但可能與部分設備不相容。", "keyContentPasted": "已貼上內容", "keyContentPlaceholder": "貼上私鑰內容...", + "keyDragToSort": "拖曳排序", "keyEditorAddTitle": "新增 SSH 金鑰", "keyEditorDescription": "設定私鑰內容、可選憑證和密碼片語。", "keyEditorEditTitle": "編輯 SSH 金鑰", @@ -2371,6 +2375,8 @@ "keyManagement": "金鑰", "keyName": "金鑰名稱", "keyNamePlaceholder": "例如:我的 SSH 金鑰", + "keyReorderFailed": "金鑰排序失敗", + "keyReordering": "正在排序…", "keybindings": "快捷鍵", "keybindingsConflict": "已被佔用: {{name}}", "keybindingsCustom": "自訂",