Skip to content

Commit 3b6c8b8

Browse files
Add translatble text
1 parent 8625fb9 commit 3b6c8b8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,7 @@
120120
<system:String x:Key="flowlauncher_plugin_everything_installationfailed_subtitle">Failed to automatically install Everything service. Please manually install it from https://www.voidtools.com</system:String>
121121
<system:String x:Key="flowlauncher_plugin_everything_run_service">Click here to start it</system:String>
122122
<system:String x:Key="flowlauncher_plugin_everything_installing_select">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</system:String>
123+
<system:String x:Key="flowlauncher_plugin_everything_enable_content_search">Do you want to enable content search for Everything?</system:String>
124+
<system:String x:Key="flowlauncher_plugin_everything_enable_content_search_tips">"It can be very slow without index (which is only supported in Everything v1.5+)"</system:String>
123125

124126
</ResourceDictionary>

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ private static List<Result> EverythingContentSearchResult(Query query)
145145
{
146146
new()
147147
{
148-
Title = "Do you want to enable content search for Everything?",
149-
SubTitle = "It can be very slow without index (which is only supported in Everything v1.5+)",
148+
Title = Context.API.GetTranslation("flowlauncher_plugin_everything_enable_content_search"),
149+
SubTitle = Context.API.GetTranslation("flowlauncher_plugin_everything_enable_content_search_tips"),
150150
IcoPath = "Images/index_error.png",
151151
Action = c =>
152152
{

0 commit comments

Comments
 (0)