Skip to content

Commit 27c6db2

Browse files
committed
fix websearch plugin untranslated string
1 parent 98760d8 commit 27c6db2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
xmlns:system="clr-namespace:System;assembly=mscorlib">
44

5+
<system:String x:Key="flowlauncher_plugin_websearch_open_search_in">Open search in:</system:String>
6+
<system:String x:Key="flowlauncher_plugin_websearch_new_window">New Window</system:String>
7+
<system:String x:Key="flowlauncher_plugin_websearch_new_tab">New Tab</system:String>
8+
<system:String x:Key="flowlaucnher_plugin_websearch_set_browser_path">Set browser from path:</system:String>
9+
<system:String x:Key="flowlauncher_plugin_websearch_choose">Choose</system:String>
510
<system:String x:Key="flowlauncher_plugin_websearch_delete">Delete</system:String>
611
<system:String x:Key="flowlauncher_plugin_websearch_edit">Edit</system:String>
712
<system:String x:Key="flowlauncher_plugin_websearch_add">Add</system:String>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
<!-- Not sure why binding IsEnabled directly to Settings.EnableWebSaerchSuggestion is not working -->
3434
</StackPanel>
3535
<StackPanel Grid.Row="1" HorizontalAlignment="Left" Orientation="Horizontal">
36-
<Label Content="Open search in:" Margin="0 15 20 0"/>
37-
<RadioButton Name="NewWindowBrowser" GroupName="OpenSearchBehaviour" Content="New window" Click="OnNewBrowserWindowClick"
36+
<Label Content="{DynamicResource flowlauncher_plugin_websearch_open_search_in}" Margin="0 15 20 0"/>
37+
<RadioButton Name="NewWindowBrowser" GroupName="OpenSearchBehaviour" Content="{DynamicResource flowlauncher_plugin_websearch_new_window}" Click="OnNewBrowserWindowClick"
3838
Margin="0 0 20 0"/>
39-
<RadioButton Name="NewTabInBrowser" GroupName="OpenSearchBehaviour" Content="New tab" Click="OnNewTabClick" />
39+
<RadioButton Name="NewTabInBrowser" GroupName="OpenSearchBehaviour" Content="{DynamicResource flowlauncher_plugin_websearch_new_tab}" Click="OnNewTabClick" />
4040
</StackPanel>
4141
<StackPanel Grid.Row="2" HorizontalAlignment="Left" Margin="0 3 0 0">
42-
<Label Content="Set browser from path:" Margin="0 0 350 0" HorizontalAlignment="Left" Width="140"/>
42+
<Label Content="{DynamicResource flowlaucnher_plugin_websearch_set_browser_path}" Margin="0 0 350 0" HorizontalAlignment="Left" Width="140"/>
4343
<TextBox x:Name="browserPathBox" HorizontalAlignment="Left" Margin="160,-22,0,0" TextChanged="OnBrowserPathTextChanged"
4444
Width="214" Style="{StaticResource BrowserPathBoxStyle}"/>
4545
<Button x:Name="viewButton" HorizontalAlignment="Left" Margin="400,-30,0,0"
46-
Click="OnChooseClick" FontSize="13" Content="Choose" Width="80"/>
46+
Click="OnChooseClick" FontSize="13" Content="{DynamicResource flowlauncher_plugin_websearch_choose}" Width="80"/>
4747
</StackPanel>
4848
<ListView ItemsSource="{Binding Settings.SearchSources}"
4949
SelectedItem="{Binding Settings.SelectedSearchSource}"

0 commit comments

Comments
 (0)