优化更新失败时的提示语

修复检查更新按钮点击后有重影
This commit is contained in:
xintaofei
2026-03-08 08:35:50 +08:00
parent a16a230c44
commit ab31d3063e
5 changed files with 141 additions and 25 deletions

View File

@@ -112,7 +112,14 @@
"alreadyLatest": "You're on the latest version",
"checkUpdateFailed": "Failed to check for updates: {message}",
"installSuccess": "Update installed. Relaunching app.",
"installFailed": "Update failed: {message}"
"installFailed": "Update failed: {message}",
"updateErrors": {
"sourceUnavailable": "Cannot reach the update source. Check your network or proxy and try again.",
"network": "Network connection failed. Check your network or proxy and try again.",
"downloadFailed": "Failed to download update package. Please try again later.",
"installFailed": "Failed to install update. Please close the app and try again.",
"unknown": "Update failed. Please try again later."
}
},
"ShortcutSettings": {
"sectionTitle": "Shortcuts",

View File

@@ -112,7 +112,14 @@
"alreadyLatest": "当前已经是最新版本",
"checkUpdateFailed": "检查更新失败:{message}",
"installSuccess": "升级包已安装,正在重启应用",
"installFailed": "升级失败:{message}"
"installFailed": "升级失败:{message}",
"updateErrors": {
"sourceUnavailable": "无法连接更新源,请检查网络或代理设置后重试。",
"network": "网络连接异常,请检查网络或代理设置后重试。",
"downloadFailed": "下载更新包失败,请稍后重试。",
"installFailed": "安装更新失败,请关闭应用后重试。",
"unknown": "更新失败,请稍后重试。"
}
},
"ShortcutSettings": {
"sectionTitle": "快捷键",

View File

@@ -112,7 +112,14 @@
"alreadyLatest": "目前已是最新版本",
"checkUpdateFailed": "檢查更新失敗:{message}",
"installSuccess": "升級包已安裝,正在重新啟動應用",
"installFailed": "升級失敗:{message}"
"installFailed": "升級失敗:{message}",
"updateErrors": {
"sourceUnavailable": "無法連線更新來源,請檢查網路或代理設定後重試。",
"network": "網路連線異常,請檢查網路或代理設定後重試。",
"downloadFailed": "下載更新包失敗,請稍後再試。",
"installFailed": "安裝更新失敗,請關閉應用後重試。",
"unknown": "更新失敗,請稍後再試。"
}
},
"ShortcutSettings": {
"sectionTitle": "快捷鍵",