v1.8.78: auto-updater — Gitea releases check, download, apply

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-03-01 09:00:27 -05:00
parent c23eb36dcc
commit 9393134593
8 changed files with 974 additions and 1 deletions

View File

@@ -453,6 +453,30 @@ _EN = {
"ctx_check_status": "Check Status",
"ctx_copy_alias": "Copy Alias",
"ctx_alias_copied": "Alias copied",
# Updates
"update_available": "ServerManager v{version} is available",
"update_available_title": "Update Available",
"update_check": "Check for Updates",
"update_checking": "Checking for updates...",
"update_download_install": "Download & Install",
"update_downloading": "Downloading...",
"update_downloaded": "Downloaded",
"update_install": "Update",
"update_restart": "Restart to Update",
"update_skip": "Skip",
"update_later": "Later",
"update_error": "Update failed",
"update_changelog": "What's New",
"update_no_changelog": "No changelog available.",
"update_current": "Current",
"update_ready": "Ready to install",
"update_mode": "Update Mode",
"update_mode_notify": "Notify Only",
"update_mode_download": "Auto-Download",
"update_mode_auto": "Full Auto",
"update_no_updates": "You're up to date!",
"update_not_frozen": "Updates only work in packaged (exe) mode",
}
_RU = {
@@ -883,6 +907,30 @@ _RU = {
"ctx_check_status": "Проверить статус",
"ctx_copy_alias": "Копировать алиас",
"ctx_alias_copied": "Алиас скопирован",
# Updates
"update_available": "Доступен ServerManager v{version}",
"update_available_title": "Доступно обновление",
"update_check": "Проверить обновления",
"update_checking": "Проверка обновлений...",
"update_download_install": "Скачать и установить",
"update_downloading": "Скачивание...",
"update_downloaded": "Скачано",
"update_install": "Обновить",
"update_restart": "Перезапустить",
"update_skip": "Пропустить",
"update_later": "Позже",
"update_error": "Ошибка обновления",
"update_changelog": "Что нового",
"update_no_changelog": "Описание изменений отсутствует.",
"update_current": "Текущая",
"update_ready": "Готово к установке",
"update_mode": "Режим обновлений",
"update_mode_notify": "Только уведомлять",
"update_mode_download": "Авто-скачивание",
"update_mode_auto": "Полный авто",
"update_no_updates": "У вас последняя версия!",
"update_not_frozen": "Обновления работают только в exe-режиме",
}
_ZH = {
@@ -1313,6 +1361,30 @@ _ZH = {
"ctx_check_status": "检查状态",
"ctx_copy_alias": "复制别名",
"ctx_alias_copied": "别名已复制",
# Updates
"update_available": "ServerManager v{version} 可用",
"update_available_title": "有可用更新",
"update_check": "检查更新",
"update_checking": "正在检查更新...",
"update_download_install": "下载并安装",
"update_downloading": "下载中...",
"update_downloaded": "已下载",
"update_install": "更新",
"update_restart": "重启更新",
"update_skip": "跳过",
"update_later": "稍后",
"update_error": "更新失败",
"update_changelog": "更新内容",
"update_no_changelog": "无更新日志。",
"update_current": "当前版本",
"update_ready": "准备安装",
"update_mode": "更新模式",
"update_mode_notify": "仅通知",
"update_mode_download": "自动下载",
"update_mode_auto": "全自动",
"update_no_updates": "已是最新版本!",
"update_not_frozen": "更新仅在打包(exe)模式下有效",
}
_TRANSLATIONS = {