From 9f55e8387ebfa1591d75404761fe06db565dc25b Mon Sep 17 00:00:00 2001
From: Jack251970 <1160210343@qq.com>
Date: Sat, 1 Mar 2025 22:25:51 +0800
Subject: [PATCH] Change file select string
---
.../Plugin/JsonRPCPluginSettings.cs | 2 +-
.../Views/ExplorerSettings.xaml | 15 ++++++---------
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
index 499371c4b..0729fba42 100644
--- a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
+++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
@@ -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 += (_, _) =>
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml
index 836e2d558..e525c84ad 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml
@@ -174,18 +174,17 @@
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
+ Content="{DynamicResource select}" />
+ Content="{DynamicResource select}" />
+ Content="{DynamicResource select}" />