diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/CloseWindowCommand.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/CloseWindowCommand.cs index 46475fafd0..aa4ee84a5d 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/CloseWindowCommand.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/CloseWindowCommand.cs @@ -20,7 +20,7 @@ internal sealed partial class CloseWindowCommand : InvokableCommand public CloseWindowCommand(Window window) { - Icon = new IconInfo("\xE8BB"); + Icon = new IconInfo("\uE894"); Name = $"{Resources.windowwalker_Close}"; _window = window; } diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/KillProcessCommand.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/EndTaskCommand.cs similarity index 94% rename from src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/KillProcessCommand.cs rename to src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/EndTaskCommand.cs index 5559e1428d..722f49b7c4 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/KillProcessCommand.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Commands/EndTaskCommand.cs @@ -15,13 +15,13 @@ using Microsoft.CommandPalette.Extensions.Toolkit; namespace Microsoft.CmdPal.Ext.WindowWalker.Commands; -internal sealed partial class KillProcessCommand : InvokableCommand +internal sealed partial class EndTaskCommand : InvokableCommand { private readonly Window _window; - public KillProcessCommand(Window window) + public EndTaskCommand(Window window) { - Icon = new IconInfo("\xE74D"); // Delete symbol + Icon = new IconInfo("\uF140"); Name = $"{Resources.windowwalker_Kill}"; _window = window; } diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs index a2064b0369..442f0b79db 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Components/ContextMenuHelper.cs @@ -33,7 +33,7 @@ internal sealed class ContextMenuHelper if (!windowData.Process.IsShellProcess && !(windowData.Process.IsUwpApp && string.Equals(windowData.Process.Name, "ApplicationFrameHost.exe", StringComparison.OrdinalIgnoreCase)) && !(windowData.Process.IsFullAccessDenied && SettingsManager.Instance.HideKillProcessOnElevatedProcesses)) { - contextMenu.Add(new CommandContextItem(new KillProcessCommand(windowData)) + contextMenu.Add(new CommandContextItem(new EndTaskCommand(windowData)) { RequestedShortcut = KeyChordHelpers.FromModifiers(true, false, false, false, (int)VirtualKey.Delete, 0), IsCritical = true, diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.Designer.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.Designer.cs index 3edc393e4f..1884f3b3e5 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.Designer.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.Designer.cs @@ -124,7 +124,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties { } /// - /// Looks up a localized string similar to Info: Killing the Explorer process isn't possible.. + /// Looks up a localized string similar to Info: Ending the Explorer process isn't possible.. /// public static string windowwalker_ExplorerInfoTitle { get { @@ -133,7 +133,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties { } /// - /// Looks up a localized string similar to Kill process. + /// Looks up a localized string similar to End task. /// public static string windowwalker_Kill { get { @@ -142,7 +142,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties { } /// - /// Looks up a localized string similar to Your are going to kill the following process:. + /// Looks up a localized string similar to You are going to end the following process:. /// public static string windowwalker_KillMessage { get { @@ -160,7 +160,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties { } /// - /// Looks up a localized string similar to Kill process confirmation. + /// Looks up a localized string similar to End task confirmation. /// public static string windowwalker_KillMessageTitle { get { diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.resx b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.resx index 12781a6a24..1c4191bfee 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.resx +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WindowWalker/Properties/Resources.resx @@ -166,23 +166,23 @@ Explorer is here the program File Explorer - Info: Killing the Explorer process isn't possible. + Info: Ending the Explorer process isn't possible. Explorer is here the program File Explorer Close window - Kill process + End task - Your are going to kill the following process: + The following process will be ended: Continue? - Kill process confirmation + End task confirmation Because this is an app process, all instances of the app will be killed. Continue?