v1.8.26: right-click context menu on sidebar servers

Type-adaptive menu: SSH (terminal/files/keys), SQL (query editor),
Redis (console), Grafana/Prometheus (open browser), WinRM (PowerShell),
RDP/VNC (connect). Universal: check status, copy alias, edit, delete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-02-24 10:00:00 -05:00
parent 1b3fb30680
commit 4e9012e2ab
5 changed files with 173 additions and 3 deletions

View File

@@ -396,6 +396,19 @@ _EN = {
"info_database": "Database:",
"info_ssl": "SSL:",
"info_db_index": "DB Index:",
# Context menu
"ctx_open_terminal": "Open Terminal",
"ctx_browse_files": "Browse Files",
"ctx_install_key": "Install Key",
"ctx_open_powershell": "Open PowerShell",
"ctx_open_query": "Open Query Editor",
"ctx_open_console": "Open Console",
"ctx_connect": "Connect",
"ctx_open_browser": "Open in Browser",
"ctx_check_status": "Check Status",
"ctx_copy_alias": "Copy Alias",
"ctx_alias_copied": "Alias copied",
}
_RU = {
@@ -769,6 +782,19 @@ _RU = {
"info_database": "База данных:",
"info_ssl": "SSL:",
"info_db_index": "Индекс БД:",
# Context menu
"ctx_open_terminal": "Открыть терминал",
"ctx_browse_files": "Обзор файлов",
"ctx_install_key": "Установить ключ",
"ctx_open_powershell": "Открыть PowerShell",
"ctx_open_query": "Открыть SQL-редактор",
"ctx_open_console": "Открыть консоль",
"ctx_connect": "Подключиться",
"ctx_open_browser": "Открыть в браузере",
"ctx_check_status": "Проверить статус",
"ctx_copy_alias": "Копировать алиас",
"ctx_alias_copied": "Алиас скопирован",
}
_ZH = {
@@ -1142,6 +1168,19 @@ _ZH = {
"info_database": "数据库:",
"info_ssl": "SSL:",
"info_db_index": "数据库索引:",
# Context menu
"ctx_open_terminal": "打开终端",
"ctx_browse_files": "浏览文件",
"ctx_install_key": "安装密钥",
"ctx_open_powershell": "打开 PowerShell",
"ctx_open_query": "打开查询编辑器",
"ctx_open_console": "打开控制台",
"ctx_connect": "连接",
"ctx_open_browser": "在浏览器中打开",
"ctx_check_status": "检查状态",
"ctx_copy_alias": "复制别名",
"ctx_alias_copied": "别名已复制",
}
_TRANSLATIONS = {