v1.5.0: network interface binding, SSH fixes, terminal, release script
- Add network interface selection per server (VPN/multi-NIC support) - Fix "Install Everything" button hanging on error - Add interactive SSH terminal with PTY (pyte + xterm-256color) - Add release.py for automated versioning and changelog generation - Add CLAUDE.md with project instructions - Add screenshots and release binaries for v1.1–v1.4 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
63
core/i18n.py
63
core/i18n.py
@@ -107,6 +107,12 @@ _EN = {
|
||||
"clear": "Clear",
|
||||
"no_server_selected": "[!] No server selected",
|
||||
"server_not_found": "[!] Server '{alias}' not found",
|
||||
"term_connecting": "Connecting to {alias}...",
|
||||
"term_connected": "Connected to {alias}",
|
||||
"term_disconnected": "Disconnected",
|
||||
"term_reconnecting": "Reconnecting ({n}/{max})...",
|
||||
"term_connect_failed": "Connection failed: {error}",
|
||||
"term_reconnect_fail": "Disconnected (reconnect failed)",
|
||||
|
||||
# Files
|
||||
"upload": "Upload",
|
||||
@@ -209,6 +215,21 @@ _EN = {
|
||||
"totp_secret_dialog": "TOTP Secret",
|
||||
"placeholder_totp_secret": "Base32 secret (optional)",
|
||||
"port_out_of_range": "Port must be 1-65535",
|
||||
|
||||
# Monitoring
|
||||
"monitoring": "Monitoring",
|
||||
"check_interval": "Check interval",
|
||||
"skip_check": "Skip status checks",
|
||||
"skip_check_desc": "Don't check this server's availability",
|
||||
"interval_30s": "30s",
|
||||
"interval_60s": "60s",
|
||||
"interval_120s": "2min",
|
||||
"interval_300s": "5min",
|
||||
"status_disabled": "disabled",
|
||||
|
||||
# Network interface
|
||||
"network_interface": "Network Interface",
|
||||
"auto_default": "Auto (default)",
|
||||
}
|
||||
|
||||
_RU = {
|
||||
@@ -293,6 +314,12 @@ _RU = {
|
||||
"clear": "Очистить",
|
||||
"no_server_selected": "[!] Сервер не выбран",
|
||||
"server_not_found": "[!] Сервер '{alias}' не найден",
|
||||
"term_connecting": "Подключение к {alias}...",
|
||||
"term_connected": "Подключено к {alias}",
|
||||
"term_disconnected": "Отключено",
|
||||
"term_reconnecting": "Переподключение ({n}/{max})...",
|
||||
"term_connect_failed": "Ошибка подключения: {error}",
|
||||
"term_reconnect_fail": "Отключено (не удалось переподключиться)",
|
||||
|
||||
# Files
|
||||
"upload": "Загрузить",
|
||||
@@ -395,6 +422,21 @@ _RU = {
|
||||
"totp_secret_dialog": "TOTP-секрет",
|
||||
"placeholder_totp_secret": "Base32 секрет (необязательно)",
|
||||
"port_out_of_range": "Порт должен быть от 1 до 65535",
|
||||
|
||||
# Monitoring
|
||||
"monitoring": "Мониторинг",
|
||||
"check_interval": "Интервал проверки",
|
||||
"skip_check": "Не проверять доступность",
|
||||
"skip_check_desc": "Исключить сервер из автопроверки",
|
||||
"interval_30s": "30с",
|
||||
"interval_60s": "60с",
|
||||
"interval_120s": "2мин",
|
||||
"interval_300s": "5мин",
|
||||
"status_disabled": "отключено",
|
||||
|
||||
# Network interface
|
||||
"network_interface": "Сетевой интерфейс",
|
||||
"auto_default": "Авто (по умолчанию)",
|
||||
}
|
||||
|
||||
_ZH = {
|
||||
@@ -479,6 +521,12 @@ _ZH = {
|
||||
"clear": "清除",
|
||||
"no_server_selected": "[!] 未选择服务器",
|
||||
"server_not_found": "[!] 未找到服务器 '{alias}'",
|
||||
"term_connecting": "正在连接 {alias}...",
|
||||
"term_connected": "已连接到 {alias}",
|
||||
"term_disconnected": "已断开",
|
||||
"term_reconnecting": "重新连接中 ({n}/{max})...",
|
||||
"term_connect_failed": "连接失败:{error}",
|
||||
"term_reconnect_fail": "已断开(重连失败)",
|
||||
|
||||
# Files
|
||||
"upload": "上传",
|
||||
@@ -581,6 +629,21 @@ _ZH = {
|
||||
"totp_secret_dialog": "TOTP密钥",
|
||||
"placeholder_totp_secret": "Base32密钥(可选)",
|
||||
"port_out_of_range": "端口必须在1-65535之间",
|
||||
|
||||
# Monitoring
|
||||
"monitoring": "监控",
|
||||
"check_interval": "检查间隔",
|
||||
"skip_check": "跳过状态检查",
|
||||
"skip_check_desc": "不检查此服务器的可用性",
|
||||
"interval_30s": "30秒",
|
||||
"interval_60s": "60秒",
|
||||
"interval_120s": "2分钟",
|
||||
"interval_300s": "5分钟",
|
||||
"status_disabled": "已禁用",
|
||||
|
||||
# Network interface
|
||||
"network_interface": "网络接口",
|
||||
"auto_default": "自动(默认)",
|
||||
}
|
||||
|
||||
_TRANSLATIONS = {
|
||||
|
||||
Reference in New Issue
Block a user