Skip to content

Commit e0c3fa8

Browse files
authored
- Change EN Guide websearch plugin (#1430)
- Change URL Text to Selectable
1 parent 1f0bd82 commit e0c3fa8

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

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

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3-
xmlns:system="clr-namespace:System;assembly=mscorlib">
1+
<ResourceDictionary
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:system="clr-namespace:System;assembly=mscorlib">
45

56
<system:String x:Key="flowlauncher_plugin_websearch_window_title">Search Source Setting</system:String>
67
<system:String x:Key="flowlauncher_plugin_websearch_open_search_in">Open search in:</system:String>
@@ -15,16 +16,21 @@
1516
<system:String x:Key="flowlauncher_plugin_websearch_action_keyword">Action Keyword</system:String>
1617
<system:String x:Key="flowlauncher_plugin_websearch_url">URL</system:String>
1718
<system:String x:Key="flowlauncher_plugin_websearch_search">Search</system:String>
18-
<system:String x:Key="flowlauncher_plugin_websearch_enable_suggestion">Use Search Query Autocomplete: </system:String>
19-
<system:String x:Key="flowlauncher_plugin_websearch_enable_suggestion_provider">Autocomplete Data from: </system:String>
19+
<system:String x:Key="flowlauncher_plugin_websearch_enable_suggestion">Use Search Query Autocomplete:</system:String>
20+
<system:String x:Key="flowlauncher_plugin_websearch_enable_suggestion_provider">Autocomplete Data from:</system:String>
2021
<system:String x:Key="flowlauncher_plugin_websearch_pls_select_web_search">Please select a web search</system:String>
2122
<system:String x:Key="flowlauncher_plugin_websearch_delete_warning">Are you sure you want to delete {0}?</system:String>
22-
<system:String x:Key="flowlauncher_plugin_websearch_guide_1">If you have a web search service you want to use, you can add it to Flow. For example, you can follow the url format in the address bar if you want to search 'casino' on Netflix: "https://www.netflix.com/search?q=Casino". To do this, change the search term 'Casino' as follows.</system:String>
23-
<system:String x:Key="flowlauncher_plugin_websearch_guide_2">https://www.netflix.com/search?q={q}</system:String>
24-
<system:String x:Key="flowlauncher_plugin_websearch_guide_3">Add it to the URL section below. You can now search Netflix with Flow using any search terms.</system:String>
25-
23+
<system:String x:Key="flowlauncher_plugin_websearch_guide_1">If you want to add a search for a particular website to Flow, first enter a dummy text string in the search bar of that website, and launch the search. Now copy the contents of the browser's address bar, and paste it in the URL field below. Replace your test string with {q}. For example, if you search for casino on Netflix, its address bar reads</system:String>
24+
<system:String x:Key="flowlauncher_plugin_websearch_guide_2">https://www.netflix.com/search?q=Casino</system:String>
25+
<system:String x:Key="flowlauncher_plugin_websearch_guide_3">
26+
Now copy this entrire string and paste it in the URL field below.
27+
Then replace casino with {q}.
28+
Thus, the generic formula for a search on Netflix is https://www.netflix.com/search?q={q}
29+
</system:String>
2630

27-
<!--web search edit-->
31+
32+
33+
<!-- web search edit -->
2834
<system:String x:Key="flowlauncher_plugin_websearch_title">Title</system:String>
2935
<system:String x:Key="flowlauncher_plugin_websearch_enable">Enable</system:String>
3036
<system:String x:Key="flowlauncher_plugin_websearch_select_icon">Select Icon</system:String>

Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@
7474
Text="{DynamicResource flowlauncher_plugin_websearch_guide_1}"
7575
TextAlignment="Left"
7676
TextWrapping="WrapWithOverflow" />
77-
<TextBlock
77+
<TextBox
7878
Margin="0,12,0,12"
7979
FontSize="14"
8080
FontWeight="SemiBold"
81+
IsReadOnly="True"
8182
Text="{DynamicResource flowlauncher_plugin_websearch_guide_2}"
8283
TextAlignment="Center"
8384
TextWrapping="WrapWithOverflow" />

0 commit comments

Comments
 (0)