From 204d1d285a4cb26b29692588704fba4c9d95270d Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Tue, 13 May 2025 13:04:26 +0800 Subject: [PATCH] Improve string keys --- Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml | 4 ++-- .../Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml index 65fd8951c..e551a7dcb 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml @@ -48,8 +48,8 @@ Please select a program source Are you sure you want to delete the selected program sources? - Please select program sources that are not added by you - Please select program sources that are added by you + Please select program sources that are not added by you + Please select program sources that are added by you Another program source with the same location already exists. Program Source diff --git a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs index 8b19ba81c..6ae1c4422 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs @@ -305,7 +305,7 @@ namespace Flow.Launcher.Plugin.Program.Views if (IsAllItemsUserAdded(selectedItems)) { - var msg1 = context.API.GetTranslation("flowlauncher_plugin_program_delete_program_source_not_user_added"); + var msg1 = context.API.GetTranslation("flowlauncher_plugin_program_delete_program_source_select_not_user_added"); context.API.ShowMsgBox(msg1); return; } @@ -428,7 +428,7 @@ namespace Flow.Launcher.Plugin.Program.Views if (!IsAllItemsUserAdded(selectedItems)) { - var msg1 = context.API.GetTranslation("flowlauncher_plugin_program_delete_program_source_user_added"); + var msg1 = context.API.GetTranslation("flowlauncher_plugin_program_delete_program_source_select_user_added"); context.API.ShowMsgBox(msg1); return; }