feat(about): 关于页自动检查更新开关 + 自定义检查间隔

- 新增 autoCheckForUpdates 开关(默认开启)
- 新增 autoCheckForUpdatesIntervalMinutes(默认30分钟,可选15/30/60/120/360/720/1440)
- hook timer 按开关和间隔动态注册
- 关于页版本与更新卡片增加 Switch + Select 控件
- 6语种 i18n 文案
- store / hook / settings-center 测试补充
This commit is contained in:
mango
2026-07-22 15:24:55 +08:00
parent ece61d097f
commit d774aa741e
12 changed files with 302 additions and 6 deletions

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "Update {{version}} herunterladen",
"app.about.field.author": "Autor",
"app.about.field.community": "Community",
"app.about.auto_check_interval.hours": "{{hours}} Stunden",
"app.about.auto_check_interval.minutes": "{{minutes}} Minuten",
"app.about.field.auto_check_interval": "Prüfintervall",
"app.about.field.auto_check_updates": "Automatisch nach Updates suchen",
"app.about.field.update_channel": "Update-Kanal",
"app.about.field.update_status": "Updatestatus",
"app.about.field.version": "Version",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "Updateinhalt",
"app.about.version.release_time": "Veröffentlichungszeit",
"app.about.version_update.available": "Update verfügbar",
"app.about.version_update.auto_check_disabled_hint": "Wenn deaktiviert, werden Updates nur über die manuelle Aktion „Nach Updates suchen“ geprüft",
"app.about.version_update.auto_check_hint": "Beim Start und im gewählten Intervall im Hintergrund nach Updates suchen",
"app.about.version_update.channel_hint": "Neueste Entwicklungsversion erhalten",
"app.about.version_update.title": "Version und Updates",
"app.about.version_update.up_to_date": "Auf dem neuesten Stand",

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "Download Update {{version}}",
"app.about.field.author": "Author",
"app.about.field.community": "Community",
"app.about.auto_check_interval.hours": "{{hours}} hours",
"app.about.auto_check_interval.minutes": "{{minutes}} minutes",
"app.about.field.auto_check_interval": "Check interval",
"app.about.field.auto_check_updates": "Automatically check for updates",
"app.about.field.update_channel": "Update Channel",
"app.about.field.update_status": "Update Status",
"app.about.field.version": "Version",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "Update Notes",
"app.about.version.release_time": "Release Time",
"app.about.version_update.available": "Update available",
"app.about.version_update.auto_check_disabled_hint": "When off, updates are only checked via the manual Check for Updates action",
"app.about.version_update.auto_check_hint": "Check for updates in the background on startup and at the selected interval",
"app.about.version_update.channel_hint": "Receive the latest development build",
"app.about.version_update.title": "Version and Updates",
"app.about.version_update.up_to_date": "Up to date",

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "更新をダウンロード {{version}}",
"app.about.field.author": "作者",
"app.about.field.community": "コミュニティ",
"app.about.auto_check_interval.hours": "{{hours}} 時間",
"app.about.auto_check_interval.minutes": "{{minutes}} 分",
"app.about.field.auto_check_interval": "チェック間隔",
"app.about.field.auto_check_updates": "更新を自動チェック",
"app.about.field.update_channel": "更新チャネル",
"app.about.field.update_status": "更新状況",
"app.about.field.version": "バージョン",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "更新内容",
"app.about.version.release_time": "公開日時",
"app.about.version_update.available": "利用可能な更新があります",
"app.about.version_update.auto_check_disabled_hint": "オフの場合、手動の「更新を確認」でのみ新バージョンを取得します",
"app.about.version_update.auto_check_hint": "起動後にバックグラウンドで確認し、設定した間隔で繰り返し確認します",
"app.about.version_update.channel_hint": "最新の開発版を受け取る",
"app.about.version_update.title": "バージョンと更新",
"app.about.version_update.up_to_date": "最新です",

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "Скачать обновление {{version}}",
"app.about.field.author": "Автор",
"app.about.field.community": "Сообщество",
"app.about.auto_check_interval.hours": "{{hours}} ч.",
"app.about.auto_check_interval.minutes": "{{minutes}} мин.",
"app.about.field.auto_check_interval": "Интервал проверки",
"app.about.field.auto_check_updates": "Автоматически проверять обновления",
"app.about.field.update_channel": "Канал обновления",
"app.about.field.update_status": "Статус обновления",
"app.about.field.version": "Версия",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "Содержание обновления",
"app.about.version.release_time": "Время выпуска",
"app.about.version_update.available": "Доступно обновление",
"app.about.version_update.auto_check_disabled_hint": "При отключении обновления проверяются только вручную через «Проверить обновления»",
"app.about.version_update.auto_check_hint": "Проверять обновления в фоне при запуске и с выбранным интервалом",
"app.about.version_update.channel_hint": "Получать последнюю dev-версию",
"app.about.version_update.title": "Версия и обновления",
"app.about.version_update.up_to_date": "Актуально",

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "下载更新 {{version}}",
"app.about.field.author": "作者",
"app.about.field.community": "技术圈",
"app.about.auto_check_interval.hours": "{{hours}} 小时",
"app.about.auto_check_interval.minutes": "{{minutes}} 分钟",
"app.about.field.auto_check_interval": "检查间隔",
"app.about.field.auto_check_updates": "自动检查更新",
"app.about.field.update_channel": "更新通道",
"app.about.field.update_status": "更新状态",
"app.about.field.version": "版本",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "更新内容",
"app.about.version.release_time": "发布时间",
"app.about.version_update.available": "有可用更新",
"app.about.version_update.auto_check_disabled_hint": "关闭后仅可通过手动「检查更新」获取新版本",
"app.about.version_update.auto_check_hint": "启动后在后台检查,并按设定间隔重复检查",
"app.about.version_update.channel_hint": "接收最新的开发版本",
"app.about.version_update.title": "版本与更新",
"app.about.version_update.up_to_date": "当前已是最新",

View File

@@ -2448,6 +2448,10 @@
"app.about.download_progress.title_with_version": "下載更新 {{version}}",
"app.about.field.author": "作者",
"app.about.field.community": "技術圈",
"app.about.auto_check_interval.hours": "{{hours}} 小時",
"app.about.auto_check_interval.minutes": "{{minutes}} 分鐘",
"app.about.field.auto_check_interval": "檢查間隔",
"app.about.field.auto_check_updates": "自動檢查更新",
"app.about.field.update_channel": "更新通道",
"app.about.field.update_status": "更新状态",
"app.about.field.version": "版本",
@@ -2489,6 +2493,8 @@
"app.about.version.release_notes": "更新內容",
"app.about.version.release_time": "發布時間",
"app.about.version_update.available": "有可用更新",
"app.about.version_update.auto_check_disabled_hint": "關閉後僅可透過手動「檢查更新」取得新版本",
"app.about.version_update.auto_check_hint": "啟動後在背景檢查,並依設定間隔重複檢查",
"app.about.version_update.channel_hint": "接收最新的開發版本",
"app.about.version_update.title": "版本與更新",
"app.about.version_update.up_to_date": "目前已是最新",