[Settings] New Settings controls, XAML formatting and cleanup (#21317)

* Awake

* Always On Top

* ColorPicker

* FancyZones

* FancyZones

* Hosts file editor

* ImageResizer

* Update ImageResizerPage.xaml

* KBM

* General

* Update MeasureToolPage.xaml

* Mouse utils

* PowerAccent

* Run

* PowerOCR

* File preview

* PowerRename

* Shortcut Guide

* VCM

* XAML styler

* Update ShellPage.xaml

* XAML formatting and cleanup

* Moving converters

* Update App.xaml

* XAML formatting

* XAML formatting

* Fixes

* XAML formatting

* Image resizer updates

* Color picker page and margin tweaks

* Update PowerLauncherPage.xaml

* Tweaks based on Jay's feedback

* Resolve conflicts

* Add labs source to unit tests

* Fix feedback

* Fix KBM bug

* Infobar fix

* Fixes

* Resolve conflicts

* Add converter
This commit is contained in:
Niels Laute
2022-11-23 19:57:09 +01:00
committed by GitHub
parent 0ed166eae2
commit f41fe145fc
65 changed files with 4635 additions and 4698 deletions

View File

@@ -366,10 +366,6 @@
<value>Remap a key</value>
<comment>Keyboard Manager remap keyboard button content</comment>
</data>
<data name="KeyboardManager_RemapKeyboardButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Remap a key</value>
<comment>Keyboard Manager remap keyboard button content</comment>
</data>
<data name="KeyboardManager_Keys.Header" xml:space="preserve">
<value>Keys</value>
<comment>Keyboard Manager remap keyboard header</comment>
@@ -378,10 +374,6 @@
<value>Remap a shortcut</value>
<comment>Keyboard Manager remap shortcuts button</comment>
</data>
<data name="KeyboardManager_RemapShortcutsButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Remap a shortcut</value>
<comment>Keyboard Manager remap shortcuts button</comment>
</data>
<data name="KeyboardManager_Shortcuts.Header" xml:space="preserve">
<value>Shortcuts</value>
<comment>Keyboard Manager remap keyboard header</comment>
@@ -588,10 +580,6 @@
<value>Launch layout editor</value>
<comment>launches the FancyZones layout editor application</comment>
</data>
<data name="FancyZones_LaunchEditorButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Launch layout editor</value>
<comment>launches the FancyZones layout editor application</comment>
</data>
<data name="FancyZones_LaunchEditorButtonControl.Description" xml:space="preserve">
<value>Set and manage your layouts</value>
<comment>launches the FancyZones layout editor application</comment>
@@ -676,8 +664,8 @@
<data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve">
<value>Restore</value>
</data>
<data name="General_SettingsBackupAndRestore_ButtonSelectLocation.Content" xml:space="preserve">
<value>Browse</value>
<data name="General_SettingsBackupAndRestore_ButtonSelectLocation.Text" xml:space="preserve">
<value>Select folder</value>
</data>
<data name="GeneralPage_UpdateNow.Content" xml:space="preserve">
<value>Update now</value>
@@ -845,6 +833,9 @@
</data>
<data name="General_SettingsBackupAndRestore.Header" xml:space="preserve">
<value>Backup and restore your settings at any time</value>
</data>
<data name="General_SettingsBackupAndRestore.Description" xml:space="preserve">
<value>PowerToys will restart automatically if needed.</value>
</data>
<data name="ShortcutGuide_Enable.Header" xml:space="preserve">
<value>Enable Shortcut Guide</value>
@@ -1024,6 +1015,9 @@
</data>
<data name="GeneralSettings_AlwaysRunAsAdminText.Header" xml:space="preserve">
<value>Always run as administrator</value>
</data>
<data name="GeneralSettings_AlwaysRunAsAdminText.Description" xml:space="preserve">
<value>You need to run as administrator to use this setting</value>
</data>
<data name="GeneralSettings_RunningAsUserText" xml:space="preserve">
<value>Running as user</value>
@@ -1082,9 +1076,6 @@
<data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve">
<value>Created at:</value>
</data>
<data name="General_SettingsBackupAndRestoreDescription.Text" xml:space="preserve">
<value>PowerToys will restart automatically if needed.</value>
</data>
<data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve">
<value>Backup information</value>
</data>
@@ -1100,9 +1091,6 @@
<data name="Admin_mode.Header" xml:space="preserve">
<value>Administrator mode</value>
</data>
<data name="General_RunAsAdminRequired.Title" xml:space="preserve">
<value>You need to run as administrator to use this setting.</value>
</data>
<data name="FancyZones_RestoreSize.Content" xml:space="preserve">
<value>Restore the original size of windows when unsnapping</value>
</data>
@@ -2648,10 +2636,6 @@ Activate by holding the key for the character you want to add an accent to, then
<value>Launch Host File Editor</value>
<comment>"Host File Editor" is a product name</comment>
</data>
<data name="Hosts_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Launch Host File Editor</value>
<comment>"Host File Editor" is a product name</comment>
</data>
<data name="Hosts_AdditionalLinesPosition.Header" xml:space="preserve">
<value>Position of additional content</value>
</data>