Change file select string

This commit is contained in:
Jack251970 2025-03-01 22:25:51 +08:00
parent 86c055338f
commit 9f55e8387e
2 changed files with 7 additions and 10 deletions

View file

@ -278,7 +278,7 @@ namespace Flow.Launcher.Core.Plugin
HorizontalAlignment = HorizontalAlignment.Left,
VerticalAlignment = VerticalAlignment.Center,
Margin = SettingPanelItemLeftMargin,
Content = "Browse" // TODO: Localization
Content = API.GetTranslation("select")
};
Btn.Click += (_, _) =>

View file

@ -174,18 +174,17 @@
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
<TextBox
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Text="{Binding FileEditorPath}"
TextWrapping="NoWrap" />
<Button
MinWidth="45"
Margin="{StaticResource SettingPanelItemLeftMargin}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Command="{Binding OpenFileEditorPath}"
Content="..." />
Content="{DynamicResource select}" />
</StackPanel>
<TextBlock
@ -201,18 +200,17 @@
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
<TextBox
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Text="{Binding FolderEditorPath}"
TextWrapping="NoWrap" />
<Button
MinWidth="45"
Margin="{StaticResource SettingPanelItemLeftMargin}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Command="{Binding OpenFolderEditorPath}"
Content="..." />
Content="{DynamicResource select}" />
</StackPanel>
<TextBlock
@ -228,18 +226,17 @@
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
<TextBox
MinWidth="{StaticResource SettingPanelTextBlockMinWidth}"
MinWidth="{StaticResource SettingPanelPathTextBlockMinWidth}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Text="{Binding ShellPath}"
TextWrapping="NoWrap" />
<Button
MinWidth="45"
Margin="{StaticResource SettingPanelItemLeftMargin}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Command="{Binding OpenShellPath}"
Content="..." />
Content="{DynamicResource select}" />
</StackPanel>
<TextBlock