Add translatble text

This commit is contained in:
Vic 2022-12-21 13:30:49 +08:00
parent 8625fb985b
commit 3b6c8b882b
2 changed files with 4 additions and 2 deletions

View file

@ -120,5 +120,7 @@
<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>
<system:String x:Key="flowlauncher_plugin_everything_run_service">Click here to start it</system:String>
<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>
<system:String x:Key="flowlauncher_plugin_everything_enable_content_search">Do you want to enable content search for Everything?</system:String>
<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>
</ResourceDictionary>

View file

@ -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 =>
{