feat: 添加历史命令功能

This commit is contained in:
Baobhan Sith
2025-04-17 12:06:09 +08:00
parent 9f6c466fd9
commit b62982faa0
15 changed files with 961 additions and 20 deletions
+3 -2
View File
@@ -179,8 +179,9 @@
"disconnectMsg": "--- SSH Connection Closed ({reason}) ---",
"wsCloseMsg": "--- WebSocket Connection Closed (Code: {code}) ---",
"wsErrorMsg": "--- WebSocket Connection Error ---",
"decryptErrorMsg": "--- Error: Cannot decrypt credentials ---",
"genericErrorMsg": "--- Error: {message} ---"
"decryptErrorMsg": "--- Error: Could not decrypt connection credentials ---",
"genericErrorMsg": "--- Error: {message} ---",
"reconnectingMsg": "Attempting to reconnect..."
}
},
"fileManager": {
+16 -2
View File
@@ -181,7 +181,8 @@
"wsCloseMsg": "--- WebSocket 连接已关闭 (代码: {code}) ---",
"wsErrorMsg": "--- WebSocket 连接错误 ---",
"decryptErrorMsg": "--- 错误:无法解密连接凭证 ---",
"genericErrorMsg": "--- 错误: {message} ---"
"genericErrorMsg": "--- 错误: {message} ---",
"reconnectingMsg": "正在尝试重新连接..."
}
},
"fileManager": {
@@ -557,7 +558,20 @@
"commandBar": "命令栏",
"fileManager": "文件管理器",
"editor": "编辑器",
"statusMonitor": "状态监视器"
"statusMonitor": "状态监视器",
"commandHistory": "命令历史"
}
},
"commandHistory": {
"title": "命令历史",
"searchPlaceholder": "搜索历史记录...",
"clear": "清空",
"copy": "复制",
"delete": "删除",
"loading": "加载中...",
"empty": "没有历史记录",
"confirmClear": "确定要清空所有历史记录吗?",
"copied": "已复制到剪贴板",
"copyFailed": "复制失败"
}
}