fix github update error handling #1266

This commit is contained in:
bao-qian
2017-03-27 00:08:56 +01:00
parent 6945eb548f
commit 128671f5e9
6 changed files with 77 additions and 48 deletions

View File

@@ -84,7 +84,12 @@
<system:String x:Key="version">Version</system:String>
<system:String x:Key="about_activate_times">You have activated Wox {0} times</system:String>
<system:String x:Key="checkUpdates">Check for Updates</system:String>
<system:String x:Key="newVersionTips">New version {0} is available, please restart Wox</system:String>
<system:String x:Key="newVersionTips">New version {0} is available, please restart Wox.</system:String>
<system:String x:Key="checkUpdatesFailed">Check updates failed, please check your connection and proxy settings to api.github.com.</system:String>
<system:String x:Key="downloadUpdatesFailed">
Download updates failed, please check your connection and proxy settings to github-cloud.s3.amazonaws.com,
or go to https://github.com/Wox-launcher/Wox/releases to download updates manually.
</system:String>
<system:String x:Key="releaseNotes">Release Notes:</system:String>
<!--Action Keyword Setting Dialog-->

View File

@@ -84,7 +84,12 @@
<system:String x:Key="version">版本</system:String>
<system:String x:Key="about_activate_times">你已经激活了Wox {0} 次</system:String>
<system:String x:Key="checkUpdates">检查更新</system:String>
<system:String x:Key="newVersionTips">发现新版本 {0} , 请重启 wox</system:String>
<system:String x:Key="newVersionTips">发现新版本 {0} , 请重启 wox</system:String>
<system:String x:Key="checkUpdatesFailed">检查更新失败,请检查你到 api.github.com 的网络连接和代理设置。</system:String>
<system:String x:Key="downloadUpdatesFailed">
下载更新失败,请检查你到 github-cloud.s3.amazonaws.com, 的网络连接和代理设置,
或去 https://github.com/Wox-launcher/Wox/releases 手动下载更新。
</system:String>
<system:String x:Key="releaseNotes">更新说明:</system:String>
<!--Action Keyword 设置对话框-->

View File

@@ -80,7 +80,12 @@
<system:String x:Key="version">版本</system:String>
<system:String x:Key="about_activate_times">您已經啟動了 Wox {0} 次</system:String>
<system:String x:Key="checkUpdates">檢查更新</system:String>
<system:String x:Key="newVersionTips">發現有新版本 {0} , 請重新啟動 Wox</system:String>
<system:String x:Key="newVersionTips">發現有新版本 {0} 請重新啟動 Wox</system:String>
<system:String x:Key="checkUpdatesFailed">检查更新失败,请检查你到 api.github.com 的网络连接和代理设置。</system:String>
<system:String x:Key="downloadUpdatesFailed">
下载更新失败,请检查你到 github-cloud.s3.amazonaws.com, 的网络连接和代理设置,
或去 https://github.com/Wox-launcher/Wox/releases 手动下载更新。
</system:String>
<system:String x:Key="releaseNotes">更新說明:</system:String>
<!--Action Keyword 設定對話框-->