diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.cs b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.cs index c2a9a7d69d..29e98ded12 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.cs +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.cs @@ -123,9 +123,13 @@ namespace Microsoft.PowerToys.Settings.UI.Controls if (_setting.ActionContent != null) { - if (!string.IsNullOrEmpty(_setting.Header)) + if (_setting.ActionContent.GetType() != typeof(Button)) { - AutomationProperties.SetName((UIElement)_setting.ActionContent, _setting.Header); + // We do not want to override the default AutomationProperties.Name of a button. It's content already describes what it does. + if (!string.IsNullOrEmpty(_setting.Header)) + { + AutomationProperties.SetName((UIElement)_setting.ActionContent, _setting.Header); + } } } diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index fe1dfbce16..9e72a683e5 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -432,6 +432,10 @@ Disabling this module or closing PowerToys will unmute the microphone and camera Launch layout editor launches the FancyZones layout editor application + + Launch layout editor + launches the FancyZones layout editor application + Set and manage your layouts launches the FancyZones layout editor application @@ -937,6 +941,10 @@ Made with 💗 by Microsoft and the PowerToys community. Color Picker with editor mode enabled do not loc the product name + + Color Picker with editor mode enabled + do not loc the product name + Pick a color from the screen, copy formatted value to clipboard, then to the editor do not loc the product name @@ -944,6 +952,9 @@ Made with 💗 by Microsoft and the PowerToys community. Editor + + Editor + Activation behavior @@ -989,6 +1000,10 @@ Made with 💗 by Microsoft and the PowerToys community. Color Picker only do not loc the product name + + Color Picker only + do not loc the product name + Pick a color from the screen and copy formatted value to clipboard @@ -1438,4 +1453,13 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and Excluded apps + + Enable colorformat + + + More options + + + More options + \ No newline at end of file diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml index e3460ed582..adbbe03d9f 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml @@ -5,7 +5,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" - xmlns:muxc="using:Microsoft.UI.Xaml.Controls" + xmlns:models="using:Microsoft.PowerToys.Settings.UI.Library" mc:Ignorable="d" AutomationProperties.LandmarkType="Main"> @@ -49,7 +49,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -115,23 +115,24 @@ - + + AutomationProperties.Name="{Binding ElementName=ColorFormatsSetting, Path=Header}" + SelectionMode="None" + HorizontalAlignment="Stretch"> - - + +