From 46c8dd8070e693831bde35a3bc150ba40a4e466f Mon Sep 17 00:00:00 2001
From: Vic <10308169+VictoriousRaptor@users.noreply.github.com>
Date: Thu, 9 Feb 2023 12:25:59 +0800
Subject: [PATCH] Fix translation
---
Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs | 2 +-
Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
index 4cbe01c97..f5733bbb5 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
@@ -177,7 +177,7 @@ namespace Flow.Launcher.Plugin.Explorer
try
{
if (MessageBox.Show(
- Context.API.GetTranslation("plugin_explorer_deletefilefolderconfirm"),
+ string.Format(Context.API.GetTranslation("plugin_explorer_delete_folder_link"), record.FullPath),
string.Empty,
MessageBoxButton.YesNo,
MessageBoxIcon.Warning)
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
index 15456079a..82029e8c5 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
@@ -7,7 +7,6 @@
Please make a selection first
Please select a folder link
Are you sure you want to delete {0}?
- Are you sure you want to permanently delete this folder?
Are you sure you want to permanently delete this file?
Are you sure you want to permanently delete this file/folder?
Deletion successful