From 3b6c8b882bd42bb7524e684eed1901a26c6e936c Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Wed, 21 Dec 2022 13:30:49 +0800 Subject: [PATCH] Add translatble text --- Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml | 2 ++ Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml index d44c67bf0..bd950a2aa 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml @@ -120,5 +120,7 @@ Failed to automatically install Everything service. Please manually install it from https://www.voidtools.com Click here to start it Unable to find an Everything installation, would you like to manually select a location?{0}{0}Click no and Everything will be automatically installed for you + Do you want to enable content search for Everything? + "It can be very slow without index (which is only supported in Everything v1.5+)" \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs index fc4186cb3..3634de792 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs @@ -145,8 +145,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search { new() { - Title = "Do you want to enable content search for Everything?", - SubTitle = "It can be very slow without index (which is only supported in Everything v1.5+)", + Title = Context.API.GetTranslation("flowlauncher_plugin_everything_enable_content_search"), + SubTitle = Context.API.GetTranslation("flowlauncher_plugin_everything_enable_content_search_tips"), IcoPath = "Images/index_error.png", Action = c => {