From f4a54b667e0c5b6fb20f72d5641463daa4d53ccf Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Fri, 16 Jul 2021 21:21:06 +0200 Subject: [PATCH] [Settings] Accessibility fixes (#12302) * Added name to image * Adding a warning sign to warnings * Revert "Adding a warning sign to warnings" This reverts commit 283be62bf6c5ac5e9c7ab34b3a0a47360cebc4c7. * Added * for warnings * Remove obsolete read more button Co-authored-by: Niels Laute --- .../SidePanel/SettingsPageControl.xaml | 1 + .../Strings/en-us/Resources.resw | 15 ++++++----- .../Views/GeneralPage.xaml | 27 +++---------------- 3 files changed, 14 insertions(+), 29 deletions(-) diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/SidePanel/SettingsPageControl.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/SidePanel/SettingsPageControl.xaml index c1ec4c9bea..5908d250f4 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/SidePanel/SettingsPageControl.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/SidePanel/SettingsPageControl.xaml @@ -70,6 +70,7 @@ RelativePanel.Below="DescriptionPanel" MaxWidth="240" CornerRadius="4" + x:Uid="Learn_More_Description" NavigateUri="{x:Bind ModuleImageLink}" Margin="{StaticResource SmallTopBottomMargin}"> 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 83548cb101..6bce3756e1 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 @@ -811,7 +811,7 @@ Disabling this module or closing PowerToys will unmute the microphone and camera Administrator mode - You need to run as administrator to use this setting. + * You need to run as administrator to use this setting. Only shortcuts with the following hotkeys are valid: @@ -885,7 +885,7 @@ Made with 💗 by Microsoft and the PowerToys community. Preview Pane - You need to run as administrator to modify these settings. + * You need to run as administrator to modify these settings. The settings on this page affect all users on the system @@ -1036,13 +1036,13 @@ Made with 💗 by Microsoft and the PowerToys community. Additional options - Please define an activation phrase or allow this plugin for the global results to use it. + * Please define an activation phrase or allow this plugin for the global results to use it. - PowerToys Run can't provide any results without plugins. Please enable at least one plugin. + * PowerToys Run can't provide any results without plugins. Please enable at least one plugin. - This activation phrase overrides the behavior of other plugins. Please change it to something else. + * This activation phrase overrides the behavior of other plugins. Please change it to something else. You can include or remove each plugin from the global results, change the direct activation phrase and configure additional options. @@ -1312,7 +1312,7 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and You can always change modes quickly by {right-clicking the Awake icon} in the system tray. - An error occurred trying to update to + * An error occurred trying to update to Install now @@ -1341,4 +1341,7 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and Download and install + + Learn more + \ No newline at end of file diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml index dd5b19bcd3..051b99920b 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml @@ -163,16 +163,7 @@ x:Uid="General_NewVersionAvailable" FontWeight="SemiBold" Opacity="{Binding AutoUpdatesEnabled, Converter={StaticResource ModuleEnabledToOpacityConverter}}"/> - - - - - - - - + - - - - - - - +