Skip to content

Commit 8df4de9

Browse files
committed
move text to language xml
1 parent ae8a6a0 commit 8df4de9

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@
4040
<system:String x:Key="flowlauncher_plugin_program_plugin_description">Search programs in Flow Launcher</system:String>
4141

4242
<system:String x:Key="flowlauncher_plugin_program_invalid_path">Invalid Path</system:String>
43-
43+
44+
<system:String x:Key="flowlauncher_plugin_program_customizedexplorer">Customized Explorer</system:String>
45+
<system:String x:Key="flowlauncher_plugin_program_args">Args</system:String>
46+
<system:String x:Key="flowlauncher_plugin_program_tooltip_customizedexplorer">You can customized the explorer used for opening the container folder by inputing the Environmental Variable of the explorer you want to use. It will be useful to use CMD to test whether the Environmental Variable is avaliable.</system:String>
47+
<system:String x:Key="flowlauncher_plugin_program_tooltip_args">Enter the customized args you want to add for your customized explorer. Check the explorer's website for details on additional args.</system:String>
48+
4449
<!--Dialogs-->
4550
<system:String x:Key="flowlauncher_plugin_program_disable_dlgtitle_success">Success</system:String>
4651
<system:String x:Key="flowlauncher_plugin_program_disable_dlgtitle_success_message">Successfully disabled this program from displaying in your query</system:String>

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,12 @@
7676
</StackPanel>
7777
</DockPanel>
7878
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Stretch">
79-
<TextBlock Text="Customized Explorer" Margin="10,0,0,0" VerticalAlignment="Center" FontSize="15"
80-
ToolTip="You can customized the exploere for opening the container folder
81-
by inputing the Environmental Variable of the exploere you want to use.
82-
It will be useful to use CMD to test whether the Environmental Variable is avaliable."/>
79+
<TextBlock Text="{DynamicResource flowlauncher_plugin_program_customizedexplorer}" Margin="10,0,0,0" VerticalAlignment="Center" FontSize="15"
80+
ToolTip= "{DynamicResource flowlauncher_plugin_program_tooltip_customizedexplorer}"/>
8381
<TextBox Margin="20,0,10,0" TextWrapping="NoWrap" VerticalAlignment="Center" Width="200" Height="30" FontSize="15"
8482
TextChanged="CustomizeExplorer" x:Name="CustomizeExplorerBox"/>
85-
<TextBlock Text="args" VerticalAlignment="Center" FontSize="15"
86-
ToolTip="Enter the customized args you want to add for customized exploere. Check the exploerer websites for detail."></TextBlock>
83+
<TextBlock Text="{DynamicResource flowlauncher_plugin_program_args}" VerticalAlignment="Center" FontSize="15"
84+
ToolTip="{DynamicResource flowlauncher_plugin_program_tooltip_args}" />
8785
<TextBox Margin="10,0,0,0" Width="80" Height="30" FontSize="15" x:Name="CustomizeArgsBox" TextChanged="CustomizeExplorerArgs"></TextBox>
8886
</StackPanel>
8987
</Grid>

0 commit comments

Comments
 (0)