feat(settings): 更新开关的界面与四语言文案
- 系统设置页加「定时检查更新」下拉(选项由 UPDATE_CHECK_INTERVALS 白名单 生成,标签用 Record<UpdateCheckInterval, string> 保证漏项即编译错误)与 「自动下载更新」开关 - 关于页:后台自动下载完成时用 statusDownloadedAuto 文案,与用户手动下载 区分 - 四语言补齐 13 个键(含托盘气泡文案),已用 i18n parity 校验 617 键对齐
This commit is contained in:
1 parent
9cc856fc8f
commit
bf79036599
10 files changed
+105
-1
No files matched your search
@@ -94,6 +94,16 @@ const settings: Record<string, string> = {
|
||||
'settings.system.preventSleep': 'Prevent system sleep',
|
||||
'settings.system.preventSleepDesc':
|
||||
'While on, OpenTerminal keeps the system from sleeping automatically; when off, the system follows its own power settings',
|
||||
'settings.system.updateCheckInterval': 'Periodic update check',
|
||||
'settings.system.updateCheckIntervalDesc':
|
||||
'Check for new versions periodically in the background (startup and manual checks always work)',
|
||||
'settings.system.updateCheckNever': 'Never',
|
||||
'settings.system.updateCheck4h': 'Every 4 hours',
|
||||
'settings.system.updateCheck12h': 'Every 12 hours',
|
||||
'settings.system.updateCheck24h': 'Every 24 hours',
|
||||
'settings.system.autoDownload': 'Download updates automatically',
|
||||
'settings.system.autoDownloadDesc':
|
||||
'Silently download new versions in the background; installing stays your call (it installs when you quit the app)',
|
||||
'settings.system.restoreSession': 'Restore last session on startup',
|
||||
'settings.system.restoreSessionDesc':
|
||||
'Restore the split layout on the next launch and return each terminal to its last directory; when off, OpenTerminal always starts with a single terminal',
|
||||
@@ -308,6 +318,7 @@ const settings: Record<string, string> = {
|
||||
'settings.about.statusLatest': 'Already up to date',
|
||||
'settings.about.statusDownloading': 'Downloading…',
|
||||
'settings.about.statusDownloaded': 'Download complete — restart to install',
|
||||
'settings.about.statusDownloadedAuto': 'Downloaded in the background — installs when you quit',
|
||||
'settings.about.statusError': 'Check failed',
|
||||
'settings.about.statusDev': 'Update checks are unavailable in development mode',
|
||||
'settings.about.autoCheck': 'Check automatically at startup',
|
||||
|
||||
Reference in new issue
Block a user