From 9fb6ac865353320f9114c03176941e50763253ef Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Sun, 2 Sep 2018 15:40:37 +0300 Subject: [PATCH] link to plugin list --- QuickLook/Translations.config | 6 +++++- QuickLook/TrayIconManager.cs | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/QuickLook/Translations.config b/QuickLook/Translations.config index c365e232..b33149ab 100644 --- a/QuickLook/Translations.config +++ b/QuickLook/Translations.config @@ -13,6 +13,7 @@ Run at &Startup QuickLook v{0}: a spacebar previewing utility Check for &Updates... + Find new &Plugins... &Quit You are now on the latest version. QuickLook {0} is released. Click here to open the download page. @@ -37,6 +38,7 @@ 启动时自动运行 (&S) QuickLook v{0}:一个空格键预览工具 检查更新... (&U) + 获取新插件... (&P) 退出 (&Q) 您已使用了最新版本。 QuickLook {0} 已发布。点击这里打开下载页面。 @@ -61,6 +63,7 @@ 系統啟動時自動執行 (&S) QuickLook v{0}:一個空白鍵預覽工具 檢查更新... (&U) + 獲取新外掛... (&P) 結束 Quicklook (&Q) 您正在使用最新版本。 QuickLook {0} 新版本已發布。請按一下此處開啟下載頁面。 @@ -268,7 +271,8 @@ {0} を起動 スタートアップ時に起動 QuickLook バージョン {0} - 更新を確認する... + 更新を確認する... (&U) + 新しいプラグインを検索する... (&P) 終了(&E) 最新版です QuickLook {0} がリリースされました。ここをクリックしてダウンロードページを開きます。 diff --git a/QuickLook/TrayIconManager.cs b/QuickLook/TrayIconManager.cs index f6955b98..bd0777b8 100644 --- a/QuickLook/TrayIconManager.cs +++ b/QuickLook/TrayIconManager.cs @@ -16,6 +16,7 @@ // along with this program. If not, see . using System; +using System.Diagnostics; using System.Drawing; using System.Windows.Forms; using QuickLook.Common.Helpers; @@ -53,6 +54,8 @@ namespace QuickLook new MenuItem($"v{Application.ProductVersion}{(App.IsUWP ? " (UWP)" : "")}") {Enabled = false}, new MenuItem("-"), new MenuItem(TranslationHelper.Get("Icon_CheckUpdate"), (sender, e) => Updater.CheckForUpdates()), + new MenuItem(TranslationHelper.Get("Icon_GetPlugin"), + (sender, e) => Process.Start("https://github.com/QL-Win/QuickLook/wiki/Available-Plugins")), _itemAutorun, new MenuItem(TranslationHelper.Get("Icon_Quit"), (sender, e) => System.Windows.Application.Current.Shutdown())