Skip to content

Commit d788e86

Browse files
committed
BrowserBookmark plugin update update and use DynamicResource
1 parent 1d86e22 commit d788e86

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
<system:String x:Key="flowlauncher_plugin_browserbookmark_settings_openBookmarks">Open bookmarks in:</system:String>
1111
<system:String x:Key="flowlauncher_plugin_browserbookmark_settings_newWindow">New window</system:String>
1212
<system:String x:Key="flowlauncher_plugin_browserbookmark_settings_newTab">New tab</system:String>
13-
13+
<system:String x:Key="flowlauncher_plugin_browserbookmark_settings_setBrowserFromPath">Set browser from path:</system:String>
14+
<system:String x:Key="flowlauncher_plugin_browserbookmark_settings_choose">Choose</system:String>
1415
</ResourceDictionary>

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
</Grid>
3030
</StackPanel>
3131
<StackPanel VerticalAlignment="Top" Grid.Row="1" Height="106" Margin="41,13,0,0">
32-
<Label Content="Set browser from path:" Height="28" Margin="0,0,155,0" HorizontalAlignment="Left" Width="290"/>
32+
<Label Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_setBrowserFromPath}"
33+
Height="28" Margin="0,0,155,0" HorizontalAlignment="Left" Width="290"/>
3334
<TextBox x:Name="browserPathBox" HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="311" RenderTransformOrigin="0.502,-1.668"/>
34-
<Button x:Name="viewButton" HorizontalAlignment="Left" Margin="340,-33,-1,0" Width="100" Height="28" Click="OnChooseClick" FontSize="10" Content="Choose" />
35+
<Button x:Name="viewButton" Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_choose}"
36+
HorizontalAlignment="Left" Margin="340,-35,-1,0" Width="100" Height="34" Click="OnChooseClick" FontSize="14" />
3537
</StackPanel>
3638
</Grid>
3739
</UserControl>

0 commit comments

Comments
 (0)