repo_name
stringlengths
8
38
pr_number
int64
3
47.1k
pr_title
stringlengths
8
175
pr_description
stringlengths
2
19.8k
author
null
date_created
stringlengths
25
25
date_merged
stringlengths
25
25
filepath
stringlengths
6
136
before_content
stringlengths
54
884k
after_content
stringlengths
56
884k
pr_author
stringlengths
3
21
previous_commit
stringlengths
40
40
pr_commit
stringlengths
40
40
comment
stringlengths
2
25.4k
comment_author
stringlengths
3
29
__index_level_0__
int64
0
5.1k
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
```suggestion Foreground="{ThemeResource SystemFillColorCriticalBrush}" ```
davidegiacometti
36
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Oh I just hope I'm not getting more merge conflicts with my pr #30728 🤞🏻
Jay-o-Way
37
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Design from @niels9001
jaimecbernardo
38
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Can give it a try. We have visibility stuff already in there for the others.
jaimecbernardo
39
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
As we now hide we should have the same style like the install button.
htcfreek
40
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="CmdNotFound_Enable_DescriptionText" /> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckPowershellVersionEventHandler}" /> </StackPanel> </controls:SettingsCard.Description> </controls:SettingsCard> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkitConverters="using:CommunityToolkit.WinUI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <toolkitConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="CmdNotFound" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdNotFound.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="CmdNotFound_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCmdNotFound.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsExpanded="True"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsCommandNotFoundModuleInstalled, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="InstalledLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> <HyperlinkButton x:Uid="CmdNotFound_UninstallButton" Command="{x:Bind ViewModel.UninstallModuleEventHandler}" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallModuleEventHandler}" Style="{StaticResource AccentButtonStyle}" /> </controls:Case> </controls:SwitchPresenter> <controls:SettingsExpander.ItemsHeader> <InfoBar x:Uid="CmdNotFound_RequirementsBar" BorderThickness="0" CornerRadius="0" IsClosable="False" IsOpen="True"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="CmdNotFound_CheckCompatibility" Command="{x:Bind ViewModel.CheckRequirementsEventHandler}"> <ToolTipService.ToolTip> <TextBlock x:Uid="CmdNotFound_CheckCompatibilityTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </HyperlinkButton> </InfoBar.ActionButton> </InfoBar> </controls:SettingsExpander.ItemsHeader> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="CmdNotFound_PowerShellDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsPowerShell7Detected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallPowerShell7EventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> <controls:SettingsCard x:Uid="CmdNotFound_WinGetClientDetection"> <controls:SwitchPresenter TargetType="x:Boolean" Value="{x:Bind ViewModel.IsWinGetClientModuleDetected, Mode=OneWay}"> <controls:Case Value="True"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="DetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="&#xEC61;" /> </StackPanel> </controls:Case> <controls:Case Value="False"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock x:Uid="NotDetectedLabel" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> <FontIcon Margin="0,0,4,0" AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorCriticalBrush}" Glyph="&#xEB90;" /> <Button x:Uid="CmdNotFound_InstallButton" Command="{x:Bind ViewModel.InstallWinGetClientModuleEventHandler}" /> </StackPanel> </controls:Case> </controls:SwitchPresenter> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <TextBlock x:Uid="CmdNotFound_ModuleInstallationLogs" Margin="0,12,0,4" Style="{ThemeResource BodyStrongTextBlockStyle}" /> <TextBox Height="300" FontFamily="Consolas" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}" IsReadOnly="True" Text="{x:Bind Mode=OneWay, Path=ViewModel.CommandOutputLog}" TextWrapping="Wrap" /> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
@niels9001 currently doing some style fixes :)
jaimecbernardo
41
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Always english on every os language setting?
htcfreek
42
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
if you're talking about succesfully installed, then yes. This is output we show from our ps script
stefansjfw
43
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Actually for PowerShell 7, it isn't 🤔
jaimecbernardo
44
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
We should use the exit code of the pwsh scripts instead.
htcfreek
45
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
???
htcfreek
46
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Definitely wrong
jaimecbernardo
47
microsoft/PowerToys
30,727
[CmdNotFound]Improve installation workflow
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request - Improved workflow for installing Command Not Found with better UX: ![image](https://github.com/microsoft/PowerToys/assets/26118718/1a9b76e2-9435-41ed-9d06-492a7eb7f563) - Add script to install powershell 7.4 - Add script to install the WinGet Client PowerShell module <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Installing PowerShell 7 is triggered from normal powershell (powershell.exe) <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Tested the full workflow from having nothing installed to installing everything.
null
2024-01-04 00:12:40+00:00
2024-01-05 09:26:49+00:00
src/settings-ui/Settings.UI/ViewModels/CmdNotFoundViewModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckPowershellVersionEventHandler => new ButtonClickCommand(CheckPowershellVersion); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public void RunPowerShellScript(string powershellArguments) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = "pwsh.exe", Arguments = powershellArguments, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; } public void CheckPowershellVersion() { var arguments = $"-NoProfile -NonInteractive -Command $PSVersionTable"; RunPowerShellScript(arguments); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; RunPowerShellScript(arguments); PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.IO; using System.Reflection; using global::PowerToys.GPOWrapper; using ManagedCommon; using Microsoft.PowerToys.Settings.UI.Library.Helpers; using Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events; using Microsoft.PowerToys.Settings.UI.Library.ViewModels.Commands; using Microsoft.PowerToys.Telemetry; namespace Microsoft.PowerToys.Settings.UI.ViewModels { public class CmdNotFoundViewModel : Observable { public ButtonClickCommand CheckRequirementsEventHandler => new ButtonClickCommand(CheckCommandNotFoundRequirements); public ButtonClickCommand InstallPowerShell7EventHandler => new ButtonClickCommand(InstallPowerShell7); public ButtonClickCommand InstallWinGetClientModuleEventHandler => new ButtonClickCommand(InstallWinGetClientModule); public ButtonClickCommand InstallModuleEventHandler => new ButtonClickCommand(InstallModule); public ButtonClickCommand UninstallModuleEventHandler => new ButtonClickCommand(UninstallModule); private GpoRuleConfigured _enabledGpoRuleConfiguration; private bool _enabledStateIsGPOConfigured; public static string AssemblyDirectory { get { string codeBase = Assembly.GetExecutingAssembly().Location; UriBuilder uri = new UriBuilder(codeBase); string path = Uri.UnescapeDataString(uri.Path); return Path.GetDirectoryName(path); } } public CmdNotFoundViewModel() { InitializeEnabledValue(); } private void InitializeEnabledValue() { _enabledGpoRuleConfiguration = GPOWrapper.GetConfiguredCmdNotFoundEnabledValue(); if (_enabledGpoRuleConfiguration == GpoRuleConfigured.Disabled || _enabledGpoRuleConfiguration == GpoRuleConfigured.Enabled) { // Get the enabled state from GPO. _enabledStateIsGPOConfigured = true; } CheckCommandNotFoundRequirements(); } private string _commandOutputLog; public string CommandOutputLog { get => _commandOutputLog; set { if (_commandOutputLog != value) { _commandOutputLog = value; OnPropertyChanged(nameof(CommandOutputLog)); } } } private bool _isPowerShell7Detected; public bool IsPowerShell7Detected { get => _isPowerShell7Detected; set { if (_isPowerShell7Detected != value) { _isPowerShell7Detected = value; OnPropertyChanged(nameof(IsPowerShell7Detected)); } } } private bool _isWinGetClientModuleDetected; public bool IsWinGetClientModuleDetected { get => _isWinGetClientModuleDetected; set { if (_isWinGetClientModuleDetected != value) { _isWinGetClientModuleDetected = value; OnPropertyChanged(nameof(IsWinGetClientModuleDetected)); } } } private bool _isCommandNotFoundModuleInstalled; public bool IsCommandNotFoundModuleInstalled { get => _isCommandNotFoundModuleInstalled; set { if (_isCommandNotFoundModuleInstalled != value) { _isCommandNotFoundModuleInstalled = value; OnPropertyChanged(nameof(IsCommandNotFoundModuleInstalled)); } } } public bool IsEnabledGpoConfigured { get => _enabledStateIsGPOConfigured; } public string RunPowerShellScript(string powershellExecutable, string powershellArguments, bool hidePowerShellWindow = false) { string outputLog = string.Empty; try { var startInfo = new ProcessStartInfo() { FileName = powershellExecutable, Arguments = powershellArguments, CreateNoWindow = hidePowerShellWindow, UseShellExecute = false, RedirectStandardOutput = true, }; startInfo.EnvironmentVariables["NO_COLOR"] = "1"; var process = Process.Start(startInfo); while (!process.StandardOutput.EndOfStream) { outputLog += process.StandardOutput.ReadLine() + "\r\n"; // Weirdly, PowerShell 7 won't give us new lines. } } catch (Exception ex) { outputLog = ex.ToString(); } CommandOutputLog = outputLog; return outputLog; } public void CheckCommandNotFoundRequirements() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\CheckCmdNotFoundRequirements.ps1"; var arguments = $"-NoProfile -NonInteractive -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments, true); if (result.Contains("PowerShell 7.4 or greater detected.")) { IsPowerShell7Detected = true; } else if (result.Contains("PowerShell 7.4 or greater not detected.")) { IsPowerShell7Detected = false; } else if (result.Contains("pwsh.exe")) { // Likely an error saying there was an error starting pwsh.exe, so we can assume Powershell 7 was not detected. CommandOutputLog += "PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows \r\n"; IsPowerShell7Detected = false; } if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } if (result.Contains("Command Not Found module is registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; } else if (result.Contains("Command Not Found module is not registered in the profile file.")) { IsCommandNotFoundModuleInstalled = false; } Logger.LogInfo(result); } public void InstallPowerShell7() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallPowerShell7.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("powershell.exe", arguments); if (result.Contains("Powershell 7 successfully installed.")) { IsPowerShell7Detected = true; } Logger.LogInfo(result); // Update PATH environment variable to get pwsh.exe on further calls. Environment.SetEnvironmentVariable("PATH", (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Machine) ?? string.Empty) + ";" + (Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.User) ?? string.Empty), EnvironmentVariableTarget.Process); } public void InstallWinGetClientModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\InstallWinGetClientModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("WinGet Client module detected.")) { IsWinGetClientModuleDetected = true; } else if (result.Contains("WinGet Client module not detected.")) { IsWinGetClientModuleDetected = false; } Logger.LogInfo(result); } public void InstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\EnableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\" -scriptPath \"{AssemblyDirectory}\\..\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Module is already registered in the profile file.") || result.Contains("Module was successfully registered in the profile file.")) { IsCommandNotFoundModuleInstalled = true; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundInstallEvent()); } Logger.LogInfo(result); } public void UninstallModule() { var ps1File = AssemblyDirectory + "\\Assets\\Settings\\Scripts\\DisableModule.ps1"; var arguments = $"-NoProfile -ExecutionPolicy Unrestricted -File \"{ps1File}\""; var result = RunPowerShellScript("pwsh.exe", arguments); if (result.Contains("Removed the Command Not Found reference from the profile file.") || result.Contains("No instance of Command Not Found was found in the profile file.")) { IsCommandNotFoundModuleInstalled = false; PowerToysTelemetry.Log.WriteEvent(new CmdNotFoundUninstallEvent()); } Logger.LogInfo(result); } } }
jaimecbernardo
5f2d8216ad31e07a8b5a860a33d0422a73e0869a
a7907ff63a039f4835ffd007532b8fce563dca4c
Was automatically added when I've tried to add the logger...
jaimecbernardo
48
microsoft/PowerToys
30,723
[gpo] Update revisions
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** https://github.com/microsoft/PowerToys/issues/26115 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2024-01-03 17:07:25+00:00
2024-01-03 17:47:05+00:00
src/gpo/assets/PowerToys.admx
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) Microsoft Corporation. Licensed under the MIT License. --> <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.5" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> <policyNamespaces> <target prefix="powertoys" namespace="Microsoft.Policies.PowerToys" /> </policyNamespaces> <resources minRequiredRevision="1.6"/><!-- Last changed with PowerToys v0.76.0 --> <supportedOn> <definitions> <definition name="SUPPORTED_POWERTOYS_0_64_0" displayName="$(string.SUPPORTED_POWERTOYS_0_64_0)"/> <definition name="SUPPORTED_POWERTOYS_0_68_0" displayName="$(string.SUPPORTED_POWERTOYS_0_68_0)"/> <definition name="SUPPORTED_POWERTOYS_0_69_0" displayName="$(string.SUPPORTED_POWERTOYS_0_69_0)"/> <definition name="SUPPORTED_POWERTOYS_0_70_0" displayName="$(string.SUPPORTED_POWERTOYS_0_70_0)"/> <definition name="SUPPORTED_POWERTOYS_0_73_0" displayName="$(string.SUPPORTED_POWERTOYS_0_73_0)"/> <definition name="SUPPORTED_POWERTOYS_0_75_0" displayName="$(string.SUPPORTED_POWERTOYS_0_75_0)"/> <definition name="SUPPORTED_POWERTOYS_0_76_0" displayName="$(string.SUPPORTED_POWERTOYS_0_76_0)"/> <definition name="SUPPORTED_POWERTOYS_0_77_0" displayName="$(string.SUPPORTED_POWERTOYS_0_77_0)"/> </definitions> </supportedOn> <categories> <category name="PowerToys" displayName="$(string.PowerToys)" /> <category name="InstallerUpdates" displayName="$(string.InstallerUpdates)"> <parentCategory ref="PowerToys" /> </category> <category name="PowerToysRun" displayName="$(string.PowerToysRun)"> <parentCategory ref="PowerToys" /> </category> </categories> <policies> <policy name="ConfigureGlobalUtilityEnabledState" class="Both" displayName="$(string.ConfigureGlobalUtilityEnabledState)" explainText="$(string.ConfigureGlobalUtilityEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="ConfigureGlobalUtilityEnabledState"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAlwaysOnTop" class="Both" displayName="$(string.ConfigureEnabledUtilityAlwaysOnTop)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAlwaysOnTop"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAwake" class="Both" displayName="$(string.ConfigureEnabledUtilityAwake)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAwake"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCmdNotFound" class="Both" displayName="$(string.ConfigureEnabledUtilityCmdNotFound)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCmdNotFound"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_77_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityColorPicker" class="Both" displayName="$(string.ConfigureEnabledUtilityColorPicker)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityColorPicker"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCropAndLock" class="Both" displayName="$(string.ConfigureEnabledUtilityCropAndLock)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCropAndLock"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_73_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityEnvironmentVariables" class="Both" displayName="$(string.ConfigureEnabledUtilityEnvironmentVariables)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityEnvironmentVariables"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFancyZones" class="Both" displayName="$(string.ConfigureEnabledUtilityFancyZones)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFancyZones"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileLocksmith" class="Both" displayName="$(string.ConfigureEnabledUtilityFileLocksmith)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileLocksmith"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMarkdownPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMarkdownPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMarkdownPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMonacoPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMonacoPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMonacoPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFPreview)" explainText="$(string.ConfigureEnabledUtilityDescriptionPDFPreviewHandler)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodePreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodePreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodePreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodeThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodeThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodeThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSTLThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSTLThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSTLThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityHostsFileEditor" class="Both" displayName="$(string.ConfigureEnabledUtilityHostsFileEditor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityHostsFileEditor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityImageResizer" class="Both" displayName="$(string.ConfigureEnabledUtilityImageResizer)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityImageResizer"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityKeyboardManager" class="Both" displayName="$(string.ConfigureEnabledUtilityKeyboardManager)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityKeyboardManager"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFindMyMouse" class="Both" displayName="$(string.ConfigureEnabledUtilityFindMyMouse)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFindMyMouse"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseHighlighter" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseHighlighter)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseHighlighter"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMousePointerCrosshairs" class="Both" displayName="$(string.ConfigureEnabledUtilityMousePointerCrosshairs)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMousePointerCrosshairs"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseJump" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseJump)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseJump"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseWithoutBorders" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseWithoutBorders)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseWithoutBorders"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPastePlain" class="Both" displayName="$(string.ConfigureEnabledUtilityPastePlain)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPastePlain"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPeek" class="Both" displayName="$(string.ConfigureEnabledUtilityPeek)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPeek"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerRename" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerRename)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerRename"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerLauncher" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerLauncher)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerLauncher"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityQuickAccent" class="Both" displayName="$(string.ConfigureEnabledUtilityQuickAccent)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityQuickAccent"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityRegistryPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityRegistryPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityRegistryPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityScreenRuler" class="Both" displayName="$(string.ConfigureEnabledUtilityScreenRuler)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityScreenRuler"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityShortcutGuide" class="Both" displayName="$(string.ConfigureEnabledUtilityShortcutGuide)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityShortcutGuide"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityTextExtractor" class="Both" displayName="$(string.ConfigureEnabledUtilityTextExtractor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityTextExtractor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityVideoConferenceMute" class="Both" displayName="$(string.ConfigureEnabledUtilityVideoConferenceMute)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityVideoConferenceMute"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisablePerUserInstallation" class="Machine" displayName="$(string.DisablePerUserInstallation)" explainText="$(string.DisablePerUserInstallationDescription)" key="Software\Policies\PowerToys" valueName="PerUserInstallationDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisableAutomaticUpdateDownload" class="Both" displayName="$(string.DisableAutomaticUpdateDownload)" explainText="$(string.DisableAutomaticUpdateDownloadDescription)" key="Software\Policies\PowerToys" valueName="AutomaticUpdateDownloadDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="SuspendNewUpdateToast" class="Both" displayName="$(string.SuspendNewUpdateToast)" explainText="$(string.SuspendNewUpdateToastDescription)" key="Software\Policies\PowerToys" valueName="SuspendNewUpdateAvailableToast"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <!-- This policy is implemented for later usage (PT v1.0 and later) and therefore inactive. (To make it working please update `src/runner/UpdateUtils.cpp`) <policy name="DisablePeriodicUpdateCheck" class="Both" displayName="$(string.DisablePeriodicUpdateCheck)" explainText="$(string.DisablePeriodicUpdateCheckDescription)" key="Software\Policies\PowerToys" valueName="PeriodicUpdateCheckDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> --> <policy name="AllowExperimentation" class="Both" displayName="$(string.AllowExperimentation)" explainText="$(string.AllowExperimentationDescription)" key="Software\Policies\PowerToys" valueName="AllowExperimentation"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunAllPluginsEnabledState" class="Both" displayName="$(string.PowerToysRunAllPluginsEnabledState)" explainText="$(string.PowerToysRunAllPluginsEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="PowerLauncherAllPluginsEnabledState"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunIndividualPluginEnabledState" class="Both" displayName="$(string.PowerToysRunIndividualPluginEnabledState)" explainText="$(string.PowerToysRunIndividualPluginEnabledStateDescription)" presentation="$(presentation.PowerToysRunIndividualPluginEnabledState)" key="Software\Policies\PowerToys\PowerLauncherIndividualPluginEnabledList"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0"/> <elements> <list id="PowerToysRunIndividualPluginEnabledList" explicitValue="true" /> </elements> </policy> </policies> </policyDefinitions>
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) Microsoft Corporation. Licensed under the MIT License. --> <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.7" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> <policyNamespaces> <target prefix="powertoys" namespace="Microsoft.Policies.PowerToys" /> </policyNamespaces> <resources minRequiredRevision="1.7"/><!-- Last changed with PowerToys v0.77.0 --> <supportedOn> <definitions> <definition name="SUPPORTED_POWERTOYS_0_64_0" displayName="$(string.SUPPORTED_POWERTOYS_0_64_0)"/> <definition name="SUPPORTED_POWERTOYS_0_68_0" displayName="$(string.SUPPORTED_POWERTOYS_0_68_0)"/> <definition name="SUPPORTED_POWERTOYS_0_69_0" displayName="$(string.SUPPORTED_POWERTOYS_0_69_0)"/> <definition name="SUPPORTED_POWERTOYS_0_70_0" displayName="$(string.SUPPORTED_POWERTOYS_0_70_0)"/> <definition name="SUPPORTED_POWERTOYS_0_73_0" displayName="$(string.SUPPORTED_POWERTOYS_0_73_0)"/> <definition name="SUPPORTED_POWERTOYS_0_75_0" displayName="$(string.SUPPORTED_POWERTOYS_0_75_0)"/> <definition name="SUPPORTED_POWERTOYS_0_76_0" displayName="$(string.SUPPORTED_POWERTOYS_0_76_0)"/> <definition name="SUPPORTED_POWERTOYS_0_77_0" displayName="$(string.SUPPORTED_POWERTOYS_0_77_0)"/> </definitions> </supportedOn> <categories> <category name="PowerToys" displayName="$(string.PowerToys)" /> <category name="InstallerUpdates" displayName="$(string.InstallerUpdates)"> <parentCategory ref="PowerToys" /> </category> <category name="PowerToysRun" displayName="$(string.PowerToysRun)"> <parentCategory ref="PowerToys" /> </category> </categories> <policies> <policy name="ConfigureGlobalUtilityEnabledState" class="Both" displayName="$(string.ConfigureGlobalUtilityEnabledState)" explainText="$(string.ConfigureGlobalUtilityEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="ConfigureGlobalUtilityEnabledState"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAlwaysOnTop" class="Both" displayName="$(string.ConfigureEnabledUtilityAlwaysOnTop)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAlwaysOnTop"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAwake" class="Both" displayName="$(string.ConfigureEnabledUtilityAwake)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAwake"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCmdNotFound" class="Both" displayName="$(string.ConfigureEnabledUtilityCmdNotFound)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCmdNotFound"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_77_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityColorPicker" class="Both" displayName="$(string.ConfigureEnabledUtilityColorPicker)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityColorPicker"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCropAndLock" class="Both" displayName="$(string.ConfigureEnabledUtilityCropAndLock)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCropAndLock"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_73_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityEnvironmentVariables" class="Both" displayName="$(string.ConfigureEnabledUtilityEnvironmentVariables)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityEnvironmentVariables"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFancyZones" class="Both" displayName="$(string.ConfigureEnabledUtilityFancyZones)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFancyZones"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileLocksmith" class="Both" displayName="$(string.ConfigureEnabledUtilityFileLocksmith)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileLocksmith"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMarkdownPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMarkdownPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMarkdownPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMonacoPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMonacoPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMonacoPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFPreview)" explainText="$(string.ConfigureEnabledUtilityDescriptionPDFPreviewHandler)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodePreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodePreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodePreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodeThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodeThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodeThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSTLThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSTLThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSTLThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityHostsFileEditor" class="Both" displayName="$(string.ConfigureEnabledUtilityHostsFileEditor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityHostsFileEditor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityImageResizer" class="Both" displayName="$(string.ConfigureEnabledUtilityImageResizer)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityImageResizer"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityKeyboardManager" class="Both" displayName="$(string.ConfigureEnabledUtilityKeyboardManager)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityKeyboardManager"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFindMyMouse" class="Both" displayName="$(string.ConfigureEnabledUtilityFindMyMouse)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFindMyMouse"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseHighlighter" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseHighlighter)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseHighlighter"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMousePointerCrosshairs" class="Both" displayName="$(string.ConfigureEnabledUtilityMousePointerCrosshairs)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMousePointerCrosshairs"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseJump" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseJump)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseJump"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseWithoutBorders" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseWithoutBorders)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseWithoutBorders"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPastePlain" class="Both" displayName="$(string.ConfigureEnabledUtilityPastePlain)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPastePlain"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPeek" class="Both" displayName="$(string.ConfigureEnabledUtilityPeek)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPeek"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerRename" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerRename)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerRename"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerLauncher" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerLauncher)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerLauncher"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityQuickAccent" class="Both" displayName="$(string.ConfigureEnabledUtilityQuickAccent)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityQuickAccent"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityRegistryPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityRegistryPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityRegistryPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityScreenRuler" class="Both" displayName="$(string.ConfigureEnabledUtilityScreenRuler)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityScreenRuler"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityShortcutGuide" class="Both" displayName="$(string.ConfigureEnabledUtilityShortcutGuide)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityShortcutGuide"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityTextExtractor" class="Both" displayName="$(string.ConfigureEnabledUtilityTextExtractor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityTextExtractor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityVideoConferenceMute" class="Both" displayName="$(string.ConfigureEnabledUtilityVideoConferenceMute)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityVideoConferenceMute"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisablePerUserInstallation" class="Machine" displayName="$(string.DisablePerUserInstallation)" explainText="$(string.DisablePerUserInstallationDescription)" key="Software\Policies\PowerToys" valueName="PerUserInstallationDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisableAutomaticUpdateDownload" class="Both" displayName="$(string.DisableAutomaticUpdateDownload)" explainText="$(string.DisableAutomaticUpdateDownloadDescription)" key="Software\Policies\PowerToys" valueName="AutomaticUpdateDownloadDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="SuspendNewUpdateToast" class="Both" displayName="$(string.SuspendNewUpdateToast)" explainText="$(string.SuspendNewUpdateToastDescription)" key="Software\Policies\PowerToys" valueName="SuspendNewUpdateAvailableToast"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <!-- This policy is implemented for later usage (PT v1.0 and later) and therefore inactive. (To make it working please update `src/runner/UpdateUtils.cpp`) <policy name="DisablePeriodicUpdateCheck" class="Both" displayName="$(string.DisablePeriodicUpdateCheck)" explainText="$(string.DisablePeriodicUpdateCheckDescription)" key="Software\Policies\PowerToys" valueName="PeriodicUpdateCheckDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> --> <policy name="AllowExperimentation" class="Both" displayName="$(string.AllowExperimentation)" explainText="$(string.AllowExperimentationDescription)" key="Software\Policies\PowerToys" valueName="AllowExperimentation"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunAllPluginsEnabledState" class="Both" displayName="$(string.PowerToysRunAllPluginsEnabledState)" explainText="$(string.PowerToysRunAllPluginsEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="PowerLauncherAllPluginsEnabledState"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunIndividualPluginEnabledState" class="Both" displayName="$(string.PowerToysRunIndividualPluginEnabledState)" explainText="$(string.PowerToysRunIndividualPluginEnabledStateDescription)" presentation="$(presentation.PowerToysRunIndividualPluginEnabledState)" key="Software\Policies\PowerToys\PowerLauncherIndividualPluginEnabledList"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0"/> <elements> <list id="PowerToysRunIndividualPluginEnabledList" explicitValue="true" /> </elements> </policy> </policies> </policyDefinitions>
stefansjfw
f60c4fd2f306e7452c7266e77a091a3d541bade8
9d7f642ba19db0ad9e810deb6b3a642319bb59e3
```suggestion <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.7" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> ``` They are misaligned.
htcfreek
49
microsoft/PowerToys
30,684
Welcome: UI improvements
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Closes: #30683 - Update "Whats new" icon #30482 - fix padding inside Scrollviewer - add gutter between shortcut and description - ~Hyperlinks are now on a new line~ - remove incorrect background on Peek page - module image is now centered ### Images ![image](https://github.com/microsoft/PowerToys/assets/65828559/2fd27e19-9692-4a3c-ba6e-bf9acbcbaf0e) ↳ Niels forgot this one :) ![image](https://github.com/microsoft/PowerToys/assets/65828559/62ae3382-4227-44e2-9e72-575cf017f3f3) ↳ (0.76.x) This padding should not be here; missing space next to keys ![image](https://github.com/microsoft/PowerToys/assets/65828559/0d6b3a68-927e-47bd-a3b5-b3f56af7a3c8) ↳ (pr) ~Hyperlink on new line~; padding fixed
null
2024-01-01 15:38:31+00:00
2024-01-03 13:42:13+00:00
src/settings-ui/Settings.UI/SettingsXAML/OOBE/Views/OobeOverview.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.OOBE.Views.OobeOverview" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="using:Microsoft.PowerToys.Settings.UI.OOBE.Views" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> <custom:OOBEPageControl x:Uid="Oobe_Overview" HeroImage="ms-appx:///Assets/Settings/Modules/OOBE/OOBEPTHero.png"> <custom:OOBEPageControl.PageContent> <StackPanel Orientation="Vertical"> <TextBlock x:Uid="Oobe_HowToUse" Style="{ThemeResource OobeSubtitleStyle}" /> <HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview" Style="{StaticResource TextButtonStyle}"> <TextBlock x:Uid="Oobe_Overview_DescriptionLinkText" TextWrapping="Wrap" /> </HyperlinkButton> <StackPanel Margin="0,24,0,0" Orientation="Horizontal" Spacing="12"> <Button x:Uid="OOBE_Settings" Click="SettingsLaunchButton_Click" /> </StackPanel> </StackPanel> </custom:OOBEPageControl.PageContent> </custom:OOBEPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.OOBE.Views.OobeOverview" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="using:Microsoft.PowerToys.Settings.UI.OOBE.Views" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> <custom:OOBEPageControl x:Uid="Oobe_Overview" HeroImage="ms-appx:///Assets/Settings/Modules/OOBE/OOBEPTHero.png"> <custom:OOBEPageControl.PageContent> <StackPanel Orientation="Vertical" Spacing="12"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="OOBE_Settings" Click="SettingsLaunchButton_Click" /> <HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview" Style="{StaticResource TextButtonStyle}"> <TextBlock x:Uid="Oobe_Overview_DescriptionLinkText" TextWrapping="Wrap" /> </HyperlinkButton> </StackPanel> </StackPanel> </custom:OOBEPageControl.PageContent> </custom:OOBEPageControl> </Page>
Jay-o-Way
114f1b45e27ab55c3cf6a2b1d89e6b0c7d8fe7dd
2d361bc0da2f14af6ce932060e816ea642e13309
```suggestion ``` We could get rid of this right? The link is now next to the Settings button so the title doesn't really have a purpose anymore? ![image](https://github.com/microsoft/PowerToys/assets/9866362/93db0886-0207-4b14-a9d1-db326c2ebc8e)
niels9001
50
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
@jay-o-way Specific reason to add these? Typically you'd add these to provide a `DataContext` during design time (hence the `d` / `DesignInstance`). That means you could show data in the Visual Studio or Expression Blend designer. However, we use WinUI 3 that has no designer support at all in Visual Studio..
niels9001
51
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Visual Studio keeps suggesting it 😅 says it might make Intellisense faster, too.
Jay-o-Way
52
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Does it link to any docs? It's weird, because it's not there by default and doesn't make sense without having an ctual designer. I'd just remove it so we keep namespaces clean.. might be a couple of other ones that are not needed (VS will grey those out)
niels9001
53
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
> might be a couple of other ones that are not needed That's totally true. Outside scope for this pr and even for the other one. If somebody searches for unneeded namespaces, check the connected _.xaml.cs_ files too. I'm also curious how much unneeded namespaces actually affect the running or building of the app, in general. More time? More file size?
Jay-o-Way
54
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
I think those will just be ignored.. and are often left when code gets removed to another file or> On the `designinstance` namespaces, let's get rid of those as these don't add anything and will only break compilation when e.g. a viewmodel name changes.
niels9001
55
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
56
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DoNotActivateOnGameMode}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.FrameEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FrameAccentColor, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FrameOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.FrameEnabled}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RoundCornersEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SoundEnabled}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="AlwaysOnTop" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_GameMode" IsChecked="{x:Bind ViewModel.DoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="AlwaysOnTop_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_FrameEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.FrameEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor_Mode" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.FrameAccentColor, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Custom_Color" /> <ComboBoxItem x:Uid="AlwaysOnTop_Radio_Windows_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameColor" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.FrameAccentColor, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FrameColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameOpacity" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.FrameOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="AlwaysOnTop_FrameThickness" IsEnabled="{x:Bind ViewModel.FrameEnabled, Mode=OneWay}"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="5" Maximum="30" Minimum="1" SmallChange="1" Value="{x:Bind ViewModel.FrameThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="AlwaysOnTop_RoundCorners" IsChecked="{x:Bind ViewModel.RoundCornersEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="AlwaysOnTop_SoundTitle" HeaderIcon="{ui:FontIcon Glyph=&#xE7F3;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="AlwaysOnTop_Sound" IsChecked="{x:Bind ViewModel.SoundEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="AlwaysOnTop_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="AlwaysOnTop_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Will do.
Jay-o-Way
57
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/CropAndLockPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CropAndLockPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CropAndLock" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CropAndLock.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="CropAndLock_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="CropAndLock_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="CropAndLock_ThumbnailActivation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ThumbnailActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="CropAndLock_ReparentActivation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ReparentActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CropAndLock" Link="https://aka.ms/PowerToysOverview_CropAndLock" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/robmikh" Text="Robert Mikhayelyan" /> <custom:PageLink Link="https://github.com/kevinguo305" Text="Kevin Guo" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.CropAndLockPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="CropAndLock" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CropAndLock.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="CropAndLock_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="CropAndLock_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="CropAndLock_ThumbnailActivation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ThumbnailActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="CropAndLock_ReparentActivation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ReparentActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_CropAndLock" Link="https://aka.ms/PowerToysOverview_CropAndLock" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/robmikh" Text="Robert Mikhayelyan" /> <custom:PageLink Link="https://github.com/kevinguo305" Text="Kevin Guo" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
58
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.DashboardPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:viewmodels="using:Microsoft.PowerToys.Settings.UI.ViewModels" AutomationProperties.LandmarkType="Main" DataContext="DashboardViewModel" mc:Ignorable="d"> <Page.Resources> <localConverters:ModuleItemTemplateSelector x:Key="ModuleItemTemplateSelector" ButtonTemplate="{StaticResource ModuleItemButtonTemplate}" KBMTemplate="{StaticResource ModuleItemKBMTemplate}" ShortcutTemplate="{StaticResource ModuleItemShortcutTemplate}" TextTemplate="{StaticResource ModuleItemTextTemplate}" /> <converters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" /> <Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem"> <Setter Property="IsTabStop" Value="False" /> </Style> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> <converters:BoolNegationConverter x:Key="BoolNegationConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <DataTemplate x:Key="OriginalKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="SmallOutline" /> </DataTemplate> <DataTemplate x:Key="RemappedKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="Small" /> </DataTemplate> <DataTemplate x:Key="ModuleItemTextTemplate" x:DataType="viewmodels:DashboardModuleTextItem"> <TextBlock Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind Label, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </DataTemplate> <DataTemplate x:Key="ModuleItemButtonTemplate" x:DataType="viewmodels:DashboardModuleButtonItem"> <Button HorizontalAlignment="Stretch" Click="{x:Bind ButtonClickHandler, Mode=OneWay}" Content="{x:Bind ButtonTitle}" /> </DataTemplate> <DataTemplate x:Key="ModuleItemShortcutTemplate" x:DataType="viewmodels:DashboardModuleShortcutItem"> <Grid ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind Path=Shortcut, Mode=TwoWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind Label, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </DataTemplate> <DataTemplate x:Key="ModuleItemKBMTemplate" x:DataType="viewmodels:DashboardModuleKBMItem"> <Button x:Uid="DashboardKBMShowMappingsButton" HorizontalAlignment="Stretch"> <Button.Flyout> <Flyout x:Name="DetailsFlyout" Placement="Bottom" ShouldConstrainToRootBounds="False"> <StackPanel Orientation="Vertical" Spacing="4"> <ItemsControl ItemsSource="{x:Bind Path=RemapKeys, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="Lib:KeysDataModel"> <StackPanel Orientation="Horizontal"> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource AccentFillColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" FontSize="12" Foreground="{ThemeResource AccentFillColorDefaultBrush}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> <ItemsControl ItemsSource="{x:Bind Path=RemapShortcuts, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="Lib:AppSpecificKeysDataModel"> <StackPanel Orientation="Horizontal"> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource AccentFillColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" Foreground="{ThemeResource AccentFillColorDefaultBrush}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <TextBlock Margin="4,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource AccentFillColorDefaultBrush}" Text="{x:Bind TargetApp}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </StackPanel> </Flyout> </Button.Flyout> </Button> </DataTemplate> </Page.Resources> <Grid Margin="16,0,0,0" RowSpacing="24"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock x:Uid="DashboardTitle" VerticalAlignment="Center" Style="{StaticResource TitleTextBlockStyle}" /> <InfoBar x:Uid="UpdateAvailable" Margin="0,0,16,0" HorizontalAlignment="Right" VerticalAlignment="Center" CornerRadius="8" IsClosable="False" IsOpen="{x:Bind ViewModel.UpdateAvailable, Mode=OneWay}" Severity="Informational"> <InfoBar.ActionButton> <Button x:Uid="LearnMore" Click="SWVersionButtonClicked" /> </InfoBar.ActionButton> </InfoBar> <ScrollViewer x:Name="MainScrollViewer" Grid.Row="1"> <StackPanel Padding="0,0,16,16" Orientation="Vertical"> <TextBlock x:Uid="EnabledModules" Margin="0,0,0,12" Style="{StaticResource SubtitleTextBlockStyle}" /> <ItemsRepeater x:Name="DashboardView" ItemsSource="{x:Bind ViewModel.ActiveModules, Mode=OneWay}"> <ItemsRepeater.Layout> <controls:StaggeredLayout ColumnSpacing="8" DesiredColumnWidth="378" RowSpacing="8" /> </ItemsRepeater.Layout> <ItemsRepeater.ItemTemplate> <DataTemplate x:DataType="viewmodels:DashboardListItem"> <Button Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" Tag="{x:Bind Tag, Mode=OneWay}"> <Grid Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource OverlayCornerRadius}" RowSpacing="0"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Border Grid.RowSpan="2" Opacity="0.05"> <Border.Background> <LinearGradientBrush StartPoint="0,0" EndPoint="1,3"> <GradientStop Offset="0.5" Color="{x:Bind AccentColor, Mode=OneWay}" /> <GradientStop Offset="0.9" Color="Transparent" /> </LinearGradientBrush> </Border.Background> </Border> <Grid Margin="16,8,16,0" ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Image Width="20" Margin="0,0,0,0"> <Image.Source> <BitmapImage UriSource="{x:Bind Icon, Mode=OneWay}" /> </Image.Source> </Image> <TextBlock Grid.Column="1" VerticalAlignment="Center" FontWeight="SemiBold" Text="{x:Bind Label, Mode=OneWay}" TextTrimming="CharacterEllipsis" /> <FontIcon Grid.Column="2" Width="20" Margin="0,0,-12,0" FontSize="16" Glyph="&#xE72E;" Visibility="{x:Bind IsLocked, Converter={StaticResource BoolToInvertedVisibilityConverter}, ConverterParameter=True, Mode=OneWay}"> <ToolTipService.ToolTip> <TextBlock x:Uid="GPO_IsSettingForcedText" TextWrapping="WrapWholeWords" /> </ToolTipService.ToolTip> </FontIcon> <ToggleSwitch Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent="" OnContent="" Style="{StaticResource RightAlignedCompactToggleSwitchStyle}" /> </Grid> <ItemsControl Grid.Row="1" Margin="16,8,16,16" ItemTemplateSelector="{StaticResource ModuleItemTemplateSelector}" ItemsSource="{x:Bind DashboardModuleItems, Mode=OneWay}" Visibility="{x:Bind IsEnabled, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> </Grid> </Button> </DataTemplate> </ItemsRepeater.ItemTemplate> </ItemsRepeater> <TextBlock x:Uid="DisabledModules" Margin="0,24,0,12" Style="{StaticResource SubtitleTextBlockStyle}" /> <ItemsRepeater ItemsSource="{x:Bind ViewModel.DisabledModules, Mode=OneWay}"> <ItemsRepeater.Layout> <controls:StaggeredLayout ColumnSpacing="8" DesiredColumnWidth="378" RowSpacing="8" /> </ItemsRepeater.Layout> <ItemsRepeater.ItemTemplate> <DataTemplate x:DataType="viewmodels:DashboardListItem"> <Button Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" Tag="{x:Bind Tag, Mode=OneWay}"> <Grid Padding="16,12" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource OverlayCornerRadius}" RowSpacing="12"> <Grid ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Image Width="20"> <Image.Source> <BitmapImage UriSource="{x:Bind Icon, Mode=OneWay}" /> </Image.Source> </Image> <TextBlock Grid.Column="1" VerticalAlignment="Center" FontWeight="SemiBold" Text="{x:Bind Label, Mode=OneWay}" TextTrimming="CharacterEllipsis" /> <FontIcon Grid.Column="2" Width="20" Margin="0,0,-12,0" FontSize="16" Glyph="&#xE72E;" Visibility="{x:Bind IsLocked, Converter={StaticResource BoolToInvertedVisibilityConverter}, ConverterParameter=True, Mode=OneWay}"> <ToolTipService.ToolTip> <TextBlock x:Uid="GPO_IsSettingForcedText" TextWrapping="WrapWholeWords" /> </ToolTipService.ToolTip> </FontIcon> <ToggleSwitch Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent="" OnContent="" Style="{StaticResource RightAlignedCompactToggleSwitchStyle}" /> </Grid> </Grid> </Button> </DataTemplate> </ItemsRepeater.ItemTemplate> </ItemsRepeater> </StackPanel> </ScrollViewer> </Grid> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.DashboardPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:viewmodels="using:Microsoft.PowerToys.Settings.UI.ViewModels" AutomationProperties.LandmarkType="Main" DataContext="DashboardViewModel" mc:Ignorable="d"> <Page.Resources> <localConverters:ModuleItemTemplateSelector x:Key="ModuleItemTemplateSelector" ButtonTemplate="{StaticResource ModuleItemButtonTemplate}" KBMTemplate="{StaticResource ModuleItemKBMTemplate}" ShortcutTemplate="{StaticResource ModuleItemShortcutTemplate}" TextTemplate="{StaticResource ModuleItemTextTemplate}" /> <converters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" /> <Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem"> <Setter Property="IsTabStop" Value="False" /> </Style> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> <converters:BoolNegationConverter x:Key="BoolNegationConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> <DataTemplate x:Key="OriginalKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="SmallOutline" /> </DataTemplate> <DataTemplate x:Key="RemappedKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="Small" /> </DataTemplate> <DataTemplate x:Key="ModuleItemTextTemplate" x:DataType="viewmodels:DashboardModuleTextItem"> <TextBlock Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind Label, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </DataTemplate> <DataTemplate x:Key="ModuleItemButtonTemplate" x:DataType="viewmodels:DashboardModuleButtonItem"> <Button HorizontalAlignment="Stretch" Click="{x:Bind ButtonClickHandler, Mode=OneWay}" Content="{x:Bind ButtonTitle}" /> </DataTemplate> <DataTemplate x:Key="ModuleItemShortcutTemplate" x:DataType="viewmodels:DashboardModuleShortcutItem"> <Grid ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind Shortcut, Mode=TwoWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind Label, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </DataTemplate> <DataTemplate x:Key="ModuleItemKBMTemplate" x:DataType="viewmodels:DashboardModuleKBMItem"> <Button x:Uid="DashboardKBMShowMappingsButton" HorizontalAlignment="Stretch"> <Button.Flyout> <Flyout x:Name="DetailsFlyout" Placement="Bottom" ShouldConstrainToRootBounds="False"> <StackPanel Orientation="Vertical" Spacing="4"> <ItemsControl ItemsSource="{x:Bind RemapKeys, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="Lib:KeysDataModel"> <StackPanel Orientation="Horizontal"> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource AccentFillColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" FontSize="12" Foreground="{ThemeResource AccentFillColorDefaultBrush}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> <ItemsControl ItemsSource="{x:Bind RemapShortcuts, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="Lib:AppSpecificKeysDataModel"> <StackPanel Orientation="Horizontal"> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <Border Padding="8,4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource AccentFillColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource ControlCornerRadius}"> <ItemsControl AutomationProperties.AccessibilityView="Raw" IsTabStop="False" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="12" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <custom:KeyVisual VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" Content="{Binding}" Foreground="{ThemeResource AccentFillColorDefaultBrush}" IsTabStop="False" VisualType="TextOnly" /> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </Border> <TextBlock Margin="4,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource AccentFillColorDefaultBrush}" Text="{x:Bind TargetApp}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </StackPanel> </Flyout> </Button.Flyout> </Button> </DataTemplate> </Page.Resources> <Grid Margin="16,0,0,0" RowSpacing="24"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock x:Uid="DashboardTitle" VerticalAlignment="Center" Style="{StaticResource TitleTextBlockStyle}" /> <InfoBar x:Uid="UpdateAvailable" Margin="0,0,16,0" HorizontalAlignment="Right" VerticalAlignment="Center" CornerRadius="8" IsClosable="False" IsOpen="{x:Bind ViewModel.UpdateAvailable, Mode=OneWay}" Severity="Informational"> <InfoBar.ActionButton> <Button x:Uid="LearnMore" Click="SWVersionButtonClicked" /> </InfoBar.ActionButton> </InfoBar> <ScrollViewer x:Name="MainScrollViewer" Grid.Row="1"> <StackPanel Padding="0,0,16,16" Orientation="Vertical"> <TextBlock x:Uid="EnabledModules" Margin="0,0,0,12" Style="{StaticResource SubtitleTextBlockStyle}" /> <ItemsRepeater x:Name="DashboardView" ItemsSource="{x:Bind ViewModel.ActiveModules, Mode=OneWay}"> <ItemsRepeater.Layout> <controls:StaggeredLayout ColumnSpacing="8" DesiredColumnWidth="378" RowSpacing="8" /> </ItemsRepeater.Layout> <ItemsRepeater.ItemTemplate> <DataTemplate x:DataType="viewmodels:DashboardListItem"> <Button Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" Tag="{x:Bind Tag, Mode=OneWay}"> <Grid Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource OverlayCornerRadius}" RowSpacing="0"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Border Grid.RowSpan="2" Opacity="0.05"> <Border.Background> <LinearGradientBrush StartPoint="0,0" EndPoint="1,3"> <GradientStop Offset="0.5" Color="{x:Bind AccentColor, Mode=OneWay}" /> <GradientStop Offset="0.9" Color="Transparent" /> </LinearGradientBrush> </Border.Background> </Border> <Grid Margin="16,8,16,0" ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Image Width="20" Margin="0,0,0,0"> <Image.Source> <BitmapImage UriSource="{x:Bind Icon, Mode=OneWay}" /> </Image.Source> </Image> <TextBlock Grid.Column="1" VerticalAlignment="Center" FontWeight="SemiBold" Text="{x:Bind Label, Mode=OneWay}" TextTrimming="CharacterEllipsis" /> <FontIcon Grid.Column="2" Width="20" Margin="0,0,-12,0" FontSize="16" Glyph="&#xE72E;" Visibility="{x:Bind IsLocked, Converter={StaticResource BoolToInvertedVisibilityConverter}, ConverterParameter=True, Mode=OneWay}"> <ToolTipService.ToolTip> <TextBlock x:Uid="GPO_IsSettingForcedText" TextWrapping="WrapWholeWords" /> </ToolTipService.ToolTip> </FontIcon> <ToggleSwitch Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent="" OnContent="" Style="{StaticResource RightAlignedCompactToggleSwitchStyle}" /> </Grid> <ItemsControl Grid.Row="1" Margin="16,8,16,16" ItemTemplateSelector="{StaticResource ModuleItemTemplateSelector}" ItemsSource="{x:Bind DashboardModuleItems, Mode=OneWay}" Visibility="{x:Bind IsEnabled, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> </Grid> </Button> </DataTemplate> </ItemsRepeater.ItemTemplate> </ItemsRepeater> <TextBlock x:Uid="DisabledModules" Margin="0,24,0,12" Style="{StaticResource SubtitleTextBlockStyle}" /> <ItemsRepeater ItemsSource="{x:Bind ViewModel.DisabledModules, Mode=OneWay}"> <ItemsRepeater.Layout> <controls:StaggeredLayout ColumnSpacing="8" DesiredColumnWidth="378" RowSpacing="8" /> </ItemsRepeater.Layout> <ItemsRepeater.ItemTemplate> <DataTemplate x:DataType="viewmodels:DashboardListItem"> <Button Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" Tag="{x:Bind Tag, Mode=OneWay}"> <Grid Padding="16,12" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="{StaticResource OverlayCornerRadius}" RowSpacing="12"> <Grid ColumnSpacing="12"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Image Width="20"> <Image.Source> <BitmapImage UriSource="{x:Bind Icon, Mode=OneWay}" /> </Image.Source> </Image> <TextBlock Grid.Column="1" VerticalAlignment="Center" FontWeight="SemiBold" Text="{x:Bind Label, Mode=OneWay}" TextTrimming="CharacterEllipsis" /> <FontIcon Grid.Column="2" Width="20" Margin="0,0,-12,0" FontSize="16" Glyph="&#xE72E;" Visibility="{x:Bind IsLocked, Converter={StaticResource BoolToInvertedVisibilityConverter}, ConverterParameter=True, Mode=OneWay}"> <ToolTipService.ToolTip> <TextBlock x:Uid="GPO_IsSettingForcedText" TextWrapping="WrapWholeWords" /> </ToolTipService.ToolTip> </FontIcon> <ToggleSwitch Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent="" OnContent="" Style="{StaticResource RightAlignedCompactToggleSwitchStyle}" /> </Grid> </Grid> </Button> </DataTemplate> </ItemsRepeater.ItemTemplate> </ItemsRepeater> </StackPanel> </ScrollViewer> </Grid> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
59
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind ViewModel.LaunchAdministratorEnabled, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.LaunchAdministrator, Mode=TwoWay}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
60
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.UseCursorPosEditorStartupScreen, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShiftDrag}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseSwitch}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseMiddleClickSpanningMultipleZones}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowOnAllMonitors}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SpanZonesAcrossMonitors}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.SystemTheme, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind Mode=OneWay, Path=ViewModel.HighlightOpacity}" IsSystemTheme="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowZoneNumber}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.HighlightOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisplayOrWorkAreaChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ZoneSetChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AppLastZoneMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{Binding Mode=TwoWay, Path=OpenWindowOnActiveMonitor}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RestoreSize}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MakeDraggedWindowsTransparent}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AllowChildWindowSnap}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisableRoundCornersOnWindowSnap}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.WindowSwitching}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.OverrideSnapHotkeys}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsBasedOnPosition, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsAcrossMonitors}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.QuickLayoutSwitch}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.QuickSwitchEnabled}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.FlashZonesOnQuickSwitch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseCursorPosEditorStartupScreen, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.ShiftDrag, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseSwitch, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseMiddleClickSpanningMultipleZones, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowOnAllMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind ViewModel.SpanZonesAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.SystemTheme, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind ViewModel.HighlightOpacity, Mode=OneWay}" IsSystemTheme="{x:Bind ViewModel.SystemTheme, Mode=OneWay}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowZoneNumber, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.HighlightOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind ViewModel.DisplayOrWorkAreaChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind ViewModel.ZoneSetChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind ViewModel.AppLastZoneMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{x:Bind ViewModel.OpenWindowOnActiveMonitor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind ViewModel.RestoreSize, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind ViewModel.MakeDraggedWindowsTransparent, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind ViewModel.AllowChildWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind ViewModel.DisableRoundCornersOnWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.WindowSwitching, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.OverrideSnapHotkeys, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind ViewModel.MoveWindowsBasedOnPosition, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.MoveWindowsAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QuickLayoutSwitch, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.QuickSwitchEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind ViewModel.FlashZonesOnQuickSwitch, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Just a heads-up: `Binding` can be superior to `x:Bind` in some cases.. it could very well be that this was just a typo and `x:Bind` might just work, but it some cases it might not so we need to double check! @jaimecbernardo what is the best approach to test this? Running `runner`?
niels9001
61
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.UseCursorPosEditorStartupScreen, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShiftDrag}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseSwitch}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseMiddleClickSpanningMultipleZones}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowOnAllMonitors}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SpanZonesAcrossMonitors}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.SystemTheme, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind Mode=OneWay, Path=ViewModel.HighlightOpacity}" IsSystemTheme="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowZoneNumber}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.HighlightOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisplayOrWorkAreaChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ZoneSetChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AppLastZoneMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{Binding Mode=TwoWay, Path=OpenWindowOnActiveMonitor}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RestoreSize}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MakeDraggedWindowsTransparent}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AllowChildWindowSnap}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisableRoundCornersOnWindowSnap}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.WindowSwitching}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.OverrideSnapHotkeys}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsBasedOnPosition, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsAcrossMonitors}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.QuickLayoutSwitch}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.QuickSwitchEnabled}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.FlashZonesOnQuickSwitch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseCursorPosEditorStartupScreen, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.ShiftDrag, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseSwitch, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseMiddleClickSpanningMultipleZones, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowOnAllMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind ViewModel.SpanZonesAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.SystemTheme, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind ViewModel.HighlightOpacity, Mode=OneWay}" IsSystemTheme="{x:Bind ViewModel.SystemTheme, Mode=OneWay}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowZoneNumber, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.HighlightOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind ViewModel.DisplayOrWorkAreaChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind ViewModel.ZoneSetChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind ViewModel.AppLastZoneMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{x:Bind ViewModel.OpenWindowOnActiveMonitor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind ViewModel.RestoreSize, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind ViewModel.MakeDraggedWindowsTransparent, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind ViewModel.AllowChildWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind ViewModel.DisableRoundCornersOnWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.WindowSwitching, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.OverrideSnapHotkeys, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind ViewModel.MoveWindowsBasedOnPosition, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.MoveWindowsAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QuickLayoutSwitch, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.QuickSwitchEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind ViewModel.FlashZonesOnQuickSwitch, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
I remember I checked this setting while testing and it works 👍🏻
Jay-o-Way
62
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.UseCursorPosEditorStartupScreen, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShiftDrag}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseSwitch}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MouseMiddleClickSpanningMultipleZones}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowOnAllMonitors}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SpanZonesAcrossMonitors}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.SystemTheme, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind Mode=OneWay, Path=ViewModel.HighlightOpacity}" IsSystemTheme="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ShowZoneNumber}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.HighlightOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.SystemTheme, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisplayOrWorkAreaChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ZoneSetChangeMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AppLastZoneMoveWindows}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{Binding Mode=TwoWay, Path=OpenWindowOnActiveMonitor}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.RestoreSize}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MakeDraggedWindowsTransparent}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.AllowChildWindowSnap}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.Windows11, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.DisableRoundCornersOnWindowSnap}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.WindowSwitching}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.WindowSwitchingCategoryEnabled}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.OverrideSnapHotkeys}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsBasedOnPosition, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SnapHotkeysCategoryEnabled}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.MoveWindowsAcrossMonitors}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.QuickLayoutSwitch}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.QuickSwitchEnabled}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.FlashZonesOnQuickSwitch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FancyZones_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="FancyZones_LaunchEditorButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEditorEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.EditorHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_UseCursorPosEditorStartupScreen" HeaderIcon="{ui:FontIcon Glyph=&#xe7b5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseCursorPosEditorStartupScreen, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_LaunchPositionScreen" /> <ComboBoxItem x:Uid="FancyZones_LaunchPositionMouse" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Name="ZonesSettingsGroup" x:Uid="FancyZones_Zones" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ZoneBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShiftDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.ShiftDrag, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseDragCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseSwitch, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header" IsChecked="{x:Bind ViewModel.MouseMiddleClickSpanningMultipleZones, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowOnAllMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="FancyZones_SpanZonesAcrossMonitors" IsChecked="{x:Bind ViewModel.SpanZonesAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_OverlappingZones"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.OverlappingZonesAlgorithmIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" /> <ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_Zone_Appearance" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.SystemTheme, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_Radio_Custom_Colors" /> <ComboBoxItem x:Uid="FancyZones_Radio_Default_Theme" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:FancyZonesPreviewControl Width="192" Height="108" CustomBorderColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=OneWay}" CustomHighlightColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=OneWay}" CustomInActiveColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=OneWay}" CustomNumberColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=OneWay}" HighlightOpacity="{x:Bind ViewModel.HighlightOpacity, Mode=OneWay}" IsSystemTheme="{x:Bind ViewModel.SystemTheme, Mode=OneWay}" ShowZoneNumber="{x:Bind Path=ViewModel.ShowZoneNumber, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ShowZoneNumberCheckBoxControl" IsChecked="{x:Bind ViewModel.ShowZoneNumber, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HighlightOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.HighlightOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_ZoneHighlightColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneHighlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_InActiveColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton x:Name="InActiveColorButton" SelectedColor="{x:Bind Path=ViewModel.ZoneInActiveColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_BorderColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_NumberColor" Visibility="{x:Bind ViewModel.SystemTheme, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.ZoneNumberColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Windows" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_WindowBehavior_GroupSettings" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl" IsChecked="{x:Bind ViewModel.DisplayOrWorkAreaChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_ZoneSetChangeMoveWindows" IsChecked="{x:Bind ViewModel.ZoneSetChangeMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AppLastZoneMoveWindows" IsChecked="{x:Bind ViewModel.AppLastZoneMoveWindows, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_OpenWindowOnActiveMonitor" IsChecked="{x:Bind ViewModel.OpenWindowOnActiveMonitor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_RestoreSize" IsChecked="{x:Bind ViewModel.RestoreSize, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_MakeDraggedWindowTransparentCheckBoxControl" IsChecked="{x:Bind ViewModel.MakeDraggedWindowsTransparent, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="FancyZones_AllowChildWindowSnap" IsChecked="{x:Bind ViewModel.AllowChildWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" Visibility="{x:Bind ViewModel.Windows11, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <CheckBox x:Uid="FancyZones_DisableRoundCornersOnWindowSnap" IsChecked="{x:Bind ViewModel.DisableRoundCornersOnWindowSnap, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_WindowSwitching_GroupSettings" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.WindowSwitching, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <!-- HACK: For some weird reason, a Shortcut Control is not working correctly if it's the first item in the expander, so we add an invisible card as the first one. --> <controls:SettingsCard Visibility="Collapsed" /> <controls:SettingsCard x:Uid="FancyZones_HotkeyNextTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.NextTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FancyZones_HotkeyPrevTabControl" IsEnabled="{x:Bind ViewModel.WindowSwitchingCategoryEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.PrevTabHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="FancyZones_OverrideSnapHotkeys" HeaderIcon="{ui:FontIcon Glyph=&#xE90C;}" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.OverrideSnapHotkeys, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FancyZones_MoveWindow" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" MinHeight="56" SelectedIndex="{x:Bind ViewModel.MoveWindowsBasedOnPosition, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> <ComboBoxItem x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Accessible"> <StackPanel Orientation="Vertical" Spacing="4"> <custom:IsEnabledTextBlock x:Uid="FancyZones_MoveWindowBasedOnRelativePosition" /> <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="FancyZones_MoveWindowBasedOnRelativePosition_Description" /> </TextBlock> </StackPanel> </ComboBoxItem> </ComboBox> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.SnapHotkeysCategoryEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl" IsChecked="{x:Bind ViewModel.MoveWindowsAcrossMonitors, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FancyZones_Layouts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_QuickLayoutSwitch" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QuickLayoutSwitch, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.QuickSwitchEnabled, Mode=OneWay}"> <CheckBox x:Uid="FancyZones_FlashZonesOnQuickSwitch" IsChecked="{x:Bind ViewModel.FlashZonesOnQuickSwitch, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="FancyZones_ExcludeApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="FancyZones_ExcludeApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
63
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/FileLocksmithPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FileLocksmithPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FileLocksmith" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FileLocksmith.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FileLocksmith_Enable_FileLocksmith" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FileLocksmith_ShellIntegration" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsFileLocksmithEnabled}"> <controls:SettingsCard x:Uid="FileLocksmith_Toggle_ContextMenu"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.EnabledOnContextExtendedMenu, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FileLocksmith_Toggle_StandardContextMenu" /> <ComboBoxItem x:Uid="FileLocksmith_Toggle_ExtendedContextMenu" /> </ComboBox> </controls:SettingsCard> <InfoBar x:Uid="ExtendedContextMenuInfo" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FileLocksmith" Link="https://aka.ms/PowerToysOverview_FileLocksmith" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.FileLocksmithPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FileLocksmith" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FileLocksmith.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="FileLocksmith_Enable_FileLocksmith" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="FileLocksmith_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="FileLocksmith_Toggle_ContextMenu"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.EnabledOnContextExtendedMenu, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="FileLocksmith_Toggle_StandardContextMenu" /> <ComboBoxItem x:Uid="FileLocksmith_Toggle_ExtendedContextMenu" /> </ComboBox> </controls:SettingsCard> <InfoBar x:Uid="ExtendedContextMenuInfo" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_FileLocksmith" Link="https://aka.ms/PowerToysOverview_FileLocksmith" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
64
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{Binding PowerToysVersion}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{Binding UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{Binding IsUpdatePanelVisible, Mode=OneWay}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{Binding IsNoNetwork, Mode=OneWay}" IsTabStop="{Binding IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsAutoDownloadUpdatesCardEnabled}" Visibility="{Binding Mode=OneWay, Path=IsAdmin, Converter={StaticResource BoolToVisibilityConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=AutoDownloadUpdates}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{Binding Mode=OneWay, Path=RunningAsText}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding Mode=OneWay, Path=IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=RunElevated}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=Startup}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding ElementName=pathTextBlock, Path=IsTextTrimmed}"> <TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{Binding CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{Binding SettingsBackupMessage}" IsClosable="False" IsOpen="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{Binding BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=EnableExperimentation}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{x:Bind ViewModel.PowerToysVersion, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{x:Bind ViewModel.UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{x:Bind ViewModel.IsUpdatePanelVisible, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind ViewModel.IsAutoDownloadUpdatesCardEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.IsAdmin, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.AutoDownloadUpdates, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{x:Bind ViewModel.RunningAsText, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.RunElevated, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding IsTextTrimmed, ElementName=pathTextBlock, Mode=OneWay}"> <TextBlock Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{x:Bind ViewModel.CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{x:Bind ViewModel.SettingsBackupMessage, Mode=OneWay}" IsClosable="False" IsOpen="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Just curious; is the additional `ViewModel` needed, would it work without it as well or does the `x:Bind` need it to look it up?
niels9001
65
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{Binding PowerToysVersion}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{Binding UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{Binding IsUpdatePanelVisible, Mode=OneWay}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{Binding IsNoNetwork, Mode=OneWay}" IsTabStop="{Binding IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsAutoDownloadUpdatesCardEnabled}" Visibility="{Binding Mode=OneWay, Path=IsAdmin, Converter={StaticResource BoolToVisibilityConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=AutoDownloadUpdates}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{Binding Mode=OneWay, Path=RunningAsText}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding Mode=OneWay, Path=IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=RunElevated}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=Startup}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding ElementName=pathTextBlock, Path=IsTextTrimmed}"> <TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{Binding CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{Binding SettingsBackupMessage}" IsClosable="False" IsOpen="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{Binding BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=EnableExperimentation}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{x:Bind ViewModel.PowerToysVersion, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{x:Bind ViewModel.UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{x:Bind ViewModel.IsUpdatePanelVisible, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind ViewModel.IsAutoDownloadUpdatesCardEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.IsAdmin, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.AutoDownloadUpdates, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{x:Bind ViewModel.RunningAsText, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.RunElevated, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding IsTextTrimmed, ElementName=pathTextBlock, Mode=OneWay}"> <TextBlock Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{x:Bind ViewModel.CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{x:Bind ViewModel.SettingsBackupMessage, Mode=OneWay}" IsClosable="False" IsOpen="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Tricky question. I tried removing the "Viewmodel" everywhere, but VS was not happy about that. It's not _needed_ right here, because obviously it (currently) works without it. This must have got added via Search&Replace + reverting a commit. If there's a way to _generally_ remove the prefix without any issues, we could try and add that.
Jay-o-Way
66
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{Binding PowerToysVersion}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{Binding UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{Binding IsUpdatePanelVisible, Mode=OneWay}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{Binding IsNoNetwork, Mode=OneWay}" IsTabStop="{Binding IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsAutoDownloadUpdatesCardEnabled}" Visibility="{Binding Mode=OneWay, Path=IsAdmin, Converter={StaticResource BoolToVisibilityConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=AutoDownloadUpdates}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{Binding Mode=OneWay, Path=RunningAsText}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding Mode=OneWay, Path=IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=RunElevated}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=Startup}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding ElementName=pathTextBlock, Path=IsTextTrimmed}"> <TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{Binding CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{Binding SettingsBackupMessage}" IsClosable="False" IsOpen="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{Binding BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=EnableExperimentation}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{x:Bind ViewModel.PowerToysVersion, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{x:Bind ViewModel.UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{x:Bind ViewModel.IsUpdatePanelVisible, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind ViewModel.IsAutoDownloadUpdatesCardEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.IsAdmin, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.AutoDownloadUpdates, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{x:Bind ViewModel.RunningAsText, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.RunElevated, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding IsTextTrimmed, ElementName=pathTextBlock, Mode=OneWay}"> <TextBlock Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{x:Bind ViewModel.CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{x:Bind ViewModel.SettingsBackupMessage, Mode=OneWay}" IsClosable="False" IsOpen="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
I think `Binding` doesn't require it, if the entire page's `DataContext` is set. For `x:Bind` it might. Fine to keep it here!
niels9001
67
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{Binding PowerToysVersion}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{Binding UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{Binding IsUpdatePanelVisible, Mode=OneWay}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{Binding IsNoNetwork, Mode=OneWay}" IsTabStop="{Binding IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{Binding PowerToysNewAvailableVersion}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed, Mode=OneWay}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsAutoDownloadUpdatesCardEnabled}" Visibility="{Binding Mode=OneWay, Path=IsAdmin, Converter={StaticResource BoolToVisibilityConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=AutoDownloadUpdates}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.ShowAutoDownloadUpdatesGpoInformation}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{Binding Mode=OneWay, Path=RunningAsText}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding Mode=OneWay, Path=IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=RunElevated}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=Startup}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding ElementName=pathTextBlock, Path=IsTextTrimmed}"> <TextBlock Text="{x:Bind Mode=TwoWay, Path=ViewModel.SettingsBackupAndRestoreDir}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{Binding CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{Binding LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{Binding SettingsBackupMessage}" IsClosable="False" IsOpen="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{Binding SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{Binding BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=EnableExperimentation}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsExperimentationGpoDisallowed}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <localConverters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> </Page.Resources> <custom:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0"> <controls:SettingsCard Header="{x:Bind ViewModel.PowerToysVersion, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE895;}"> <controls:SettingsCard.Description> <StackPanel Orientation="Vertical"> <TextBlock Style="{StaticResource SecondaryTextStyle}"> <Run x:Uid="General_VersionLastChecked" /> <Run Text="{x:Bind ViewModel.UpdateCheckedDate, Mode=OneWay}" /> </TextBlock> <HyperlinkButton x:Uid="ReleaseNotes" Margin="0,2,0,0" FontWeight="SemiBold" NavigateUri="https://github.com/microsoft/PowerToys/releases/" /> </StackPanel> </controls:SettingsCard.Description> <Grid Visibility="{x:Bind ViewModel.IsUpdatePanelVisible, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_CheckingForUpdates" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> <Button x:Uid="GeneralPage_CheckForUpdates" HorizontalAlignment="Right" Command="{Binding CheckForUpdatesEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> </Grid> </controls:SettingsCard> <InfoBar x:Uid="General_UpToDate" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNewVersionCheckedAndUpToDate, Mode=OneWay}" Severity="Success" /> <!-- Network error while checking for new version --> <InfoBar x:Uid="General_CantCheck" IsClosable="False" IsOpen="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsNoNetwork, Mode=OneWay}" Severity="Error" /> <!-- New version available --> <InfoBar x:Uid="General_NewVersionAvailable" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Informational"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_DownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Ready to install --> <InfoBar x:Uid="General_NewVersionReadyToInstall" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Success"> <InfoBar.Content> <Button x:Uid="General_InstallNow" Margin="0,0,0,16" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" /> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <!-- Install failed --> <InfoBar x:Uid="General_FailedToDownloadTheNewVersion" IsClosable="False" IsOpen="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" IsTabStop="{x:Bind ViewModel.PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}" Message="{x:Bind ViewModel.PowerToysNewAvailableVersion, Mode=OneWay}" Severity="Error"> <InfoBar.Content> <StackPanel Spacing="16"> <Button x:Uid="General_TryAgainToDownloadAndInstall" Command="{Binding UpdateNowButtonEventHandler}" IsEnabled="{Binding IsDownloadAllowed}" Visibility="{Binding Mode=OneWay, Path=IsNewVersionDownloading, Converter={StaticResource BoolNegationConverter}}" /> <!-- In progress panel --> <StackPanel Margin="0,0,0,16" Orientation="Horizontal" Spacing="18" Visibility="{x:Bind ViewModel.IsNewVersionDownloading, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="24" Height="24" /> <TextBlock x:Uid="General_Downloading" FontWeight="SemiBold" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </StackPanel> </InfoBar.Content> <InfoBar.ActionButton> <HyperlinkButton x:Uid="SeeWhatsNew" HorizontalAlignment="Right" NavigateUri="{Binding PowerToysNewAvailableVersionLink, Mode=OneWay}" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="GeneralPage_ToggleSwitch_AutoDownloadUpdates" Margin="0,-6,0,0" IsEnabled="{x:Bind ViewModel.IsAutoDownloadUpdatesCardEnabled, Mode=OneWay}" Visibility="{x:Bind ViewModel.IsAdmin, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.AutoDownloadUpdates, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_AutoDownloadUpdatesIsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAutoDownloadUpdatesGpoInformation, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Admin_Mode"> <controls:SettingsExpander x:Uid="Admin_Mode_Running_As" Header="{x:Bind ViewModel.RunningAsText, Mode=OneWay}" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsExpanded="True"> <controls:SettingsExpander.Description> <HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" NavigateUri="https://aka.ms/powertoysDetectedElevatedHelp" /> </controls:SettingsExpander.Description> <Button x:Uid="GeneralPage_RestartAsAdmin_Button" Command="{Binding RestartElevatedButtonEventHandler}" IsEnabled="{Binding IsAdminButtonEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="GeneralSettings_AlwaysRunAsAdminText" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.RunElevated, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="True"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="GeneralPage_RunAtStartUp"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible"> <controls:SettingsExpander x:Uid="General_SettingsBackupAndRestore" HeaderIcon="{ui:FontIcon Glyph=&#xE777;}"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="General_SettingsBackupAndRestore_ButtonBackup" Command="{Binding BackupConfigsEventHandler}" /> <Button x:Uid="General_SettingsBackupAndRestore_ButtonRestore" Command="{Binding RestoreConfigsEventHandler}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreLocationText"> <Grid ColumnSpacing="8"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock x:Name="pathTextBlock" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" TextWrapping="Wrap"> <ToolTipService.ToolTip> <ToolTip IsEnabled="{Binding IsTextTrimmed, ElementName=pathTextBlock, Mode=OneWay}"> <TextBlock Text="{x:Bind ViewModel.SettingsBackupAndRestoreDir, Mode=TwoWay}" /> </ToolTip> </ToolTipService.ToolTip> </TextBlock> <Button Grid.Column="1" Command="{Binding SelectSettingBackupDirEventHandler}" Content="&#xe8da;" FontFamily="{ThemeResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <ToolTip> <TextBlock x:Uid="General_SettingsBackupAndRestore_ButtonSelectLocation" /> </ToolTip> </ToolTipService.ToolTip> </Button> </Grid> </controls:SettingsCard> <controls:SettingsCard x:Uid="General_SettingsBackupAndRestoreStatusInfo" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> <Grid Margin="0,0,0,6" ColumnSpacing="36" RowSpacing="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock x:Uid="General_SettingsBackupInfo_StatusHeader" /> <TextBlock Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" TextWrapping="WrapWholeWords"> <Run Text="{x:Bind ViewModel.CurrentSettingMatchText, Mode=OneWay}" /> <Hyperlink Click="UpdateBackupAndRestoreStatusText" TextDecorations="Underline"> <Run x:Uid="General_SettingsBackupAndRestore_LinkRefresh" /> </Hyperlink> </TextBlock> <TextBlock x:Uid="General_SettingsBackupInfo_FileNameHeader" Grid.Row="1" /> <TextBlock Grid.Row="1" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupFileName, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_SourceHeader" Grid.Row="2" /> <TextBlock Grid.Row="2" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupSource, Mode=OneWay}" TextWrapping="WrapWholeWords" /> <TextBlock x:Uid="General_SettingsBackupInfo_DateHeader" Grid.Row="3" /> <TextBlock Grid.Row="3" Grid.Column="1" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Text="{x:Bind ViewModel.LastSettingsBackupDate, Mode=OneWay}" TextWrapping="WrapWholeWords" /> </Grid> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <InfoBar x:Uid="General_SettingsBackupMessageResults" Title="{x:Bind ViewModel.SettingsBackupMessage, Mode=OneWay}" IsClosable="False" IsOpen="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}" Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" /> <custom:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible"> <controls:SettingsCard x:Uid="GeneralPage_EnableExperimentation" IsEnabled="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <controls:SettingsCard.HeaderIcon> <PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" /> </controls:SettingsCard.HeaderIcon> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_ExperimentationIsDisallowed" IsClosable="False" IsOpen="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="GeneralPage_Documentation" Link="https://aka.ms/PowerToysOverview" /> <custom:PageLink x:Uid="General_Repository" Link="https://aka.ms/powertoys" /> <custom:PageLink x:Uid="GeneralPage_ReportAbug" Link="https://aka.ms/powerToysReportBug" /> <custom:PageLink x:Uid="GeneralPage_RequestAFeature_URL" Link="https://aka.ms/powerToysRequestFeature" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink x:Uid="GeneralPage_PrivacyStatement_URL" Link="http://go.microsoft.com/fwlink/?LinkId=521839" /> <custom:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
68
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/HostsPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.HostsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="Hosts" ModuleImageSource="ms-appx:///Assets/Settings/Modules/HostsFileEditor.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="Hosts_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Hosts_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Hosts_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Hosts_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Toggle_ShowStartupWarning" HeaderIcon="{ui:FontIcon Glyph=&#xE7BA;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.ShowStartupWarning}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Hosts_Behavior_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Hosts_AdditionalLinesPosition" HeaderIcon="{ui:FontIcon Glyph=&#xE8A5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.AdditionalLinesPosition, Mode=TwoWay}"> <ComboBoxItem x:Uid="Hosts_AdditionalLinesPosition_Top" /> <ComboBoxItem x:Uid="Hosts_AdditionalLinesPosition_Bottom" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Toggle_LoopbackDuplicates" HeaderIcon="{ui:FontIcon Glyph=&#xEC27;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LoopbackDuplicates}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Encoding"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.Encoding, Mode=TwoWay}"> <ComboBoxItem x:Uid="Hosts_Encoding_Utf8" /> <ComboBoxItem x:Uid="Hosts_Encoding_Utf8Bom" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Hosts" Link="https://aka.ms/PowerToysOverview_HostsFileEditor" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.HostsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="Hosts" ModuleImageSource="ms-appx:///Assets/Settings/Modules/HostsFileEditor.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="Hosts_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Hosts_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Hosts_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="Hosts_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind ViewModel.LaunchAdministratorEnabled, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.LaunchAdministrator, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Toggle_ShowStartupWarning" HeaderIcon="{ui:FontIcon Glyph=&#xE7BA;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.ShowStartupWarning, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Hosts_Behavior_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Hosts_AdditionalLinesPosition" HeaderIcon="{ui:FontIcon Glyph=&#xE8A5;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.AdditionalLinesPosition, Mode=TwoWay}"> <ComboBoxItem x:Uid="Hosts_AdditionalLinesPosition_Top" /> <ComboBoxItem x:Uid="Hosts_AdditionalLinesPosition_Bottom" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Toggle_LoopbackDuplicates" HeaderIcon="{ui:FontIcon Glyph=&#xEC27;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.LoopbackDuplicates, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Hosts_Encoding"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.Encoding, Mode=TwoWay}"> <ComboBoxItem x:Uid="Hosts_Encoding_Utf8" /> <ComboBoxItem x:Uid="Hosts_Encoding_Utf8Bom" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Hosts" Link="https://aka.ms/PowerToysOverview_HostsFileEditor" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
69
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:models="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:toolkitconverters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" x:Name="RootPage" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" /> <converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" /> <toolkitconverters:BoolToObjectConverter x:Key="BoolToComboBoxIndexConverter" FalseValue="1" TrueValue="0" /> </Page.Resources> <custom:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}"> <controls:SettingsCard x:Uid="ImageResizer_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_Presets" HeaderIcon="{ui:FontIcon Glyph=&#xE792;}"> <Button x:Uid="ImageResizer_AddSizeButton" Click="AddSizeButton_Click" Style="{ThemeResource AccentButtonStyle}" /> </controls:SettingsCard> <ListView x:Name="ImagesSizesListView" x:Uid="ImagesSizesListView" ContainerContentChanging="ImagesSizesListView_ContainerContentChanging" ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}" SelectionMode="None"> <ListView.ItemTemplate> <DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize"> <controls:SettingsCard Header="{x:Bind Name, Mode=OneWay}"> <controls:SettingsCard.Resources> <x:Double x:Key="SettingsCardLeftIndention">42</x:Double> </controls:SettingsCard.Resources> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Fit, Mode=OneWay, Converter={StaticResource ImageResizerFitToStringConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Height, Mode=OneWay}" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Unit, Mode=OneWay, Converter={StaticResource ImageResizerUnitToStringConverter}, ConverterParameter=ToLower}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="ImageResizer_EditSize" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <TextBox x:Uid="ImageResizer_Name" Width="240" HorizontalAlignment="Left" Text="{x:Bind Path=Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> <ComboBox x:Uid="ImageResizer_Fit" Width="240" HorizontalAlignment="Left" SelectedIndex="{x:Bind Path=Fit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Stretch" /> </ComboBox> <StackPanel Orientation="Horizontal" Spacing="8"> <NumberBox x:Uid="ImageResizer_Width" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=Width, Mode=TwoWay}" /> <NumberBox x:Uid="ImageResizer_Height" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Value="{x:Bind Path=Height, Mode=TwoWay}" /> </StackPanel> <ComboBox x:Uid="ImageResizer_Size" Width="240" SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Inches" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Percent" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Pixels" /> </ComboBox> </StackPanel> </Flyout> </Button.Flyout> </Button> <Button x:Name="RemoveButton" x:Uid="RemoveButton" Width="40" Height="36" Click="DeleteCustomSize" CommandParameter="{Binding Id}" Content="&#xE74D;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="RemoveTooltip" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Encoding" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_FallBackEncoderText"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.Encoder, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_BMP" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_JPEG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_TIFF" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_WMPhoto" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_GIF" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_Encoding"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.JPEGQualityLevel}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_PNGInterlacing"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.PngInterlaceOption}"> <ComboBoxItem x:Uid="Default" /> <ComboBoxItem x:Uid="On" /> <ComboBoxItem x:Uid="Off" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_TIFFCompression"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.TiffCompressOption}"> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_None" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT3" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT4" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_LZW" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_RLE" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Zip" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="File" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_FilenameFormatHeader"> <StackPanel Orientation="Horizontal" Spacing="4"> <TextBox x:Uid="ImageResizer_FilenameFormatPlaceholder" MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Mode=TwoWay, Path=ViewModel.FileName}" /> <Button x:Uid="ImageResizer_FilenameParameters" Content="&#xE946;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <Button.Flyout> <Flyout ShouldConstrainToRootBounds="False"> <TextBlock x:Name="FileFormatTextBlock"> <Run x:Uid="ImageResizer_FileFormatDescription" /> <LineBreak /> <LineBreak /> <Run FontWeight="Bold" Text="%1" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Filename" /> <LineBreak /> <Run FontWeight="Bold" Text="%2" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Sizename" /> <LineBreak /> <Run FontWeight="Bold" Text="%3" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%4" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedHeight" /> <LineBreak /> <Run FontWeight="Bold" Text="%5" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%6" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualHeight" /> </TextBlock> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_FileModifiedDate"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.KeepDateModified, Converter={StaticResource ReverseBoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="ImageResizer_UseOriginalDate" /> <ComboBoxItem x:Uid="ImageResizer_UseResizeDate" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ImageResizer" Link="https://aka.ms/PowerToysOverview_ImageResizer" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:models="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:toolkitconverters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" x:Name="RootPage" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" /> <converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" /> <toolkitconverters:BoolToObjectConverter x:Key="BoolToComboBoxIndexConverter" FalseValue="1" TrueValue="0" /> </Page.Resources> <custom:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}"> <controls:SettingsCard x:Uid="ImageResizer_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_Presets" HeaderIcon="{ui:FontIcon Glyph=&#xE792;}"> <Button x:Uid="ImageResizer_AddSizeButton" Click="AddSizeButton_Click" Style="{ThemeResource AccentButtonStyle}" /> </controls:SettingsCard> <ListView x:Name="ImagesSizesListView" x:Uid="ImagesSizesListView" ContainerContentChanging="ImagesSizesListView_ContainerContentChanging" ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}" SelectionMode="None"> <ListView.ItemTemplate> <DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize"> <controls:SettingsCard Header="{x:Bind Name, Mode=OneWay}"> <controls:SettingsCard.Resources> <x:Double x:Key="SettingsCardLeftIndention">42</x:Double> </controls:SettingsCard.Resources> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Fit, Mode=OneWay, Converter={StaticResource ImageResizerFitToStringConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Height, Mode=OneWay}" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Unit, Mode=OneWay, Converter={StaticResource ImageResizerUnitToStringConverter}, ConverterParameter=ToLower}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="ImageResizer_EditSize" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <TextBox x:Uid="ImageResizer_Name" Width="240" HorizontalAlignment="Left" Text="{x:Bind Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> <ComboBox x:Uid="ImageResizer_Fit" Width="240" HorizontalAlignment="Left" SelectedIndex="{x:Bind Fit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Stretch" /> </ComboBox> <StackPanel Orientation="Horizontal" Spacing="8"> <NumberBox x:Uid="ImageResizer_Width" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind Width, Mode=TwoWay}" /> <NumberBox x:Uid="ImageResizer_Height" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Value="{x:Bind Height, Mode=TwoWay}" /> </StackPanel> <ComboBox x:Uid="ImageResizer_Size" Width="240" SelectedIndex="{Binding Unit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Inches" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Percent" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Pixels" /> </ComboBox> </StackPanel> </Flyout> </Button.Flyout> </Button> <Button x:Name="RemoveButton" x:Uid="RemoveButton" Width="40" Height="36" Click="DeleteCustomSize" CommandParameter="{Binding Id}" Content="&#xE74D;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="RemoveTooltip" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Encoding" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_FallBackEncoderText"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.Encoder, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_BMP" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_JPEG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_TIFF" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_WMPhoto" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_GIF" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_Encoding"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.JPEGQualityLevel, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_PNGInterlacing"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.PngInterlaceOption, Mode=TwoWay}"> <ComboBoxItem x:Uid="Default" /> <ComboBoxItem x:Uid="On" /> <ComboBoxItem x:Uid="Off" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_TIFFCompression"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.TiffCompressOption, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_None" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT3" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT4" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_LZW" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_RLE" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Zip" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="File" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_FilenameFormatHeader"> <StackPanel Orientation="Horizontal" Spacing="4"> <TextBox x:Uid="ImageResizer_FilenameFormatPlaceholder" MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind ViewModel.FileName, Mode=TwoWay}" /> <Button x:Uid="ImageResizer_FilenameParameters" Content="&#xE946;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <Button.Flyout> <Flyout ShouldConstrainToRootBounds="False"> <TextBlock x:Name="FileFormatTextBlock"> <Run x:Uid="ImageResizer_FileFormatDescription" /> <LineBreak /> <LineBreak /> <Run FontWeight="Bold" Text="%1" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Filename" /> <LineBreak /> <Run FontWeight="Bold" Text="%2" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Sizename" /> <LineBreak /> <Run FontWeight="Bold" Text="%3" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%4" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedHeight" /> <LineBreak /> <Run FontWeight="Bold" Text="%5" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%6" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualHeight" /> </TextBlock> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_FileModifiedDate"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.KeepDateModified, Mode=TwoWay, Converter={StaticResource ReverseBoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="ImageResizer_UseOriginalDate" /> <ComboBoxItem x:Uid="ImageResizer_UseResizeDate" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ImageResizer" Link="https://aka.ms/PowerToysOverview_ImageResizer" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
70
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/ImageResizerPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:models="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:toolkitconverters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" x:Name="RootPage" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" /> <converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" /> <toolkitconverters:BoolToObjectConverter x:Key="BoolToComboBoxIndexConverter" FalseValue="1" TrueValue="0" /> </Page.Resources> <custom:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}"> <controls:SettingsCard x:Uid="ImageResizer_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_Presets" HeaderIcon="{ui:FontIcon Glyph=&#xE792;}"> <Button x:Uid="ImageResizer_AddSizeButton" Click="AddSizeButton_Click" Style="{ThemeResource AccentButtonStyle}" /> </controls:SettingsCard> <ListView x:Name="ImagesSizesListView" x:Uid="ImagesSizesListView" ContainerContentChanging="ImagesSizesListView_ContainerContentChanging" ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}" SelectionMode="None"> <ListView.ItemTemplate> <DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize"> <controls:SettingsCard Header="{x:Bind Name, Mode=OneWay}"> <controls:SettingsCard.Resources> <x:Double x:Key="SettingsCardLeftIndention">42</x:Double> </controls:SettingsCard.Resources> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Fit, Mode=OneWay, Converter={StaticResource ImageResizerFitToStringConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Height, Mode=OneWay}" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Unit, Mode=OneWay, Converter={StaticResource ImageResizerUnitToStringConverter}, ConverterParameter=ToLower}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="ImageResizer_EditSize" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <TextBox x:Uid="ImageResizer_Name" Width="240" HorizontalAlignment="Left" Text="{x:Bind Path=Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> <ComboBox x:Uid="ImageResizer_Fit" Width="240" HorizontalAlignment="Left" SelectedIndex="{x:Bind Path=Fit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Stretch" /> </ComboBox> <StackPanel Orientation="Horizontal" Spacing="8"> <NumberBox x:Uid="ImageResizer_Width" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=Width, Mode=TwoWay}" /> <NumberBox x:Uid="ImageResizer_Height" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Visibility="{x:Bind Path=EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Value="{x:Bind Path=Height, Mode=TwoWay}" /> </StackPanel> <ComboBox x:Uid="ImageResizer_Size" Width="240" SelectedIndex="{Binding Path=Unit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Inches" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Percent" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Pixels" /> </ComboBox> </StackPanel> </Flyout> </Button.Flyout> </Button> <Button x:Name="RemoveButton" x:Uid="RemoveButton" Width="40" Height="36" Click="DeleteCustomSize" CommandParameter="{Binding Id}" Content="&#xE74D;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="RemoveTooltip" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Encoding" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_FallBackEncoderText"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.Encoder, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_BMP" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_JPEG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_TIFF" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_WMPhoto" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_GIF" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_Encoding"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.JPEGQualityLevel}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_PNGInterlacing"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.PngInterlaceOption}"> <ComboBoxItem x:Uid="Default" /> <ComboBoxItem x:Uid="On" /> <ComboBoxItem x:Uid="Off" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_TIFFCompression"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.TiffCompressOption}"> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_None" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT3" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT4" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_LZW" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_RLE" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Zip" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="File" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ImageResizer_FilenameFormatHeader"> <StackPanel Orientation="Horizontal" Spacing="4"> <TextBox x:Uid="ImageResizer_FilenameFormatPlaceholder" MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Mode=TwoWay, Path=ViewModel.FileName}" /> <Button x:Uid="ImageResizer_FilenameParameters" Content="&#xE946;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <Button.Flyout> <Flyout ShouldConstrainToRootBounds="False"> <TextBlock x:Name="FileFormatTextBlock"> <Run x:Uid="ImageResizer_FileFormatDescription" /> <LineBreak /> <LineBreak /> <Run FontWeight="Bold" Text="%1" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Filename" /> <LineBreak /> <Run FontWeight="Bold" Text="%2" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Sizename" /> <LineBreak /> <Run FontWeight="Bold" Text="%3" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%4" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedHeight" /> <LineBreak /> <Run FontWeight="Bold" Text="%5" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%6" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualHeight" /> </TextBlock> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_FileModifiedDate"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.KeepDateModified, Converter={StaticResource ReverseBoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="ImageResizer_UseOriginalDate" /> <ComboBoxItem x:Uid="ImageResizer_UseResizeDate" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ImageResizer" Link="https://aka.ms/PowerToysOverview_ImageResizer" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:models="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:toolkitconverters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:ui="using:CommunityToolkit.WinUI" x:Name="RootPage" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" /> <converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" /> <toolkitconverters:BoolToObjectConverter x:Key="BoolToComboBoxIndexConverter" FalseValue="1" TrueValue="0" /> </Page.Resources> <custom:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}"> <controls:SettingsCard x:Uid="ImageResizer_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_Presets" HeaderIcon="{ui:FontIcon Glyph=&#xE792;}"> <Button x:Uid="ImageResizer_AddSizeButton" Click="AddSizeButton_Click" Style="{ThemeResource AccentButtonStyle}" /> </controls:SettingsCard> <ListView x:Name="ImagesSizesListView" x:Uid="ImagesSizesListView" ContainerContentChanging="ImagesSizesListView_ContainerContentChanging" ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}" SelectionMode="None"> <ListView.ItemTemplate> <DataTemplate x:Name="SingleLineDataTemplate" x:DataType="models:ImageSize"> <controls:SettingsCard Header="{x:Bind Name, Mode=OneWay}"> <controls:SettingsCard.Resources> <x:Double x:Key="SettingsCardLeftIndention">42</x:Double> </controls:SettingsCard.Resources> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Fit, Mode=OneWay, Converter={StaticResource ImageResizerFitToStringConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Height, Mode=OneWay}" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" /> <TextBlock Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind Unit, Mode=OneWay, Converter={StaticResource ImageResizerUnitToStringConverter}, ConverterParameter=ToLower}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="ImageResizer_EditSize" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <TextBox x:Uid="ImageResizer_Name" Width="240" HorizontalAlignment="Left" Text="{x:Bind Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> <ComboBox x:Uid="ImageResizer_Fit" Width="240" HorizontalAlignment="Left" SelectedIndex="{x:Bind Fit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fill" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Fit" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Fit_Stretch" /> </ComboBox> <StackPanel Orientation="Horizontal" Spacing="8"> <NumberBox x:Uid="ImageResizer_Width" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind Width, Mode=TwoWay}" /> <NumberBox x:Uid="ImageResizer_Height" Width="116" Minimum="0" SpinButtonPlacementMode="Compact" Visibility="{x:Bind EnableEtraBoxes, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Value="{x:Bind Height, Mode=TwoWay}" /> </StackPanel> <ComboBox x:Uid="ImageResizer_Size" Width="240" SelectedIndex="{Binding Unit, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_CM" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Inches" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Percent" /> <ComboBoxItem x:Uid="ImageResizer_Sizes_Units_Pixels" /> </ComboBox> </StackPanel> </Flyout> </Button.Flyout> </Button> <Button x:Name="RemoveButton" x:Uid="RemoveButton" Width="40" Height="36" Click="DeleteCustomSize" CommandParameter="{Binding Id}" Content="&#xE74D;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="RemoveTooltip" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Encoding" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_FallBackEncoderText"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.Encoder, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_PNG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_BMP" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_JPEG" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_TIFF" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_WMPhoto" /> <ComboBoxItem x:Uid="ImageResizer_FallbackEncoder_GIF" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_Encoding"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.JPEGQualityLevel, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_PNGInterlacing"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.PngInterlaceOption, Mode=TwoWay}"> <ComboBoxItem x:Uid="Default" /> <ComboBoxItem x:Uid="On" /> <ComboBoxItem x:Uid="Off" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_TIFFCompression"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.TiffCompressOption, Mode=TwoWay}"> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Default" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_None" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT3" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_CCITT4" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_LZW" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_RLE" /> <ComboBoxItem x:Uid="ImageResizer_ENCODER_TIFF_Zip" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="File" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ImageResizer_FilenameFormatHeader"> <StackPanel Orientation="Horizontal" Spacing="4"> <TextBox x:Uid="ImageResizer_FilenameFormatPlaceholder" MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind ViewModel.FileName, Mode=TwoWay}" /> <Button x:Uid="ImageResizer_FilenameParameters" Content="&#xE946;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <Button.Flyout> <Flyout ShouldConstrainToRootBounds="False"> <TextBlock x:Name="FileFormatTextBlock"> <Run x:Uid="ImageResizer_FileFormatDescription" /> <LineBreak /> <LineBreak /> <Run FontWeight="Bold" Text="%1" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Filename" /> <LineBreak /> <Run FontWeight="Bold" Text="%2" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_Sizename" /> <LineBreak /> <Run FontWeight="Bold" Text="%3" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%4" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_SelectedHeight" /> <LineBreak /> <Run FontWeight="Bold" Text="%5" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualWidth" /> <LineBreak /> <Run FontWeight="Bold" Text="%6" /> <Run Text=" - " /> <Run x:Uid="ImageResizer_Formatting_ActualHeight" /> </TextBlock> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> <controls:SettingsCard x:Uid="ImageResizer_FileModifiedDate"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.KeepDateModified, Mode=TwoWay, Converter={StaticResource ReverseBoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="ImageResizer_UseOriginalDate" /> <ComboBoxItem x:Uid="ImageResizer_UseResizeDate" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ImageResizer" Link="https://aka.ms/PowerToysOverview_ImageResizer" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
71
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/KeyboardManagerPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.KeyboardManagerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" /> <Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem"> <Setter Property="IsTabStop" Value="False" /> </Style> <DataTemplate x:Key="OriginalKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="SmallOutline" /> </DataTemplate> <DataTemplate x:Key="RemappedKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="Small" /> </DataTemplate> <!--<DataTemplate x:Name="KeysListViewTemplate" x:DataType="Lib:KeysDataModel"> <StackPanel Name="KeyboardManager_RemappedKeysListItem" x:Uid="KeyboardManager_RemappedKeysListItem" Orientation="Horizontal" Height="56"> </StackPanel> </DataTemplate>--> <!--<DataTemplate x:Name="ShortcutKeysListViewTemplate" x:DataType="Lib:AppSpecificKeysDataModel"> <StackPanel Name="KeyboardManager_RemappedShortcutsListItem" x:Uid="KeyboardManager_RemappedShortcutsListItem" Orientation="Horizontal" Height="56"> </DataTemplate>--> </Page.Resources> <custom:SettingsPageControl x:Uid="KeyboardManager" ModuleImageSource="ms-appx:///Assets/Settings/Modules/KBM.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="KeyboardManager_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Enabled, Mode=TwoWay}" /> <controls:SettingsCard.Description> <HyperlinkButton NavigateUri="https://aka.ms/powerToysCannotRemapKeys"> <TextBlock x:Uid="KBM_KeysCannotBeRemapped" FontWeight="SemiBold" /> </HyperlinkButton> </controls:SettingsCard.Description> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="KeyboardManager_Keys" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.Enabled}"> <controls:SettingsCard x:Uid="KeyboardManager_RemapKeyboardButton" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{Binding Path=RemapKeyboardCommand}" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}" IsClickEnabled="True" /> <ListView x:Name="RemapKeysList" x:Uid="RemapKeysList" IsSwipeEnabled="False" ItemsSource="{x:Bind Path=ViewModel.RemapKeys, Mode=OneWay}" SelectionMode="None" Visibility="{x:Bind Path=ViewModel.RemapKeys, Mode=OneWay, Converter={StaticResource CollectionVisibilityConverter}}"> <ListView.ItemTemplate> <DataTemplate x:DataType="Lib:KeysDataModel"> <controls:SettingsCard ContentAlignment="Left"> <StackPanel Orientation="Horizontal"> <ItemsControl IsTabStop="False" ItemTemplate="{StaticResource OriginalKeyTemplate}" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <ItemsControl Name="KeyboardManager_RemappedTo" x:Uid="KeyboardManager_RemappedTo" IsTabStop="False" ItemTemplate="{StaticResource RemappedKeyTemplate}" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="KeyboardManager_Shortcuts" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.Enabled}"> <controls:SettingsCard x:Uid="KeyboardManager_RemapShortcutsButton" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{Binding Path=EditShortcutCommand}" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}" IsClickEnabled="True" /> <ListView x:Name="RemapShortcutsList" x:Uid="RemapShortcutsList" IsSwipeEnabled="False" ItemsSource="{x:Bind Path=ViewModel.RemapShortcuts, Mode=OneWay}" SelectionMode="None" Visibility="{x:Bind Path=ViewModel.RemapShortcuts, Mode=OneWay, Converter={StaticResource CollectionVisibilityConverter}}"> <ListView.ItemTemplate> <DataTemplate x:DataType="Lib:AppSpecificKeysDataModel"> <controls:SettingsCard ContentAlignment="Left"> <StackPanel Orientation="Horizontal"> <ItemsControl IsTabStop="False" ItemTemplate="{StaticResource OriginalKeyTemplate}" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <ItemsControl Name="KeyboardManager_RemappedTo" x:Uid="KeyboardManager_RemappedTo" IsTabStop="False" ItemTemplate="{StaticResource RemappedKeyTemplate}" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <Border Margin="16,0,0,0" Padding="12,4,12,6" VerticalAlignment="Center" CornerRadius="12"> <Border.Background> <SolidColorBrush Opacity="0.3" Color="{ThemeResource SystemAccentColor}" /> </Border.Background> <TextBlock Text="{x:Bind TargetApp}" /> </Border> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_KBM" Link="https://aka.ms/PowerToysOverview_KeyboardManager" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.KeyboardManagerPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" /> <Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem"> <Setter Property="IsTabStop" Value="False" /> </Style> <DataTemplate x:Key="OriginalKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="SmallOutline" /> </DataTemplate> <DataTemplate x:Key="RemappedKeyTemplate" x:DataType="x:String"> <custom:KeyVisual Content="{Binding}" VisualType="Small" /> </DataTemplate> <!--<DataTemplate x:Name="KeysListViewTemplate" x:DataType="Lib:KeysDataModel"> <StackPanel Name="KeyboardManager_RemappedKeysListItem" x:Uid="KeyboardManager_RemappedKeysListItem" Orientation="Horizontal" Height="56"> </StackPanel> </DataTemplate>--> <!--<DataTemplate x:Name="ShortcutKeysListViewTemplate" x:DataType="Lib:AppSpecificKeysDataModel"> <StackPanel Name="KeyboardManager_RemappedShortcutsListItem" x:Uid="KeyboardManager_RemappedShortcutsListItem" Orientation="Horizontal" Height="56"> </DataTemplate>--> </Page.Resources> <custom:SettingsPageControl x:Uid="KeyboardManager" ModuleImageSource="ms-appx:///Assets/Settings/Modules/KBM.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="KeyboardManager_EnableToggle" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Enabled, Mode=TwoWay}" /> <controls:SettingsCard.Description> <HyperlinkButton NavigateUri="https://aka.ms/powerToysCannotRemapKeys"> <TextBlock x:Uid="KBM_KeysCannotBeRemapped" FontWeight="SemiBold" /> </HyperlinkButton> </controls:SettingsCard.Description> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="KeyboardManager_Keys" IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="KeyboardManager_RemapKeyboardButton" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{Binding Path=RemapKeyboardCommand}" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}" IsClickEnabled="True" /> <ListView x:Name="RemapKeysList" x:Uid="RemapKeysList" IsSwipeEnabled="False" ItemsSource="{x:Bind Path=ViewModel.RemapKeys, Mode=OneWay}" SelectionMode="None" Visibility="{x:Bind Path=ViewModel.RemapKeys, Mode=OneWay, Converter={StaticResource CollectionVisibilityConverter}}"> <ListView.ItemTemplate> <DataTemplate x:DataType="Lib:KeysDataModel"> <controls:SettingsCard ContentAlignment="Left"> <StackPanel Orientation="Horizontal"> <ItemsControl IsTabStop="False" ItemTemplate="{StaticResource OriginalKeyTemplate}" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <ItemsControl Name="KeyboardManager_RemappedTo" x:Uid="KeyboardManager_RemappedTo" IsTabStop="False" ItemTemplate="{StaticResource RemappedKeyTemplate}" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="KeyboardManager_Shortcuts" IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="KeyboardManager_RemapShortcutsButton" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{Binding Path=EditShortcutCommand}" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}" IsClickEnabled="True" /> <ListView x:Name="RemapShortcutsList" x:Uid="RemapShortcutsList" IsSwipeEnabled="False" ItemsSource="{x:Bind Path=ViewModel.RemapShortcuts, Mode=OneWay}" SelectionMode="None" Visibility="{x:Bind Path=ViewModel.RemapShortcuts, Mode=OneWay, Converter={StaticResource CollectionVisibilityConverter}}"> <ListView.ItemTemplate> <DataTemplate x:DataType="Lib:AppSpecificKeysDataModel"> <controls:SettingsCard ContentAlignment="Left"> <StackPanel Orientation="Horizontal"> <ItemsControl IsTabStop="False" ItemTemplate="{StaticResource OriginalKeyTemplate}" ItemsSource="{x:Bind GetMappedOriginalKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <custom:IsEnabledTextBlock x:Uid="To" Margin="8,0,8,0" VerticalAlignment="Center" Style="{StaticResource SecondaryIsEnabledTextBlockStyle}" /> <ItemsControl Name="KeyboardManager_RemappedTo" x:Uid="KeyboardManager_RemappedTo" IsTabStop="False" ItemTemplate="{StaticResource RemappedKeyTemplate}" ItemsSource="{x:Bind GetMappedNewRemapKeys()}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" Spacing="4" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> <Border Margin="16,0,0,0" Padding="12,4,12,6" VerticalAlignment="Center" CornerRadius="12"> <Border.Background> <SolidColorBrush Opacity="0.3" Color="{ThemeResource SystemAccentColor}" /> </Border.Background> <TextBlock Text="{x:Bind TargetApp}" /> </Border> </StackPanel> </controls:SettingsCard> </DataTemplate> </ListView.ItemTemplate> </ListView> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_KBM" Link="https://aka.ms/PowerToysOverview_KeyboardManager" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
72
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/MouseUtilsPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseUtilsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:FindMyMouseActivationIntToVisibilityConverter x:Key="FindMyMouseActivationIntToVisibilityConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> </Page.Resources> <custom:SettingsPageControl x:Uid="MouseUtils" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseUtils.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="MouseUtils_FindMyMouse"> <controls:SettingsCard x:Uid="MouseUtils_Enable_FindMyMouse" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFindMyMouse.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsFindMyMouseEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsFindMyMouseEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsFindMyMouseEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_FindMyMouse_ActivationMethod" HeaderIcon="{ui:FontIcon Glyph=&#xE961;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.FindMyMouseActivationMethod, Mode=TwoWay}"> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationDoubleControlPress" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationShakeMouse" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationCustomizedShortcut" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_ShakingMinimumDistance" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FindMyMouseActivationMethod, Converter={StaticResource FindMyMouseActivationIntToVisibilityConverter}, ConverterParameter=2}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="1000" Maximum="1000000" Minimum="0" SmallChange="100" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseShakingMinimumDistance}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.FindMyMouseActivationMethod, Converter={StaticResource FindMyMouseActivationIntToVisibilityConverter}, ConverterParameter=3}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.FindMyMouseActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_Prevent_Activation_On_Game_Mode" IsChecked="{x:Bind ViewModel.FindMyMouseDoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}" IsExpanded="False"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_OverlayOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="1" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseOverlayOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_BackgroundColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FindMyMouseBackgroundColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FindMyMouseSpotlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="5" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseSpotlightRadius}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightInitialZoom"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="40" Minimum="1" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseSpotlightInitialZoom}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_AnimationDurationMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsAnimationEnabledBySystem}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseAnimationDurationMs}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled" IsClosable="False" IsOpen="True" Severity="Informational" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.IsAnimationEnabledBySystem, Converter={StaticResource BoolToInvertedVisibilityConverter}}" /> <controls:SettingsExpander x:Uid="MouseUtils_FindMyMouse_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsFindMyMouseEnabled}" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.FindMyMouseExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MouseHighlighter"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MouseHighlighter" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseHighlighter.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsHighlighterEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsHighlighterEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsHighlighterEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_MouseHighlighter_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=OneWay}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MouseHighlighterActivationShortcut, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_AutoActivate" IsChecked="{x:Bind ViewModel.MouseHighlighterAutoActivate, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_PrimaryButtonClickColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterLeftButtonClickColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_SecondaryButtonClickColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterRightButtonClickColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_AlwaysColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterAlwaysColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_HighlightRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="5" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MouseHighlighterRadius}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_FadeDelayMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MouseHighlighterFadeDelayMs}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_FadeDurationMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MouseHighlighterFadeDurationMs}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MouseJump"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MouseJump" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseJump.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsJumpEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsJumpEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsJumpEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="MouseUtils_MouseJump_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MouseJumpActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseJump_ThumbnailSize" HeaderIcon="{ui:FontIcon Glyph=&#xE740;}" IsEnabled="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=OneWay}"> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock x:Uid="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix" Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind ViewModel.MouseJumpThumbnailSize.Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Foreground="{ThemeResource SystemBaseMediumColor}" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind ViewModel.MouseJumpThumbnailSize.Height, Mode=OneWay}" /> <TextBlock x:Uid="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix" Margin="0,0,4,0" Foreground="{ThemeResource SystemBaseMediumColor}" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="MouseJumpThumbnailSize_Edit" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <NumberBox x:Uid="MouseUtils_MouseJump_ThumbnailSize_Edit_Width" Width="140" Minimum="160" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseJumpThumbnailSize.Width, Mode=TwoWay}" /> <NumberBox x:Uid="MouseUtils_MouseJump_ThumbnailSize_Edit_Height" Width="140" Minimum="120" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseJumpThumbnailSize.Height, Mode=TwoWay}" /> </StackPanel> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshairs"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MousePointerCrosshairs" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseCrosshairs.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_MousePointerCrosshairs_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=OneWay}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MousePointerCrosshairsActivationShortcut, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_AutoActivate" IsChecked="{x:Bind ViewModel.MousePointerCrosshairsAutoActivate, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MousePointerCrosshairsColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="1" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MousePointerCrosshairsOpacity}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Maximum="500" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MousePointerCrosshairsRadius}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsThickness"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Maximum="50" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MousePointerCrosshairsThickness}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MousePointerCrosshairsBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="2" Maximum="50" Minimum="0" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MousePointerCrosshairsBorderSize}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide" IsChecked="{x:Bind ViewModel.MousePointerCrosshairsAutoHide, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MousePointerCrosshairsIsFixedLengthEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength" IsEnabled="{x:Bind ViewModel.MousePointerCrosshairsIsFixedLengthEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MousePointerCrosshairsFixedLength}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_MouseUtils" Link="https://aka.ms/PowerToysOverview_MouseUtilities" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://devblogs.microsoft.com/oldnewthing/author/oldnewthing" Text="Raymond Chen's Find My Mouse" /> <custom:PageLink Link="https://michael-clayton.com/projects/fancymouse" Text="Michael Clayton's Mouse Jump (FancyMouse)" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseUtilsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:localConverters="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <localConverters:FindMyMouseActivationIntToVisibilityConverter x:Key="FindMyMouseActivationIntToVisibilityConverter" /> <converters:BoolToVisibilityConverter x:Key="BoolToInvertedVisibilityConverter" FalseValue="Visible" TrueValue="Collapsed" /> </Page.Resources> <custom:SettingsPageControl x:Uid="MouseUtils" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseUtils.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="MouseUtils_FindMyMouse"> <controls:SettingsCard x:Uid="MouseUtils_Enable_FindMyMouse" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFindMyMouse.png}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_FindMyMouse_ActivationMethod" HeaderIcon="{ui:FontIcon Glyph=&#xE961;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.FindMyMouseActivationMethod, Mode=TwoWay}"> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationDoubleControlPress" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationShakeMouse" /> <ComboBoxItem x:Uid="MouseUtils_FindMyMouse_ActivationCustomizedShortcut" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_ShakingMinimumDistance" Visibility="{x:Bind ViewModel.FindMyMouseActivationMethod, Converter={StaticResource FindMyMouseActivationIntToVisibilityConverter}, Mode=OneWay, ConverterParameter=2}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="1000" Maximum="1000000" Minimum="0" SmallChange="100" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.FindMyMouseShakingMinimumDistance, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" Visibility="{x:Bind ViewModel.FindMyMouseActivationMethod, Converter={StaticResource FindMyMouseActivationIntToVisibilityConverter}, Mode=OneWay, ConverterParameter=3}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.FindMyMouseActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_Prevent_Activation_On_Game_Mode" IsChecked="{x:Bind ViewModel.FindMyMouseDoNotActivateOnGameMode, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}" IsExpanded="False"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_OverlayOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="1" Value="{x:Bind ViewModel.FindMyMouseOverlayOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_BackgroundColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FindMyMouseBackgroundColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.FindMyMouseSpotlightColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="5" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.FindMyMouseSpotlightRadius, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_SpotlightInitialZoom"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="40" Minimum="1" Value="{x:Bind ViewModel.FindMyMouseSpotlightInitialZoom, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_FindMyMouse_AnimationDurationMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.IsAnimationEnabledBySystem, Mode=OneWay}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.FindMyMouseAnimationDurationMs, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled" IsClosable="False" IsOpen="True" Severity="Informational" Visibility="{x:Bind ViewModel.IsAnimationEnabledBySystem, Mode=OneWay, Converter={StaticResource BoolToInvertedVisibilityConverter}}" /> <controls:SettingsExpander x:Uid="MouseUtils_FindMyMouse_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=OneWay}" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.FindMyMouseExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MouseHighlighter"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MouseHighlighter" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseHighlighter.png}" IsEnabled="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_MouseHighlighter_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=OneWay}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MouseHighlighterActivationShortcut, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_AutoActivate" IsChecked="{x:Bind ViewModel.MouseHighlighterAutoActivate, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_PrimaryButtonClickColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterLeftButtonClickColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_SecondaryButtonClickColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterRightButtonClickColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_AlwaysColor"> <custom:AlphaColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MouseHighlighterAlwaysColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_HighlightRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="5" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseHighlighterRadius, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_FadeDelayMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseHighlighterFadeDelayMs, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseHighlighter_FadeDurationMs"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseHighlighterFadeDurationMs, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MouseJump"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MouseJump" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseJump.png}" IsEnabled="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="MouseUtils_MouseJump_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=OneWay}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MouseJumpActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MouseJump_ThumbnailSize" HeaderIcon="{ui:FontIcon Glyph=&#xE740;}" IsEnabled="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=OneWay}"> <controls:SettingsCard.Description> <StackPanel Grid.Row="1" Grid.Column="1" Margin="0,4,0,0" Orientation="Horizontal"> <TextBlock x:Uid="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix" Margin="0,0,4,0" Style="{ThemeResource SecondaryTextStyle}" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind ViewModel.MouseJumpThumbnailSize.Width, Mode=OneWay}" /> <TextBlock Margin="0,5,4,0" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" FontSize="10" Foreground="{ThemeResource SystemBaseMediumColor}" Style="{ThemeResource SecondaryTextStyle}" Text="&#xE947;" /> <TextBlock Margin="0,0,4,0" FontWeight="SemiBold" Style="{ThemeResource SecondaryTextStyle}" Text="{x:Bind ViewModel.MouseJumpThumbnailSize.Height, Mode=OneWay}" /> <TextBlock x:Uid="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix" Margin="0,0,4,0" Foreground="{ThemeResource SystemBaseMediumColor}" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> </controls:SettingsCard.Description> <StackPanel Grid.Column="2" HorizontalAlignment="Right" Orientation="Horizontal" Spacing="8"> <Button x:Uid="EditButton" Width="40" Height="36" Content="&#xE70F;" FontFamily="{ThemeResource SymbolThemeFontFamily}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <TextBlock x:Uid="EditTooltip" /> </ToolTipService.ToolTip> <Button.Flyout> <Flyout x:Uid="MouseJumpThumbnailSize_Edit" ShouldConstrainToRootBounds="False"> <StackPanel Spacing="16"> <NumberBox x:Uid="MouseUtils_MouseJump_ThumbnailSize_Edit_Width" Width="140" Minimum="160" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseJumpThumbnailSize.Width, Mode=TwoWay}" /> <NumberBox x:Uid="MouseUtils_MouseJump_ThumbnailSize_Edit_Height" Width="140" Minimum="120" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MouseJumpThumbnailSize.Height, Mode=TwoWay}" /> </StackPanel> </Flyout> </Button.Flyout> </Button> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshairs"> <controls:SettingsCard x:Uid="MouseUtils_Enable_MousePointerCrosshairs" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseCrosshairs.png}" IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsExpander x:Uid="MouseUtils_MousePointerCrosshairs_ActivationShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=OneWay}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MousePointerCrosshairsActivationShortcut, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_AutoActivate" IsChecked="{x:Bind ViewModel.MousePointerCrosshairsAutoActivate, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="Appearance_Behavior" HeaderIcon="{ui:FontIcon Glyph=&#xEB3C;}" IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MousePointerCrosshairsColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="1" Value="{x:Bind ViewModel.MousePointerCrosshairsOpacity, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsRadius"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Maximum="500" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MousePointerCrosshairsRadius, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsThickness"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Maximum="50" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MousePointerCrosshairsThickness, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor"> <custom:ColorPickerButton SelectedColor="{x:Bind Path=ViewModel.MousePointerCrosshairsBorderColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="2" Maximum="50" Minimum="0" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MousePointerCrosshairsBorderSize, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide" IsChecked="{x:Bind ViewModel.MousePointerCrosshairsAutoHide, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MousePointerCrosshairsIsFixedLengthEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength" IsEnabled="{x:Bind ViewModel.MousePointerCrosshairsIsFixedLengthEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="10" Minimum="1" SmallChange="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MousePointerCrosshairsFixedLength, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_MouseUtils" Link="https://aka.ms/PowerToysOverview_MouseUtilities" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://devblogs.microsoft.com/oldnewthing/author/oldnewthing" Text="Raymond Chen's Find My Mouse" /> <custom:PageLink Link="https://michael-clayton.com/projects/fancymouse" Text="Michael Clayton's Mouse Jump (FancyMouse)" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
73
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/MouseWithoutBordersPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseWithoutBordersPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:BoolToVisibilityConverter x:Key="negativeBoolToVisibilityConverter" /> <converters:BoolToObjectConverter x:Key="OneRowMatrixBoolToNumberOfRowsConverter" FalseValue="2" TrueValue="4" /> </Page.Resources> <custom:SettingsPageControl x:Uid="MouseWithoutBorders" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseWithoutBorders.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel Orientation="Vertical"> <custom:SettingsGroup x:Uid="MouseWithoutBorders_ActivationSettings"> <controls:SettingsCard x:Uid="MouseWithoutBorders_Toggle_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.CanBeEnabled}" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_KeySettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Name="MouseWithoutBorders_ConnectSettings" x:Uid="MouseWithoutBorders_SecurityKey" HeaderIcon="{ui:FontIcon Glyph=&#xE8D7;}" IsExpanded="{x:Bind Mode=TwoWay, Path=ViewModel.ConnectFieldsVisible}"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Right"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBox x:Name="ConnectSecurityKeyTextBox" x:Uid="MWB_SecurityKeyLabel" Width="248" /> <TextBox x:Name="ConnectPCNameTextBox" x:Uid="MWB_PCNameLabel" Width="248" /> <Button x:Uid="MouseWithoutBorders_Connect" Command="{x:Bind Mode=OneTime, Path=ConnectCommand}" Style="{StaticResource AccentButtonStyle}" /> </StackPanel> </controls:SettingsCard> </controls:SettingsExpander.Items> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBox IsReadOnly="True" Text="{x:Bind Mode=TwoWay, Path=ViewModel.SecurityKey}" /> <Button x:Uid="MouseWithoutBorders_NewKey" Command="{x:Bind Mode=OneTime, Path=GenerateNewKeyCommand}" Style="{StaticResource AccentButtonStyle}" /> <Button x:Uid="MouseWithoutBorders_Connect" Command="{x:Bind Mode=OneTime, Path=ShowConnectFieldsCommand}" Style="{StaticResource AccentButtonStyle}" Visibility="{x:Bind Path=ViewModel.ConnectFieldsVisible, Mode=OneWay, Converter={StaticResource negativeBoolToVisibilityConverter}, ConverterParameter=True}" /> </StackPanel> </controls:SettingsExpander> <controls:SettingsCard x:Uid="MouseWithoutBorders_ThisMachineNameLabel"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind Mode=OneTime, Path=ViewModel.MachineHostName}" /> <Button Width="32" Height="32" Padding="4" Command="{x:Bind Mode=OneTime, Path=CopyPCNameCommand}" Content="&#xE8C8;" FontFamily="{StaticResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_CopyMachineName" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_DeviceLayoutSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard HorizontalContentAlignment="Stretch" Background="{ThemeResource CardBackgroundFillColorSecondaryBrush}" ContentAlignment="Vertical"> <StackPanel Orientation="Vertical" Spacing="8"> <ItemsControl x:Name="DevicesItemsControl" HorizontalAlignment="Center" ItemsSource="{Binding MachineMatrixString, Mode=TwoWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <WrapGrid MaximumRowsOrColumns="{Binding MatrixOneRow, Mode=OneWay, Converter={StaticResource OneRowMatrixBoolToNumberOfRowsConverter}}" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <!-- TODO: colors? --> <!-- BorderBrush="#DFDFDF" Background="#d4d4d4" --> <!-- Dragging while elevated crashes on WinUI3: https://github.com/microsoft/microsoft-ui-xaml/issues/7690 --> <Border Width="136" Height="90" Margin="4" AllowDrop="{Binding Mode=OneWay, Path=Item.CanDragDrop}" Background="{ThemeResource SolidBackgroundFillColorBaseAltBrush}" BorderBrush="{Binding Item.StatusBrush}" BorderThickness="2" CanDrag="{Binding Mode=OneWay, Path=Item.CanDragDrop}" CornerRadius="4" DataContext="{Binding}" DragOver="Device_DragOver" DragStarting="Device_DragStarting" Drop="Device_Drop" ToolTipService.ToolTip="{Binding Item.Name, Mode=OneWay}"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <FontIcon Margin="0,12,0,0" VerticalAlignment="Center" FontSize="32" Glyph="&#xE7F8;" /> <TextBlock Grid.Row="1" Margin="12" HorizontalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" Tag="DeviceName" Text="{Binding Item.Name}" /> </Grid> </Border> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> <Button HorizontalAlignment="Right" Command="{x:Bind Mode=OneTime, Path=ReconnectCommand}"> <ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_ReconnectTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_ReconnectButton" /> </Button> </StackPanel> </controls:SettingsCard> <InfoBar x:Uid="MouseWithoutBorders_CannotDragDropAsAdmin" IsClosable="True" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsElevated}" IsTabStop="True" Severity="Informational" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_MatrixOneRow"> <ToggleSwitch x:Uid="MouseWithoutBorders_MatrixOneRow_ToggleSwitch" IsOn="{x:Bind ViewModel.MatrixOneRow, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_ServiceSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.CanToggleUseService}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_UseService"> <ToggleSwitch x:Uid="MouseWithoutBorders_UseService_ToggleSwitch" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" IsOn="{x:Bind ViewModel.UseService, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="MouseWithoutBorders_RunAsAdminText" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.CanToggleUseService, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="MouseWithoutBorders_ServiceUserUninstallWarning" IsClosable="True" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_UninstallService" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.UninstallServiceEventHandler}" IsClickEnabled="{x:Bind Mode=OneWay, Path=ViewModel.CanUninstallService}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.CanUninstallService}" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_Settings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_WrapMouse"> <ToggleSwitch x:Uid="MouseWithoutBorders_WrapMouse_ToggleSwitch" IsOn="{x:Bind ViewModel.WrapMouse, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShareClipboard"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShareClipboard_ToggleSwitch" IsOn="{x:Bind ViewModel.ShareClipboard, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_TransferFile"> <ToggleSwitch x:Uid="MouseWithoutBorders_TransferFile_ToggleSwitch" IsOn="{x:Bind ViewModel.TransferFile, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_HideMouseAtScreenEdge"> <ToggleSwitch x:Uid="MouseWithoutBorders_HideMouseAtScreenEdge_ToggleSwitch" IsOn="{x:Bind ViewModel.HideMouseAtScreenEdge, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_DrawMouseCursor"> <ToggleSwitch x:Uid="MouseWithoutBorders_DrawMouseCursor_ToggleSwitch" IsOn="{x:Bind ViewModel.DrawMouseCursor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ValidateRemoteMachineIP"> <ToggleSwitch x:Uid="MouseWithoutBorders_ValidateRemoteMachineIP_ToggleSwitch" IsOn="{x:Bind ViewModel.ValidateRemoteMachineIP, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_SameSubnetOnly"> <ToggleSwitch x:Uid="MouseWithoutBorders_SameSubnetOnly_ToggleSwitch" IsOn="{x:Bind ViewModel.SameSubnetOnly, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_BlockScreenSaverOnOtherMachines"> <ToggleSwitch x:Uid="MouseWithoutBorders_BlockScreenSaverOnOtherMachines_ToggleSwitch" IsOn="{x:Bind ViewModel.BlockScreenSaverOnOtherMachines, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_MoveMouseRelatively"> <ToggleSwitch x:Uid="MouseWithoutBorders_MoveMouseRelatively_ToggleSwitch" IsOn="{x:Bind ViewModel.MoveMouseRelatively, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_BlockMouseAtScreenCorners"> <ToggleSwitch x:Uid="MouseWithoutBorders_BlockMouseAtScreenCorners_ToggleSwitch" IsOn="{x:Bind ViewModel.BlockMouseAtScreenCorners, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages_ToggleSwitch" IsOn="{x:Bind ViewModel.ShowClipboardAndNetworkStatusMessages, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_KeyboardShortcuts_Group" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_EasyMouseOption"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.EasyMouseOptionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Disabled" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Enabled" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Ctrl" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Shift" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ToggleEasyMouseShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ToggleEasyMouseShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_LockMachinesShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.LockMachinesShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_Switch2AllPcShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.HotKeySwitch2AllPC, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ReconnectShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ReconnectShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.SelectedSwitchBetweenMachineShortcutOptionsIndex, Mode=TwoWay}"> <!-- These should be in the same order as the array items in MouseWithoutBordersViewModel.cs --> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1" /> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_1" /> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_AdvancedSettings_Group" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="MouseWithoutBorders_IPAddressMapping" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="MouseWithoutBorders_IPAddressMapping_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.Name2IP, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_TroubleShooting" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_AddFirewallRuleButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.AddFirewallRuleEventHandler}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShowOriginalUI"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShowOriginalUI_ToggleSwitch" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" IsOn="{x:Bind ViewModel.ShowOriginalUI, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_MouseWithoutBorders" Link="https://aka.ms/PowerToysOverview_MouseWithoutBorders" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="http://aka.ms/mm" Text="Mouse without Borders" /> <custom:PageLink Link="https://github.com/microsoft/PowerToys/blob/main/COMMUNITY.md#mouse-without-borders-original-contributors" Text="Truong Do (Đỗ Đức Trường) and other original contributors" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseWithoutBordersPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <Page.Resources> <converters:BoolToVisibilityConverter x:Key="negativeBoolToVisibilityConverter" /> <converters:BoolToObjectConverter x:Key="OneRowMatrixBoolToNumberOfRowsConverter" FalseValue="2" TrueValue="4" /> </Page.Resources> <custom:SettingsPageControl x:Uid="MouseWithoutBorders" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseWithoutBorders.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel Orientation="Vertical"> <custom:SettingsGroup x:Uid="MouseWithoutBorders_ActivationSettings"> <controls:SettingsCard x:Uid="MouseWithoutBorders_Toggle_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsEnabled="{x:Bind ViewModel.CanBeEnabled, Mode=OneWay}" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_KeySettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Name="MouseWithoutBorders_ConnectSettings" x:Uid="MouseWithoutBorders_SecurityKey" HeaderIcon="{ui:FontIcon Glyph=&#xE8D7;}" IsExpanded="{x:Bind ViewModel.ConnectFieldsVisible, Mode=TwoWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Right"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBox x:Name="ConnectSecurityKeyTextBox" x:Uid="MWB_SecurityKeyLabel" Width="248" /> <TextBox x:Name="ConnectPCNameTextBox" x:Uid="MWB_PCNameLabel" Width="248" /> <Button x:Uid="MouseWithoutBorders_Connect" Command="{x:Bind ConnectCommand, Mode=OneTime}" Style="{StaticResource AccentButtonStyle}" /> </StackPanel> </controls:SettingsCard> </controls:SettingsExpander.Items> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBox IsReadOnly="True" Text="{x:Bind ViewModel.SecurityKey, Mode=TwoWay}" /> <Button x:Uid="MouseWithoutBorders_NewKey" Command="{x:Bind GenerateNewKeyCommand, Mode=OneTime}" Style="{StaticResource AccentButtonStyle}" /> <Button x:Uid="MouseWithoutBorders_Connect" Command="{x:Bind ShowConnectFieldsCommand, Mode=OneTime}" Style="{StaticResource AccentButtonStyle}" Visibility="{x:Bind Path=ViewModel.ConnectFieldsVisible, Mode=OneWay, Converter={StaticResource negativeBoolToVisibilityConverter}, ConverterParameter=True}" /> </StackPanel> </controls:SettingsExpander> <controls:SettingsCard x:Uid="MouseWithoutBorders_ThisMachineNameLabel"> <StackPanel Orientation="Horizontal" Spacing="8"> <TextBlock VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.MachineHostName, Mode=OneTime}" /> <Button Width="32" Height="32" Padding="4" Command="{x:Bind CopyPCNameCommand, Mode=OneTime}" Content="&#xE8C8;" FontFamily="{StaticResource SymbolThemeFontFamily}"> <ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_CopyMachineName" TextWrapping="Wrap" /> </ToolTipService.ToolTip> </Button> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_DeviceLayoutSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard HorizontalContentAlignment="Stretch" Background="{ThemeResource CardBackgroundFillColorSecondaryBrush}" ContentAlignment="Vertical"> <StackPanel Orientation="Vertical" Spacing="8"> <ItemsControl x:Name="DevicesItemsControl" HorizontalAlignment="Center" ItemsSource="{Binding MachineMatrixString, Mode=TwoWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <WrapGrid MaximumRowsOrColumns="{Binding MatrixOneRow, Mode=OneWay, Converter={StaticResource OneRowMatrixBoolToNumberOfRowsConverter}}" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate> <!-- TODO: colors? --> <!-- BorderBrush="#DFDFDF" Background="#d4d4d4" --> <!-- Dragging while elevated crashes on WinUI3: https://github.com/microsoft/microsoft-ui-xaml/issues/7690 --> <Border Width="136" Height="90" Margin="4" AllowDrop="{Binding Item.CanDragDrop, Mode=OneWay}" Background="{ThemeResource SolidBackgroundFillColorBaseAltBrush}" BorderBrush="{Binding Item.StatusBrush}" BorderThickness="2" CanDrag="{Binding Item.CanDragDrop, Mode=OneWay}" CornerRadius="4" DataContext="{Binding}" DragOver="Device_DragOver" DragStarting="Device_DragStarting" Drop="Device_Drop" ToolTipService.ToolTip="{Binding Item.Name, Mode=OneWay}"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <FontIcon Margin="0,12,0,0" VerticalAlignment="Center" FontSize="32" Glyph="&#xE7F8;" /> <TextBlock Grid.Row="1" Margin="12" HorizontalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" Tag="DeviceName" Text="{Binding Item.Name}" /> </Grid> </Border> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> <Button HorizontalAlignment="Right" Command="{x:Bind ReconnectCommand, Mode=OneTime}"> <ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_ReconnectTooltip" TextWrapping="Wrap" /> </ToolTipService.ToolTip> <TextBlock x:Uid="MouseWithoutBorders_ReconnectButton" /> </Button> </StackPanel> </controls:SettingsCard> <InfoBar x:Uid="MouseWithoutBorders_CannotDragDropAsAdmin" IsClosable="True" IsOpen="{x:Bind ViewModel.IsElevated, Mode=OneWay}" IsTabStop="True" Severity="Informational" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_MatrixOneRow"> <ToggleSwitch x:Uid="MouseWithoutBorders_MatrixOneRow_ToggleSwitch" IsOn="{x:Bind ViewModel.MatrixOneRow, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_ServiceSettings" IsEnabled="{x:Bind ViewModel.CanToggleUseService, Mode=OneWay}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_UseService"> <ToggleSwitch x:Uid="MouseWithoutBorders_UseService_ToggleSwitch" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" IsOn="{x:Bind ViewModel.UseService, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="MouseWithoutBorders_RunAsAdminText" IsClosable="False" IsOpen="{x:Bind ViewModel.CanToggleUseService, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="MouseWithoutBorders_ServiceUserUninstallWarning" IsClosable="True" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_UninstallService" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.UninstallServiceEventHandler}" IsClickEnabled="{x:Bind ViewModel.CanUninstallService, Mode=OneWay}" IsEnabled="{x:Bind ViewModel.CanUninstallService, Mode=OneWay}" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_Settings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_WrapMouse"> <ToggleSwitch x:Uid="MouseWithoutBorders_WrapMouse_ToggleSwitch" IsOn="{x:Bind ViewModel.WrapMouse, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShareClipboard"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShareClipboard_ToggleSwitch" IsOn="{x:Bind ViewModel.ShareClipboard, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_TransferFile"> <ToggleSwitch x:Uid="MouseWithoutBorders_TransferFile_ToggleSwitch" IsOn="{x:Bind ViewModel.TransferFile, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_HideMouseAtScreenEdge"> <ToggleSwitch x:Uid="MouseWithoutBorders_HideMouseAtScreenEdge_ToggleSwitch" IsOn="{x:Bind ViewModel.HideMouseAtScreenEdge, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_DrawMouseCursor"> <ToggleSwitch x:Uid="MouseWithoutBorders_DrawMouseCursor_ToggleSwitch" IsOn="{x:Bind ViewModel.DrawMouseCursor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ValidateRemoteMachineIP"> <ToggleSwitch x:Uid="MouseWithoutBorders_ValidateRemoteMachineIP_ToggleSwitch" IsOn="{x:Bind ViewModel.ValidateRemoteMachineIP, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_SameSubnetOnly"> <ToggleSwitch x:Uid="MouseWithoutBorders_SameSubnetOnly_ToggleSwitch" IsOn="{x:Bind ViewModel.SameSubnetOnly, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_BlockScreenSaverOnOtherMachines"> <ToggleSwitch x:Uid="MouseWithoutBorders_BlockScreenSaverOnOtherMachines_ToggleSwitch" IsOn="{x:Bind ViewModel.BlockScreenSaverOnOtherMachines, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_MoveMouseRelatively"> <ToggleSwitch x:Uid="MouseWithoutBorders_MoveMouseRelatively_ToggleSwitch" IsOn="{x:Bind ViewModel.MoveMouseRelatively, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_BlockMouseAtScreenCorners"> <ToggleSwitch x:Uid="MouseWithoutBorders_BlockMouseAtScreenCorners_ToggleSwitch" IsOn="{x:Bind ViewModel.BlockMouseAtScreenCorners, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages_ToggleSwitch" IsOn="{x:Bind ViewModel.ShowClipboardAndNetworkStatusMessages, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_KeyboardShortcuts_Group" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_EasyMouseOption"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.EasyMouseOptionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Disabled" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Enabled" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Ctrl" /> <ComboBoxItem x:Uid="MouseWithoutBorders_EasyMouseOption_Shift" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ToggleEasyMouseShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ToggleEasyMouseShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_LockMachinesShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.LockMachinesShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_Switch2AllPcShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.HotKeySwitch2AllPC, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_ReconnectShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" AllowDisable="True" HotkeySettings="{x:Bind Path=ViewModel.ReconnectShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut" HeaderIcon="{ui:FontIcon Glyph=&#xE92E;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.SelectedSwitchBetweenMachineShortcutOptionsIndex, Mode=TwoWay}"> <!-- These should be in the same order as the array items in MouseWithoutBordersViewModel.cs --> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1" /> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_1" /> <ComboBoxItem x:Uid="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_AdvancedSettings_Group" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="MouseWithoutBorders_IPAddressMapping" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="MouseWithoutBorders_IPAddressMapping_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.Name2IP, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="MouseWithoutBorders_TroubleShooting" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="MouseWithoutBorders_AddFirewallRuleButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.AddFirewallRuleEventHandler}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="MouseWithoutBorders_ShowOriginalUI"> <ToggleSwitch x:Uid="MouseWithoutBorders_ShowOriginalUI_ToggleSwitch" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" IsOn="{x:Bind ViewModel.ShowOriginalUI, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_MouseWithoutBorders" Link="https://aka.ms/PowerToysOverview_MouseWithoutBorders" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="http://aka.ms/mm" Text="Mouse without Borders" /> <custom:PageLink Link="https://github.com/microsoft/PowerToys/blob/main/COMMUNITY.md#mouse-without-borders-original-contributors" Text="Truong Do (Đỗ Đức Trường) and other original contributors" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
74
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PastePlainPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PastePlainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PastePlain" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PastePlain.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical" Spacing="2"> <controls:SettingsCard x:Uid="PastePlain_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="PastePlain_ShortcutWarning" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsConflictingCopyShortcut}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsConflictingCopyShortcut}" Severity="Warning" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PastePlain" Link="https://aka.ms/PowerToysOverview_PastePlain" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PastePlainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PastePlain" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PastePlain.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical" Spacing="2"> <controls:SettingsCard x:Uid="PastePlain_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="PastePlain_ShortcutWarning" IsClosable="False" IsOpen="{x:Bind ViewModel.IsConflictingCopyShortcut, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsConflictingCopyShortcut, Mode=OneWay}" Severity="Warning" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PastePlain" Link="https://aka.ms/PowerToysOverview_PastePlain" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
75
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PeekPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PeekPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Peek.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel Orientation="Vertical"> <controls:SettingsCard x:Uid="Peek_EnablePeek" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Peek_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Peek_BehaviorHeader" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Peek_AlwaysRunNotElevated" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.AlwaysRunNotElevated}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Peek_CloseAfterLosingFocus"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.CloseAfterLosingFocus}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Peek_Preview_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="Peek_SourceCode_Header" HeaderIcon="{ui:FontIcon Glyph=&#xE99A;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <CheckBox x:Uid="Peek_SourceCode_WrapText" IsChecked="{x:Bind ViewModel.SourceCodeWrapText, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <custom:CheckBoxWithDescriptionControl x:Uid="Peek_SourceCode_TryFormat" IsChecked="{x:Bind ViewModel.SourceCodeTryFormat, Mode=TwoWay}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Peek" Link="https://aka.ms/PowerToysOverview_Peek" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PeekPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Peek.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel Orientation="Vertical"> <controls:SettingsCard x:Uid="Peek_EnablePeek" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Peek_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Peek_BehaviorHeader" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Peek_AlwaysRunNotElevated" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.AlwaysRunNotElevated, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="Peek_CloseAfterLosingFocus"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.CloseAfterLosingFocus, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Peek_Preview_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="Peek_SourceCode_Header" HeaderIcon="{ui:FontIcon Glyph=&#xE99A;}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <CheckBox x:Uid="Peek_SourceCode_WrapText" IsChecked="{x:Bind ViewModel.SourceCodeWrapText, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <custom:CheckBoxWithDescriptionControl x:Uid="Peek_SourceCode_TryFormat" IsChecked="{x:Bind ViewModel.SourceCodeTryFormat, Mode=TwoWay}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Peek" Link="https://aka.ms/PowerToysOverview_Peek" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
76
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerAccentPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerAccentPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="QuickAccent" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerAccent.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="QuickAccent_EnableQuickAccent" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="QuickAccent_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="QuickAccent_Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.ActivationKey, Mode=TwoWay}"> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Arrows" /> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Space" /> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Either" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Language" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="QuickAccent_SelectedLanguage" HeaderIcon="{ui:FontIcon Glyph=&#xF2B7;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.SelectedLangIndex, Mode=TwoWay}"> <!-- These should be in the same order as the array items in PowerAccentViewModel.cs --> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_All" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Catalan" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Currency" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Croatian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Czech" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Danish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Gaeilge" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Gaidhlig" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Dutch" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Greek" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Estonian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Finnish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_French" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_German" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Hebrew" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Hungarian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Icelandic" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Italian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Kurdish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Lithuanian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Macedonian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Maori" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Norwegian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Pinyin" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Polish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Portuguese" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Romanian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Slovak" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Spanish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Serbian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Swedish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Turkish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Welsh" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="QuickAccent_ToolbarPosition" HeaderIcon="{ui:FontIcon Glyph=&#xEC12;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Left" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Right" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomRightCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Center" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_Description_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE946;}"> <ToggleSwitch x:Uid="QuickAccent_UnicodeDescription_ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.ShowUnicodeDescription}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_SortByUsageFrequency_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}"> <ToggleSwitch x:Uid="QuickAccent_SortByUsageFrequency_ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SortByUsageFrequency}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_StartSelectionFromTheLeft_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE974;}"> <ToggleSwitch x:Uid="QuickAccent_StartSelectionFromTheLeft_ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.StartSelectionFromTheLeft}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Behavior" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="QuickAccent_InputTimeMs" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.InputTimeMs}" /> </controls:SettingsCard> <controls:SettingsExpander x:Uid="QuickAccent_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="QuickAccent_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_QuickAccent" Link="https://aka.ms/PowerToysOverview_QuickAccent" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/damienleroy/PowerAccent" Text="Damien Leroy's PowerAccent" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerAccentPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="QuickAccent" IsTabStop="False" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerAccent.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="QuickAccent_EnableQuickAccent" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="QuickAccent_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="QuickAccent_Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.ActivationKey, Mode=TwoWay}"> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Arrows" /> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Space" /> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Either" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Language" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="QuickAccent_SelectedLanguage" HeaderIcon="{ui:FontIcon Glyph=&#xF2B7;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.SelectedLangIndex, Mode=TwoWay}"> <!-- These should be in the same order as the array items in PowerAccentViewModel.cs --> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_All" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Catalan" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Currency" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Croatian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Czech" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Danish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Gaeilge" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Gaidhlig" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Dutch" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Greek" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Estonian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Finnish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_French" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_German" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Hebrew" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Hungarian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Icelandic" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Italian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Kurdish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Lithuanian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Macedonian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Maori" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Norwegian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Pinyin" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Polish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Portuguese" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Romanian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Slovak" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Spanish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Serbian" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Swedish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Turkish" /> <ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Welsh" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Toolbar" IsEnabled="{x:Bind IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="QuickAccent_ToolbarPosition" HeaderIcon="{ui:FontIcon Glyph=&#xEC12;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Left" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Right" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomRightCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Center" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_Description_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE946;}"> <ToggleSwitch x:Uid="QuickAccent_UnicodeDescription_ToggleSwitch" IsOn="{x:Bind ViewModel.ShowUnicodeDescription, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_SortByUsageFrequency_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}"> <ToggleSwitch x:Uid="QuickAccent_SortByUsageFrequency_ToggleSwitch" IsOn="{x:Bind ViewModel.SortByUsageFrequency, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="QuickAccent_StartSelectionFromTheLeft_Indicator" HeaderIcon="{ui:FontIcon Glyph=&#xE974;}"> <ToggleSwitch x:Uid="QuickAccent_StartSelectionFromTheLeft_ToggleSwitch" IsOn="{x:Bind ViewModel.StartSelectionFromTheLeft, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="QuickAccent_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="QuickAccent_InputTimeMs" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.InputTimeMs, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsExpander x:Uid="QuickAccent_ExcludedApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="QuickAccent_ExcludedApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.ExcludedApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_QuickAccent" Link="https://aka.ms/PowerToysOverview_QuickAccent" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/damienleroy/PowerAccent" Text="Damien Leroy's PowerAccent" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
77
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ShowPluginsOverviewIndex}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_TitleFontSize" HeaderIcon="{ui:FontIcon Glyph=&#xE8E9;}"> <StackPanel Orientation="Horizontal" Spacing="12"> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="12" FontWeight="SemiBold" Text="A" /> <Slider x:Uid="PowerLauncher_TextFontSizeSlider" LargeChange="2" Maximum="24" Minimum="12" SmallChange="2" StepFrequency="2" TickFrequency="2" TickPlacement="Outside" Value="{x:Bind ViewModel.TitleFontSize, Mode=TwoWay}" /> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="24" FontWeight="SemiBold" Text="A" /> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind ViewModel.UseCentralizedKeyboardHook, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind ViewModel.IgnoreHotkeysInFullScreen, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{x:Bind ViewModel.OverrideWinSKey, Mode=TwoWay}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.SearchInputDelayFast, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.SearchInputDelay, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MaximumNumberOfResults, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind ViewModel.ClearInputOnLaunch, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.SearchClickedItemWeight, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=OneWay}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind ViewModel.SearchWaitForSlowResults, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{x:Bind SelectedSearchResultPreference, Mode=TwoWay}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{x:Bind SelectedSearchTypePreference, Mode=TwoWay}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.MonitorPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ShowPluginsOverviewIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_TitleFontSize" HeaderIcon="{ui:FontIcon Glyph=&#xE8E9;}"> <StackPanel Orientation="Horizontal" Spacing="12"> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="12" FontWeight="SemiBold" Text="A" /> <Slider x:Uid="PowerLauncher_TextFontSizeSlider" LargeChange="2" Maximum="24" Minimum="12" SmallChange="2" StepFrequency="2" TickFrequency="2" TickPlacement="Outside" Value="{x:Bind ViewModel.TitleFontSize, Mode=TwoWay}" /> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="24" FontWeight="SemiBold" Text="A" /> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind WeightBoost, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
78
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerOcrPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerOcrPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="TextExtractor" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerOCR.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical" Spacing="2"> <controls:SettingsCard x:Uid="TextExtractor_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="TextExtractor_UseSnippingToolWarning" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsWin11OrGreater}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsWin11OrGreater}" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <InfoBar x:Uid="TextExtractor_SupportedLanguages" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="TextExtractor_SupportedLanguages_Link" NavigateUri="https://aka.ms/PowerToysOverview_TextExtractor#supported-languages" /> </InfoBar.ActionButton> </InfoBar> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="TextExtractor_Languages"> <ComboBox x:Name="TextExtractor_ComboBox" MinWidth="{StaticResource SettingActionControlMinWidth}" DropDownOpened="TextExtractor_ComboBox_DropDownOpened" ItemsSource="{x:Bind Path=ViewModel.AvailableLanguages, Mode=OneWay}" Loaded="TextExtractor_ComboBox_Loaded" SelectedIndex="{x:Bind Path=ViewModel.LanguageIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedValue="{Binding SelectedColorRepresentationValue, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_TextExtractor" Link="https://aka.ms/PowerToysOverview_TextExtractor" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/TheJoeFin/Text-Grab" Text="Based upon Joseph Finney's Text Grab" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerOcrPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="TextExtractor" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerOCR.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical" Spacing="2"> <controls:SettingsCard x:Uid="TextExtractor_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="TextExtractor_UseSnippingToolWarning" IsClosable="False" IsOpen="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="TextExtractor_SupportedLanguages" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="TextExtractor_SupportedLanguages_Link" NavigateUri="https://aka.ms/PowerToysOverview_TextExtractor#supported-languages" /> </InfoBar.ActionButton> </InfoBar> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="TextExtractor_Languages"> <ComboBox x:Name="TextExtractor_ComboBox" MinWidth="{StaticResource SettingActionControlMinWidth}" DropDownOpened="TextExtractor_ComboBox_DropDownOpened" ItemsSource="{x:Bind Path=ViewModel.AvailableLanguages, Mode=OneWay}" Loaded="TextExtractor_ComboBox_Loaded" SelectedIndex="{x:Bind Path=ViewModel.LanguageIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedValue="{Binding SelectedColorRepresentationValue, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_TextExtractor" Link="https://aka.ms/PowerToysOverview_TextExtractor" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/TheJoeFin/Text-Grab" Text="Based upon Joseph Finney's Text Grab" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
79
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerPreviewPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerPreviewPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FileExplorerPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerPreview.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane"> <InfoBar x:Uid="FileExplorerPreview_PreviewHandlerOutlookIncompatibility" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGRenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SVGRenderIsEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundColorMode, Mode=TwoWay}"> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode_Default" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Solid_Color" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Background_Color" Visibility="{x:Bind ViewModel.IsSvgBackgroundColorVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.SVGRenderBackgroundSolidColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode" Visibility="{x:Bind ViewModel.IsSvgCheckeredShadeVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundCheckeredShade, Mode=TwoWay}"> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_1" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_2" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_3" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGRenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGRenderEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_MD" HeaderIcon="{ui:FontIcon Glyph=&#xE943;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsMDRenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.MDRenderIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsMDRenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsMDRenderEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Preview_Monaco" HeaderIcon="{ui:FontIcon Glyph=&#xE99A;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsMonacoRenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.MonacoRenderIsEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"> <CheckBox x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text" IsChecked="{x:Bind ViewModel.MonacoWrapText, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"> <custom:CheckBoxWithDescriptionControl x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format" IsChecked="{x:Bind ViewModel.MonacoPreviewTryFormat, Mode=TwoWay}" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Toggle_Monaco_Max_File_Size" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.MonacoRenderIsEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="2" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MonacoPreviewMaxFileSize}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsMonacoRenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsMonacoRenderEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_PDF" HeaderIcon="{ui:FontIcon Glyph=&#xEA90;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFRenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PDFRenderIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFRenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFRenderEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_GCODE" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODERenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.GCODERenderIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODERenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODERenderEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_QOI" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIRenderEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.QOIRenderIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIRenderEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIRenderEnabledGpoConfigured}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FileExplorerPreview_IconThumbnail_GroupSettings"> <InfoBar x:Uid="FileExplorerPreview_RebootRequired" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGThumbnailEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SVGThumbnailIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGThumbnailEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsSVGThumbnailEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF" HeaderIcon="{ui:FontIcon Glyph=&#xEA90;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFThumbnailEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PDFThumbnailIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFThumbnailEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsPDFThumbnailEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.GCODEThumbnailIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODEThumbnailEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsGCODEThumbnailEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_STL" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsSTLThumbnailEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.STLThumbnailIsEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FileExplorerPreview_Color_Thumbnail_STL"> <custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.STLThumbnailIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.STLThumbnailColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsSTLThumbnailEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsSTLThumbnailEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIThumbnailEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.QOIThumbnailIsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIThumbnailEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsQOIThumbnailEnabledGpoConfigured}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PowerPreview" Link="https://aka.ms/PowerToysOverview_FileExplorerAddOns" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://blog.aaron-junker.ch" Text="Aaron Junker's work on developer file preview" /> <custom:PageLink Link="https://www.pedrolamas.com" Text="Pedro Lamas's work on G-Code, STL, and QOI" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerPreviewPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="FileExplorerPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerPreview.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <custom:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane"> <InfoBar x:Uid="FileExplorerPreview_PreviewHandlerOutlookIncompatibility" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}" IsEnabled="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundColorMode, Mode=TwoWay}"> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode_Default" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Solid_Color" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Background_Color" Visibility="{x:Bind ViewModel.IsSvgBackgroundColorVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.SVGRenderBackgroundSolidColor, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode" Visibility="{x:Bind ViewModel.IsSvgCheckeredShadeVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundCheckeredShade, Mode=TwoWay}"> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_1" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_2" /> <ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_3" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_MD" HeaderIcon="{ui:FontIcon Glyph=&#xE943;}" IsEnabled="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MDRenderIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Preview_Monaco" HeaderIcon="{ui:FontIcon Glyph=&#xE99A;}" IsEnabled="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"> <CheckBox x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text" IsChecked="{x:Bind ViewModel.MonacoWrapText, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"> <custom:CheckBoxWithDescriptionControl x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format" IsChecked="{x:Bind ViewModel.MonacoPreviewTryFormat, Mode=TwoWay}" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="FileExplorerPreview_Toggle_Monaco_Max_File_Size" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="2" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MonacoPreviewMaxFileSize, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_PDF" HeaderIcon="{ui:FontIcon Glyph=&#xEA90;}" IsEnabled="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.PDFRenderIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_GCODE" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GCODERenderIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Preview_QOI" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QOIRenderIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="FileExplorerPreview_IconThumbnail_GroupSettings"> <InfoBar x:Uid="FileExplorerPreview_RebootRequired" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Warning" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}" IsEnabled="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.SVGThumbnailIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF" HeaderIcon="{ui:FontIcon Glyph=&#xEA90;}" IsEnabled="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.PDFThumbnailIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GCODEThumbnailIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsExpander x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_STL" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.STLThumbnailIsEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="FileExplorerPreview_Color_Thumbnail_STL"> <custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.STLThumbnailIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.STLThumbnailColor, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <controls:SettingsCard x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI" HeaderIcon="{ui:FontIcon Glyph=&#xE914;}" IsEnabled="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QOIThumbnailIsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PowerPreview" Link="https://aka.ms/PowerToysOverview_FileExplorerAddOns" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://blog.aaron-junker.ch" Text="Aaron Junker's work on developer file preview" /> <custom:PageLink Link="https://www.pedrolamas.com" Text="Pedro Lamas's work on G-Code, STL, and QOI" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
80
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerRenamePage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerRenamePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerRename" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerRename.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel x:Name="PowerRenameView" ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerRename_Toggle_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="PowerRename_ShellIntegration" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="PowerRename_Toggle_ContextMenu" IsExpanded="False"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.EnabledOnContextExtendedMenu, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="PowerRename_Toggle_StandardContextMenu" /> <ComboBoxItem x:Uid="PowerRename_Toggle_ExtendedContextMenu" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerRename_Toggle_HideIcon" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.EnabledOnContextMenu, Converter={StaticResource BoolNegationConverter}}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="ExtendedContextMenuInfo" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerRename_AutoCompleteHeader" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="PowerRename_Toggle_AutoComplete" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.MRUEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerRename_Toggle_MaxDispListNum" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="20" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.MaxDispListNum}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerRename_Toggle_RestoreFlagsOnLaunch" HeaderIcon="{ui:FontIcon Glyph=&#xe81c;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.RestoreFlagsOnLaunch}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerRename_BehaviorHeader" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="PowerRename_Toggle_UseBoostLib"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.UseBoostLib}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PowerRename" Link="https://aka.ms/PowerToysOverview_PowerRename" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/chrdavis/SmartRename" Text="Chris Davis's SmartRenamer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerRenamePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerRename" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerRename.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel x:Name="PowerRenameView" ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerRename_Toggle_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="PowerRename_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="PowerRename_Toggle_ContextMenu" IsExpanded="False"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.EnabledOnContextExtendedMenu, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="PowerRename_Toggle_StandardContextMenu" /> <ComboBoxItem x:Uid="PowerRename_Toggle_ExtendedContextMenu" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerRename_Toggle_HideIcon" IsChecked="{x:Bind ViewModel.EnabledOnContextMenu, Mode=TwoWay, Converter={StaticResource BoolNegationConverter}}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <InfoBar x:Uid="ExtendedContextMenuInfo" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerRename_AutoCompleteHeader" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="PowerRename_Toggle_AutoComplete" IsExpanded="True"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MRUEnabled, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerRename_Toggle_MaxDispListNum" IsEnabled="{x:Bind ViewModel.GlobalAndMruEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="20" Minimum="0" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.MaxDispListNum, Mode=TwoWay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerRename_Toggle_RestoreFlagsOnLaunch" HeaderIcon="{ui:FontIcon Glyph=&#xe81c;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.RestoreFlagsOnLaunch, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerRename_BehaviorHeader" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="PowerRename_Toggle_UseBoostLib"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UseBoostLib, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_PowerRename" Link="https://aka.ms/PowerToysOverview_PowerRename" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/chrdavis/SmartRename" Text="Chris Davis's SmartRenamer" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
81
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/RegistryPreviewPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.RegistryPreviewPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="RegistryPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/RegistryPreview.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="RegistryPreview_Enable_RegistryPreview" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="RegistryPreview_Launch_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsRegistryPreviewEnabled}"> <controls:SettingsCard x:Uid="RegistryPreview_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="RegistryPreview_DefaultRegApp" HeaderIcon="{ui:FontIcon Glyph=&#xE7AC;}"> <ToggleSwitch x:Uid="RegistryPreview_DefaultRegApp_ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsRegistryPreviewDefaultRegApp}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_RegistryPreview" Link="https://aka.ms/PowerToysOverview_RegistryPreview" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.RegistryPreviewPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="RegistryPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/RegistryPreview.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="RegistryPreview_Enable_RegistryPreview" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch IsOn="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="RegistryPreview_Launch_GroupSettings" IsEnabled="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="RegistryPreview_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls:SettingsCard x:Uid="RegistryPreview_DefaultRegApp" HeaderIcon="{ui:FontIcon Glyph=&#xE7AC;}"> <ToggleSwitch x:Uid="RegistryPreview_DefaultRegApp_ToggleSwitch" IsOn="{x:Bind ViewModel.IsRegistryPreviewDefaultRegApp, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_RegistryPreview" Link="https://aka.ms/PowerToysOverview_RegistryPreview" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
82
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/ShortcutGuidePage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ShortcutGuidePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="ShortcutGuide" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ShortcutGuide.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="ShortcutGuide_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ShortcutGuide_ActivationMethod"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.UseLegacyPressWinKeyBehavior, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut" /> <ComboBoxItem x:Uid="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.UseLegacyPressWinKeyBehavior, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenShortcutGuide, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_PressTimeForGlobalWindowsShortcuts" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.UseLegacyPressWinKeyBehavior, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="50" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.PressTime}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_PressTimeForTaskbarIconShortcuts" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}" Visibility="{x:Bind Mode=OneWay, Path=ViewModel.UseLegacyPressWinKeyBehavior, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="50" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.DelayTime}" /> </controls:SettingsCard> <InfoBar x:Uid="ShortcutGuide_PressWinKeyWarning" IsClosable="False" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.UseLegacyPressWinKeyBehavior}" IsTabStop="True" Severity="Warning" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_OverlayOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind Mode=TwoWay, Path=ViewModel.OverlayOpacity}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsExpander x:Uid="ShortcutGuide_DisabledApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="ShortcutGuide_DisabledApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind Mode=TwoWay, Path=ViewModel.DisabledApps, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ShortcutGuide" Link="https://aka.ms/PowerToysOverview_ShortcutGuide" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.ShortcutGuidePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="ShortcutGuide" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ShortcutGuide.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="ShortcutGuide_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ShortcutGuide_ActivationMethod"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}"> <ComboBoxItem x:Uid="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut" /> <ComboBoxItem x:Uid="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" Visibility="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenShortcutGuide, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_PressTimeForGlobalWindowsShortcuts" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}" Visibility="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="50" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.PressTime, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_PressTimeForTaskbarIconShortcuts" HeaderIcon="{ui:FontIcon Glyph=&#xE916;}" Visibility="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="100" Minimum="100" SmallChange="50" SpinButtonPlacementMode="Compact" Value="{x:Bind ViewModel.DelayTime, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="ShortcutGuide_PressWinKeyWarning" IsClosable="False" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}" IsOpen="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=OneWay}" IsTabStop="True" Severity="Warning" /> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="Appearance_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ShortcutGuide_OverlayOpacity"> <Slider MinWidth="{StaticResource SettingActionControlMinWidth}" Maximum="100" Minimum="0" Value="{x:Bind ViewModel.OverlayOpacity, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="ShortcutGuide_DisabledApps" HeaderIcon="{ui:FontIcon Glyph=&#xECE4;}" IsExpanded="True"> <controls:SettingsExpander.Items> <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <TextBox x:Uid="ShortcutGuide_DisabledApps_TextBoxControl" MinWidth="240" MinHeight="160" AcceptsReturn="True" ScrollViewer.IsVerticalRailEnabled="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Enabled" Text="{x:Bind ViewModel.DisabledApps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_ShortcutGuide" Link="https://aka.ms/PowerToysOverview_ShortcutGuide" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
83
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/VideoConference.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{Binding MicrophoneNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PushToReverseEnabled}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{Binding Mode=TwoWay, Path=IsEnabled}" ItemsSource="{Binding CameraNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{Binding Mode=OneWay, Path=SelectOverlayImage}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{Binding Mode=OneWay, Path=ClearOverlayImage}" IsEnabled="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarPositionIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarMonitorIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarHideIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=StartupActionIndex}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{x:Bind ViewModel.IsElevated, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{x:Bind ViewModel.MicrophoneNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind ViewModel.PushToReverseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" ItemsSource="{x:Bind ViewModel.CameraNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{x:Bind ViewModel.SelectOverlayImage, Mode=OneWay}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{x:Bind ViewModel.ClearOverlayImage, Mode=OneWay}" IsEnabled="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarMonitorIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarHideIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.StartupActionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
```suggestion ```
niels9001
84
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/VideoConference.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{Binding MicrophoneNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PushToReverseEnabled}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{Binding Mode=TwoWay, Path=IsEnabled}" ItemsSource="{Binding CameraNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{Binding Mode=OneWay, Path=SelectOverlayImage}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{Binding Mode=OneWay, Path=ClearOverlayImage}" IsEnabled="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarPositionIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarMonitorIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarHideIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=StartupActionIndex}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{x:Bind ViewModel.IsElevated, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{x:Bind ViewModel.MicrophoneNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind ViewModel.PushToReverseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" ItemsSource="{x:Bind ViewModel.CameraNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{x:Bind ViewModel.SelectOverlayImage, Mode=OneWay}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{x:Bind ViewModel.ClearOverlayImage, Mode=OneWay}" IsEnabled="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarMonitorIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarHideIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.StartupActionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
This change crashes VCM page
stefansjfw
85
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/VideoConference.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{Binding MicrophoneNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PushToReverseEnabled}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{Binding Mode=TwoWay, Path=IsEnabled}" ItemsSource="{Binding CameraNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{Binding Mode=OneWay, Path=SelectOverlayImage}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{Binding Mode=OneWay, Path=ClearOverlayImage}" IsEnabled="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarPositionIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarMonitorIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarHideIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=StartupActionIndex}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{x:Bind ViewModel.IsElevated, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{x:Bind ViewModel.MicrophoneNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind ViewModel.PushToReverseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" ItemsSource="{x:Bind ViewModel.CameraNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{x:Bind ViewModel.SelectOverlayImage, Mode=OneWay}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{x:Bind ViewModel.ClearOverlayImage, Mode=OneWay}" IsEnabled="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarMonitorIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarHideIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.StartupActionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
Thank, that's the one! How did you find out?
Jay-o-Way
86
microsoft/PowerToys
30,675
Binding improvements (1)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request A few "updates" to the Bindings. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] Closes: #30674 ### Details - use `x:Bind...` in place of **Binding** - Remove `Path=` - ~Apply **DataContext**, as suggested by Visual Studio~ - ~spelling: EnableEtraBoxes -> EnableExtraBoxes~ ### Note I also wanted to remove the rather verbose `ViewModel.*` at the beginning, but that causes problems. At least according to Visual Studio. Debug seems to work fine? ![image](https://github.com/microsoft/PowerToys/assets/65828559/94206475-6e60-4342-830b-8b7be51f0878) Maybe later?
null
2023-12-31 13:05:39+00:00
2024-01-03 15:41:26+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/VideoConference.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{Binding Mode=TwoWay, Path=IsEnabled}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolNegationConverter}}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{Binding MicrophoneNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.PushToReverseEnabled}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{Binding Mode=TwoWay, Path=IsEnabled}" ItemsSource="{Binding CameraNames, Mode=OneTime}" SelectedIndex="{Binding Path=SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{Binding Mode=OneWay, Path=SelectOverlayImage}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{Binding Mode=OneWay, Path=ClearOverlayImage}" IsEnabled="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{Binding Path=CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarPositionIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarMonitorIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=ToolbarHideIndex}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{Binding Mode=TwoWay, Path=StartupActionIndex}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.VideoConferencePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <Page.Resources> <converters:StringVisibilityConverter x:Name="EmptyToCollapsedConverter" EmptyValue="Collapsed" NotEmptyValue="Visible" /> <converters:StringVisibilityConverter x:Name="EmptyToBoolConverter" EmptyValue="False" NotEmptyValue="True" /> </Page.Resources> <custom:SettingsPageControl x:Uid="VideoConference" ModuleImageSource="ms-appx:///Assets/Settings/Modules/VideoConference.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <InfoBar x:Uid="VideoConference_DeprecationWarning" IsClosable="False" IsOpen="True" IsTabStop="True" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="VideoConference_DeprecationWarningButton" HorizontalAlignment="Right" NavigateUri="https://github.com/microsoft/PowerToys/issues/21473" Style="{StaticResource TextButtonStyle}" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="VideoConference_Enable" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsElevated, Mode=OneWay}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="VideoConference_RunAsAdminRequired" IsClosable="False" IsOpen="{x:Bind ViewModel.IsElevated, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsTabStop="True" Severity="Informational" /> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational" /> <custom:SettingsGroup x:Uid="VideoConference_Shortcuts" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraAndMicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophoneMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophoneMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_MicrophonePushToTalkHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.MicrophonePushToTalkHotkey, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_CameraMuteHotkeyControl_Header"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind ViewModel.CameraMuteHotkey, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Microphone" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_SelectedMicrophone" HeaderIcon="{ui:FontIcon Glyph=&#xE720;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" ItemsSource="{x:Bind ViewModel.MicrophoneNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedMicrophoneIndex, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_PushToReverse"> <ToggleSwitch x:Uid="PushToReverseSwitch" IsOn="{x:Bind ViewModel.PushToReverseEnabled, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Camera" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_SelectedCamera" HeaderIcon="{ui:FontIcon Glyph=&#xE960;}" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" ItemsSource="{x:Bind ViewModel.CameraNames, Mode=OneTime}" SelectedIndex="{x:Bind ViewModel.SelectedCameraIndex, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_CameraOverlayImagePathHeader"> <StackPanel Orientation="Horizontal" Spacing="8"> <Button x:Uid="VideoConference_CameraOverlayImageBrowse" Command="{x:Bind ViewModel.SelectOverlayImage, Mode=OneWay}" /> <Button x:Uid="VideoConference_CameraOverlayImageClear" Command="{x:Bind ViewModel.ClearOverlayImage, Mode=OneWay}" IsEnabled="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToBoolConverter}}" /> </StackPanel> </controls:SettingsCard> <controls:SettingsCard Visibility="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay, Converter={StaticResource EmptyToCollapsedConverter}}"> <Border MaxHeight="100" HorizontalAlignment="Right" CornerRadius="4"> <Image x:Uid="VideoConference_CameraOverlayImageAlt" Source="{Binding Mode=OneWay, Path=CameraImageOverlayPath}" ToolTipService.ToolTip="{x:Bind ViewModel.CameraImageOverlayPath, Mode=OneWay}" /> </Border> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Toolbar" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsExpander x:Uid="VideoConference_ToolbarPosition" IsExpanded="True"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarPositionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_TopRightCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomLeftCorner" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomCenter" /> <ComboBoxItem x:Uid="VideoConference_ToolbarPosition_BottomRightCorner" /> </ComboBox> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="VideoConference_ToolbarMonitor"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarMonitorIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_Main" /> <ComboBoxItem x:Uid="VideoConference_ToolbarMonitor_All" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="VideoConference_ToolbarHide"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ToolbarHideIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_ToolbarHideNever" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideUnmuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideMuted" /> <ComboBoxItem x:Uid="VideoConference_ToolbarHideTimeout" /> </ComboBox> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="VideoConference_Behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"> <controls:SettingsCard x:Uid="VideoConference_StartupAction"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.StartupActionIndex, Mode=TwoWay}"> <ComboBoxItem x:Uid="VideoConference_StartupActionNothing" /> <ComboBoxItem x:Uid="VideoConference_StartupActionUnmute" /> <ComboBoxItem x:Uid="VideoConference_StartupActionMute" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_VCM" Link="https://aka.ms/PowerToysOverview_VideoConference" /> </custom:SettingsPageControl.PrimaryLinks> </custom:SettingsPageControl> </Page>
Jay-o-Way
b1bb27f35ff2e266f776dfcedd4d7a644696179d
3b90f73bd02559ae94524d4191b3aa6a64d92a25
good old "revert line by line" method :D
stefansjfw
87
microsoft/PowerToys
30,668
remove obsolete UI Fonticon properties
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Some still had FontFamily or FontSize declared.
null
2023-12-31 01:09:34+00:00
2024-01-02 14:09:35+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI.UI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, FontSize=14, Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
Jay-o-Way
a94b3eec3928fdf201d4c8b41b715fddf9b31888
6ea1c039dc6d96d09ee4d96723de5fcd7e449852
Version 7.1.2 uses MDL2
Jay-o-Way
88
microsoft/PowerToys
30,668
remove obsolete UI Fonticon properties
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Some still had FontFamily or FontSize declared.
null
2023-12-31 01:09:34+00:00
2024-01-02 14:09:35+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI.UI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, FontSize=14, Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> <controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png"> <controls:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls1:SettingsCard x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" /> </controls1:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls1:SettingsCard x:Uid="EnvironmentVariables_LaunchButtonControl" ActionIcon="{ui:FontIcon Glyph=&#xE8A7;}" Command="{x:Bind ViewModel.LaunchEventHandler}" HeaderIcon="{ui:FontIcon Glyph=&#xEA37;}" IsClickEnabled="True" /> <controls1:SettingsCard x:Uid="EnvironmentVariables_Toggle_LaunchAdministrator" HeaderIcon="{ui:FontIcon Glyph=&#xE7EF;}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.LaunchAdministratorEnabled}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.LaunchAdministrator}" /> </controls1:SettingsCard> </controls:SettingsGroup> </StackPanel> </controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.PrimaryLinks> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> </controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl> </Page>
Jay-o-Way
a94b3eec3928fdf201d4c8b41b715fddf9b31888
6ea1c039dc6d96d09ee4d96723de5fcd7e449852
Great catch, yeah we shouldn't reference these any more.
niels9001
89
microsoft/PowerToys
30,628
Settings warning elevated apps
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request https://github.com/microsoft/PowerToys/pull/30607#issuecomment-1869664166 The development mentioned in the comment in the previous PR has been made. A new setting has been added to General settings. With this setting, elevated apps warnings can be turned on or off. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested with elevated and non-elevated applications with the setting was off. Warning not seen. - Tested with elevated and non-elevated applications with the setting was on. Warning was observed only in elevated version. - Tested separately for Aot and FancyZones.
null
2023-12-28 11:01:19+00:00
2024-01-03 17:22:54+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_CmdNotFound.Text" xml:space="preserve"> <value>Learn more about Command Not Found</value> <comment> Command Not Found is the name of the module. </comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="Shell_CmdNotFound.Content" xml:space="preserve"> <value>Command Not Found</value> <comment>Product name: Navigation view item name for Command Not Found</comment> </data> <data name="CmdNotFound.ModuleDescription" xml:space="preserve"> <value>A PowerShell module that detects an error thrown by a command and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound.ModuleTitle" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable.Header" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable_DescriptionText.Text" xml:space="preserve"> <value>Add this module to the PowerShell 7 profile script so that it is enabled with every new session</value> </data> <data name="CmdNotFound_ModuleInstallationLogs.Text" xml:space="preserve"> <value>Installation logs</value> </data> <data name="CmdNotFound_CheckPowerShellVersionButtonControl.Description" xml:space="preserve"> <value>PowerShell 7 is required to use this module</value> </data> <data name="CmdNotFound_CheckCompatibility.Content" xml:space="preserve"> <value>Check if your PowerShell configuration is compatible</value> </data> <data name="CmdNotFound_InstallButton.Content" xml:space="preserve"> <value>Install</value> </data> <data name="CmdNotFound_UninstallButton.Content" xml:space="preserve"> <value>Uninstall</value> </data> <data name="Oobe_CmdNotFound.Description" xml:space="preserve"> <value>Command Not Found detects an error thrown by a command in PowerShell and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound.Title" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound_HowToUse.Text" xml:space="preserve"> <value>If a command returns an error, the module will suggest a WinGet package that may provide the relevant executable.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="GeneralPage_WarningsElevatedApps.Header" xml:space="preserve"> <value>Elevated Apps warnings </value> </data> <data name="GeneralPage_WarningsElevatedApps.Description" xml:space="preserve"> <value>Show notifications about PowerToys functionality issues when running alongside elevated applications.</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_CmdNotFound.Text" xml:space="preserve"> <value>Learn more about Command Not Found</value> <comment> Command Not Found is the name of the module. </comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="Shell_CmdNotFound.Content" xml:space="preserve"> <value>Command Not Found</value> <comment>Product name: Navigation view item name for Command Not Found</comment> </data> <data name="CmdNotFound.ModuleDescription" xml:space="preserve"> <value>A PowerShell module that detects an error thrown by a command and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound.ModuleTitle" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable.Header" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable_DescriptionText.Text" xml:space="preserve"> <value>Add this module to the PowerShell 7 profile script so that it is enabled with every new session</value> </data> <data name="CmdNotFound_ModuleInstallationLogs.Text" xml:space="preserve"> <value>Installation logs</value> </data> <data name="CmdNotFound_CheckPowerShellVersionButtonControl.Description" xml:space="preserve"> <value>PowerShell 7 is required to use this module</value> </data> <data name="CmdNotFound_CheckCompatibility.Content" xml:space="preserve"> <value>Check if your PowerShell configuration is compatible</value> </data> <data name="CmdNotFound_InstallButton.Content" xml:space="preserve"> <value>Install</value> </data> <data name="CmdNotFound_UninstallButton.Content" xml:space="preserve"> <value>Uninstall</value> </data> <data name="Oobe_CmdNotFound.Description" xml:space="preserve"> <value>Command Not Found detects an error thrown by a command in PowerShell and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound.Title" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound_HowToUse.Text" xml:space="preserve"> <value>If a command returns an error, the module will suggest a WinGet package that may provide the relevant executable.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
gokcekantarci
7c0f24df65afd8446da9a1e4c479ecb2d41796d8
f60c4fd2f306e7452c7266e77a091a3d541bade8
Text like "Toggle this setting to..." is really too much here :) ```suggestion <value>Show notifications about PowerToys functionality issues when running alongside elevated applications.</value> ```
Jay-o-Way
90
microsoft/PowerToys
30,628
Settings warning elevated apps
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request https://github.com/microsoft/PowerToys/pull/30607#issuecomment-1869664166 The development mentioned in the comment in the previous PR has been made. A new setting has been added to General settings. With this setting, elevated apps warnings can be turned on or off. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested with elevated and non-elevated applications with the setting was off. Warning not seen. - Tested with elevated and non-elevated applications with the setting was on. Warning was observed only in elevated version. - Tested separately for Aot and FancyZones.
null
2023-12-28 11:01:19+00:00
2024-01-03 17:22:54+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_CmdNotFound.Text" xml:space="preserve"> <value>Learn more about Command Not Found</value> <comment> Command Not Found is the name of the module. </comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="Shell_CmdNotFound.Content" xml:space="preserve"> <value>Command Not Found</value> <comment>Product name: Navigation view item name for Command Not Found</comment> </data> <data name="CmdNotFound.ModuleDescription" xml:space="preserve"> <value>A PowerShell module that detects an error thrown by a command and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound.ModuleTitle" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable.Header" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable_DescriptionText.Text" xml:space="preserve"> <value>Add this module to the PowerShell 7 profile script so that it is enabled with every new session</value> </data> <data name="CmdNotFound_ModuleInstallationLogs.Text" xml:space="preserve"> <value>Installation logs</value> </data> <data name="CmdNotFound_CheckPowerShellVersionButtonControl.Description" xml:space="preserve"> <value>PowerShell 7 is required to use this module</value> </data> <data name="CmdNotFound_CheckCompatibility.Content" xml:space="preserve"> <value>Check if your PowerShell configuration is compatible</value> </data> <data name="CmdNotFound_InstallButton.Content" xml:space="preserve"> <value>Install</value> </data> <data name="CmdNotFound_UninstallButton.Content" xml:space="preserve"> <value>Uninstall</value> </data> <data name="Oobe_CmdNotFound.Description" xml:space="preserve"> <value>Command Not Found detects an error thrown by a command in PowerShell and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound.Title" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound_HowToUse.Text" xml:space="preserve"> <value>If a command returns an error, the module will suggest a WinGet package that may provide the relevant executable.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="GeneralPage_WarningsElevatedApps.Header" xml:space="preserve"> <value>Elevated Apps warnings </value> </data> <data name="GeneralPage_WarningsElevatedApps.Description" xml:space="preserve"> <value>Show notifications about PowerToys functionality issues when running alongside elevated applications.</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_CmdNotFound.Text" xml:space="preserve"> <value>Learn more about Command Not Found</value> <comment> Command Not Found is the name of the module. </comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="Shell_CmdNotFound.Content" xml:space="preserve"> <value>Command Not Found</value> <comment>Product name: Navigation view item name for Command Not Found</comment> </data> <data name="CmdNotFound.ModuleDescription" xml:space="preserve"> <value>A PowerShell module that detects an error thrown by a command and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound.ModuleTitle" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable.Header" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="CmdNotFound_Enable_DescriptionText.Text" xml:space="preserve"> <value>Add this module to the PowerShell 7 profile script so that it is enabled with every new session</value> </data> <data name="CmdNotFound_ModuleInstallationLogs.Text" xml:space="preserve"> <value>Installation logs</value> </data> <data name="CmdNotFound_CheckPowerShellVersionButtonControl.Description" xml:space="preserve"> <value>PowerShell 7 is required to use this module</value> </data> <data name="CmdNotFound_CheckCompatibility.Content" xml:space="preserve"> <value>Check if your PowerShell configuration is compatible</value> </data> <data name="CmdNotFound_InstallButton.Content" xml:space="preserve"> <value>Install</value> </data> <data name="CmdNotFound_UninstallButton.Content" xml:space="preserve"> <value>Uninstall</value> </data> <data name="Oobe_CmdNotFound.Description" xml:space="preserve"> <value>Command Not Found detects an error thrown by a command in PowerShell and suggests a relevant WinGet package to install, if available.</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound.Title" xml:space="preserve"> <value>Command Not Found</value> <comment>"Command Not Found" is a product name</comment> </data> <data name="Oobe_CmdNotFound_HowToUse.Text" xml:space="preserve"> <value>If a command returns an error, the module will suggest a WinGet package that may provide the relevant executable.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
gokcekantarci
7c0f24df65afd8446da9a1e4c479ecb2d41796d8
f60c4fd2f306e7452c7266e77a091a3d541bade8
```suggestion <data name="GeneralPage_WarningsElevatedApps.Description" xml:space="preserve"> ```
jaimecbernardo
91
microsoft/PowerToys
30,609
[Updates] Add setting and policy to disable Whats new after updates
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request There was a request for adding a policy to disable showing the Whats New popup after updates. This PR adds a setting and a gpo for doing this. **Note: I have changed the text since creating the screenshots.** ![image](https://github.com/microsoft/PowerToys/assets/61519853/23d1458d-cb18-4204-8a92-bc52bd5f71fc) ![image](https://github.com/microsoft/PowerToys/assets/61519853/14d9f556-fbc2-44e1-ae63-615d3b5a21e4) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #27413 - [x] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [x] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx => Issue #30652 <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested the behavior of the settings ui. - I can't test the behavior of the runner code. This must be done by the reviewers.
null
2023-12-26 17:04:25+00:00
2024-01-18 15:18:17+00:00
src/gpo/assets/PowerToys.admx
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) Microsoft Corporation. Licensed under the MIT License. --> <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.7" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> <policyNamespaces> <target prefix="powertoys" namespace="Microsoft.Policies.PowerToys" /> </policyNamespaces> <resources minRequiredRevision="1.7"/><!-- Last changed with PowerToys v0.77.0 --> <supportedOn> <definitions> <definition name="SUPPORTED_POWERTOYS_0_64_0" displayName="$(string.SUPPORTED_POWERTOYS_0_64_0)"/> <definition name="SUPPORTED_POWERTOYS_0_68_0" displayName="$(string.SUPPORTED_POWERTOYS_0_68_0)"/> <definition name="SUPPORTED_POWERTOYS_0_69_0" displayName="$(string.SUPPORTED_POWERTOYS_0_69_0)"/> <definition name="SUPPORTED_POWERTOYS_0_70_0" displayName="$(string.SUPPORTED_POWERTOYS_0_70_0)"/> <definition name="SUPPORTED_POWERTOYS_0_73_0" displayName="$(string.SUPPORTED_POWERTOYS_0_73_0)"/> <definition name="SUPPORTED_POWERTOYS_0_75_0" displayName="$(string.SUPPORTED_POWERTOYS_0_75_0)"/> <definition name="SUPPORTED_POWERTOYS_0_76_0" displayName="$(string.SUPPORTED_POWERTOYS_0_76_0)"/> <definition name="SUPPORTED_POWERTOYS_0_77_0" displayName="$(string.SUPPORTED_POWERTOYS_0_77_0)"/> </definitions> </supportedOn> <categories> <category name="PowerToys" displayName="$(string.PowerToys)" /> <category name="InstallerUpdates" displayName="$(string.InstallerUpdates)"> <parentCategory ref="PowerToys" /> </category> <category name="PowerToysRun" displayName="$(string.PowerToysRun)"> <parentCategory ref="PowerToys" /> </category> </categories> <policies> <policy name="ConfigureGlobalUtilityEnabledState" class="Both" displayName="$(string.ConfigureGlobalUtilityEnabledState)" explainText="$(string.ConfigureGlobalUtilityEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="ConfigureGlobalUtilityEnabledState"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAlwaysOnTop" class="Both" displayName="$(string.ConfigureEnabledUtilityAlwaysOnTop)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAlwaysOnTop"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAwake" class="Both" displayName="$(string.ConfigureEnabledUtilityAwake)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAwake"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCmdNotFound" class="Both" displayName="$(string.ConfigureEnabledUtilityCmdNotFound)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCmdNotFound"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_77_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityColorPicker" class="Both" displayName="$(string.ConfigureEnabledUtilityColorPicker)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityColorPicker"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCropAndLock" class="Both" displayName="$(string.ConfigureEnabledUtilityCropAndLock)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCropAndLock"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_73_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityEnvironmentVariables" class="Both" displayName="$(string.ConfigureEnabledUtilityEnvironmentVariables)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityEnvironmentVariables"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFancyZones" class="Both" displayName="$(string.ConfigureEnabledUtilityFancyZones)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFancyZones"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileLocksmith" class="Both" displayName="$(string.ConfigureEnabledUtilityFileLocksmith)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileLocksmith"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMarkdownPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMarkdownPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMarkdownPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMonacoPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMonacoPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMonacoPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFPreview)" explainText="$(string.ConfigureEnabledUtilityDescriptionPDFPreviewHandler)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodePreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodePreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodePreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodeThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodeThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodeThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSTLThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSTLThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSTLThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityHostsFileEditor" class="Both" displayName="$(string.ConfigureEnabledUtilityHostsFileEditor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityHostsFileEditor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityImageResizer" class="Both" displayName="$(string.ConfigureEnabledUtilityImageResizer)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityImageResizer"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityKeyboardManager" class="Both" displayName="$(string.ConfigureEnabledUtilityKeyboardManager)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityKeyboardManager"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFindMyMouse" class="Both" displayName="$(string.ConfigureEnabledUtilityFindMyMouse)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFindMyMouse"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseHighlighter" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseHighlighter)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseHighlighter"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMousePointerCrosshairs" class="Both" displayName="$(string.ConfigureEnabledUtilityMousePointerCrosshairs)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMousePointerCrosshairs"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseJump" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseJump)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseJump"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseWithoutBorders" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseWithoutBorders)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseWithoutBorders"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPastePlain" class="Both" displayName="$(string.ConfigureEnabledUtilityPastePlain)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPastePlain"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPeek" class="Both" displayName="$(string.ConfigureEnabledUtilityPeek)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPeek"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerRename" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerRename)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerRename"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerLauncher" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerLauncher)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerLauncher"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityQuickAccent" class="Both" displayName="$(string.ConfigureEnabledUtilityQuickAccent)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityQuickAccent"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityRegistryPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityRegistryPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityRegistryPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityScreenRuler" class="Both" displayName="$(string.ConfigureEnabledUtilityScreenRuler)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityScreenRuler"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityShortcutGuide" class="Both" displayName="$(string.ConfigureEnabledUtilityShortcutGuide)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityShortcutGuide"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityTextExtractor" class="Both" displayName="$(string.ConfigureEnabledUtilityTextExtractor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityTextExtractor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityVideoConferenceMute" class="Both" displayName="$(string.ConfigureEnabledUtilityVideoConferenceMute)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityVideoConferenceMute"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisablePerUserInstallation" class="Machine" displayName="$(string.DisablePerUserInstallation)" explainText="$(string.DisablePerUserInstallationDescription)" key="Software\Policies\PowerToys" valueName="PerUserInstallationDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisableAutomaticUpdateDownload" class="Both" displayName="$(string.DisableAutomaticUpdateDownload)" explainText="$(string.DisableAutomaticUpdateDownloadDescription)" key="Software\Policies\PowerToys" valueName="AutomaticUpdateDownloadDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="SuspendNewUpdateToast" class="Both" displayName="$(string.SuspendNewUpdateToast)" explainText="$(string.SuspendNewUpdateToastDescription)" key="Software\Policies\PowerToys" valueName="SuspendNewUpdateAvailableToast"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <!-- This policy is implemented for later usage (PT v1.0 and later) and therefore inactive. (To make it working please update `src/runner/UpdateUtils.cpp`) <policy name="DisablePeriodicUpdateCheck" class="Both" displayName="$(string.DisablePeriodicUpdateCheck)" explainText="$(string.DisablePeriodicUpdateCheckDescription)" key="Software\Policies\PowerToys" valueName="PeriodicUpdateCheckDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> --> <policy name="AllowExperimentation" class="Both" displayName="$(string.AllowExperimentation)" explainText="$(string.AllowExperimentationDescription)" key="Software\Policies\PowerToys" valueName="AllowExperimentation"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunAllPluginsEnabledState" class="Both" displayName="$(string.PowerToysRunAllPluginsEnabledState)" explainText="$(string.PowerToysRunAllPluginsEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="PowerLauncherAllPluginsEnabledState"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunIndividualPluginEnabledState" class="Both" displayName="$(string.PowerToysRunIndividualPluginEnabledState)" explainText="$(string.PowerToysRunIndividualPluginEnabledStateDescription)" presentation="$(presentation.PowerToysRunIndividualPluginEnabledState)" key="Software\Policies\PowerToys\PowerLauncherIndividualPluginEnabledList"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0"/> <elements> <list id="PowerToysRunIndividualPluginEnabledList" explicitValue="true" /> </elements> </policy> </policies> </policyDefinitions>
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) Microsoft Corporation. Licensed under the MIT License. --> <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.8" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> <policyNamespaces> <target prefix="powertoys" namespace="Microsoft.Policies.PowerToys" /> </policyNamespaces> <resources minRequiredRevision="1.8"/><!-- Last changed with PowerToys v0.78.0 --> <supportedOn> <definitions> <definition name="SUPPORTED_POWERTOYS_0_64_0" displayName="$(string.SUPPORTED_POWERTOYS_0_64_0)"/> <definition name="SUPPORTED_POWERTOYS_0_68_0" displayName="$(string.SUPPORTED_POWERTOYS_0_68_0)"/> <definition name="SUPPORTED_POWERTOYS_0_69_0" displayName="$(string.SUPPORTED_POWERTOYS_0_69_0)"/> <definition name="SUPPORTED_POWERTOYS_0_70_0" displayName="$(string.SUPPORTED_POWERTOYS_0_70_0)"/> <definition name="SUPPORTED_POWERTOYS_0_73_0" displayName="$(string.SUPPORTED_POWERTOYS_0_73_0)"/> <definition name="SUPPORTED_POWERTOYS_0_75_0" displayName="$(string.SUPPORTED_POWERTOYS_0_75_0)"/> <definition name="SUPPORTED_POWERTOYS_0_76_0" displayName="$(string.SUPPORTED_POWERTOYS_0_76_0)"/> <definition name="SUPPORTED_POWERTOYS_0_77_0" displayName="$(string.SUPPORTED_POWERTOYS_0_77_0)"/> <definition name="SUPPORTED_POWERTOYS_0_78_0" displayName="$(string.SUPPORTED_POWERTOYS_0_78_0)"/> </definitions> </supportedOn> <categories> <category name="PowerToys" displayName="$(string.PowerToys)" /> <category name="InstallerUpdates" displayName="$(string.InstallerUpdates)"> <parentCategory ref="PowerToys" /> </category> <category name="PowerToysRun" displayName="$(string.PowerToysRun)"> <parentCategory ref="PowerToys" /> </category> </categories> <policies> <policy name="ConfigureGlobalUtilityEnabledState" class="Both" displayName="$(string.ConfigureGlobalUtilityEnabledState)" explainText="$(string.ConfigureGlobalUtilityEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="ConfigureGlobalUtilityEnabledState"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAlwaysOnTop" class="Both" displayName="$(string.ConfigureEnabledUtilityAlwaysOnTop)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAlwaysOnTop"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityAwake" class="Both" displayName="$(string.ConfigureEnabledUtilityAwake)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityAwake"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCmdNotFound" class="Both" displayName="$(string.ConfigureEnabledUtilityCmdNotFound)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCmdNotFound"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_77_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityColorPicker" class="Both" displayName="$(string.ConfigureEnabledUtilityColorPicker)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityColorPicker"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityCropAndLock" class="Both" displayName="$(string.ConfigureEnabledUtilityCropAndLock)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityCropAndLock"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_73_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityEnvironmentVariables" class="Both" displayName="$(string.ConfigureEnabledUtilityEnvironmentVariables)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityEnvironmentVariables"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFancyZones" class="Both" displayName="$(string.ConfigureEnabledUtilityFancyZones)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFancyZones"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileLocksmith" class="Both" displayName="$(string.ConfigureEnabledUtilityFileLocksmith)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileLocksmith"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMarkdownPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMarkdownPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMarkdownPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerMonacoPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerMonacoPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerMonacoPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFPreview)" explainText="$(string.ConfigureEnabledUtilityDescriptionPDFPreviewHandler)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodePreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodePreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodePreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSVGThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSVGThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSVGThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerPDFThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerPDFThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerPDFThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerGcodeThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerGcodeThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerGcodeThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerQOIThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerQOIThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerQOIThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_76_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFileExplorerSTLThumbnails" class="Both" displayName="$(string.ConfigureEnabledUtilityFileExplorerSTLThumbnails)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFileExplorerSTLThumbnails"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityHostsFileEditor" class="Both" displayName="$(string.ConfigureEnabledUtilityHostsFileEditor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityHostsFileEditor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityImageResizer" class="Both" displayName="$(string.ConfigureEnabledUtilityImageResizer)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityImageResizer"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityKeyboardManager" class="Both" displayName="$(string.ConfigureEnabledUtilityKeyboardManager)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityKeyboardManager"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityFindMyMouse" class="Both" displayName="$(string.ConfigureEnabledUtilityFindMyMouse)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityFindMyMouse"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseHighlighter" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseHighlighter)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseHighlighter"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMousePointerCrosshairs" class="Both" displayName="$(string.ConfigureEnabledUtilityMousePointerCrosshairs)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMousePointerCrosshairs"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseJump" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseJump)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseJump"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityMouseWithoutBorders" class="Both" displayName="$(string.ConfigureEnabledUtilityMouseWithoutBorders)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityMouseWithoutBorders"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPastePlain" class="Both" displayName="$(string.ConfigureEnabledUtilityPastePlain)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPastePlain"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPeek" class="Both" displayName="$(string.ConfigureEnabledUtilityPeek)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPeek"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_70_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerRename" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerRename)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerRename"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityPowerLauncher" class="Both" displayName="$(string.ConfigureEnabledUtilityPowerLauncher)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityPowerLauncher"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityQuickAccent" class="Both" displayName="$(string.ConfigureEnabledUtilityQuickAccent)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityQuickAccent"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityRegistryPreview" class="Both" displayName="$(string.ConfigureEnabledUtilityRegistryPreview)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityRegistryPreview"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityScreenRuler" class="Both" displayName="$(string.ConfigureEnabledUtilityScreenRuler)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityScreenRuler"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityShortcutGuide" class="Both" displayName="$(string.ConfigureEnabledUtilityShortcutGuide)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityShortcutGuide"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityTextExtractor" class="Both" displayName="$(string.ConfigureEnabledUtilityTextExtractor)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityTextExtractor"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="ConfigureEnabledUtilityVideoConferenceMute" class="Both" displayName="$(string.ConfigureEnabledUtilityVideoConferenceMute)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityVideoConferenceMute"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_64_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisablePerUserInstallation" class="Machine" displayName="$(string.DisablePerUserInstallation)" explainText="$(string.DisablePerUserInstallationDescription)" key="Software\Policies\PowerToys" valueName="PerUserInstallationDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_69_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="DisableAutomaticUpdateDownload" class="Both" displayName="$(string.DisableAutomaticUpdateDownload)" explainText="$(string.DisableAutomaticUpdateDownloadDescription)" key="Software\Policies\PowerToys" valueName="AutomaticUpdateDownloadDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="SuspendNewUpdateToast" class="Both" displayName="$(string.SuspendNewUpdateToast)" explainText="$(string.SuspendNewUpdateToastDescription)" key="Software\Policies\PowerToys" valueName="SuspendNewUpdateAvailableToast"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <!-- This policy is implemented for later usage (PT v1.0 and later) and therefore inactive. (To make it working please update `src/runner/UpdateUtils.cpp`) <policy name="DisablePeriodicUpdateCheck" class="Both" displayName="$(string.DisablePeriodicUpdateCheck)" explainText="$(string.DisablePeriodicUpdateCheckDescription)" key="Software\Policies\PowerToys" valueName="PeriodicUpdateCheckDisabled"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> --> <policy name="DoNotShowWhatsNewAfterUpdates" class="Both" displayName="$(string.DoNotShowWhatsNewAfterUpdates)" explainText="$(string.DoNotShowWhatsNewAfterUpdatesDescription)" key="Software\Policies\PowerToys" valueName="DoNotShowWhatsNewAfterUpdates"> <parentCategory ref="InstallerUpdates" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_78_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="AllowExperimentation" class="Both" displayName="$(string.AllowExperimentation)" explainText="$(string.AllowExperimentationDescription)" key="Software\Policies\PowerToys" valueName="AllowExperimentation"> <parentCategory ref="PowerToys" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_68_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunAllPluginsEnabledState" class="Both" displayName="$(string.PowerToysRunAllPluginsEnabledState)" explainText="$(string.PowerToysRunAllPluginsEnabledStateDescription)" key="Software\Policies\PowerToys" valueName="PowerLauncherAllPluginsEnabledState"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0" /> <enabledValue> <decimal value="1" /> </enabledValue> <disabledValue> <decimal value="0" /> </disabledValue> </policy> <policy name="PowerToysRunIndividualPluginEnabledState" class="Both" displayName="$(string.PowerToysRunIndividualPluginEnabledState)" explainText="$(string.PowerToysRunIndividualPluginEnabledStateDescription)" presentation="$(presentation.PowerToysRunIndividualPluginEnabledState)" key="Software\Policies\PowerToys\PowerLauncherIndividualPluginEnabledList"> <parentCategory ref="PowerToysRun" /> <supportedOn ref="SUPPORTED_POWERTOYS_0_75_0"/> <elements> <list id="PowerToysRunIndividualPluginEnabledList" explicitValue="true" /> </elements> </policy> </policies> </policyDefinitions>
htcfreek
d51dbbe11d80394258c15b8b776db1b4edfd2cfb
f07c2314a9d3081ab2c59791651c011238b2e547
Revision for 0.78.0 has to be 1.8 or higher.
htcfreek
92
microsoft/PowerToys
30,557
[Settings] Fix "What's new" icon
## Summary of the Pull Request - Changed icon so it was not the same as the Welcome item, addressing: #30482 ![image](https://github.com/microsoft/PowerToys/assets/9866362/b0281bb3-e1b0-45cb-aa9e-30dba4a4af14) - Fixed alphabetical ordering of File Explorer Preview and File Locksmith - General icon is now animating addressing: https://github.com/microsoft/PowerToys/issues/30525 ## PR Checklist - [x] **Closes:** #30525, #30482 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-21 12:51:49+00:00
2023-12-25 17:31:07+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/ShellPage.xaml
<UserControl x:Class="Microsoft.PowerToys.Settings.UI.Views.ShellPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:animations="using:CommunityToolkit.WinUI.Animations" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helpers="using:Microsoft.PowerToys.Settings.UI.Helpers" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" xmlns:views="using:Microsoft.PowerToys.Settings.UI.Views" HighContrastAdjustment="None" Loaded="ShellPage_Loaded" mc:Ignorable="d"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="Loaded"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.LoadedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Grid x:Name="RootGrid"> <Grid.RowDefinitions> <RowDefinition Height="48" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Button x:Name="PaneToggleBtn" Width="48" HorizontalAlignment="Left" VerticalAlignment="Center" Click="PaneToggleBtn_Click" Style="{StaticResource PaneToggleButtonStyle}" /> <Grid x:Name="AppTitleBar" Height="{Binding ElementName=navigationView, Path=CompactPaneLength}" Margin="48,0,0,0" VerticalAlignment="Top" IsHitTestVisible="True"> <animations:Implicit.Animations> <animations:OffsetAnimation Duration="0:0:0.3" /> </animations:Implicit.Animations> <StackPanel Orientation="Horizontal"> <Image Width="16" Height="16" HorizontalAlignment="Left" Source="/Assets/Settings/icon.ico" /> <TextBlock x:Name="AppTitleBarText" Margin="12,0,0,0" VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" /> <TextBlock x:Name="DebugMessage" Margin="8,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="Debug" TextWrapping="NoWrap" Visibility="Collapsed" /> </StackPanel> </Grid> <NavigationView x:Name="navigationView" Grid.Row="1" Canvas.ZIndex="0" CompactModeThresholdWidth="1007" DisplayModeChanged="NavigationView_DisplayModeChanged" ExpandedModeThresholdWidth="1007" IsBackButtonVisible="Collapsed" IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" IsPaneToggleButtonVisible="False" IsSettingsVisible="False" IsTitleBarAutoPaddingEnabled="False" PaneClosed="NavigationView_PaneClosed" PaneOpened="NavigationView_PaneOpened" SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" SelectionChanged="NavigationView_SelectionChanged"> <NavigationView.Resources> <SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" /> <SolidColorBrush x:Key="NavigationViewContentGridBorderBrush" Color="Transparent" /> </NavigationView.Resources> <NavigationView.MenuItems> <NavigationViewItem x:Uid="Shell_Dashboard" helpers:NavHelper.NavigateTo="views:DashboardPage" Icon="{ui:FontIcon Glyph=&#xE80F;}" /> <NavigationViewItem x:Uid="Shell_General" helpers:NavHelper.NavigateTo="views:GeneralPage" Icon="{ui:FontIcon Glyph=&#xE713;}" /> <NavigationViewItemSeparator /> <NavigationViewItem x:Uid="Shell_AlwaysOnTop" helpers:NavHelper.NavigateTo="views:AlwaysOnTopPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" /> <NavigationViewItem x:Uid="Shell_Awake" helpers:NavHelper.NavigateTo="views:AwakePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAwake.png}" /> <NavigationViewItem x:Uid="Shell_ColorPicker" helpers:NavHelper.NavigateTo="views:ColorPickerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsColorPicker.png}" /> <NavigationViewItem x:Uid="Shell_CropAndLock" helpers:NavHelper.NavigateTo="views:CropAndLockPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" /> <NavigationViewItem x:Uid="Shell_EnvironmentVariables" helpers:NavHelper.NavigateTo="views:EnvironmentVariablesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" /> <NavigationViewItem x:Uid="Shell_FancyZones" helpers:NavHelper.NavigateTo="views:FancyZonesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" /> <NavigationViewItem x:Uid="Shell_FileLocksmith" helpers:NavHelper.NavigateTo="views:FileLocksmithPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" /> <NavigationViewItem x:Uid="Shell_PowerPreview" helpers:NavHelper.NavigateTo="views:PowerPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileExplorerPreview.png}" /> <NavigationViewItem x:Uid="Shell_Hosts" helpers:NavHelper.NavigateTo="views:HostsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" /> <NavigationViewItem x:Uid="Shell_ImageResizer" helpers:NavHelper.NavigateTo="views:ImageResizerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" /> <NavigationViewItem x:Uid="Shell_KeyboardManager" helpers:NavHelper.NavigateTo="views:KeyboardManagerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" /> <NavigationViewItem x:Uid="Shell_MouseUtilities" helpers:NavHelper.NavigateTo="views:MouseUtilsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseUtils.png}" /> <NavigationViewItem x:Uid="Shell_MouseWithoutBorders" helpers:NavHelper.NavigateTo="views:MouseWithoutBordersPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" /> <NavigationViewItem x:Uid="Shell_PastePlain" helpers:NavHelper.NavigateTo="views:PastePlainPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" /> <NavigationViewItem x:Uid="Shell_Peek" helpers:NavHelper.NavigateTo="views:PeekPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" /> <NavigationViewItem x:Uid="Shell_PowerRename" helpers:NavHelper.NavigateTo="views:PowerRenamePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" /> <NavigationViewItem x:Uid="Shell_PowerLauncher" helpers:NavHelper.NavigateTo="views:PowerLauncherPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" /> <NavigationViewItem x:Uid="Shell_QuickAccent" helpers:NavHelper.NavigateTo="views:PowerAccentPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" /> <NavigationViewItem x:Uid="Shell_RegistryPreview" helpers:NavHelper.NavigateTo="views:RegistryPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" /> <NavigationViewItem x:Uid="Shell_MeasureTool" helpers:NavHelper.NavigateTo="views:MeasureToolPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsScreenRuler.png}" /> <NavigationViewItem x:Uid="Shell_ShortcutGuide" helpers:NavHelper.NavigateTo="views:ShortcutGuidePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" /> <NavigationViewItem x:Uid="Shell_TextExtractor" helpers:NavHelper.NavigateTo="views:PowerOcrPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" /> <NavigationViewItem x:Uid="Shell_VideoConference" helpers:NavHelper.NavigateTo="views:VideoConferencePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}" /> </NavigationView.MenuItems> <NavigationView.PaneFooter> <StackPanel Orientation="Vertical"> <NavigationViewItem x:Uid="OOBE_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="OOBEItem_Tapped" /> <NavigationViewItem x:Uid="WhatIsNew_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="WhatIsNewItem_Tapped" /> <NavigationViewItem x:Uid="Feedback_NavViewItem" Icon="{ui:FontIcon Glyph=&#xED15;}" Tapped="FeedbackItem_Tapped" /> </StackPanel> </NavigationView.PaneFooter> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="ItemInvoked"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.ItemInvokedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Frame x:Name="shellFrame" /> </NavigationView> </Grid> </UserControl>
<UserControl x:Class="Microsoft.PowerToys.Settings.UI.Views.ShellPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:animations="using:CommunityToolkit.WinUI.Animations" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helpers="using:Microsoft.PowerToys.Settings.UI.Helpers" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" xmlns:views="using:Microsoft.PowerToys.Settings.UI.Views" HighContrastAdjustment="None" Loaded="ShellPage_Loaded" mc:Ignorable="d"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="Loaded"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.LoadedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Grid x:Name="RootGrid"> <Grid.RowDefinitions> <RowDefinition Height="48" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Button x:Name="PaneToggleBtn" Width="48" HorizontalAlignment="Left" VerticalAlignment="Center" Click="PaneToggleBtn_Click" Style="{StaticResource PaneToggleButtonStyle}" /> <Grid x:Name="AppTitleBar" Height="{Binding ElementName=navigationView, Path=CompactPaneLength}" Margin="48,0,0,0" VerticalAlignment="Top" IsHitTestVisible="True"> <animations:Implicit.Animations> <animations:OffsetAnimation Duration="0:0:0.3" /> </animations:Implicit.Animations> <StackPanel Orientation="Horizontal"> <Image Width="16" Height="16" HorizontalAlignment="Left" Source="/Assets/Settings/icon.ico" /> <TextBlock x:Name="AppTitleBarText" Margin="12,0,0,0" VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" /> <TextBlock x:Name="DebugMessage" Margin="8,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="Debug" TextWrapping="NoWrap" Visibility="Collapsed" /> </StackPanel> </Grid> <NavigationView x:Name="navigationView" Grid.Row="1" Canvas.ZIndex="0" CompactModeThresholdWidth="1007" DisplayModeChanged="NavigationView_DisplayModeChanged" ExpandedModeThresholdWidth="1007" IsBackButtonVisible="Collapsed" IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" IsPaneToggleButtonVisible="False" IsSettingsVisible="False" IsTitleBarAutoPaddingEnabled="False" PaneClosed="NavigationView_PaneClosed" PaneOpened="NavigationView_PaneOpened" SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" SelectionChanged="NavigationView_SelectionChanged"> <NavigationView.Resources> <SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" /> <SolidColorBrush x:Key="NavigationViewContentGridBorderBrush" Color="Transparent" /> </NavigationView.Resources> <NavigationView.MenuItems> <NavigationViewItem x:Uid="Shell_Dashboard" helpers:NavHelper.NavigateTo="views:DashboardPage" Icon="{ui:FontIcon Glyph=&#xE80F;}" /> <NavigationViewItem x:Uid="Shell_General" helpers:NavHelper.NavigateTo="views:GeneralPage"> <NavigationViewItem.Icon> <AnimatedIcon> <AnimatedIcon.Source> <animatedvisuals:AnimatedSettingsVisualSource /> </AnimatedIcon.Source> <AnimatedIcon.FallbackIconSource> <SymbolIconSource Symbol="Setting" /> </AnimatedIcon.FallbackIconSource> </AnimatedIcon> </NavigationViewItem.Icon> </NavigationViewItem> <NavigationViewItemSeparator /> <NavigationViewItem x:Uid="Shell_AlwaysOnTop" helpers:NavHelper.NavigateTo="views:AlwaysOnTopPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" /> <NavigationViewItem x:Uid="Shell_Awake" helpers:NavHelper.NavigateTo="views:AwakePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAwake.png}" /> <NavigationViewItem x:Uid="Shell_ColorPicker" helpers:NavHelper.NavigateTo="views:ColorPickerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsColorPicker.png}" /> <NavigationViewItem x:Uid="Shell_CropAndLock" helpers:NavHelper.NavigateTo="views:CropAndLockPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" /> <NavigationViewItem x:Uid="Shell_EnvironmentVariables" helpers:NavHelper.NavigateTo="views:EnvironmentVariablesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" /> <NavigationViewItem x:Uid="Shell_FancyZones" helpers:NavHelper.NavigateTo="views:FancyZonesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" /> <NavigationViewItem x:Uid="Shell_PowerPreview" helpers:NavHelper.NavigateTo="views:PowerPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileExplorerPreview.png}" /> <NavigationViewItem x:Uid="Shell_FileLocksmith" helpers:NavHelper.NavigateTo="views:FileLocksmithPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" /> <NavigationViewItem x:Uid="Shell_Hosts" helpers:NavHelper.NavigateTo="views:HostsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" /> <NavigationViewItem x:Uid="Shell_ImageResizer" helpers:NavHelper.NavigateTo="views:ImageResizerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" /> <NavigationViewItem x:Uid="Shell_KeyboardManager" helpers:NavHelper.NavigateTo="views:KeyboardManagerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" /> <NavigationViewItem x:Uid="Shell_MouseUtilities" helpers:NavHelper.NavigateTo="views:MouseUtilsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseUtils.png}" /> <NavigationViewItem x:Uid="Shell_MouseWithoutBorders" helpers:NavHelper.NavigateTo="views:MouseWithoutBordersPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" /> <NavigationViewItem x:Uid="Shell_PastePlain" helpers:NavHelper.NavigateTo="views:PastePlainPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" /> <NavigationViewItem x:Uid="Shell_Peek" helpers:NavHelper.NavigateTo="views:PeekPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" /> <NavigationViewItem x:Uid="Shell_PowerRename" helpers:NavHelper.NavigateTo="views:PowerRenamePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" /> <NavigationViewItem x:Uid="Shell_PowerLauncher" helpers:NavHelper.NavigateTo="views:PowerLauncherPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" /> <NavigationViewItem x:Uid="Shell_QuickAccent" helpers:NavHelper.NavigateTo="views:PowerAccentPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" /> <NavigationViewItem x:Uid="Shell_RegistryPreview" helpers:NavHelper.NavigateTo="views:RegistryPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" /> <NavigationViewItem x:Uid="Shell_MeasureTool" helpers:NavHelper.NavigateTo="views:MeasureToolPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsScreenRuler.png}" /> <NavigationViewItem x:Uid="Shell_ShortcutGuide" helpers:NavHelper.NavigateTo="views:ShortcutGuidePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" /> <NavigationViewItem x:Uid="Shell_TextExtractor" helpers:NavHelper.NavigateTo="views:PowerOcrPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" /> <NavigationViewItem x:Uid="Shell_VideoConference" helpers:NavHelper.NavigateTo="views:VideoConferencePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}" /> </NavigationView.MenuItems> <NavigationView.PaneFooter> <StackPanel Orientation="Vertical"> <NavigationViewItem x:Uid="OOBE_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="OOBEItem_Tapped" /> <NavigationViewItem x:Uid="WhatIsNew_NavViewItem" Icon="{ui:FontIcon Glyph=&#xE789;}" Tapped="WhatIsNewItem_Tapped" /> <NavigationViewItem x:Uid="Feedback_NavViewItem" Icon="{ui:FontIcon Glyph=&#xED15;}" Tapped="FeedbackItem_Tapped" /> </StackPanel> </NavigationView.PaneFooter> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="ItemInvoked"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.ItemInvokedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Frame x:Name="shellFrame" /> </NavigationView> </Grid> </UserControl>
niels9001
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
3e4539227455e9801b86df077ffcaab3a2af1a09
## Unrecognized Spelling [animatedvisuals](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/594)
github-advanced-security[bot]
93
microsoft/PowerToys
30,557
[Settings] Fix "What's new" icon
## Summary of the Pull Request - Changed icon so it was not the same as the Welcome item, addressing: #30482 ![image](https://github.com/microsoft/PowerToys/assets/9866362/b0281bb3-e1b0-45cb-aa9e-30dba4a4af14) - Fixed alphabetical ordering of File Explorer Preview and File Locksmith - General icon is now animating addressing: https://github.com/microsoft/PowerToys/issues/30525 ## PR Checklist - [x] **Closes:** #30525, #30482 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-21 12:51:49+00:00
2023-12-25 17:31:07+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/ShellPage.xaml
<UserControl x:Class="Microsoft.PowerToys.Settings.UI.Views.ShellPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:animations="using:CommunityToolkit.WinUI.Animations" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helpers="using:Microsoft.PowerToys.Settings.UI.Helpers" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" xmlns:views="using:Microsoft.PowerToys.Settings.UI.Views" HighContrastAdjustment="None" Loaded="ShellPage_Loaded" mc:Ignorable="d"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="Loaded"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.LoadedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Grid x:Name="RootGrid"> <Grid.RowDefinitions> <RowDefinition Height="48" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Button x:Name="PaneToggleBtn" Width="48" HorizontalAlignment="Left" VerticalAlignment="Center" Click="PaneToggleBtn_Click" Style="{StaticResource PaneToggleButtonStyle}" /> <Grid x:Name="AppTitleBar" Height="{Binding ElementName=navigationView, Path=CompactPaneLength}" Margin="48,0,0,0" VerticalAlignment="Top" IsHitTestVisible="True"> <animations:Implicit.Animations> <animations:OffsetAnimation Duration="0:0:0.3" /> </animations:Implicit.Animations> <StackPanel Orientation="Horizontal"> <Image Width="16" Height="16" HorizontalAlignment="Left" Source="/Assets/Settings/icon.ico" /> <TextBlock x:Name="AppTitleBarText" Margin="12,0,0,0" VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" /> <TextBlock x:Name="DebugMessage" Margin="8,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="Debug" TextWrapping="NoWrap" Visibility="Collapsed" /> </StackPanel> </Grid> <NavigationView x:Name="navigationView" Grid.Row="1" Canvas.ZIndex="0" CompactModeThresholdWidth="1007" DisplayModeChanged="NavigationView_DisplayModeChanged" ExpandedModeThresholdWidth="1007" IsBackButtonVisible="Collapsed" IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" IsPaneToggleButtonVisible="False" IsSettingsVisible="False" IsTitleBarAutoPaddingEnabled="False" PaneClosed="NavigationView_PaneClosed" PaneOpened="NavigationView_PaneOpened" SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" SelectionChanged="NavigationView_SelectionChanged"> <NavigationView.Resources> <SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" /> <SolidColorBrush x:Key="NavigationViewContentGridBorderBrush" Color="Transparent" /> </NavigationView.Resources> <NavigationView.MenuItems> <NavigationViewItem x:Uid="Shell_Dashboard" helpers:NavHelper.NavigateTo="views:DashboardPage" Icon="{ui:FontIcon Glyph=&#xE80F;}" /> <NavigationViewItem x:Uid="Shell_General" helpers:NavHelper.NavigateTo="views:GeneralPage" Icon="{ui:FontIcon Glyph=&#xE713;}" /> <NavigationViewItemSeparator /> <NavigationViewItem x:Uid="Shell_AlwaysOnTop" helpers:NavHelper.NavigateTo="views:AlwaysOnTopPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" /> <NavigationViewItem x:Uid="Shell_Awake" helpers:NavHelper.NavigateTo="views:AwakePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAwake.png}" /> <NavigationViewItem x:Uid="Shell_ColorPicker" helpers:NavHelper.NavigateTo="views:ColorPickerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsColorPicker.png}" /> <NavigationViewItem x:Uid="Shell_CropAndLock" helpers:NavHelper.NavigateTo="views:CropAndLockPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" /> <NavigationViewItem x:Uid="Shell_EnvironmentVariables" helpers:NavHelper.NavigateTo="views:EnvironmentVariablesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" /> <NavigationViewItem x:Uid="Shell_FancyZones" helpers:NavHelper.NavigateTo="views:FancyZonesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" /> <NavigationViewItem x:Uid="Shell_FileLocksmith" helpers:NavHelper.NavigateTo="views:FileLocksmithPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" /> <NavigationViewItem x:Uid="Shell_PowerPreview" helpers:NavHelper.NavigateTo="views:PowerPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileExplorerPreview.png}" /> <NavigationViewItem x:Uid="Shell_Hosts" helpers:NavHelper.NavigateTo="views:HostsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" /> <NavigationViewItem x:Uid="Shell_ImageResizer" helpers:NavHelper.NavigateTo="views:ImageResizerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" /> <NavigationViewItem x:Uid="Shell_KeyboardManager" helpers:NavHelper.NavigateTo="views:KeyboardManagerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" /> <NavigationViewItem x:Uid="Shell_MouseUtilities" helpers:NavHelper.NavigateTo="views:MouseUtilsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseUtils.png}" /> <NavigationViewItem x:Uid="Shell_MouseWithoutBorders" helpers:NavHelper.NavigateTo="views:MouseWithoutBordersPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" /> <NavigationViewItem x:Uid="Shell_PastePlain" helpers:NavHelper.NavigateTo="views:PastePlainPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" /> <NavigationViewItem x:Uid="Shell_Peek" helpers:NavHelper.NavigateTo="views:PeekPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" /> <NavigationViewItem x:Uid="Shell_PowerRename" helpers:NavHelper.NavigateTo="views:PowerRenamePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" /> <NavigationViewItem x:Uid="Shell_PowerLauncher" helpers:NavHelper.NavigateTo="views:PowerLauncherPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" /> <NavigationViewItem x:Uid="Shell_QuickAccent" helpers:NavHelper.NavigateTo="views:PowerAccentPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" /> <NavigationViewItem x:Uid="Shell_RegistryPreview" helpers:NavHelper.NavigateTo="views:RegistryPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" /> <NavigationViewItem x:Uid="Shell_MeasureTool" helpers:NavHelper.NavigateTo="views:MeasureToolPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsScreenRuler.png}" /> <NavigationViewItem x:Uid="Shell_ShortcutGuide" helpers:NavHelper.NavigateTo="views:ShortcutGuidePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" /> <NavigationViewItem x:Uid="Shell_TextExtractor" helpers:NavHelper.NavigateTo="views:PowerOcrPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" /> <NavigationViewItem x:Uid="Shell_VideoConference" helpers:NavHelper.NavigateTo="views:VideoConferencePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}" /> </NavigationView.MenuItems> <NavigationView.PaneFooter> <StackPanel Orientation="Vertical"> <NavigationViewItem x:Uid="OOBE_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="OOBEItem_Tapped" /> <NavigationViewItem x:Uid="WhatIsNew_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="WhatIsNewItem_Tapped" /> <NavigationViewItem x:Uid="Feedback_NavViewItem" Icon="{ui:FontIcon Glyph=&#xED15;}" Tapped="FeedbackItem_Tapped" /> </StackPanel> </NavigationView.PaneFooter> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="ItemInvoked"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.ItemInvokedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Frame x:Name="shellFrame" /> </NavigationView> </Grid> </UserControl>
<UserControl x:Class="Microsoft.PowerToys.Settings.UI.Views.ShellPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:animations="using:CommunityToolkit.WinUI.Animations" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helpers="using:Microsoft.PowerToys.Settings.UI.Helpers" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" xmlns:views="using:Microsoft.PowerToys.Settings.UI.Views" HighContrastAdjustment="None" Loaded="ShellPage_Loaded" mc:Ignorable="d"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="Loaded"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.LoadedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Grid x:Name="RootGrid"> <Grid.RowDefinitions> <RowDefinition Height="48" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Button x:Name="PaneToggleBtn" Width="48" HorizontalAlignment="Left" VerticalAlignment="Center" Click="PaneToggleBtn_Click" Style="{StaticResource PaneToggleButtonStyle}" /> <Grid x:Name="AppTitleBar" Height="{Binding ElementName=navigationView, Path=CompactPaneLength}" Margin="48,0,0,0" VerticalAlignment="Top" IsHitTestVisible="True"> <animations:Implicit.Animations> <animations:OffsetAnimation Duration="0:0:0.3" /> </animations:Implicit.Animations> <StackPanel Orientation="Horizontal"> <Image Width="16" Height="16" HorizontalAlignment="Left" Source="/Assets/Settings/icon.ico" /> <TextBlock x:Name="AppTitleBarText" Margin="12,0,0,0" VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" /> <TextBlock x:Name="DebugMessage" Margin="8,0,0,0" VerticalAlignment="Center" Foreground="{ThemeResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="Debug" TextWrapping="NoWrap" Visibility="Collapsed" /> </StackPanel> </Grid> <NavigationView x:Name="navigationView" Grid.Row="1" Canvas.ZIndex="0" CompactModeThresholdWidth="1007" DisplayModeChanged="NavigationView_DisplayModeChanged" ExpandedModeThresholdWidth="1007" IsBackButtonVisible="Collapsed" IsBackEnabled="{x:Bind ViewModel.IsBackEnabled, Mode=OneWay}" IsPaneToggleButtonVisible="False" IsSettingsVisible="False" IsTitleBarAutoPaddingEnabled="False" PaneClosed="NavigationView_PaneClosed" PaneOpened="NavigationView_PaneOpened" SelectedItem="{x:Bind ViewModel.Selected, Mode=OneWay}" SelectionChanged="NavigationView_SelectionChanged"> <NavigationView.Resources> <SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" /> <SolidColorBrush x:Key="NavigationViewContentGridBorderBrush" Color="Transparent" /> </NavigationView.Resources> <NavigationView.MenuItems> <NavigationViewItem x:Uid="Shell_Dashboard" helpers:NavHelper.NavigateTo="views:DashboardPage" Icon="{ui:FontIcon Glyph=&#xE80F;}" /> <NavigationViewItem x:Uid="Shell_General" helpers:NavHelper.NavigateTo="views:GeneralPage"> <NavigationViewItem.Icon> <AnimatedIcon> <AnimatedIcon.Source> <animatedvisuals:AnimatedSettingsVisualSource /> </AnimatedIcon.Source> <AnimatedIcon.FallbackIconSource> <SymbolIconSource Symbol="Setting" /> </AnimatedIcon.FallbackIconSource> </AnimatedIcon> </NavigationViewItem.Icon> </NavigationViewItem> <NavigationViewItemSeparator /> <NavigationViewItem x:Uid="Shell_AlwaysOnTop" helpers:NavHelper.NavigateTo="views:AlwaysOnTopPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAlwaysOnTop.png}" /> <NavigationViewItem x:Uid="Shell_Awake" helpers:NavHelper.NavigateTo="views:AwakePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsAwake.png}" /> <NavigationViewItem x:Uid="Shell_ColorPicker" helpers:NavHelper.NavigateTo="views:ColorPickerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsColorPicker.png}" /> <NavigationViewItem x:Uid="Shell_CropAndLock" helpers:NavHelper.NavigateTo="views:CropAndLockPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsCropAndLock.png}" /> <NavigationViewItem x:Uid="Shell_EnvironmentVariables" helpers:NavHelper.NavigateTo="views:EnvironmentVariablesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsEnvironmentVariables.png}" /> <NavigationViewItem x:Uid="Shell_FancyZones" helpers:NavHelper.NavigateTo="views:FancyZonesPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFancyZones.png}" /> <NavigationViewItem x:Uid="Shell_PowerPreview" helpers:NavHelper.NavigateTo="views:PowerPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileExplorerPreview.png}" /> <NavigationViewItem x:Uid="Shell_FileLocksmith" helpers:NavHelper.NavigateTo="views:FileLocksmithPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsFileLocksmith.png}" /> <NavigationViewItem x:Uid="Shell_Hosts" helpers:NavHelper.NavigateTo="views:HostsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsHosts.png}" /> <NavigationViewItem x:Uid="Shell_ImageResizer" helpers:NavHelper.NavigateTo="views:ImageResizerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsImageResizer.png}" /> <NavigationViewItem x:Uid="Shell_KeyboardManager" helpers:NavHelper.NavigateTo="views:KeyboardManagerPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsKeyboardManager.png}" /> <NavigationViewItem x:Uid="Shell_MouseUtilities" helpers:NavHelper.NavigateTo="views:MouseUtilsPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseUtils.png}" /> <NavigationViewItem x:Uid="Shell_MouseWithoutBorders" helpers:NavHelper.NavigateTo="views:MouseWithoutBordersPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsMouseWithoutBorders.png}" /> <NavigationViewItem x:Uid="Shell_PastePlain" helpers:NavHelper.NavigateTo="views:PastePlainPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPastePlain.png}" /> <NavigationViewItem x:Uid="Shell_Peek" helpers:NavHelper.NavigateTo="views:PeekPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPeek.png}" /> <NavigationViewItem x:Uid="Shell_PowerRename" helpers:NavHelper.NavigateTo="views:PowerRenamePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerRename.png}" /> <NavigationViewItem x:Uid="Shell_PowerLauncher" helpers:NavHelper.NavigateTo="views:PowerLauncherPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" /> <NavigationViewItem x:Uid="Shell_QuickAccent" helpers:NavHelper.NavigateTo="views:PowerAccentPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerAccent.png}" /> <NavigationViewItem x:Uid="Shell_RegistryPreview" helpers:NavHelper.NavigateTo="views:RegistryPreviewPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsRegistryPreview.png}" /> <NavigationViewItem x:Uid="Shell_MeasureTool" helpers:NavHelper.NavigateTo="views:MeasureToolPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsScreenRuler.png}" /> <NavigationViewItem x:Uid="Shell_ShortcutGuide" helpers:NavHelper.NavigateTo="views:ShortcutGuidePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsShortcutGuide.png}" /> <NavigationViewItem x:Uid="Shell_TextExtractor" helpers:NavHelper.NavigateTo="views:PowerOcrPage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerOcr.png}" /> <NavigationViewItem x:Uid="Shell_VideoConference" helpers:NavHelper.NavigateTo="views:VideoConferencePage" Icon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsVideoConferenceMute.png}" IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}" /> </NavigationView.MenuItems> <NavigationView.PaneFooter> <StackPanel Orientation="Vertical"> <NavigationViewItem x:Uid="OOBE_NavViewItem" Icon="{ui:FontIcon Glyph=&#xF133;}" Tapped="OOBEItem_Tapped" /> <NavigationViewItem x:Uid="WhatIsNew_NavViewItem" Icon="{ui:FontIcon Glyph=&#xE789;}" Tapped="WhatIsNewItem_Tapped" /> <NavigationViewItem x:Uid="Feedback_NavViewItem" Icon="{ui:FontIcon Glyph=&#xED15;}" Tapped="FeedbackItem_Tapped" /> </StackPanel> </NavigationView.PaneFooter> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="ItemInvoked"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.ItemInvokedCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> <Frame x:Name="shellFrame" /> </NavigationView> </Grid> </UserControl>
niels9001
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
3e4539227455e9801b86df077ffcaab3a2af1a09
## Unrecognized Spelling [animatedvisuals](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/595)
github-advanced-security[bot]
94
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/modules/launcher/PowerLauncher/ResultList.xaml
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helper="clr-namespace:PowerLauncher.Helper" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid Height="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <TextBlock x:Name="Title" Grid.Column="1" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="16" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> <ListView Grid.RowSpan="2" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid MinHeight="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <StackPanel Grid.Column="1" VerticalAlignment="Center" Orientation="Vertical"> <TextBlock x:Name="Title" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="{DynamicResource TitleFontSize}" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> </StackPanel> <ListView Grid.Column="2" Height="44" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
Only curious about the choice between opacity and a style.
Jay-o-Way
95
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/modules/launcher/PowerLauncher/ResultList.xaml
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helper="clr-namespace:PowerLauncher.Helper" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid Height="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <TextBlock x:Name="Title" Grid.Column="1" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="16" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> <ListView Grid.RowSpan="2" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid MinHeight="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <StackPanel Grid.Column="1" VerticalAlignment="Center" Orientation="Vertical"> <TextBlock x:Name="Title" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="{DynamicResource TitleFontSize}" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> </StackPanel> <ListView Grid.Column="2" Height="44" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
What about the ActualHeight of this, times the number of results?
Jay-o-Way
96
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/modules/launcher/PowerLauncher/ResultList.xaml
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:helper="clr-namespace:PowerLauncher.Helper" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid Height="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <TextBlock x:Name="Title" Grid.Column="1" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="16" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> <ListView Grid.RowSpan="2" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
<UserControl x:Class="PowerLauncher.ResultList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:converters="clr-namespace:PowerLauncher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:viewmodel="clr-namespace:PowerLauncher.ViewModel" d:DesignHeight="300" d:DesignWidth="720" mc:Ignorable="d"> <UserControl.Resources> <ResourceDictionary> <converters:HighlightTextConverter x:Key="highlightTextConverter" /> <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> <Style x:Key="CollapsableTextblock" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> <Style.Triggers> <Trigger Property="Text" Value=""> <Setter Property="Visibility" Value="Collapsed" /> </Trigger> </Style.Triggers> </Style> </ResourceDictionary> </UserControl.Resources> <ListView x:Name="SuggestionsList" x:FieldModifier="public" AutomationProperties.Name="{x:Static p:Resources.Results}" ItemsSource="{Binding Results.Results, Mode=OneWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" SelectionChanged="SuggestionsListView_SelectionChanged" SelectionMode="Single"> <ListView.Resources> <Style BasedOn="{StaticResource ResultsListViewItemStyle}" TargetType="{x:Type ListViewItem}" /> </ListView.Resources> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Margin="12,12,0,0" IsVirtualizing="{TemplateBinding VirtualizingPanel.IsVirtualizing}" VirtualizationMode="{TemplateBinding VirtualizingPanel.VirtualizationMode}" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <!-- AllowFocusOnInteraction="False" IsItemClickEnabled="True" --> <!-- Style="{StaticResource ListViewNoAnimations}" --> <ListView.ItemTemplate> <DataTemplate> <Grid MinHeight="44" Background="Transparent" ToolTipService.BetweenShowDelay="0" ToolTipService.InitialShowDelay="1000"> <Behaviors:Interaction.Triggers> <Behaviors:EventTrigger EventName="MouseEnter"> <Behaviors:InvokeCommandAction Command="{Binding ActivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> <Behaviors:EventTrigger EventName="MouseLeave"> <Behaviors:InvokeCommandAction Command="{Binding DeactivateContextButtonsHoverCommand}" /> </Behaviors:EventTrigger> </Behaviors:Interaction.Triggers> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Grid.ToolTip> <ToolTip MaxWidth="480" Opened="ToolTip_Opened" Visibility="{Binding Result.ToolTipVisibility}"> <StackPanel> <TextBlock FontWeight="SemiBold" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Title}" TextWrapping="Wrap" /> <TextBlock Margin="0,4,0,0" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{DynamicResource CollapsableTextblock}" Text="{Binding Result.ToolTipData.Text}" TextWrapping="Wrap" /> </StackPanel> </ToolTip> </Grid.ToolTip> <Image x:Name="AppIcon" Grid.RowSpan="2" Height="24" Margin="-6,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.AppIcon}" Source="{Binding Image}" /> <StackPanel Grid.Column="1" VerticalAlignment="Center" Orientation="Vertical"> <TextBlock x:Name="Title" VerticalAlignment="Bottom" AutomationProperties.Name="{x:Static p:Resources.Title}" FontSize="{DynamicResource TitleFontSize}" IsHitTestVisible="False" TextTrimming="CharacterEllipsis"> <viewmodel:ResultsViewModel.FormattedText> <MultiBinding Converter="{StaticResource highlightTextConverter}"> <Binding Path="Result.Title" /> <Binding Path="Result.TitleHighlightData" /> <Binding Path="IsSelected" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ListViewItem}}" /> </MultiBinding> </viewmodel:ResultsViewModel.FormattedText> </TextBlock> <TextBlock x:Name="Path" VerticalAlignment="Top" AutomationProperties.Name="{x:Static p:Resources.Subtitle}" Opacity="0.6" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Result.SubTitle}" TextTrimming="CharacterEllipsis" /> </StackPanel> <ListView Grid.Column="2" Height="44" HorizontalAlignment="Right" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemsCollection}" Background="Transparent" BorderThickness="0" ItemContainerStyle="{StaticResource CommandButtonListViewItemContainerStyle}" ItemsSource="{Binding ContextMenuItems}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding ContextMenuSelectedIndex}" SelectionChanged="ContextMenuListView_SelectionChanged" SelectionMode="Single" Visibility="{Binding AreContextButtonsActive, Converter={StaticResource BooleanToVisibilityConverter}}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Button Name="commandButton" Width="42" Height="42" VerticalAlignment="Center" AutomationProperties.Name="{x:Static p:Resources.ContextMenuItem}" BorderThickness="1" Command="{Binding Command}" Style="{StaticResource SubtleButtonStyle}"> <ToolTipService.ToolTip> <ToolTip Opened="ToolTip_Opened"> <TextBlock AutomationProperties.Name="{x:Static p:Resources.ContextMenuItemAdditionalInformation}" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{Binding Title}" TextWrapping="Wrap" /> </ToolTip> </ToolTipService.ToolTip> <Button.Content> <ui:FontIcon AutomationProperties.Name="{x:Static p:Resources.ContextMenuIcon}" FontFamily="{Binding FontFamily}" Glyph="{Binding Glyph}" /> </Button.Content> </Button> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </UserControl>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
feels like it'd need some refactoring to make this work. I'll try it out as a follow-up PR
stefansjfw
97
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ShowPluginsOverviewIndex}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ShowPluginsOverviewIndex}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_TitleFontSize" HeaderIcon="{ui:FontIcon Glyph=&#xE8E9;}"> <StackPanel Orientation="Horizontal" Spacing="12"> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="12" FontWeight="SemiBold" Text="A" /> <Slider x:Uid="PowerLauncher_TextFontSizeSlider" LargeChange="2" Maximum="24" Minimum="12" SmallChange="2" StepFrequency="2" TickFrequency="2" TickPlacement="Outside" Value="{x:Bind ViewModel.TitleFontSize, Mode=TwoWay}" /> <TextBlock VerticalAlignment="Center" AutomationProperties.AccessibilityView="Raw" FontSize="24" FontWeight="SemiBold" Text="A" /> </StackPanel> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
```suggestion Value="{x:Bind ViewModel.TitleFontSize, Mode=TwoWay}" /> ```
Jay-o-Way
98
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
I would expect some word to hint that it's about font size, or points. Just to prevent any confusion? And I think results should be plural?
Jay-o-Way
99
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
Might want to add the unit here. Note that in Windows Settings, they use percentage (100-225)
Jay-o-Way
100
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
Done!
niels9001
101
microsoft/PowerToys
30,541
[Run] Adding configurable fontsizes
This PR addressed feedback from #30168, and allows the user to configure the fontsize of the query text and results titles. ![RunCOnfigText](https://github.com/microsoft/PowerToys/assets/9866362/46338026-ad91-4d25-99b8-0e1338bf0d3c) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #30168 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-20 15:45:23+00:00
2023-12-26 13:49:51+00:00
src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> </root>
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Attribution_Rooler.Text" xml:space="preserve"> <value>Inspired by Rooler</value> <comment>Rooler is a name of the tool.</comment> </data> <data name="Shell_VideoConference.Content" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Navigation view item name for Video Conference</comment> </data> <data name="Shell_MeasureTool.Content" xml:space="preserve"> <value>Screen Ruler</value> <comment>Product name: Navigation view item name for Screen Ruler</comment> </data> <data name="MeasureTool.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MeasureTool.ModuleDescription" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool.ModuleTitle" xml:space="preserve"> <value>Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MeasureTool_Settings.Header" xml:space="preserve"> <value>Behavior</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MeasureTool_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to bring up the command bar</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MeasureTool_DefaultMeasureStyle.Header" xml:space="preserve"> <value>Default measure style</value> </data> <data name="MeasureTool_DefaultMeasureStyle.Description" xml:space="preserve"> <value>The utility will start having the selected style activated</value> </data> <data name="MeasureTool_DefaultMeasureStyle_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Bounds.Content" xml:space="preserve"> <value>Bounds</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Spacing.Content" xml:space="preserve"> <value>Spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Horizontal_Spacing.Content" xml:space="preserve"> <value>Horizontal spacing</value> </data> <data name="MeasureTool_DefaultMeasureStyle_Vertical_Spacing.Content" xml:space="preserve"> <value>Vertical spacing</value> </data> <data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve"> <value>Units of measurement</value> </data> <data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="MeasureTool_PixelTolerance.Header" xml:space="preserve"> <value>Pixel tolerance for edge detection</value> </data> <data name="MeasureTool_MeasureCrossColor.Header" xml:space="preserve"> <value>Line color</value> </data> <data name="MeasureTool_ContinuousCapture.Header" xml:space="preserve"> <value>Capture screen continuously during measuring</value> </data> <data name="MeasureTool_ContinuousCapture.Description" xml:space="preserve"> <value>Refresh screen contexts in real-time instead of making a screenshot once</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Header" xml:space="preserve"> <value>Per color channel edge detection</value> </data> <data name="MeasureTool_PerColorChannelEdgeDetection.Description" xml:space="preserve"> <value>If enabled, test that all color channels are within a tolerance distance from each other. Otherwise, check that the sum of all color channels differences is smaller than the tolerance.</value> </data> <data name="MeasureTool_DrawFeetOnCross.Header" xml:space="preserve"> <value>Draw feet on cross</value> </data> <data name="MeasureTool_DrawFeetOnCross.Description" xml:space="preserve"> <value>Adds feet to the end of cross lines</value> </data> <data name="MeasureTool_EnableMeasureTool.Header" xml:space="preserve"> <value>Enable Screen Ruler</value> <comment>"Screen Ruler" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_ActivationSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Header" xml:space="preserve"> <value>Device layout</value> </data> <data name="MouseWithoutBorders_DeviceLayoutSettings.Description" xml:space="preserve"> <value>Drag and drop a machine to rearrange the order.</value> </data> <data name="MouseWithoutBorders_CannotDragDropAsAdmin.Title" xml:space="preserve"> <value>It is not possible to use drag and drop while running PowerToys elevated. As a workaround, please restart PowerToys without elevation to edit the device layout.</value> </data> <data name="MouseWithoutBorders_KeySettings.Header" xml:space="preserve"> <value>Encryption key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Header" xml:space="preserve"> <value>Security key</value> </data> <data name="MouseWithoutBorders_SecurityKey.Description" xml:space="preserve"> <value>The key must be auto generated in one machine by clicking on New Key, then typed in other machines</value> </data> <data name="MouseWithoutBorders_NewKey.Content" xml:space="preserve"> <value>New key</value> </data> <data name="MouseWithoutBorders_CopyMachineName.Text" xml:space="preserve"> <value>Copy to clipboard</value> </data> <data name="MouseWithoutBorders_ReconnectButton.Text" xml:space="preserve"> <value>Refresh connections</value> </data> <data name="MouseWithoutBorders_ReconnectTooltip.Text" xml:space="preserve"> <value>Reestablishes connections with other devices if you are experiencing issues.</value> </data> <data name="MouseWithoutBorders_ThisMachineNameLabel.Header" xml:space="preserve"> <value>Host name of this device</value> </data> <data name="MouseWithoutBorders_Connect.Content" xml:space="preserve"> <value>Connect</value> </data> <data name="MouseWithoutBorders_UninstallService.Header" xml:space="preserve"> <value>Uninstall service</value> </data> <data name="MouseWithoutBorders_UninstallService.Description" xml:space="preserve"> <value>Removes the service from the computer. Needs to run as administrator.</value> </data> <data name="MouseWithoutBorders_Settings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="MouseWithoutBorders_TroubleShooting.Header" xml:space="preserve"> <value>Troubleshooting</value> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Header" xml:space="preserve"> <value>Add a firewall rule for Mouse Without Borders</value> <comment>"Mouse Without Borders" is a product name</comment> </data> <data name="MouseWithoutBorders_AddFirewallRuleButtonControl.Description" xml:space="preserve"> <value>Adding a firewall rule might help solve connection issues.</value> </data> <data name="MouseWithoutBorders_RunAsAdminText.Title" xml:space="preserve"> <value>You need to run as administrator to modify this setting.</value> </data> <data name="MouseWithoutBorders_ServiceUserUninstallWarning.Title" xml:space="preserve"> <value>If PowerToys is installed as a user, uninstalling/upgrading may require the Mouse Without Borders service to be removed manually later.</value> </data> <data name="MouseWithoutBorders_ServiceSettings.Header" xml:space="preserve"> <value>Service</value> </data> <data name="MouseWithoutBorders_Toggle_Enable.Header" xml:space="preserve"> <value>Enable Mouse Without Borders</value> </data> <data name="MouseWithoutBorders.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseWithoutBorders.ModuleDescription" xml:space="preserve"> <value>Mouse Without Borders is a quick and easy way to move your cursor across multiple devices.</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders.ModuleTitle" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>"Mouse Without Borders" is the name of the utility</comment> </data> <data name="MouseWithoutBorders_UseService.Header" xml:space="preserve"> <value>Use Service</value> </data> <data name="MouseWithoutBorders_UseService.Description" xml:space="preserve"> <value>Runs in service mode, that allows MWB to control remote machines when they're locked. Also allows control of system and administrator applications.</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Header" xml:space="preserve"> <value>Devices in a single row</value> </data> <data name="MouseWithoutBorders_MatrixOneRow.Description" xml:space="preserve"> <value>Sets whether the devices are aligned on a single row. A two by two matrix is considered otherwise.</value> </data> <data name="MouseWithoutBorders_WrapMouse.Header" xml:space="preserve"> <value>Wrap mouse</value> </data> <data name="MouseWithoutBorders_WrapMouse.Description" xml:space="preserve"> <value>Move control back to the first machine when mouse moves past the last one.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Header" xml:space="preserve"> <value>Share clipboard</value> </data> <data name="MouseWithoutBorders_TransferFile.Header" xml:space="preserve"> <value>Transfer file</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Header" xml:space="preserve"> <value>Hide mouse at the screen edge</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Header" xml:space="preserve"> <value>Draw mouse cursor</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Header" xml:space="preserve"> <value>Validate remote machine IP</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Header" xml:space="preserve"> <value>Same subnet only</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Header" xml:space="preserve"> <value>Block screen saver on other machines</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Header" xml:space="preserve"> <value>Move mouse relatively</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Header" xml:space="preserve"> <value>Block mouse at screen corners</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Header" xml:space="preserve"> <value>Show clipboard and network status messages</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Header" xml:space="preserve"> <value>Show the original Mouse Without Borders UI</value> </data> <data name="MouseWithoutBorders_ShowOriginalUI.Description" xml:space="preserve"> <value>This is accessible from the system tray and requires a restart.</value> </data> <data name="MouseWithoutBorders_ShareClipboard.Description" xml:space="preserve"> <value>If share clipboard stops working, Ctrl+Alt+Del then Esc may solve the problem.</value> </data> <data name="MouseWithoutBorders_TransferFile.Description" xml:space="preserve"> <value>If a file (&lt;100MB) is copied, it will be transferred to the remote machine clipboard.</value> </data> <data name="MouseWithoutBorders_HideMouseAtScreenEdge.Description" xml:space="preserve"> <value>Hide the mouse cursor at the top edge of the screen when switching to other machine. This option also steals the focus from any full-screen app to ensure the keyboard input is redirected.</value> </data> <data name="MouseWithoutBorders_DrawMouseCursor.Description" xml:space="preserve"> <value>Mouse cursor may not be visible in Windows 10 and later versions of Windows when there is no physical mouse attached.</value> </data> <data name="MouseWithoutBorders_ValidateRemoteMachineIP.Description" xml:space="preserve"> <value>Reverse DNS lookup to validate machine IP Address.</value> </data> <data name="MouseWithoutBorders_SameSubnetOnly.Description" xml:space="preserve"> <value>Only connect to machines in the same intranet NNN.NNN.*.* (only works when both machines have IPv4 enabled)</value> </data> <data name="MouseWithoutBorders_IPAddressMapping_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: MyLaptop 192.168.0.24</value> <comment>Don't translate MyLaptop</comment> </data> <data name="MouseWithoutBorders_IPAddressMapping.Header" xml:space="preserve"> <value>IP address mapping</value> </data> <data name="MouseWithoutBorders_IPAddressMapping.Description" xml:space="preserve"> <value>Resolve machine's IP address using manually entered mappings below.</value> </data> <data name="MouseWithoutBorders_BlockScreenSaverOnOtherMachines.Description" xml:space="preserve"> <value>Prevent screen saver from starting on other machines when user is actively working on this machine.</value> </data> <data name="MouseWithoutBorders_MoveMouseRelatively.Description" xml:space="preserve"> <value>Use this option when remote machine's monitor settings are different, or remote machine has multiple monitors.</value> </data> <data name="MouseWithoutBorders_BlockMouseAtScreenCorners.Description" xml:space="preserve"> <value>To avoid accident machine-switch at screen corners.</value> </data> <data name="MouseWithoutBorders_ShowClipboardAndNetworkStatusMessages.Description" xml:space="preserve"> <value>Show clipboard activities and network status in system tray notifications</value> </data> <data name="MouseWithoutBorders_KeyboardShortcuts_Group.Header" xml:space="preserve"> <value>Keyboard shortcuts</value> <comment>keyboard is the hardware peripheral</comment> </data> <data name="MouseWithoutBorders_AdvancedSettings_Group.Header" xml:space="preserve"> <value>Advanced Settings</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Header" xml:space="preserve"> <value>Easy Mouse: move between machines by moving the mouse pointer to the screen edges.</value> </data> <data name="MouseWithoutBorders_EasyMouseOption.Description" xml:space="preserve"> <value>Can also be set to move only when pressing Shift or Ctrl.</value> <comment>Shift and Ctrl are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Enabled.Content" xml:space="preserve"> <value>Enabled</value> </data> <data name="MouseWithoutBorders_EasyMouseOption_Ctrl.Content" xml:space="preserve"> <value>Ctrl</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="MouseWithoutBorders_EasyMouseOption_Shift.Content" xml:space="preserve"> <value>Shift</value> <comment>This is the Shift keyboard key</comment> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Header" xml:space="preserve"> <value>Shortcut to lock all machines.</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut.Description" xml:space="preserve"> <value>Hit this hotkey twice to lock all machines. Note: Only the machines which have the same shortcut configured will be locked.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Header" xml:space="preserve"> <value>Shortcut to toggle Easy Mouse.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut.Description" xml:space="preserve"> <value>Only works if EasyMouse is set to Enabled or Disabled.</value> </data> <data name="MouseWithoutBorders_ToggleEasyMouseShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Header" xml:space="preserve"> <value>Shortcut to switch between machines. Ctrl+Alt+:</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut.Description" xml:space="preserve"> <value>Click on Ctrl+Alt+ the chosen option to switch between machines.</value> <comment>Ctrl and Alt are the keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_F1.Content" xml:space="preserve"> <value>F1, F2, F3, F4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_1.Content" xml:space="preserve"> <value>1, 2, 3, 4</value> <comment>Don't localize. These are keyboard keys</comment> </data> <data name="MouseWithoutBorders_SwitchBetweenMachineShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_LockMachinesShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Header" xml:space="preserve"> <value>Shortcut to try reconnecting</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut.Description" xml:space="preserve"> <value>Just in case the connection is lost for any reason.</value> </data> <data name="MouseWithoutBorders_ReconnectShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Header" xml:space="preserve"> <value>Shortcut to switch to multiple machine mode.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut.Description" xml:space="preserve"> <value>Allows controlling all computers at once.</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Disabled.Content" xml:space="preserve"> <value>Disabled</value> </data> <data name="MouseWithoutBorders_Switch2AllPcShortcut_Ctrl3.Content" xml:space="preserve"> <value>Ctrl three times</value> <comment>This is the Ctrl keyboard key</comment> </data> <data name="VideoConference_Enable.Header" xml:space="preserve"> <value>Enable Video Conference Mute</value> </data> <data name="VideoConference.ModuleDescription" xml:space="preserve"> <value>Video Conference Mute is a quick and easy way to do a global "mute" of both your microphone and webcam. Disabling this module or closing PowerToys will unmute the microphone and camera.</value> </data> <data name="VideoConference_CameraAndMicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera &amp; microphone</value> </data> <data name="VideoConference_MicrophoneMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute microphone</value> </data> <data name="VideoConference_MicrophonePushToTalkHotkeyControl_Header.Header" xml:space="preserve"> <value>Push to talk</value> </data> <data name="VideoConference_CameraMuteHotkeyControl_Header.Header" xml:space="preserve"> <value>Mute camera</value> </data> <data name="VideoConference_SelectedCamera.Header" xml:space="preserve"> <value>Selected camera</value> </data> <data name="VideoConference_SelectedMicrophone.Header" xml:space="preserve"> <value>Selected microphone</value> </data> <data name="VideoConference_PushToReverse.Header" xml:space="preserve"> <value>Push to reverse</value> </data> <data name="VideoConference_PushToReverse.Description" xml:space="preserve"> <value>If enabled, allows both push to talk and push to mute, depending on microphone state</value> </data> <data name="VideoConference_CameraOverlayImagePathHeader.Header" xml:space="preserve"> <value>Image displayed when camera is muted</value> </data> <data name="VideoConference_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="VideoConference_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="VideoConference_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="VideoConference_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="VideoConference_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="VideoConference_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="VideoConference_ToolbarMonitor.Header" xml:space="preserve"> <value>Show toolbar on</value> </data> <data name="VideoConference_ToolbarMonitor_Main.Content" xml:space="preserve"> <value>Main monitor</value> </data> <data name="VideoConference_ToolbarMonitor_UnderCursor.Content" xml:space="preserve"> <value>Monitor under cursor</value> </data> <data name="VideoConference_ToolbarMonitor_ActiveWindow.Content" xml:space="preserve"> <value>Active window monitor</value> </data> <data name="VideoConference_ToolbarMonitor_All.Content" xml:space="preserve"> <value>All monitors</value> </data> <data name="VideoConference_ToolbarHide.Header" xml:space="preserve"> <value>Hide toolbar</value> </data> <data name="VideoConference_ToolbarHideMuted.Content" xml:space="preserve"> <value>When both camera and microphone are muted</value> </data> <data name="VideoConference_ToolbarHideNever.Content" xml:space="preserve"> <value>Never</value> </data> <data name="VideoConference_ToolbarHideUnmuted.Content" xml:space="preserve"> <value>When both camera and microphone are unmuted</value> </data> <data name="VideoConference_ToolbarHideTimeout.Content" xml:space="preserve"> <value>After timeout</value> </data> <data name="VideoConference.ModuleTitle" xml:space="preserve"> <value>Video Conference Mute</value> </data> <data name="VideoConference_Camera.Header" xml:space="preserve"> <value>Camera</value> </data> <data name="VideoConference_Camera.Description" xml:space="preserve"> <value>To use this feature, make sure to select PowerToys VideoConference Mute as your camera source in your apps.</value> </data> <data name="VideoConference_Microphone.Header" xml:space="preserve"> <value>Microphone</value> </data> <data name="VideoConference_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="VideoConference_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="VideoConference_StartupAction.Header" xml:space="preserve"> <value>Startup action</value> </data> <data name="VideoConference_StartupActionNothing.Content" xml:space="preserve"> <value>Nothing</value> </data> <data name="VideoConference_StartupActionUnmute.Content" xml:space="preserve"> <value>Unmute</value> </data> <data name="VideoConference_StartupActionMute.Content" xml:space="preserve"> <value>Mute</value> </data> <data name="VideoConference_Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="VideoConference_CameraOverlayImageAlt.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Camera overlay image preview</value> </data> <data name="VideoConference_CameraOverlayImageBrowse.Content" xml:space="preserve"> <value>Browse</value> </data> <data name="VideoConference_CameraOverlayImageClear.Content" xml:space="preserve"> <value>Clear</value> </data> <data name="Shell_General.Content" xml:space="preserve"> <value>General</value> <comment>Navigation view item name for General</comment> </data> <data name="Shell_Awake.Content" xml:space="preserve"> <value>Awake</value> <comment>Product name: Navigation view item name for Awake</comment> </data> <data name="Shell_PowerLauncher.Content" xml:space="preserve"> <value>PowerToys Run</value> <comment>Product name: Navigation view item name for PowerToys Run</comment> </data> <data name="Shell_PowerRename.Content" xml:space="preserve"> <value>PowerRename</value> <comment>Product name: Navigation view item name for PowerRename</comment> </data> <data name="Shell_ShortcutGuide.Content" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Product name: Navigation view item name for Shortcut Guide</comment> </data> <data name="Shell_PowerPreview.Content" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Product name: Navigation view item name for File Explorer. Please use File Explorer as in the context of File Explorer in Windows</comment> </data> <data name="Shell_FancyZones.Content" xml:space="preserve"> <value>FancyZones</value> <comment>Product name: Navigation view item name for FancyZones</comment> </data> <data name="Shell_ImageResizer.Content" xml:space="preserve"> <value>Image Resizer</value> <comment>Product name: Navigation view item name for Image Resizer</comment> </data> <data name="Shell_ColorPicker.Content" xml:space="preserve"> <value>Color Picker</value> <comment>Product name: Navigation view item name for Color Picker</comment> </data> <data name="Shell_KeyboardManager.Content" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Product name: Navigation view item name for Keyboard Manager</comment> </data> <data name="Shell_MouseWithoutBorders.Content" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name: Navigation view item name for Mouse Without Borders</comment> </data> <data name="Shell_MouseUtilities.Content" xml:space="preserve"> <value>Mouse utilities</value> <comment>Product name: Navigation view item name for Mouse utilities</comment> </data> <data name="Shell_NavigationMenu_Announce_Collapse" xml:space="preserve"> <value>Navigation closed</value> <comment>Accessibility announcement when the navigation pane collapses</comment> </data> <data name="Shell_NavigationMenu_Announce_Open" xml:space="preserve"> <value>Navigation opened</value> <comment>Accessibility announcement when the navigation pane opens</comment> </data> <data name="KeyboardManager_ConfigHeader.Text" xml:space="preserve"> <value>Current configuration</value> <comment>Keyboard Manager current configuration header</comment> </data> <data name="KeyboardManager.ModuleDescription" xml:space="preserve"> <value>Reconfigure your keyboard by remapping keys and shortcuts</value> <comment>Keyboard Manager page description</comment> </data> <data name="KeyboardManager_EnableToggle.Header" xml:space="preserve"> <value>Enable Keyboard Manager</value> <comment>Keyboard Manager enable toggle header. Do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve"> <value>Select the profile to display the active key remap and shortcuts</value> <comment>Keyboard Manager configuration dropdown description</comment> </data> <data name="KeyboardManager_RemapKeyboardButton.Header" 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> </data> <data name="KeyboardManager_RemapShortcutsButton.Header" 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> </data> <data name="KeyboardManager_All_Apps_Description" xml:space="preserve"> <value>All Apps</value> <comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment> </data> <data name="Shortcuts.Header" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="Shortcut.Header" xml:space="preserve"> <value>Shortcut</value> </data> <data name="RemapKeysList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Key Remappings</value> </data> <data name="RemapShortcutsList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Current Shortcut Remappings</value> </data> <data name="KeyboardManager_RemappedKeysListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Key Remapping</value> <comment>key as in keyboard key</comment> </data> <data name="KeyboardManager_RemappedShortcutsListItem.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Remapping</value> </data> <data name="KeyboardManager_RemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_ShortcutRemappedTo.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remapped to</value> </data> <data name="KeyboardManager_TargetApp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>For Target Application</value> <comment>What computer application would this be for</comment> </data> <data name="KeyboardManager_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Keyboard Manager</value> <comment>do not loc, product name</comment> </data> <data name="ColorPicker.ModuleDescription" xml:space="preserve"> <value>Quick and simple system-wide color picker.</value> </data> <data name="ColorPicker_EnableColorPicker.Header" xml:space="preserve"> <value>Enable Color Picker</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ColorPicker_ChangeCursor.Content" xml:space="preserve"> <value>Change cursor when picking a color</value> </data> <data name="PowerLauncher.ModuleDescription" xml:space="preserve"> <value>A quick launcher that has additional capabilities without sacrificing performance.</value> </data> <data name="PowerLauncher_EnablePowerLauncher.Header" xml:space="preserve"> <value>Enable PowerToys Run</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="PowerLauncher_SearchResults.Header" xml:space="preserve"> <value>Search &amp; results</value> </data> <data name="PowerLauncher_SearchResultPreference.Header" xml:space="preserve"> <value>Search result preference</value> </data> <data name="PowerLauncher_UsePinyin.Header" xml:space="preserve"> <value>Use Pinyin</value> </data> <data name="PowerLauncher_UsePinyin.Description" xml:space="preserve"> <value>Experimental: Use Pinyin on the search query. May not work for every plugin.</value> </data> <data name="PowerLauncher_SearchResultPreference_MostRecentlyUsed" xml:space="preserve"> <value>Most recently used</value> </data> <data name="PowerLauncher_SearchResultPreference_AlphabeticalOrder" xml:space="preserve"> <value>Alphabetical order</value> </data> <data name="PowerLauncher_SearchResultPreference_RunningProcessesOpenApplications" xml:space="preserve"> <value>Running processes/open applications</value> </data> <data name="PowerLauncher_SearchTypePreference.Header" xml:space="preserve"> <value>Search type preference</value> </data> <data name="PowerLauncher_SearchTypePreference_ApplicationName" xml:space="preserve"> <value>Application name</value> </data> <data name="PowerLauncher_SearchTypePreference_StringInApplication" xml:space="preserve"> <value>A string that is contained in the application</value> </data> <data name="PowerLauncher_SearchTypePreference_ExecutableName" xml:space="preserve"> <value>Executable name</value> </data> <data name="PowerLauncher_MaximumNumberOfResults.Header" xml:space="preserve"> <value>Number of results shown before scrolling</value> </data> <data name="PowerLauncher_OpenPowerLauncher.Header" xml:space="preserve"> <value>Open PowerToys Run</value> </data> <data name="PowerLauncher_OpenFileLocation.Header" xml:space="preserve"> <value>Open file location</value> </data> <data name="PowerLauncher_CopyPathLocation.Header" xml:space="preserve"> <value>Copy path location</value> </data> <data name="PowerLauncher_OpenConsole.Header" xml:space="preserve"> <value>Open console</value> <comment>console refers to Windows command prompt</comment> </data> <data name="PowerLauncher_OverrideWinRKey.Content" xml:space="preserve"> <value>Override Win+R shortcut</value> </data> <data name="PowerLauncher_OverrideWinSKey.Content" xml:space="preserve"> <value>Override Win+S shortcut</value> </data> <data name="PowerLauncher_IgnoreHotkeysInFullScreen.Content" xml:space="preserve"> <value>Ignore shortcuts in fullscreen mode</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Header" xml:space="preserve"> <value>Use centralized keyboard hook</value> </data> <data name="PowerLauncher_UseCentralizedKeyboardHook.Description" xml:space="preserve"> <value>Try this if there are issues with the shortcut (PowerToys Run might not get focus when triggered from an elevated window)</value> </data> <data name="PowerLauncher_ClearInputOnLaunch.Content" xml:space="preserve"> <value>Clear the previous query on launch</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Header" xml:space="preserve"> <value>Tab through context buttons</value> </data> <data name="PowerLauncher_TabSelectsContextButtons.Description" xml:space="preserve"> <value>Pressing tab will first select through the available context buttons of the current selection before moving onto the next result</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Header" xml:space="preserve"> <value>Generate thumbnails from files</value> </data> <data name="PowerLauncher_GenerateThumbnailsFromFiles.Description" xml:space="preserve"> <value>Results will try to generate thumbnails for files. Disabling this setting may increase stability and speed</value> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Header" xml:space="preserve"> <value>Input Smoothing</value> <comment>This is about adding a delay to wait for more input before executing a search</comment> </data> <data name="PowerLauncher_SearchQueryResultsWithDelay.Description" xml:space="preserve"> <value>Wait for more input before searching. This reduces interface jumpiness and system load.</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve"> <value>Immediate plugins</value> </data> <data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve"> <value>Background execution plugins</value> </data> <data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve"> <value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value> </data> <data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve"> <value>Fast plugin throttle (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve"> <value>To:</value> <comment>Keyboard Manager mapping keys view right header</comment> </data> <data name="Appearance_GroupSettings.Text" xml:space="preserve"> <value>Appearance</value> </data> <data name="Fancyzones_ImageHyperlinkToDocs.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>FancyZones windows</value> <comment>do not loc the Product name</comment> </data> <data name="FancyZones.ModuleDescription" xml:space="preserve"> <value>Create window layouts to help make multi-tasking easy.</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_DisplayOrWorkAreaChangeMoveWindowsCheckBoxControl.Content" xml:space="preserve"> <value>Keep windows in their zones when the screen resolution or work area changes</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable FancyZones</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="FancyZones_ExcludeApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="FancyZones_ExcludeApps.Description" xml:space="preserve"> <value>Excludes an application from snapping to zones and will only react to Windows Snap - add one application name per line</value> </data> <data name="FancyZones_HighlightOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="FancyZones_HotkeyEditorControl.Header" xml:space="preserve"> <value>Open layout editor</value> <comment>Shortcut to launch the FancyZones layout editor application</comment> </data> <data name="FancyZones_WindowSwitching_GroupSettings.Header" xml:space="preserve"> <value>Switch between windows in the current zone</value> </data> <data name="FancyZones_HotkeyNextTabControl.Header" xml:space="preserve"> <value>Next window</value> </data> <data name="FancyZones_HotkeyPrevTabControl.Header" xml:space="preserve"> <value>Previous window</value> </data> <data name="SettingsPage_SetShortcut.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut setting</value> </data> <data name="SettingsPage_SetShortcut_Glyph.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Information Symbol</value> </data> <data name="FancyZones_LaunchEditorButtonControl.Header" 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> </data> <data name="FancyZones_MakeDraggedWindowTransparentCheckBoxControl.Content" xml:space="preserve"> <value>Make dragged window transparent</value> </data> <data name="FancyZones_MouseDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use a non-primary mouse button to toggle zone activation</value> </data> <data name="FancyZones_MouseMiddleClickSpanningMultipleZonesCheckBoxControl_Header.Content" xml:space="preserve"> <value>Use middle-click mouse button to toggle multiple zones spanning</value> </data> <data name="FancyZones_MoveWindowsAcrossAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Move windows between zones across all monitors</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Header" xml:space="preserve"> <value>Override Windows Snap</value> </data> <data name="FancyZones_OverrideSnapHotkeys.Description" xml:space="preserve"> <value>This overrides the Windows Snap shortcut (Win + arrow) to move windows between zones</value> </data> <data name="FancyZones_ShiftDragCheckBoxControl_Header.Content" xml:space="preserve"> <value>Hold Shift key to activate zones while dragging a window</value> </data> <data name="FancyZones_ActivationNoShiftDrag" xml:space="preserve"> <value>Drag windows to activate zones</value> </data> <data name="FancyZones_ShowZonesOnAllMonitorsCheckBoxControl.Content" xml:space="preserve"> <value>Show zones on all monitors while dragging a window</value> </data> <data name="FancyZones_AppLastZoneMoveWindows.Content" xml:space="preserve"> <value>Move newly created windows to their last known zone</value> <comment>windows refers to application windows</comment> </data> <data name="FancyZones_OpenWindowOnActiveMonitor.Content" xml:space="preserve"> <value>Move newly created windows to the current active monitor (Experimental)</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Header" xml:space="preserve"> <value>Launch editor on the display</value> </data> <data name="FancyZones_UseCursorPosEditorStartupScreen.Description" xml:space="preserve"> <value>When using multiple displays</value> </data> <data name="FancyZones_LaunchPositionMouse.Content" xml:space="preserve"> <value>Where the mouse pointer is</value> </data> <data name="FancyZones_LaunchPositionScreen.Content" xml:space="preserve"> <value>With active focus</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Header" xml:space="preserve"> <value>Zone behavior</value> </data> <data name="FancyZones_ZoneBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how zones behave when using FancyZones</value> </data> <data name="FancyZones_Zones.Header" xml:space="preserve"> <value>Zones</value> </data> <data name="FancyZones_ZoneHighlightColor.Header" xml:space="preserve"> <value>Highlight color</value> </data> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value> </data> <data name="AttributionTitle.Text" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.ModuleTitle" xml:space="preserve"> <value>General</value> </data> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <value>Check for updates</value> </data> <data name="General_SettingsBackupAndRestoreLocationText.Header" xml:space="preserve"> <value>Location</value> </data> <data name="General_SettingsBackupAndRestore_ButtonBackup.Content" xml:space="preserve"> <value>Backup</value> </data> <data name="General_SettingsBackupInfo_FileNameHeader.Text" xml:space="preserve"> <value>File name:</value> </data> <data name="General_SettingsBackupAndRestore_LinkRefresh.Text" xml:space="preserve"> <value>Refresh</value> </data> <data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve"> <value>Restore</value> </data> <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> </data> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve"> <value>Privacy statement</value> </data> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve"> <value>Report a bug</value> <comment>Report an issue inside powertoys</comment> </data> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve"> <value>Request a feature</value> <comment>Tell our team what we should build</comment> </data> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <value>Restart PowerToys as administrator</value> <comment>running PowerToys as a higher level user, account is typically referred to as an admin / administrator</comment> </data> <data name="GeneralPage_RunAtStartUp.Header" xml:space="preserve"> <value>Run at startup</value> </data> <data name="GeneralPage_RunAtStartUp.Description" xml:space="preserve"> <value>PowerToys will launch automatically</value> </data> <data name="PowerRename.ModuleDescription" xml:space="preserve"> <value>A Windows Shell extension for more advanced bulk renaming using search &amp; replace or regular expressions.</value> </data> <data name="PowerRename_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="PowerRename_Toggle_Enable.Header" xml:space="preserve"> <value>Enable PowerRename</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="RadioButtons_Name_Theme.Text" xml:space="preserve"> <value>Settings theme</value> </data> <data name="PowerRename_Toggle_HideIcon.Content" xml:space="preserve"> <value>Hide icon in context menu</value> </data> <data name="PowerRename_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show PowerRename in</value> </data> <data name="PowerRename_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="PowerRename_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="ExtendedContextMenuInfo.Title" xml:space="preserve"> <value>Press Shift + right-click on files to open the extended context menu</value> </data> <data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve"> <value>Maximum number of items</value> </data> <data name="PowerRename_Toggle_RestoreFlagsOnLaunch.Header" xml:space="preserve"> <value>Show recently used strings</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Header" xml:space="preserve"> <value>Markdown</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_MD.Description" xml:space="preserve"> <value>.md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mdtxt, .mdtext</value> <comment>File extensions, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_Monaco.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> <comment>File extensions should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Mode_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview_Preview_SVG_Color_Solid_Color.Content" xml:space="preserve"> <value>Solid color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade.Content" xml:space="preserve"> <value>Checkered pattern</value> </data> <data name="FileExplorerPreview_Preview_SVG_Background_Color.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode.Header" xml:space="preserve"> <value>Checkered shade</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_1.Content" xml:space="preserve"> <value>Light</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_2.Content" xml:space="preserve"> <value>Medium</value> </data> <data name="FileExplorerPreview_Preview_SVG_Checkered_Shade_3.Content" xml:space="preserve"> <value>Dark</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Header" xml:space="preserve"> <value>Scalable Vector Graphics</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG.Description" xml:space="preserve"> <value>.svg</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Header" xml:space="preserve"> <value>Stereolithography</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_STL.Description" xml:space="preserve"> <value>.stl</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_Color_Thumbnail_STL.Header" xml:space="preserve"> <value>Color</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Header" xml:space="preserve"> <value>Quite Ok Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_QOI.Description" xml:space="preserve"> <value>.qoi</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Header" xml:space="preserve"> <value>Quite OK Image</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI.Description" xml:space="preserve"> <value>.qoi</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Header" xml:space="preserve"> <value>Portable Document Format</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF.Description" xml:space="preserve"> <value>.pdf</value> <comment>File extension, should not be altered</comment> </data> <data name="FileExplorerPreview.ModuleDescription" xml:space="preserve"> <value>These settings allow you to manage your Windows File Explorer custom preview handlers.</value> </data> <data name="PowerRename_AutoCompleteHeader.Header" xml:space="preserve"> <value>Auto-complete</value> </data> <data name="OpenSource_Notice.Text" xml:space="preserve"> <value>Open-source notice</value> </data> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <value>Enable auto-complete for the search &amp; replace fields</value> </data> <data name="FancyZones_BorderColor.Header" xml:space="preserve"> <value>Border color</value> </data> <data name="FancyZones_InActiveColor.Header" xml:space="preserve"> <value>Inactive color</value> </data> <data name="ShortcutGuide.ModuleDescription" xml:space="preserve"> <value>Shows a help overlay with Windows shortcuts.</value> </data> <data name="ShortcutGuide_PressTimeForGlobalWindowsShortcuts.Header" xml:space="preserve"> <value>Press duration before showing global Windows shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="ShortcutGuide_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="ShortcutGuide_ActivationMethod.Description" xml:space="preserve"> <value>Use a shortcut or press the Windows key for some time to activate</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_CustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="Radio_ShortcutGuide_ActivationMethod_LongPressWindowsKey.Content" xml:space="preserve"> <value>Hold down Windows key</value> </data> <data name="ShortcutGuide_PressWinKeyWarning.Title" xml:space="preserve"> <value>In some edge cases Shortcut Guide might not function correctly when using this activation method</value> </data> <data name="Appearance_Behavior.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="General_SettingsBackupAndRestoreTitle.Header" xml:space="preserve"> <value>Backup &amp; restore</value> </data> <data name="General_SettingsBackupAndRestore.Header" xml:space="preserve"> <value>Backup and restore your settings</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> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ShortcutGuide_OverlayOpacity.Header" xml:space="preserve"> <value>Background opacity (%)</value> </data> <data name="ShortcutGuide_DisabledApps.Header" xml:space="preserve"> <value>Exclude apps</value> </data> <data name="ShortcutGuide_DisabledApps.Description" xml:space="preserve"> <value>Turns off Shortcut Guide when these applications have focus - add one application name per line</value> </data> <data name="ShortcutGuide_DisabledApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_CustomSizes.Header" xml:space="preserve"> <value>Image sizes</value> </data> <data name="ImageResizer_Presets.Header" xml:space="preserve"> <value>Presets</value> </data> <data name="ImageResizer_Presets.Description" xml:space="preserve"> <value>Manage preset sizes that can be used in the editor</value> </data> <data name="ImageResizer_FilenameFormatHeader.Description" xml:space="preserve"> <value>This format is used as the filename for resized images</value> </data> <data name="ImageResizer.ModuleDescription" xml:space="preserve"> <value>Lets you resize images by right-clicking.</value> </data> <data name="ImageResizer_EnableToggle.Header" xml:space="preserve"> <value>Enable Image Resizer</value> <comment>do not loc the Product name. Do you want this feature on / off</comment> </data> <data name="ImagesSizesListView.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Size</value> </data> <data name="ImageResizer_Configurations.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Configurations</value> </data> <data name="ImageResizer_Name.Header" xml:space="preserve"> <value>Name</value> </data> <data name="ImageResizer_Fit.Header" xml:space="preserve"> <value>Fit</value> </data> <data name="ImageResizer_Width.Header" xml:space="preserve"> <value>Width</value> </data> <data name="ImageResizer_Height.Header" xml:space="preserve"> <value>Height</value> </data> <data name="ImageResizer_Size.Header" xml:space="preserve"> <value>Unit</value> </data> <data name="RemoveButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Remove</value> <comment>Removes a user defined setting group for Image Resizer</comment> </data> <data name="RemoveItem.Text" xml:space="preserve"> <value>Delete</value> </data> <data name="ImageResizer_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="ImageResizer_AddSizeButton.Content" xml:space="preserve"> <value>Add new size</value> </data> <data name="ImageResizer_SaveSizeButton.Label" xml:space="preserve"> <value>Save sizes</value> </data> <data name="ImageResizer_Encoding.Header" xml:space="preserve"> <value>JPEG quality level (%)</value> </data> <data name="ImageResizer_PNGInterlacing.Header" xml:space="preserve"> <value>PNG interlacing</value> </data> <data name="ImageResizer_TIFFCompression.Header" xml:space="preserve"> <value>TIFF compression</value> </data> <data name="File.Header" xml:space="preserve"> <value>File</value> <comment>as in a computer file</comment> </data> <data name="Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT3.Content" xml:space="preserve"> <value>CCITT3</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_CCITT4.Content" xml:space="preserve"> <value>CCITT4</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Default.Content" xml:space="preserve"> <value>Default</value> </data> <data name="ImageResizer_ENCODER_TIFF_LZW.Content" xml:space="preserve"> <value>LZW</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ImageResizer_ENCODER_TIFF_RLE.Content" xml:space="preserve"> <value>RLE</value> <comment>do not loc</comment> </data> <data name="ImageResizer_ENCODER_TIFF_Zip.Content" xml:space="preserve"> <value>Zip</value> <comment>do not loc</comment> </data> <data name="ImageResizer_FallbackEncoder_BMP.Content" xml:space="preserve"> <value>BMP encoder</value> </data> <data name="ImageResizer_FallbackEncoder_GIF.Content" xml:space="preserve"> <value>GIF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_JPEG.Content" xml:space="preserve"> <value>JPEG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_PNG.Content" xml:space="preserve"> <value>PNG encoder</value> </data> <data name="ImageResizer_FallbackEncoder_TIFF.Content" xml:space="preserve"> <value>TIFF encoder</value> </data> <data name="ImageResizer_FallbackEncoder_WMPhoto.Content" xml:space="preserve"> <value>WMPhoto encoder</value> </data> <data name="ImageResizer_Sizes_Fit_Fill.Content" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fill_ThirdPersonSingular.Text" xml:space="preserve"> <value>Fill</value> <comment>Refers to filling an image into a certain size. It could overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Fit.Content" xml:space="preserve"> <value>Fit</value> <comment>Refers to fitting an image into a certain size. It won't overflow</comment> </data> <data name="ImageResizer_Sizes_Fit_Stretch.Content" xml:space="preserve"> <value>Stretch</value> <comment>Refers to stretching an image into a certain size. Won't overflow but could distort.</comment> </data> <data name="ImageResizer_Sizes_Units_CM.Content" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Sizes_Units_Inches.Content" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Sizes_Units_Percent.Content" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Sizes_Units_Pixels.Content" xml:space="preserve"> <value>Pixels</value> </data> <data name="Off.Content" xml:space="preserve"> <value>Off</value> </data> <data name="On.Content" xml:space="preserve"> <value>On</value> </data> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <value>Learn more about administrator mode</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <value>Download updates automatically</value> </data> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Description" xml:space="preserve"> <value>Except on metered connections</value> </data> <data name="GeneralPage_ToggleSwitch_RunningAsAdminNote.Text" xml:space="preserve"> <value>Currently running as administrator</value> </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> </data> <data name="GeneralSettings_RunningAsAdminText" xml:space="preserve"> <value>Running as administrator</value> </data> <data name="FancyZones.ModuleTitle" xml:space="preserve"> <value>FancyZones</value> </data> <data name="FileExplorerPreview.ModuleTitle" xml:space="preserve"> <value>File Explorer</value> </data> <data name="FileExplorerPreview_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>File Explorer</value> <comment>Use same translation as Windows does for File Explorer</comment> </data> <data name="ImageResizer.ModuleTitle" xml:space="preserve"> <value>Image Resizer</value> </data> <data name="KeyboardManager.ModuleTitle" xml:space="preserve"> <value>Keyboard Manager</value> </data> <data name="ColorPicker.ModuleTitle" xml:space="preserve"> <value>Color Picker</value> </data> <data name="PowerLauncher.ModuleTitle" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerToys_Run_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="PowerRename.ModuleTitle" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc the product name</comment> </data> <data name="PowerRename_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>PowerRename</value> <comment>do not loc</comment> </data> <data name="ShortcutGuide.ModuleTitle" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="Shortcut_Guide_Image.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Shortcut Guide</value> </data> <data name="General_Repository.Text" xml:space="preserve"> <value>GitHub repository</value> </data> <data name="General_Version.Header" xml:space="preserve"> <value>Version</value> </data> <data name="General_VersionLastChecked.Text" xml:space="preserve"> <value>Last checked: </value> </data> <data name="General_SettingsBackupInfo_DateHeader.Text" xml:space="preserve"> <value>Created at:</value> </data> <data name="General_SettingsBackupAndRestoreStatusInfo.Header" xml:space="preserve"> <value>Backup information</value> </data> <data name="General_SettingsBackupInfo_SourceHeader.Text" xml:space="preserve"> <value>Source machine:</value> </data> <data name="General_SettingsBackupInfo_StatusHeader.Text" xml:space="preserve"> <value>Status:</value> </data> <data name="General_Version.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Version</value> </data> <data name="Admin_mode.Header" xml:space="preserve"> <value>Administrator mode</value> </data> <data name="FancyZones_RestoreSize.Content" xml:space="preserve"> <value>Restore the original size of windows when unsnapping</value> </data> <data name="ImageResizer_FallBackEncoderText.Header" xml:space="preserve"> <value>Fallback encoder</value> </data> <data name="ImageResizer_FileFormatDescription.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="ImageResizer_FilenameFormatHeader.Header" xml:space="preserve"> <value>Filename format</value> </data> <data name="ImageResizer_FileModifiedDate.Header" xml:space="preserve"> <value>File modified timestamp</value> </data> <data name="ImageResizer_FileModifiedDate.Description" xml:space="preserve"> <value>Used as the 'modified timestamp' in the file properties</value> </data> <data name="ImageResizer_UseOriginalDate.Content" xml:space="preserve"> <value>Original file timestamp</value> </data> <data name="ImageResizer_UseResizeDate.Content" xml:space="preserve"> <value>Timestamp of resize action</value> </data> <data name="Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="KeyboardManager_RemapKeyboardButton.Description" xml:space="preserve"> <value>Remap keys to other keys, shortcuts or text snippets</value> </data> <data name="KeyboardManager_RemapShortcutsButton.Description" xml:space="preserve"> <value>Remap shortcuts to other shortcuts, keys or text snippets for all or specific applications</value> </data> <data name="General.ModuleDescription" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community.</value> <comment>Windows refers to the OS</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Header" xml:space="preserve"> <value>Allow zones to span across monitors</value> </data> <data name="ImageResizer_Formatting_ActualHeight.Text" xml:space="preserve"> <value>Actual height</value> </data> <data name="ImageResizer_Formatting_ActualWidth.Text" xml:space="preserve"> <value>Actual width</value> </data> <data name="ImageResizer_Formatting_Filename.Text" xml:space="preserve"> <value>Original filename</value> </data> <data name="ImageResizer_Formatting_SelectedHeight.Text" xml:space="preserve"> <value>Selected height</value> </data> <data name="ImageResizer_Formatting_SelectedWidth.Text" xml:space="preserve"> <value>Selected width</value> </data> <data name="ImageResizer_Formatting_Sizename.Text" xml:space="preserve"> <value>Size name</value> </data> <data name="FancyZones_MoveWindowsBasedOnPositionCheckBoxControl.Content" xml:space="preserve"> <value>Move windows based on their position</value> <comment>Windows refers to application windows</comment> </data> <data name="GeneralSettings_NewVersionIsAvailable" xml:space="preserve"> <value>New update available</value> </data> <data name="GeneralSettings_VersionIsLatest" xml:space="preserve"> <value>PowerToys is up to date.</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Header" xml:space="preserve"> <value>Thumbnail icon Preview</value> </data> <data name="FileExplorerPreview_IconThumbnail_GroupSettings.Description" xml:space="preserve"> <value>Select the file types for which thumbnail previews must be rendered.</value> </data> <data name="FileExplorerPreview_PreviewPane.Header" xml:space="preserve"> <value>Preview Pane</value> </data> <data name="FileExplorerPreview_PreviewPane.Description" xml:space="preserve"> <value>Select the file types which must be rendered in the Preview Pane. Ensure that Preview Pane is open by toggling the view with Alt + P in File Explorer.</value> <comment>Preview Pane and File Explorer are app/feature names in Windows. 'Alt + P' is a shortcut</comment> </data> <data name="FileExplorerPreview_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_RebootRequired.Title" xml:space="preserve"> <value>A reboot may be required for changes to these settings to take effect</value> </data> <data name="FileExplorerPreview_PreviewHandlerOutlookIncompatibility.Title" xml:space="preserve"> <value>Enabling the preview handlers will override other preview handlers already installed - there have been reports of incompatibility between Outlook and the PDF Preview Handler.</value> <comment>Outlook is the name of a Microsoft product</comment> </data> <data name="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders.Title" xml:space="preserve"> <value>Thumbnails might not appear on paths managed by cloud storage solutions like OneDrive, since these solutions may get their thumbnails from the cloud instead of generating them locally.</value> <comment>OneDrive is the name of a Microsoft product</comment> </data> <data name="FancyZones_ExcludeApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> <comment>Don't translate outlook.exe</comment> </data> <data name="ImageResizer_FilenameFormatPlaceholder.PlaceholderText" xml:space="preserve"> <value>Example: %1 (%2)</value> </data> <data name="ImageResizer_FilenameParameters.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Filename parameters</value> </data> <data name="Radio_Theme_Dark.Content" xml:space="preserve"> <value>Dark</value> <comment>Dark refers to color, not weight</comment> </data> <data name="Radio_Theme_Light.Content" xml:space="preserve"> <value>Light</value> <comment>Light refers to color, not weight</comment> </data> <data name="Radio_Theme_Default.Content" xml:space="preserve"> <value>Windows default</value> <comment>Windows refers to the Operating system</comment> </data> <data name="Windows_Color_Settings.Content" xml:space="preserve"> <value>Windows color settings</value> <comment>Windows refers to the Operating system</comment> </data> <data name="ColorPicker_CopiedColorRepresentation.Header" xml:space="preserve"> <value>Default color format</value> </data> <data name="ColorPickerFirst.Content" xml:space="preserve"> <value>Pick a color and open editor</value> </data> <data name="EditorFirst.Content" xml:space="preserve"> <value>Open editor</value> </data> <data name="ColorPickerOnly.Content" xml:space="preserve"> <value>Only pick a color</value> </data> <data name="ColorPicker_ActivationAction.Header" xml:space="preserve"> <value>Activation behavior</value> </data> <data name="ColorFormats.Header" xml:space="preserve"> <value>Picker behavior</value> </data> <data name="ColorPicker_CopiedColorRepresentation.Description" xml:space="preserve"> <value>This format will be copied to your clipboard</value> </data> <data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve"> <value>Learn more about remapping limitations</value> <comment>This is a link that will discuss what is and is not possible for Keyboard manager to remap</comment> </data> <data name="FancyZones_Editor_GroupSettings.Header" xml:space="preserve"> <value>Editor</value> <comment>refers to the FancyZones editor</comment> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Header" xml:space="preserve"> <value>Window behavior</value> </data> <data name="FancyZones_WindowBehavior_GroupSettings.Description" xml:space="preserve"> <value>Manage how windows behave when using FancyZones</value> </data> <data name="FancyZones_Windows.Header" xml:space="preserve"> <value>Windows</value> <comment>Do translate: refers to a set of application windows, not the product name</comment> </data> <data name="PowerRename_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="PowerRename_Toggle_UseBoostLib.Header" xml:space="preserve"> <value>Use Boost library</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="PowerRename_Toggle_UseBoostLib.Description" xml:space="preserve"> <value>Provides extended features but may use different regex syntax</value> <comment>Boost is a product name, should not be translated</comment> </data> <data name="MadeWithOssLove.Text" xml:space="preserve"> <value>Made with 💗 by Microsoft and the PowerToys community.</value> </data> <data name="ColorPicker_ColorFormats.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="ColorPicker_ColorFormats.Description" xml:space="preserve"> <value>Configure the color formats (edit, delete, hide, reorder them)</value> </data> <data name="MoveUp.Text" xml:space="preserve"> <value>Move up</value> </data> <data name="MoveDown.Text" xml:space="preserve"> <value>Move down</value> </data> <data name="ColorPickerAddNewFormat.Content" xml:space="preserve"> <value>Add new format</value> </data> <data name="NewColorFormat.Header" xml:space="preserve"> <value>Format</value> </data> <data name="NewColorName.Header" xml:space="preserve"> <value>Name</value> </data> <data name="AddCustomColorFormat" xml:space="preserve"> <value>Add custom color format</value> </data> <data name="ColorFormatSave" xml:space="preserve"> <value>Save</value> </data> <data name="EditCustomColorFormat" xml:space="preserve"> <value>Edit custom color format</value> </data> <data name="ColorFormatUpdate" xml:space="preserve"> <value>Update</value> </data> <data name="CustomColorFormatDefaultName" xml:space="preserve"> <value>My Format</value> </data> <data name="ColorFormatDialog.SecondaryButtonText" xml:space="preserve"> <value>Cancel</value> </data> <data name="ColorFormatEditorHelpline1.Text" xml:space="preserve"> <value>The following parameters can be used:</value> </data> <data name="Help_red" xml:space="preserve"> <value>red</value> </data> <data name="Help_green" xml:space="preserve"> <value>green</value> </data> <data name="Help_blue" xml:space="preserve"> <value>blue</value> </data> <data name="Help_alpha" xml:space="preserve"> <value>alpha</value> </data> <data name="Help_cyan" xml:space="preserve"> <value>cyan</value> </data> <data name="Help_magenta" xml:space="preserve"> <value>magenta</value> </data> <data name="Help_yellow" xml:space="preserve"> <value>yellow</value> </data> <data name="Help_black_key" xml:space="preserve"> <value>black key</value> </data> <data name="Help_hue" xml:space="preserve"> <value>hue</value> </data> <data name="Help_hueNat" xml:space="preserve"> <value>hue (natural)</value> </data> <data name="Help_saturationI" xml:space="preserve"> <value>saturation (HSI)</value> </data> <data name="Help_saturationL" xml:space="preserve"> <value>saturation (HSL)</value> </data> <data name="Help_saturationB" xml:space="preserve"> <value>saturation (HSB)</value> </data> <data name="Help_brightness" xml:space="preserve"> <value>brightness</value> </data> <data name="Help_intensity" xml:space="preserve"> <value>intensity</value> </data> <data name="Help_lightnessNat" xml:space="preserve"> <value>lightness (nat)</value> </data> <data name="Help_lightnessCIE" xml:space="preserve"> <value>lightness (CIE)</value> </data> <data name="Help_value" xml:space="preserve"> <value>value</value> </data> <data name="Help_whiteness" xml:space="preserve"> <value>whiteness</value> </data> <data name="Help_blackness" xml:space="preserve"> <value>blackness</value> </data> <data name="Help_chromaticityA" xml:space="preserve"> <value>chromaticityA</value> </data> <data name="Help_chromaticityB" xml:space="preserve"> <value>chromaticityB</value> </data> <data name="Help_X_value" xml:space="preserve"> <value>X value</value> </data> <data name="Help_Y_value" xml:space="preserve"> <value>Y value</value> </data> <data name="Help_Z_value" xml:space="preserve"> <value>Z value</value> </data> <data name="Help_decimal_value_RGB" xml:space="preserve"> <value>decimal value (RGB)</value> </data> <data name="Help_decimal_value_BGR" xml:space="preserve"> <value>decimal value (BGR)</value> </data> <data name="Help_color_name" xml:space="preserve"> <value>color name</value> </data> <data name="ColorFormatEditorHelpline2.Text" xml:space="preserve"> <value>The red, green, blue and alpha values can be formatted to the following formats:</value> </data> <data name="Help_byte" xml:space="preserve"> <value>byte value (default)</value> </data> <data name="Help_hexL1" xml:space="preserve"> <value>hex lowercase one digit</value> </data> <data name="Help_hexU1" xml:space="preserve"> <value>hex uppercase one digit</value> </data> <data name="Help_hexL2" xml:space="preserve"> <value>hex lowercase two digits</value> </data> <data name="Help_hexU2" xml:space="preserve"> <value>hex uppercase two digits</value> </data> <data name="Help_floatWith" xml:space="preserve"> <value>float with leading zero</value> </data> <data name="Help_floatWithout" xml:space="preserve"> <value>float without leading zero</value> </data> <data name="ColorFormatEditorHelpline3.Text" xml:space="preserve"> <value>Example: %ReX means red value in hex uppercase two digits format.</value> </data> <data name="ColorPicker_ShowColorName.Header" xml:space="preserve"> <value>Show color name</value> </data> <data name="ColorPicker_ShowColorName.Description" xml:space="preserve"> <value>This will show the name of the color when picking a color</value> </data> <data name="ImageResizer_DefaultSize_Large" xml:space="preserve"> <value>Large</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Medium" xml:space="preserve"> <value>Medium</value> <comment>The size of the image</comment> </data> <data name="ImageResizer_DefaultSize_Phone" xml:space="preserve"> <value>Phone</value> <comment>The size of the image referring to a Mobile Phone typical image size</comment> </data> <data name="ImageResizer_DefaultSize_Small" xml:space="preserve"> <value>Small</value> <comment>The size of the image</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Up, down, left or right arrow key to move windows based on relative position</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Windows key + Left or right arrow keys to move windows based on zone index</value> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition_Description.Text" xml:space="preserve"> <value>Windows key +    or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex_Description.Text" xml:space="preserve"> <value>Windows key +  or </value> <comment>Do not loc the icons (hex numbers)</comment> </data> <data name="FancyZones_MoveWindowBasedOnRelativePosition.Text" xml:space="preserve"> <value>Relative position</value> </data> <data name="FancyZones_MoveWindow.Header" xml:space="preserve"> <value>Move windows based on</value> </data> <data name="FancyZones_MoveWindowLeftRightBasedOnZoneIndex.Text" xml:space="preserve"> <value>Zone index</value> </data> <data name="ColorPicker_Editor.Header" xml:space="preserve"> <value>Color formats</value> </data> <data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve"> <value>Activate the zone whose center is closest to the cursor</value> </data> <data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve"> <value>Activate the largest zone by area</value> </data> <data name="FancyZones_OverlappingZonesPositional.Content" xml:space="preserve"> <value>Split the overlapped area into multiple activation targets</value> </data> <data name="FancyZones_OverlappingZonesSmallest.Content" xml:space="preserve"> <value>Activate the smallest zone by area</value> </data> <data name="FancyZones_OverlappingZones.Header" xml:space="preserve"> <value>When multiple zones overlap</value> </data> <data name="PowerLauncher_Plugins.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="PowerLauncher_ActionKeyword.Header" xml:space="preserve"> <value>Direct activation command</value> </data> <data name="PowerLauncher_AuthoredBy.Text" xml:space="preserve"> <value>Authored by</value> <comment>example: Authored by Microsoft</comment> </data> <data name="PowerLauncher_IncludeInGlobalResultTitle.Text" xml:space="preserve"> <value>Include in global result</value> </data> <data name="PowerLauncher_IncludeInGlobalResultDescription.Text" xml:space="preserve"> <value>Show results on queries without direct activation command</value> </data> <data name="PowerLauncher_EnablePluginToggle.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable plugin</value> </data> <data name="PowerLauncher_EnablePluginToggle.OnContent" xml:space="preserve"> <value>On</value> </data> <data name="PowerLauncher_EnablePluginToggle.OffContent" xml:space="preserve"> <value>Off</value> </data> <data name="Run_AdditionalOptions.Text" xml:space="preserve"> <value>Additional options</value> </data> <data name="Run_NotAccessibleWarning.Title" xml:space="preserve"> <value>Please define an activation command or allow this plugin to be used in the global results.</value> </data> <data name="Run_AllPluginsDisabled.Title" xml:space="preserve"> <value>PowerToys Run can't provide any results without plugins</value> </data> <data name="Run_AllPluginsDisabled.Message" xml:space="preserve"> <value>Enable at least one plugin to get started</value> </data> <data name="Run_PluginUse.Header" xml:space="preserve"> <value>Plugins</value> </data> <data name="Run_PluginUseDescription.Text" xml:space="preserve"> <value>Include or remove plugins from the global results, change the direct activation phrase and configure additional options</value> </data> <data name="Run_PositionAppearance_GroupSettings.Header" xml:space="preserve"> <value>Position &amp; appearance</value> </data> <data name="Run_PositionHeader.Header" xml:space="preserve"> <value>Preferred monitor position</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_PositionHeader.Description" xml:space="preserve"> <value>If multiple monitors are in use, PowerToys Run can be launched on the desired monitor</value> <comment>as in Show PowerToys Run on primary monitor</comment> </data> <data name="Run_Radio_Position_Cursor.Content" xml:space="preserve"> <value>Monitor with mouse cursor</value> </data> <data name="Run_Radio_Position_Focus.Content" xml:space="preserve"> <value>Monitor with focused window</value> </data> <data name="Run_Radio_Position_Primary_Monitor.Content" xml:space="preserve"> <value>Primary monitor</value> </data> <data name="Run_PluginsLoading.Text" xml:space="preserve"> <value>Plugins are loading...</value> </data> <data name="ColorPicker_ButtonDown.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color down</value> </data> <data name="ColorPicker_ButtonUp.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Move the color up</value> </data> <data name="FancyZones_FlashZonesOnQuickSwitch.Content" xml:space="preserve"> <value>Flash zones when switching layout</value> </data> <data name="FancyZones_Layouts.Header" xml:space="preserve"> <value>Layouts</value> </data> <data name="FancyZones_QuickLayoutSwitch.Header" xml:space="preserve"> <value>Enable quick layout switch</value> </data> <data name="FancyZones_QuickLayoutSwitch.Description" xml:space="preserve"> <value>Layout-specific shortcuts can be configured in the editor</value> </data> <data name="FancyZones_QuickLayoutSwitch_GroupSettings.Text" xml:space="preserve"> <value>Quick layout switch</value> </data> <data name="Activation_Shortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="Activation_Shortcut.Description" xml:space="preserve"> <value>Customize the shortcut to activate this module</value> </data> <data name="Oobe_GetStarted.Text" xml:space="preserve"> <value>Let's get started!</value> </data> <data name="Oobe_PowerToysDescription.Text" xml:space="preserve"> <value>Welcome to PowerToys! These overviews will help you quickly learn the basics of all our utilities.</value> </data> <data name="Oobe_GettingStarted.Text" xml:space="preserve"> <value>Getting started</value> </data> <data name="Oobe_Launch.Text" xml:space="preserve"> <value>Launch</value> </data> <data name="Launch_ColorPicker.Content" xml:space="preserve"> <value>Launch Color Picker</value> </data> <data name="Oobe_LearnMore.Text" xml:space="preserve"> <value>Learn more about</value> </data> <data name="Oobe_ColorPicker.Description" xml:space="preserve"> <value>Color Picker is a system-wide color selection tool for Windows that enables you to pick colors from any currently running application and automatically copies it in a configurable format to your clipboard.</value> </data> <data name="Oobe_FancyZones.Description" xml:space="preserve"> <value>FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.</value> </data> <data name="Oobe_FileLocksmith.Description" xml:space="preserve"> <value>File Locksmith lists which processes are using the selected files or directories and allows closing those processes.</value> </data> <data name="Oobe_FileExplorer.Description" xml:space="preserve"> <value>PowerToys introduces add-ons to the Windows File Explorer that will enable files like Markdown (.md), PDF (.pdf), SVG (.svg), STL (.stl), G-code (.gcode) and developer files to be viewed in the preview pane. It introduces File Explorer thumbnail support for a number of these file types as well.</value> </data> <data name="Oobe_ImageResizer.Description" xml:space="preserve"> <value>Image Resizer is a Windows shell extension for simple bulk image-resizing.</value> </data> <data name="Oobe_KBM.Description" xml:space="preserve"> <value>Keyboard Manager allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts.</value> </data> <data name="Oobe_MouseWithoutBorders.Description" xml:space="preserve"> <value>Mouse Without Borders enables using the mouse pointer, keyboard, clipboard and drag and drop between machines in the same local network.</value> </data> <data name="Oobe_PowerRename.Description" xml:space="preserve"> <value>PowerRename enables you to perform simple bulk renaming, searching and replacing file names.</value> </data> <data name="Oobe_Run.Description" xml:space="preserve"> <value>PowerToys Run is a quick launcher for power users that contains some additional features without sacrificing performance.</value> </data> <data name="Oobe_MeasureTool.Description" xml:space="preserve"> <value>Screen Ruler is a quick and easy way to measure pixels on your screen.</value> </data> <data name="Oobe_ShortcutGuide.Description" xml:space="preserve"> <value>Shortcut Guide presents the user with a listing of available shortcuts for the current state of the desktop.</value> </data> <data name="Oobe_VideoConference.Description" xml:space="preserve"> <value>Video Conference Mute allows users to quickly mute the microphone and turn off the camera while on a conference call with a single keystroke, regardless of what application has focus on your computer.</value> </data> <data name="Oobe_MouseUtils.Description" xml:space="preserve"> <value>A collection of utilities to enhance your mouse.</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_Overview.Description" xml:space="preserve"> <value>Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Take a moment to preview the various utilities listed or view our comprehensive documentation.</value> </data> <data name="Oobe_Overview_DescriptionLinkText.Text" xml:space="preserve"> <value>Documentation on Microsoft Learn</value> </data> <data name="ReleaseNotes.Content" xml:space="preserve"> <value>Release notes</value> </data> <data name="Oobe_ColorPicker_HowToUse.Text" xml:space="preserve"> <value>to open Color Picker.</value> </data> <data name="Oobe_ColorPicker_TipsAndTricks.Text" xml:space="preserve"> <value>To select a color with more precision, **scroll the mouse wheel** to zoom in.</value> </data> <data name="Oobe_FancyZones_HowToUse.Text" xml:space="preserve"> <value>**Shift** + **drag the window** to snap a window to a zone, and release the window in the desired zone.</value> </data> <data name="Oobe_FancyZones_HowToUse_Shortcut.Text" xml:space="preserve"> <value>to open the FancyZones editor.</value> </data> <data name="Oobe_FancyZones_TipsAndTricks.Text" xml:space="preserve"> <value>Snap a window to multiple zones by holding the **Ctrl** key (while also holding **Shift**) when dragging a window.</value> </data> <data name="Oobe_FileLocksmith_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **What's using this file?** from the context menu.</value> </data> <data name="Oobe_FileLocksmith_TipsAndTricks.Text" xml:space="preserve"> <value>Press the **Restart Elevated** button from the File Locksmith UI to also get information on elevated processes that might be using the files.</value> </data> <data name="Oobe_FileExplorer_HowToEnable.Text" xml:space="preserve"> <value>Select **View** which is located at the top of File Explorer, followed by **Show**, and then **Preview pane**. From there, simply click on one of the supported files in the File Explorer and observe the content on the preview pane!</value> </data> <data name="Oobe_HowToCreateMappings.Text" xml:space="preserve"> <value>How to create mappings</value> </data> <data name="Oobe_HowToEnable.Text" xml:space="preserve"> <value>How to enable</value> </data> <data name="Oobe_HowToLaunch.Text" xml:space="preserve"> <value>How to launch</value> </data> <data name="Oobe_HowToUse.Text" xml:space="preserve"> <value>How to use</value> </data> <data name="Oobe_ImageResizer_HowToLaunch.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more image files and select **Resize pictures** from the context menu.</value> </data> <data name="Oobe_ImageResizer_TipsAndTricks.Text" xml:space="preserve"> <value>Want a custom size? You can add them in the PowerToys Settings!</value> </data> <data name="Oobe_KBM_HowToCreateMappings.Text" xml:space="preserve"> <value>Launch **PowerToys Settings**, navigate to the Keyboard Manager menu, and select either **Remap a key** or **Remap a shortcut**.</value> </data> <data name="Oobe_KBM_TipsAndTricks.Text" xml:space="preserve"> <value>Want to only have a shortcut work for a single application? Use the Target App field when creating the shortcut remapping.</value> </data> <data name="Oobe_MouseWithoutBorders_HowToUse.Text" xml:space="preserve"> <value>Use the Settings screen on each machine to connect to the other machines using the same key. If a connection is not working, it may be necessary to add an exception to the Windows Firewall.</value> </data> <data name="Oobe_MouseWithoutBorders_TipsAndTricks.Text" xml:space="preserve"> <value>Use the service option in Settings to install a service enabling Mouse Without Borders to function even in the lock screen.</value> </data> <data name="Oobe_PowerRename_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click one or more selected files and select **PowerRename** from the context menu.</value> </data> <data name="Oobe_PowerRename_TipsAndTricks.Text" xml:space="preserve"> <value>PowerRename supports searching for files using regular expressions to enable more advanced renaming functionalities.</value> </data> <data name="Oobe_Run_HowToLaunch.Text" xml:space="preserve"> <value>to open Run and just start typing.</value> </data> <data name="Oobe_Run_TipsAndTricks.Text" xml:space="preserve"> <value>PowerToys Run supports various action keys to funnel search queries for a specific subset of results. Typing `&lt;` searches for running processes only, `?` will search only for file, or `.` for installed applications! See PowerToys documentation for the complete set of 'Action Keys' available.</value> </data> <data name="Oobe_ShortcutGuide_HowToLaunch.Text" xml:space="preserve"> <value>to open Shortcut Guide, press it again to close or press **Esc**.</value> </data> <data name="Oobe_TipsAndTricks.Text" xml:space="preserve"> <value>Tips &amp; tricks</value> </data> <data name="Oobe_VideoConference_ToggleMicVid.Text" xml:space="preserve"> <value>to toggle both your microphone and video</value> </data> <data name="Oobe_VideoConference_ToggleMic.Text" xml:space="preserve"> <value>to toggle your microphone</value> </data> <data name="Oobe_VideoConference_PushToTalkMic.Text" xml:space="preserve"> <value>to toggle your microphone until key release</value> </data> <data name="Oobe_VideoConference_ToggleVid.Text" xml:space="preserve"> <value>to toggle your video</value> </data> <data name="Oobe_MeasureTool_Activation.Text" xml:space="preserve"> <value>to bring up the Screen Ruler command bar.</value> </data> <data name="Oobe_MeasureTool_HowToLaunch.Text" xml:space="preserve"> <value>The Bounds mode lets you select a specific area to measure. You can also shift-drag an area to persist in on screen. The various Spacing modes allows tracing similar pixels along horizontal and vertical axes with a customizable pixel tolerance threshold (use settings or mouse wheel to adjust it).</value> </data> <data name="Oobe_MeasureTool.Title" xml:space="preserve"> <value>Screen Ruler</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ColorPicker.Title" xml:space="preserve"> <value>Color Picker</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FancyZones.Title" xml:space="preserve"> <value>FancyZones</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_FileLocksmith.Title" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Oobe_ImageResizer.Title" xml:space="preserve"> <value>Image Resizer</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_KBM.Title" xml:space="preserve"> <value>Keyboard Manager</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseWithoutBorders.Title" xml:space="preserve"> <value>Mouse Without Borders</value> <comment>Product name. Do not localize this string</comment> </data> <data name="Oobe_PowerRename.Title" xml:space="preserve"> <value>PowerRename</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Run.Title" xml:space="preserve"> <value>PowerToys Run</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_ShortcutGuide.Title" xml:space="preserve"> <value>Shortcut Guide</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_VideoConference.Title" xml:space="preserve"> <value>Video Conference Mute</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_Overview.Title" xml:space="preserve"> <value>Welcome</value> </data> <data name="Oobe_WhatsNew.Text" xml:space="preserve"> <value>What's new</value> </data> <data name="Oobe_WhatsNew_LoadingError.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_LoadingError.Message" xml:space="preserve"> <value>Please check your internet connection.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Title" xml:space="preserve"> <value>Couldn't load the release notes.</value> </data> <data name="Oobe_WhatsNew_ProxyAuthenticationWarning.Message" xml:space="preserve"> <value>Your proxy server requires authentication.</value> </data> <data name="Oobe_WhatsNew_DetailedReleaseNotesLink.Text" xml:space="preserve"> <value>See more detailed release notes on GitHub</value> <comment>Don't loc "GitHub", it's the name of a product</comment> </data> <data name="OOBE_Settings.Content" xml:space="preserve"> <value>Open Settings</value> </data> <data name="Oobe_NavViewItem.Content" xml:space="preserve"> <value>Welcome to PowerToys</value> <comment>Don't loc "PowerToys"</comment> </data> <data name="WhatIsNew_NavViewItem.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Feedback_NavViewItem.Content" xml:space="preserve"> <value>Give feedback</value> </data> <data name="OobeWindow_Title" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="OobeWindow_TitleTxt.Text" xml:space="preserve"> <value>Welcome to PowerToys</value> </data> <data name="SettingsWindow_Title" xml:space="preserve"> <value>PowerToys Settings</value> <comment>Title of the settings window when running as user</comment> </data> <data name="Awake.ModuleTitle" xml:space="preserve"> <value>Awake</value> </data> <data name="Awake.ModuleDescription" xml:space="preserve"> <value>A convenient way to keep your PC awake on-demand.</value> </data> <data name="Awake_EnableSettingsCard.Header" xml:space="preserve"> <value>Enable Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="Awake_NoKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep using the selected power plan</value> </data> <data name="Awake_IndefiniteKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake indefinitely</value> </data> <data name="Awake_TemporaryKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake for a time interval</value> </data> <data name="Awake_ExpirableKeepAwakeSelector.Content" xml:space="preserve"> <value>Keep awake until expiration</value> </data> <data name="Awake_DisplaySettingsCard.Header" xml:space="preserve"> <value>Keep screen on</value> </data> <data name="Awake_DisplaySettingsCard.Description" xml:space="preserve"> <value>This setting is only available when keeping the PC awake</value> </data> <data name="Awake_ExpirationSettingsExpander.Description" xml:space="preserve"> <value>Keep custom awake state until a specific date and time</value> </data> <data name="Awake_ModeSettingsCard.Header" xml:space="preserve"> <value>Mode</value> </data> <data name="Awake_BehaviorSettingsGroup.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Awake_IntervalHoursInput.Header" xml:space="preserve"> <value>Hours</value> </data> <data name="Awake_IntervalMinutesInput.Header" xml:space="preserve"> <value>Minutes</value> </data> <data name="Awake_ExpirationSettingsExpander_Date.Header" xml:space="preserve"> <value>End date</value> </data> <data name="Awake_ExpirationSettingsExpander_Time.Header" xml:space="preserve"> <value>End time</value> </data> <data name="Oobe_Awake.Title" xml:space="preserve"> <value>Awake</value> <comment>Module name, do not loc</comment> </data> <data name="Oobe_Awake.Description" xml:space="preserve"> <value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value> </data> <data name="Oobe_Awake_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Awake</value> </data> <data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve"> <value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value> </data> <data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve"> <value>An error occurred trying to install this update:</value> </data> <data name="General_InstallNow.Content" xml:space="preserve"> <value>Install now</value> </data> <data name="General_ReadMore.Text" xml:space="preserve"> <value>Read more</value> </data> <data name="General_NewVersionAvailable.Title" xml:space="preserve"> <value>An update is available:</value> </data> <data name="General_Downloading.Text" xml:space="preserve"> <value>Downloading...</value> </data> <data name="General_TryAgainToDownloadAndInstall.Content" xml:space="preserve"> <value>Try again to download and install</value> </data> <data name="General_CheckingForUpdates.Text" xml:space="preserve"> <value>Checking for updates...</value> </data> <data name="General_NewVersionReadyToInstall.Title" xml:space="preserve"> <value>An update is ready to install:</value> </data> <data name="General_UpToDate.Title" xml:space="preserve"> <value>PowerToys is up to date</value> </data> <data name="General_CantCheck.Title" xml:space="preserve"> <value>Network error. Please try again later</value> </data> <data name="General_DownloadAndInstall.Content" xml:space="preserve"> <value>Download &amp; install</value> </data> <data name="ImageResizer_Fit_Fill_ThirdPersonSingular" xml:space="preserve"> <value>Fills</value> </data> <data name="ImageResizer_Fit_Fit_ThirdPersonSingular" xml:space="preserve"> <value>Fits within</value> </data> <data name="ImageResizer_Fit_Stretch_ThirdPersonSingular" xml:space="preserve"> <value>Stretches to</value> </data> <data name="ImageResizer_Unit_Centimeter" xml:space="preserve"> <value>Centimeters</value> </data> <data name="ImageResizer_Unit_Inch" xml:space="preserve"> <value>Inches</value> </data> <data name="ImageResizer_Unit_Percent" xml:space="preserve"> <value>Percent</value> </data> <data name="ImageResizer_Unit_Pixel" xml:space="preserve"> <value>Pixels</value> </data> <data name="EditButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit</value> </data> <data name="ImageResizer_EditSize.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Edit size</value> </data> <data name="No" xml:space="preserve"> <value>No</value> <comment>Label of a cancel button</comment> </data> <data name="Delete_Dialog_Description" xml:space="preserve"> <value>Are you sure you want to delete this item?</value> </data> <data name="Yes" xml:space="preserve"> <value>Yes</value> <comment>Label of a confirmation button</comment> </data> <data name="SeeWhatsNew.Content" xml:space="preserve"> <value>See what's new</value> </data> <data name="Awake_ModeSettingsCard.Description" xml:space="preserve"> <value>Manage the state of your device when Awake is active</value> </data> <data name="ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="Enable_ColorFormat.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Enable colorformat</value> </data> <data name="More_Options_Button.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More options</value> </data> <data name="More_Options_ButtonTooltip.Text" xml:space="preserve"> <value>More options</value> </data> <data name="To.Text" xml:space="preserve"> <value>to</value> <comment>as in: from x to y</comment> </data> <data name="LearnMore_Awake.Text" xml:space="preserve"> <value>Learn more about Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="SecondaryLink_Awake.Text" xml:space="preserve"> <value>Den Delimarsky's work on creating Awake</value> <comment>Awake is a product name, do not loc</comment> </data> <data name="LearnMore_ColorPicker.Text" xml:space="preserve"> <value>Learn more about Color Picker</value> <comment>Color Picker is a product name, do not loc</comment> </data> <data name="LearnMore_FancyZones.Text" xml:space="preserve"> <value>Learn more about FancyZones</value> <comment>FancyZones is a product name, do not loc</comment> </data> <data name="LearnMore_FileLocksmith.Text" xml:space="preserve"> <value>Learn more about File Locksmith</value> </data> <data name="LearnMore_ImageResizer.Text" xml:space="preserve"> <value>Learn more about Image Resizer</value> <comment>Image Resizer is a product name, do not loc</comment> </data> <data name="LearnMore_KBM.Text" xml:space="preserve"> <value>Learn more about Keyboard Manager</value> <comment>Keyboard Manager is a product name, do not loc</comment> </data> <data name="LearnMore_MouseUtils.Text" xml:space="preserve"> <value>Learn more about Mouse utilities</value> <comment>Mouse utilities is a product name, do not loc</comment> </data> <data name="LearnMore_PastePlain.Text" xml:space="preserve"> <value>Learn more about Paste as Plain Text</value> <comment> Paste as Plain Text is the name of the module. </comment> </data> <data name="LearnMore_MouseWithoutBorders.Text" xml:space="preserve"> <value>Learn more about Mouse Without Borders</value> <comment>Mouse Without Borders is the name of the module. </comment> </data> <data name="LearnMore_PowerPreview.Text" xml:space="preserve"> <value>Learn more about File Explorer add-ons</value> <comment>File Explorer is a product name, localize as Windows does</comment> </data> <data name="LearnMore_Peek.Text" xml:space="preserve"> <value>Learn more about Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="LearnMore_PowerRename.Text" xml:space="preserve"> <value>Learn more about PowerRename</value> <comment>PowerRename is a product name, do not loc</comment> </data> <data name="LearnMore_Run.Text" xml:space="preserve"> <value>Learn more about PowerToys Run</value> <comment>PowerToys Run is a product name, do not loc</comment> </data> <data name="LearnMore_MeasureTool.Text" xml:space="preserve"> <value>Learn more about Screen Ruler</value> <comment>Screen Ruler is a product name, do not loc</comment> </data> <data name="LearnMore_ShortcutGuide.Text" xml:space="preserve"> <value>Learn more about Shortcut Guide</value> <comment>Shortcut Guide is a product name, do not loc</comment> </data> <data name="LearnMore_VCM.Text" xml:space="preserve"> <value>Learn more about Video Conference Mute</value> <comment>Video Conference Mute is a product name, do not loc</comment> </data> <data name="Oobe_FileExplorer.Title" xml:space="preserve"> <value>File Explorer add-ons</value> <comment>Do not localize this string</comment> </data> <data name="Oobe_MouseUtils.Title" xml:space="preserve"> <value>Mouse utilities</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse.Text" xml:space="preserve"> <value>Find My Mouse</value> <comment>Mouse as in the hardware peripheral</comment> </data> <data name="Oobe_MouseUtils_FindMyMouse_Description.Text" xml:space="preserve"> <value>Focus the mouse pointer pressing the Ctrl key twice, using a custom shortcut or shaking the mouse.</value> <comment>Mouse as in the hardware peripheral. Key as in a keyboard key</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter.Text" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseHighlighter_Description.Text" xml:space="preserve"> <value>Use a keyboard shortcut to highlight left and right mouse clicks.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs.Text" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MousePointerCrosshairs_Description.Text" xml:space="preserve"> <value>Draw crosshairs centered around the mouse pointer.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump.Text" xml:space="preserve"> <value>Mouse Jump</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Oobe_MouseUtils_MouseJump_Description.Text" xml:space="preserve"> <value>Jump the mouse pointer quickly to anywhere on your desktop.</value> <comment>Mouse as in the hardware peripheral.</comment> </data> <data name="Launch_Run.Content" xml:space="preserve"> <value>Launch PowerToys Run</value> </data> <data name="Launch_ShortcutGuide.Content" xml:space="preserve"> <value>Launch Shortcut Guide</value> </data> <data name="ColorPicker_ColorFormat_ToggleSwitch.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Show format in editor</value> </data> <data name="GeneralPage_Documentation.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="PowerLauncher_SearchList.PlaceholderText" xml:space="preserve"> <value>Search this list</value> </data> <data name="PowerLauncher_SearchList.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Search this list</value> </data> <data name="Awake.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="ColorPicker.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="General.SecondaryLinksHeader" xml:space="preserve"> <value>Related information</value> </data> <data name="ImageResizer.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="MouseUtils.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerLauncher.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="PowerRename.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="EditTooltip.Text" xml:space="preserve"> <value>Edit</value> </data> <data name="RemoveTooltip.Text" xml:space="preserve"> <value>Remove</value> </data> <data name="Activation_Shortcut_Cancel" xml:space="preserve"> <value>Cancel</value> </data> <data name="Activation_Shortcut_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut</value> </data> <data name="Activation_Shortcut_With_Disable_Description" xml:space="preserve"> <value>Press a combination of keys to change this shortcut. Right-click to remove the key combination, thereby deactivating the shortcut.</value> </data> <data name="Activation_Shortcut_Reset" xml:space="preserve"> <value>Reset</value> </data> <data name="Activation_Shortcut_Save" xml:space="preserve"> <value>Save</value> </data> <data name="Activation_Shortcut_Title" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="InvalidShortcut.Title" xml:space="preserve"> <value>Invalid shortcut</value> </data> <data name="InvalidShortcutWarningLabel.Text" xml:space="preserve"> <value>Only shortcuts that start with **Windows key**, **Ctrl**, **Alt** or **Shift** are valid.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="WarningShortcutAltGr.Title" xml:space="preserve"> <value>Possible shortcut interference with Alt Gr</value> <comment>Alt Gr refers to the right alt key on some international keyboards</comment> </data> <data name="WarningShortcutAltGr.ToolTipService.ToolTip" xml:space="preserve"> <value>Shortcuts with **Ctrl** and **Alt** may remove functionality from some international keyboards, because **Ctrl** + **Alt** = **Alt Gr** in those keyboards.</value> <comment>The ** sequences are used for text formatting of the key names. Don't remove them on translation.</comment> </data> <data name="FancyZones_SpanZonesAcrossMonitors.Description" xml:space="preserve"> <value>All monitors must have the same DPI scaling and will be treated as one large combined rectangle which contains all monitors</value> </data> <data name="ImageResizer_DefaultSize_NewSizePrefix" xml:space="preserve"> <value>New size</value> <comment>First part of the default name of new sizes that can be added in PT's settings ui.</comment> </data> <data name="Awake_IntervalSettingsCard.Header" xml:space="preserve"> <value>Interval before returning to the previous awakeness state</value> </data> <data name="Awake_ExpirationSettingsExpander.Header" xml:space="preserve"> <value>End date and time</value> </data> <data name="MouseUtils.ModuleTitle" xml:space="preserve"> <value>Mouse utilities</value> </data> <data name="MouseUtils.ModuleDescription" xml:space="preserve"> <value>A collection of mouse utilities.</value> </data> <data name="MouseUtils_FindMyMouse.Header" xml:space="preserve"> <value>Find My Mouse</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_FindMyMouse.Description" xml:space="preserve"> <value>Find My Mouse highlights the position of the cursor when pressing the Ctrl key twice, using a custom shortcut or when shaking the mouse.</value> <comment>"Ctrl" is a keyboard key. "Find My Mouse" is the name of the utility</comment> </data> <data name="MouseUtils_Enable_FindMyMouse.Header" xml:space="preserve"> <value>Enable Find My Mouse</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationMethod.Header" xml:space="preserve"> <value>Activation method</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleControlPress.Content" xml:space="preserve"> <value>Press Left Control twice</value> <comment>Left control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShakeMouse.Content" xml:space="preserve"> <value>Shake mouse</value> <comment>Mouse is the hardware peripheral.</comment> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation when an excluded application is the foreground application</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="MouseUtils_FindMyMouse_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="MouseUtils_Prevent_Activation_On_Game_Mode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>"Game mode" is the Windows feature to prevent notification when playing a game.</comment> </data> <data name="MouseUtils_FindMyMouse_BackgroundColor.Header" xml:space="preserve"> <value>Background color</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightColor.Header" xml:space="preserve"> <value>Spotlight color</value> </data> <data name="MouseUtils_FindMyMouse_OverlayOpacity.Header" xml:space="preserve"> <value>Overlay opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightRadius.Header" xml:space="preserve"> <value>Spotlight radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Header" xml:space="preserve"> <value>Spotlight initial zoom</value> </data> <data name="MouseUtils_FindMyMouse_SpotlightInitialZoom.Description" xml:space="preserve"> <value>Spotlight zoom factor at animation start</value> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Header" xml:space="preserve"> <value>Animation duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs.Description" xml:space="preserve"> <value>Time before the spotlight appears (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_FindMyMouse_AnimationDurationMs_Disabled.Message" xml:space="preserve"> <value>Animations are disabled by OS. See Settings &gt; Accessibility &gt; Visual effects</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Header" xml:space="preserve"> <value>Shake minimum distance</value> </data> <data name="MouseUtils_FindMyMouse_ShakingMinimumDistance.Description" xml:space="preserve"> <value>The minimum distance for mouse shaking activation, for adjusting sensitivity</value> </data> <data name="MouseUtils_MouseHighlighter.Header" xml:space="preserve"> <value>Mouse Highlighter</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseHighlighter.Description" xml:space="preserve"> <value>Mouse Highlighter mode will highlight mouse clicks.</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MouseHighlighter.Header" xml:space="preserve"> <value>Enable Mouse Highlighter</value> <comment>"Find My Mouse" is the name of the utility.</comment> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MouseHighlighter_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> <comment>"Mouse Highlighter" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseHighlighter_PrimaryButtonClickColor.Header" xml:space="preserve"> <value>Primary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_SecondaryButtonClickColor.Header" xml:space="preserve"> <value>Secondary button highlight color</value> </data> <data name="MouseUtils_MouseHighlighter_HighlightRadius.Header" xml:space="preserve"> <value>Radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Header" xml:space="preserve"> <value>Fade delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDelayMs.Description" xml:space="preserve"> <value>Time before the highlight begins to fade (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Header" xml:space="preserve"> <value>Fade duration (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MouseHighlighter_FadeDurationMs.Description" xml:space="preserve"> <value>Duration of the disappear animation (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Mouse Pointer Crosshairs</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MousePointerCrosshairs.Description" xml:space="preserve"> <value>Mouse Pointer Crosshairs draws crosshairs centered on the mouse pointer.</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_Enable_MousePointerCrosshairs.Header" xml:space="preserve"> <value>Enable Mouse Pointer Crosshairs</value> <comment>"Mouse Pointer Crosshairs" is the name of the utility.</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_MousePointerCrosshairs_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to show/hide the crosshairs</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsColor.Header" xml:space="preserve"> <value>Crosshairs color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsOpacity.Header" xml:space="preserve"> <value>Crosshairs opacity (%)</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsRadius.Header" xml:space="preserve"> <value>Crosshairs center radius (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsThickness.Header" xml:space="preserve"> <value>Crosshairs thickness (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderColor.Header" xml:space="preserve"> <value>Crosshairs border color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsBorderSize.Header" xml:space="preserve"> <value>Crosshairs border size (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MousePointerCrosshairs_IsCrosshairsFixedLengthEnabled.Header" xml:space="preserve"> <value>Fix crosshairs length</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsFixedLength.Header" xml:space="preserve"> <value>Crosshairs fixed length (px)</value> <comment>px = pixels</comment> </data> <data name="FancyZones_Radio_Custom_Colors.Content" xml:space="preserve"> <value>Custom colors</value> </data> <data name="FancyZones_Radio_Default_Theme.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="ColorModeHeader.Header" xml:space="preserve"> <value>App theme</value> </data> <data name="FancyZones_Zone_Appearance.Description" xml:space="preserve"> <value>Customize the way zones look</value> </data> <data name="FancyZones_Zone_Appearance.Header" xml:space="preserve"> <value>Zone appearance</value> </data> <data name="VideoConference_DeprecationWarning.Title" xml:space="preserve"> <value>VCM is moving into legacy mode (maintenance only).</value> </data> <data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="LearnMore.Content" xml:space="preserve"> <value>Learn more</value> </data> <data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve"> <value>You need to run as administrator to modify these settings.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Header" xml:space="preserve"> <value>Geometric Code</value> <comment>File type, do not translate</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Preview_GCODE.Description" xml:space="preserve"> <value>Only .gcode files with embedded thumbnails are supported</value> </data> <data name="FancyZones_NumberColor.Header" xml:space="preserve"> <value>Number color</value> </data> <data name="FancyZones_ShowZoneNumberCheckBoxControl.Content" xml:space="preserve"> <value>Show zone number</value> </data> <data name="ToggleSwitch.OffContent" xml:space="preserve"> <value>Off</value> <comment>The state of a ToggleSwitch when it's off</comment> </data> <data name="ToggleSwitch.OnContent" xml:space="preserve"> <value>On</value> <comment>The state of a ToggleSwitch when it's on</comment> </data> <data name="CropAndLock.ModuleDescription" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock.ModuleTitle" xml:space="preserve"> <value>Crop And Lock </value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="CropAndLock_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Shell_CropAndLock.Content" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="LearnMore_CropAndLock.Text" xml:space="preserve"> <value>Learn more about Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Header" xml:space="preserve"> <value>Reparent shortcut</value> </data> <data name="CropAndLock_ReparentActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Header" xml:space="preserve"> <value>Thumbnail shortcut</value> </data> <data name="CropAndLock_ThumbnailActivation_Shortcut.Description" xml:space="preserve"> <value>Shortcut to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues. </value> </data> <data name="CropAndLock.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="Oobe_CropAndLock.Title" xml:space="preserve"> <value>Crop And Lock</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock.Description" xml:space="preserve"> <value>Crop And Lock allows you to crop a current application into a smaller window or just create a thumbnail. Focus the target window and press the shortcut to start cropping.</value> <comment>"Crop And Lock" is the name of the utility</comment> </data> <data name="Oobe_CropAndLock_HowToUse_Thumbnail.Text" xml:space="preserve"> <value>to crop and create a thumbnail of another window. The application isn't controllable through the thumbnail but it'll have less compatibility issues.</value> </data> <data name="Oobe_CropAndLock_HowToUse_Reparent.Text" xml:space="preserve"> <value>to crop an application's window into a cropped window. This is experimental and can cause issues with some applications, since the cropped window will contain the original application window.</value> </data> <data name="AlwaysOnTop.ModuleDescription" xml:space="preserve"> <value>Always On Top is a quick and easy way to pin windows on top.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop.ModuleTitle" xml:space="preserve"> <value>Always On Top </value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Peek_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="AlwaysOnTop_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ExcludedApps.Description" xml:space="preserve"> <value>Excludes an application from pinning on top</value> </data> <data name="AlwaysOnTop_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="AlwaysOnTop_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: outlook.exe</value> </data> <data name="AlwaysOnTop_FrameColor.Header" xml:space="preserve"> <value>Color</value> </data> <data name="AlwaysOnTop_FrameEnabled.Header" xml:space="preserve"> <value>Show a border around the pinned window</value> </data> <data name="AlwaysOnTop_FrameThickness.Header" xml:space="preserve"> <value>Thickness (px)</value> <comment>px = pixels</comment> </data> <data name="AlwaysOnTop_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Appearance &amp; behavior</value> </data> <data name="Shell_AlwaysOnTop.Content" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_GameMode.Content" xml:space="preserve"> <value>Do not activate when Game Mode is on</value> <comment>Game Mode is a Windows feature</comment> </data> <data name="AlwaysOnTop_SoundTitle.Header" xml:space="preserve"> <value>Sound</value> </data> <data name="AlwaysOnTop_Sound.Content" xml:space="preserve"> <value>Play a sound when pinning a window</value> </data> <data name="AlwaysOnTop_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="LearnMore_AlwaysOnTop.Text" xml:space="preserve"> <value>Learn more about Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="AlwaysOnTop_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="AlwaysOnTop_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to pin or unpin an app window</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Title" xml:space="preserve"> <value>Always On Top</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop.Description" xml:space="preserve"> <value>Always On Top improves your multitasking workflow by pinning an application window so it's always in front - even when focus changes to another window after that.</value> <comment>"Always On Top" is the name of the utility</comment> </data> <data name="Oobe_AlwaysOnTop_HowToUse.Text" xml:space="preserve"> <value>to pin or unpin the selected window so it's always on top of all other windows.</value> </data> <data name="Oobe_AlwaysOnTop_TipsAndTricks.Text" xml:space="preserve"> <value>You can tweak the visual outline of the pinned windows in PowerToys settings.</value> </data> <data name="AlwaysOnTop_FrameColor_Mode.Header" xml:space="preserve"> <value>Color mode</value> </data> <data name="AlwaysOnTop_Radio_Custom_Color.Content" xml:space="preserve"> <value>Custom color</value> </data> <data name="AlwaysOnTop_Radio_Windows_Default.Content" xml:space="preserve"> <value>Windows default</value> </data> <data name="FileExplorerPreview.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> <comment>giving credit to the projects this utility was based on</comment> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text.Content" xml:space="preserve"> <value>Wrap text</value> <comment>Feature on or off</comment> </data> <data name="FancyZones_AllowPopupWindowSnap.Description" xml:space="preserve"> <value>This setting can affect all popup windows including notifications</value> </data> <data name="FancyZones_AllowPopupWindowSnap.Header" xml:space="preserve"> <value>Allow popup windows snapping</value> </data> <data name="FancyZones_AllowChildWindowSnap.Content" xml:space="preserve"> <value>Allow child windows snapping</value> </data> <data name="Shell_WhatsNew.Content" xml:space="preserve"> <value>What's new</value> </data> <data name="Shell_Peek.Content" xml:space="preserve"> <value>Peek</value> <comment>Product name: Navigation view item name for Peek</comment> </data> <data name="Peek.ModuleTitle" xml:space="preserve"> <value>Peek</value> </data> <data name="Peek.ModuleDescription" xml:space="preserve"> <value>Peek is a quick and easy way to preview files. Select a file in File Explorer and press the shortcut to open the file preview.</value> </data> <data name="Peek_EnablePeek.Header" xml:space="preserve"> <value>Enable Peek</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_BehaviorHeader.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Peek_AlwaysRunNotElevated.Header" xml:space="preserve"> <value>Always run not elevated, even when PowerToys is elevated</value> </data> <data name="Peek_AlwaysRunNotElevated.Description" xml:space="preserve"> <value>Tries to run Peek without elevated permissions, to fix access to network shares. You need to disable and re-enable Peek for changes to this value to take effect.</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="Peek_CloseAfterLosingFocus.Header" xml:space="preserve"> <value>Automatically close the Peek window after it loses focus</value> <comment>Peek is a product name, do not loc</comment> </data> <data name="FancyZones_DisableRoundCornersOnWindowSnap.Content" xml:space="preserve"> <value>Disable round corners when window is snapped</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Description" xml:space="preserve"> <value>Fine tune results ordering</value> </data> <data name="PowerLauncher_SearchQueryTuningEnabled.Header" xml:space="preserve"> <value>Results order tuning</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Description" xml:space="preserve"> <value>Use a higher number to get selected results to rise faster. The default is 5, 0 to disable.</value> </data> <data name="PowerLauncher_SearchClickedItemWeight.Header" xml:space="preserve"> <value>Selected item weight</value> </data> <data name="PowerLauncher_WaitForSlowResults.Description" xml:space="preserve"> <value>Selecting this can help preselect the top, more relevant result, but at the risk of jumpiness</value> </data> <data name="PowerLauncher_WaitForSlowResults.Header" xml:space="preserve"> <value>Wait on slower plugin results before selecting top item in results</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Header" xml:space="preserve"> <value>Plugin hints</value> </data> <data name="PowerLauncher_ShowPluginKeywords.Description" xml:space="preserve"> <value>Choose which plugin keywords to be shown when the searchbox is empty</value> </data> <data name="PowerLauncher_PluginWeightBoost.Description" xml:space="preserve"> <value>Use a higher number to have this plugin's result show higher in the global results. Default is 0.</value> </data> <data name="PowerLauncher_PluginWeightBoost.Header" xml:space="preserve"> <value>Global sort order score modifier</value> </data> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <value>Enable round corners</value> </data> <data name="LearnMore_QuickAccent.Text" xml:space="preserve"> <value>Learn more about Quick Accent</value> <comment>Quick Accent is a product name, do not loc</comment> </data> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve"> <value>Enable Quick Accent</value> </data> <data name="Shell_QuickAccent.Content" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.ModuleDescription" xml:space="preserve"> <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. Activate by holding the key for the character you want to add an accent to, then press the activation key (space, left or right arrow keys) and an overlay to select accented characters will appear!</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent.ModuleTitle" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="AlwaysOnTop_ShortDescription" xml:space="preserve"> <value>Pin a window</value> </data> <data name="Awake_ShortDescription" xml:space="preserve"> <value>Keep your PC awake</value> </data> <data name="ColorPicker_ShortDescription" xml:space="preserve"> <value>Pick a color</value> </data> <data name="CropAndLock_Thumbnail" xml:space="preserve"> <value>Thumbnail</value> </data> <data name="CropAndLock_Reparent" xml:space="preserve"> <value>Reparent</value> </data> <data name="FancyZones_OpenEditor" xml:space="preserve"> <value>Open editor</value> </data> <data name="FileLocksmith_ShortDescription" xml:space="preserve"> <value>Right-click on files or directories to show running processes</value> </data> <data name="FindMyMouse_ShortDescription" xml:space="preserve"> <value>Find the mouse</value> </data> <data name="ImageResizer_ShortDescription" xml:space="preserve"> <value>Resize images from right-click context menu</value> </data> <data name="MouseHighlighter_ShortDescription" xml:space="preserve"> <value>Highlight clicks</value> </data> <data name="MouseJump_ShortDescription" xml:space="preserve"> <value>Quickly move the mouse pointer</value> </data> <data name="MouseCrosshairs_ShortDescription" xml:space="preserve"> <value>Draw crosshairs centered on the mouse pointer</value> </data> <data name="MouseWithoutBorders_ShortDescription" xml:space="preserve"> <value>Move your cursor across multiple devices</value> </data> <data name="PastePlain_ShortDescription" xml:space="preserve"> <value>Paste clipboard content without formatting</value> </data> <data name="Peek_ShortDescription" xml:space="preserve"> <value>Quick and easy previewer</value> </data> <data name="PowerRename_ShortDescription" xml:space="preserve"> <value>Rename files and folders from right-click context menu</value> </data> <data name="Run_ShortDescription" xml:space="preserve"> <value>A quick launcher</value> </data> <data name="PowerAccent_ShortDescription" xml:space="preserve"> <value>An alternative way to type accented characters</value> </data> <data name="RegistryPreview_ShortDescription" xml:space="preserve"> <value>Visualize and edit Windows Registry files</value> </data> <data name="ScreenRuler_ShortDescription" xml:space="preserve"> <value>Measure pixels on your screen</value> </data> <data name="ShortcutGuide_ShortDescription" xml:space="preserve"> <value>Show a help overlay with Windows shortcuts</value> </data> <data name="PowerOcr_ShortDescription" xml:space="preserve"> <value>A convenient way to copy text from anywhere on screen</value> </data> <data name="Dashboard_Activation" xml:space="preserve"> <value>Activation</value> </data> <data name="DashboardKBMShowMappingsButton.Content" xml:space="preserve"> <value>Show remappings</value> </data> <data name="Oobe_QuickAccent.Description" xml:space="preserve"> <value>Quick Accent is an easy way to write letters with accents, like on a smartphone.</value> </data> <data name="Oobe_QuickAccent.Title" xml:space="preserve"> <value>Quick Accent</value> </data> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve"> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve"> <value>Activation key</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve"> <value>Press this key after holding down the target letter</value> <comment>key refers to a physical key on a keyboard</comment> </data> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <value>Left/Right Arrow</value> <comment>Left/Right arrow keyboard keys</comment> </data> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve"> <value>Space</value> <comment>Space is the space keyboard key</comment> </data> <data name="QuickAccent_Activation_Key_Either.Content" xml:space="preserve"> <value>Left, Right or Space</value> <comment>All are keys on a keyboard</comment> </data> <data name="QuickAccent_Toolbar.Header" xml:space="preserve"> <value>Toolbar</value> </data> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve"> <value>Toolbar position</value> </data> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <value>Top center</value> </data> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <value>Top left corner</value> </data> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <value>Top right corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <value>Bottom left corner</value> </data> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <value>Bottom center</value> </data> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <value>Bottom right corner</value> </data> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <value>Center</value> </data> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <value>Left</value> </data> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <value>Right</value> </data> <data name="QuickAccent_Behavior.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="QuickAccent_InputTimeMs.Header" xml:space="preserve"> <value>Input delay (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_InputTimeMs.Description" xml:space="preserve"> <value>Hold the key down for this much time to make the accent menu appear (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="QuickAccent_ExcludedApps.Description" xml:space="preserve"> <value>Prevents module activation if a foreground application is excluded. Add one application name per line.</value> </data> <data name="QuickAccent_ExcludedApps.Header" xml:space="preserve"> <value>Excluded apps</value> </data> <data name="QuickAccent_ExcludedApps_TextBoxControl.PlaceholderText" xml:space="preserve"> <value>Example: Teams.exe</value> </data> <data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <value>Learn more about Text Extractor</value> </data> <data name="TextExtractor_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="General_SettingsBackupAndRestore_NothingToBackup" xml:space="preserve"> <value>A new backup was not created because no settings have been changed since last backup.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupFound" xml:space="preserve"> <value>No backup found</value> </data> <data name="General_SettingsBackupAndRestore_FailedToParseTime" xml:space="preserve"> <value>Failed to parse time</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupTime" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_UnknownBackupSource" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_ThisMachine" xml:space="preserve"> <value>This computer</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsMatch" xml:space="preserve"> <value>Current settings match</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsStatusAt" xml:space="preserve"> <value>at</value> <comment>E.g., Food was served 'at' noon.</comment> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsDiffer" xml:space="preserve"> <value>Current settings differ</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsNoChecked" xml:space="preserve"> <value>Checking...</value> </data> <data name="General_SettingsBackupAndRestore_CurrentSettingsUnknown" xml:space="preserve"> <value>Unknown</value> </data> <data name="General_SettingsBackupAndRestore_NeverRestored" xml:space="preserve"> <value>Never restored</value> </data> <data name="General_SettingsBackupAndRestore_NothingToRestore" xml:space="preserve"> <value>Nothing to restore.</value> </data> <data name="General_SettingsBackupAndRestore_NoSettingsFilesFound" xml:space="preserve"> <value>No settings files found.</value> </data> <data name="General_SettingsBackupAndRestore_BackupError" xml:space="preserve"> <value>There was an error. Try another backup location.</value> </data> <data name="General_SettingsBackupAndRestore_SettingsFormatError" xml:space="preserve"> <value>There was an error in the settings format. Please check the settings file:</value> </data> <data name="General_SettingsBackupAndRestore_BackupComplete" xml:space="preserve"> <value>Backup completed.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupSyncPath" xml:space="preserve"> <value>No backup location selected.</value> </data> <data name="General_SettingsBackupAndRestore_NoBackupsFound" xml:space="preserve"> <value>No backups found to restore.</value> </data> <data name="General_SettingsBackupAndRestore_InvalidBackupLocation" xml:space="preserve"> <value>Invalid backup location.</value> </data> <data name="TextExtractor.ModuleDescription" xml:space="preserve"> <value>Text Extractor is a convenient way to copy text from anywhere on screen</value> </data> <data name="TextExtractor.ModuleTitle" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Text Extractor</value> </data> <data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve"> <value>Text Extractor can only recognize languages that have the OCR pack installed.</value> </data> <data name="TextExtractor_UseSnippingToolWarning.Title" xml:space="preserve"> <value>It is recommended to use the Snipping Tool instead of the TextExtractor module.</value> </data> <data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve"> <value>Learn more about supported languages</value> </data> <data name="Shell_TextExtractor.Content" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Launch_TextExtractor.Content" xml:space="preserve"> <value>Launch Text Extractor</value> </data> <data name="Oobe_TextExtractor.Title" xml:space="preserve"> <value>Text Extractor</value> </data> <data name="Oobe_TextExtractor_HowToUse.Text" xml:space="preserve"> <value>to open Text Extractor and then selecting a region to copy the text from.</value> </data> <data name="Oobe_TextExtractor_TipsAndTricks.Text" xml:space="preserve"> <value>Hold the shift key to move the selection region around.</value> </data> <data name="TextExtractor.SecondaryLinksHeader" xml:space="preserve"> <value>Attribution</value> </data> <data name="Oobe_TextExtractor.Description" xml:space="preserve"> <value>Text Extractor works like Snipping Tool, but copies the text out of the selected region using OCR and puts it on the clipboard.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve"> <value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value> </data> <data name="Run_ConflictingKeywordInfo_Link.Content" xml:space="preserve"> <value>Learn more about conflicting activation commands</value> </data> <data name="MeasureTool_ContinuousCapture_Information.Title" xml:space="preserve"> <value>The continuous capture mode will consume more resources when in use. Also, measurements will be excluded from screenshots and screen capture.</value> <comment>pointer as in mouse pointer. Resources refer to things like CPU, GPU, RAM</comment> </data> <data name="QuickAccent_Description_Indicator.Header" xml:space="preserve"> <value>Show the Unicode code and name of the currently selected character</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Header" xml:space="preserve"> <value>Sort characters by usage frequency</value> </data> <data name="QuickAccent_SortByUsageFrequency_Indicator.Description" xml:space="preserve"> <value>Track characters usage frequency and sort them accordingly</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Header" xml:space="preserve"> <value>Start selection from the left</value> </data> <data name="QuickAccent_StartSelectionFromTheLeft_Indicator.Description" xml:space="preserve"> <value>Start selection from the leftmost character for all activation keys, including left and right arrows</value> </data> <data name="QuickAccent_DisableFullscreen.Header" xml:space="preserve"> <value>Disable when Game Mode is On</value> </data> <data name="QuickAccent_Language.Header" xml:space="preserve"> <value>Characters</value> </data> <data name="QuickAccent_SelectedLanguage.Header" xml:space="preserve"> <value>Choose a character set</value> </data> <data name="QuickAccent_SelectedLanguage.Description" xml:space="preserve"> <value>Show only accented characters common to the selected set</value> </data> <data name="QuickAccent_SelectedLanguage_All.Content" xml:space="preserve"> <value>All available</value> </data> <data name="QuickAccent_SelectedLanguage_Catalan.Content" xml:space="preserve"> <value>Catalan</value> </data> <data name="QuickAccent_SelectedLanguage_Currency.Content" xml:space="preserve"> <value>Currency</value> </data> <data name="QuickAccent_SelectedLanguage_Croatian.Content" xml:space="preserve"> <value>Croatian</value> </data> <data name="QuickAccent_SelectedLanguage_Czech.Content" xml:space="preserve"> <value>Czech</value> </data> <data name="QuickAccent_SelectedLanguage_Danish.Content" xml:space="preserve"> <value>Danish</value> </data> <data name="QuickAccent_SelectedLanguage_Gaeilge.Content" xml:space="preserve"> <value>Gaeilge</value> <comment>Gaelic language spoken in Ireland</comment> </data> <data name="QuickAccent_SelectedLanguage_Gaidhlig.Content" xml:space="preserve"> <value>Gàidhlig</value> <comment>Scottish Gaelic</comment> </data> <data name="QuickAccent_SelectedLanguage_German.Content" xml:space="preserve"> <value>German</value> </data> <data name="QuickAccent_SelectedLanguage_Greek.Content" xml:space="preserve"> <value>Greek</value> </data> <data name="QuickAccent_SelectedLanguage_Hebrew.Content" xml:space="preserve"> <value>Hebrew</value> </data> <data name="QuickAccent_SelectedLanguage_French.Content" xml:space="preserve"> <value>French</value> </data> <data name="QuickAccent_SelectedLanguage_Finnish.Content" xml:space="preserve"> <value>Finnish</value> </data> <data name="QuickAccent_SelectedLanguage_Estonian.Content" xml:space="preserve"> <value>Estonian</value> </data> <data name="QuickAccent_SelectedLanguage_Lithuanian.Content" xml:space="preserve"> <value>Lithuanian</value> </data> <data name="QuickAccent_SelectedLanguage_Macedonian.Content" xml:space="preserve"> <value>Macedonian</value> </data> <data name="QuickAccent_SelectedLanguage_Maori.Content" xml:space="preserve"> <value>Maori</value> </data> <data name="QuickAccent_SelectedLanguage_Dutch.Content" xml:space="preserve"> <value>Dutch</value> </data> <data name="QuickAccent_SelectedLanguage_Norwegian.Content" xml:space="preserve"> <value>Norwegian</value> </data> <data name="QuickAccent_SelectedLanguage_Pinyin.Content" xml:space="preserve"> <value>Pinyin</value> </data> <data name="QuickAccent_SelectedLanguage_Polish.Content" xml:space="preserve"> <value>Polish</value> </data> <data name="QuickAccent_SelectedLanguage_Portuguese.Content" xml:space="preserve"> <value>Portuguese</value> </data> <data name="QuickAccent_SelectedLanguage_Slovak.Content" xml:space="preserve"> <value>Slovak</value> </data> <data name="QuickAccent_SelectedLanguage_Spanish.Content" xml:space="preserve"> <value>Spanish</value> </data> <data name="QuickAccent_SelectedLanguage_Swedish.Content" xml:space="preserve"> <value>Swedish</value> </data> <data name="QuickAccent_SelectedLanguage_Turkish.Content" xml:space="preserve"> <value>Turkish</value> </data> <data name="QuickAccent_SelectedLanguage_Icelandic.Content" xml:space="preserve"> <value>Icelandic</value> </data> <data name="QuickAccent_SelectedLanguage_Romanian.Content" xml:space="preserve"> <value>Romanian</value> </data> <data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve"> <value>Serbian</value> </data> <data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve"> <value>Hungarian</value> </data> <data name="QuickAccent_SelectedLanguage_Italian.Content" xml:space="preserve"> <value>Italian</value> </data> <data name="QuickAccent_SelectedLanguage_Kurdish.Content" xml:space="preserve"> <value>Kurdish</value> </data> <data name="QuickAccent_SelectedLanguage_Welsh.Content" xml:space="preserve"> <value>Welsh</value> </data> <data name="Hosts.ModuleDescription" xml:space="preserve"> <value>Quick and simple utility for managing hosts file.</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts.ModuleTitle" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Shell_Hosts.Content" xml:space="preserve"> <value>Hosts File Editor</value> <comment>Products name: Navigation view item name for Hosts File Editor</comment> </data> <data name="Hosts_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_ShowStartupWarning.Header" xml:space="preserve"> <value>Show a warning at startup</value> </data> <data name="Hosts_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="Hosts_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_LaunchButtonControl.Header" xml:space="preserve"> <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> <data name="Hosts_AdditionalLinesPosition_Bottom.Content" xml:space="preserve"> <value>Bottom</value> </data> <data name="Hosts_AdditionalLinesPosition_Top.Content" xml:space="preserve"> <value>Top</value> </data> <data name="Hosts_Behavior_GroupSettings.Header" xml:space="preserve"> <value>Behavior</value> </data> <data name="Launch_Hosts.Content" xml:space="preserve"> <value>Launch Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="LearnMore_Hosts.Text" xml:space="preserve"> <value>Learn more about Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Description" xml:space="preserve"> <value>Hosts File Editor is a quick and simple utility for managing hosts file.</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Oobe_Hosts.Title" xml:space="preserve"> <value>Hosts File Editor</value> <comment>"Hosts File Editor" is the name of the utility</comment> </data> <data name="Hosts_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the hosts file</value> </data> <data name="Hosts_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="EnvironmentVariables.ModuleDescription" xml:space="preserve"> <value>A quick utility for managing environment variables.</value> </data> <data name="EnvironmentVariables.ModuleTitle" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="Shell_EnvironmentVariables.Content" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Environment Variables</value> </data> <data name="EnvironmentVariables_Activation_GroupSettings.Header" xml:space="preserve"> <value>Activation</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Description" xml:space="preserve"> <value>Manage your environment variables</value> </data> <data name="EnvironmentVariables_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="EnvironmentVariables_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="Launch_EnvironmentVariables.Content" xml:space="preserve"> <value>Launch Environment Variables</value> </data> <data name="LearnMore_EnvironmentVariables.Text" xml:space="preserve"> <value>Learn more about Environment Variables</value> </data> <data name="Oobe_EnvironmentVariables.Description" xml:space="preserve"> <value>Environment Variables is a quick utility for managing environment variables.</value> </data> <data name="Oobe_EnvironmentVariables.Title" xml:space="preserve"> <value>Environment Variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Description" xml:space="preserve"> <value>Needs to be launched as administrator in order to make changes to the system environment variables</value> </data> <data name="EnvironmentVariables_Toggle_LaunchAdministrator.Header" xml:space="preserve"> <value>Launch as administrator</value> </data> <data name="ShortcutGuide_PressTimeForTaskbarIconShortcuts.Header" xml:space="preserve"> <value>Press duration before showing taskbar icon shortcuts (ms)</value> <comment>ms = milliseconds</comment> </data> <data name="FileLocksmith.ModuleDescription" xml:space="preserve"> <value>A Windows shell extension to find out which processes are using the selected files and directories.</value> </data> <data name="FileLocksmith.ModuleTitle" xml:space="preserve"> <value>File Locksmith</value> </data> <data name="Shell_FileLocksmith.Content" xml:space="preserve"> <value>File Locksmith</value> <comment>Product name: Navigation view item name for FileLocksmith</comment> </data> <data name="FileLocksmith_Enable_FileLocksmith.Header" xml:space="preserve"> <value>Enable File Locksmith</value> <comment>File Locksmith is the name of the utility</comment> </data> <data name="FileLocksmith_Toggle_StandardContextMenu.Content" xml:space="preserve"> <value>Default and extended context menu</value> </data> <data name="FileLocksmith_Toggle_ExtendedContextMenu.Content" xml:space="preserve"> <value>Extended context menu only</value> </data> <data name="FileLocksmith_Toggle_ContextMenu.Header" xml:space="preserve"> <value>Show File Locksmith in</value> </data> <data name="FileLocksmith_ShellIntegration.Header" xml:space="preserve"> <value>Shell integration</value> <comment>This refers to directly integrating in with Windows</comment> </data> <data name="GPO_IsSettingForced.Title" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="Hosts_AdditionalLinesPosition.Description" xml:space="preserve"> <value>Additional content includes the file header and lines that can't parse</value> </data> <data name="TextExtractor_Languages.Header" xml:space="preserve"> <value>Preferred language</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Description.Text" xml:space="preserve"> <value>Pin a window so that:</value> </data> <data name="Alternate_OOBE_AlwaysOnTop_Title.Text" xml:space="preserve"> <value>Always On Top</value> </data> <data name="Alternate_OOBE_ColorPicker_Description.Text" xml:space="preserve"> <value>To pick a color:</value> </data> <data name="Alternate_OOBE_ColorPicker_Title.Text" xml:space="preserve"> <value>Color Picker</value> </data> <data name="Alternate_OOBE_Description.Text" xml:space="preserve"> <value>Here are a few shortcuts to get you started:</value> </data> <data name="Alternate_OOBE_FancyZones_Description.Text" xml:space="preserve"> <value>To open the FancyZones editor, press:</value> </data> <data name="Alternate_OOBE_FancyZones_Title.Text" xml:space="preserve"> <value>FancyZones</value> </data> <data name="Alternate_OOBE_Run_Description.Text" xml:space="preserve"> <value>Get access to your files and more:</value> </data> <data name="Alternate_OOBE_Run_Title.Text" xml:space="preserve"> <value>PowerToys Run</value> </data> <data name="General_Experimentation.Header" xml:space="preserve"> <value>Experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Description" xml:space="preserve"> <value>Note: Only Windows Insider builds may be selected for experimentation</value> </data> <data name="GeneralPage_EnableExperimentation.Header" xml:space="preserve"> <value>Allow experimentation with new features</value> </data> <data name="GPO_ExperimentationIsDisallowed.Title" xml:space="preserve"> <value>The system administrator has disabled experimentation.</value> </data> <data name="Shell_PastePlain.Content" xml:space="preserve"> <value>Paste As Plain Text</value> <comment>Product name: Navigation view item name for Paste as Plain Text</comment> </data> <data name="PastePlain.ModuleDescription" xml:space="preserve"> <value>Paste As Plain Text is a quick shortcut for pasting the text contents of your clipboard without formatting. Note: the formatted text in the clipboard is replaced with the unformatted text.</value> </data> <data name="PastePlain.ModuleTitle" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="PastePlain_Cancel" xml:space="preserve"> <value>cancel</value> </data> <data name="PastePlain_EnableToggleControl_HeaderText.Header" xml:space="preserve"> <value>Enable Paste As Plain Text</value> </data> <data name="Oobe_PastePlain.Description" xml:space="preserve"> <value>Paste As Plain Text strips rich formatting from your clipboard data and pastes it as non-formatted text.</value> </data> <data name="Oobe_PastePlain.Title" xml:space="preserve"> <value>Paste As Plain Text</value> </data> <data name="Oobe_PastePlain_HowToUse.Text" xml:space="preserve"> <value>to paste your clipboard data as plain text. Note: this will replace the formatted text in your clipboard with the plain text.</value> </data> <data name="AllAppsTxt.Text" xml:space="preserve"> <value>All apps</value> </data> <data name="BackBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Back</value> </data> <data name="BackLabel.Text" xml:space="preserve"> <value>Back</value> </data> <data name="BugReportBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Bug report</value> </data> <data name="BugReportTooltip.Text" xml:space="preserve"> <value>Bug report</value> </data> <data name="DocsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Documentation</value> </data> <data name="DocsTooltip.Text" xml:space="preserve"> <value>Documentation</value> </data> <data name="FZEditorString" xml:space="preserve"> <value>FancyZones Editor</value> <comment>Do not localize this string</comment> </data> <data name="MoreBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>More</value> </data> <data name="MoreLabel.Text" xml:space="preserve"> <value>More</value> </data> <data name="SettingsBtn.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Settings</value> </data> <data name="SettingsTooltip.Text" xml:space="preserve"> <value>Settings</value> </data> <data name="ShortcutsTxt.Text" xml:space="preserve"> <value>Shortcuts</value> </data> <data name="UpdateAvailable.Title" xml:space="preserve"> <value>Update available</value> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Header" xml:space="preserve"> <value>Maximum file size to preview</value> <comment>Size refers to the disk space used by a file</comment> </data> <data name="FileExplorerPreview_Toggle_Monaco_Max_File_Size.Description" xml:space="preserve"> <value>The maximum size, in kilobytes, for files to be displayed. This is a safety mechanism to prevent loading large files into RAM.</value> <comment>"RAM" refers to random access memory; "size" refers to disk space; "bytes" refer to the measurement unit</comment> </data> <data name="RegistryPreview.ModuleDescription" xml:space="preserve"> <value>A quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="RegistryPreview.ModuleTitle" xml:space="preserve"> <value>Registry Preview</value> </data> <data name="Shell_RegistryPreview.Content" xml:space="preserve"> <value>Registry Preview</value> <comment>Product name: Navigation view item name for Registry Preview</comment> </data> <data name="RegistryPreview_Enable_RegistryPreview.Header" xml:space="preserve"> <value>Enable Registry Preview</value> <comment>Registry Preview is the name of the utility</comment> </data> <data name="Oobe_RegistryPreview_HowToUse.Text" xml:space="preserve"> <value>In File Explorer, right-click a .REG file and select **Preview** from the context menu.</value> </data> <data name="Oobe_RegistryPreview_TipsAndTricks.Text" xml:space="preserve"> <value>You can preview or edit Registry files in File Explorer or by opening the app from the PowerToys launcher.</value> </data> <data name="Oobe_RegistryPreview.Description" xml:space="preserve"> <value>Registry Preview is a quick little utility to visualize and edit complex Windows Registry files.</value> </data> <data name="Oobe_RegistryPreview.Title" xml:space="preserve"> <value>Registry Preview</value> <comment>Do not localize this string</comment> </data> <data name="LearnMore_RegistryPreview.Text" xml:space="preserve"> <value>Learn more about Registry Preview</value> <comment>Registry Preview is a product name, do not loc</comment> </data> <data name="Launch_RegistryPreview.Content" xml:space="preserve"> <value>Launch Registry Preview</value> <comment>"Registry Preview" is the name of the utility</comment> </data> <data name="MouseUtils_MouseJump.Description" xml:space="preserve"> <value>Quickly move the mouse pointer long distances.</value> <comment>"Mouse Jump" is the name of the utility. Mouse is the hardware mouse.</comment> </data> <data name="MouseUtils_MouseJump.Header" xml:space="preserve"> <value>Mouse Jump</value> <comment>Refers to the utility name</comment> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_MouseJump_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="MouseUtils_Enable_MouseJump.Header" xml:space="preserve"> <value>Enable Mouse Jump</value> <comment>"Mouse Jump" is the name of the utility.</comment> </data> <data name="GPO_AutoDownloadUpdatesIsDisabled.Title" xml:space="preserve"> <value>The system administrator has disabled the automatic download of updates.</value> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Description" xml:space="preserve"> <value>127.0.0.1, ::1, ...</value> <comment>"127.0.0.1 and ::1" are well known loopback addresses, do not loc</comment> </data> <data name="Hosts_Toggle_LoopbackDuplicates.Header" xml:space="preserve"> <value>Consider loopback addresses as duplicates</value> </data> <data name="RegistryPreview_Launch_GroupSettings.Header" xml:space="preserve"> <value>Launch</value> </data> <data name="RegistryPreview_LaunchButton_Accessible.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_LaunchButtonControl.Header" xml:space="preserve"> <value>Launch Registry Preview</value> </data> <data name="RegistryPreview_DefaultRegApp.Header" xml:space="preserve"> <value>Default app</value> </data> <data name="RegistryPreview_DefaultRegApp.Description" xml:space="preserve"> <value>Make Registry Preview default app for opening .reg files</value> <comment>Registry Preview is app name. Do not localize.</comment> </data> <data name="PastePlain_ShortcutWarning.Title" xml:space="preserve"> <value>Using this shortcut may prevent non-text paste actions (e.g. images, files) or built-in paste plain text actions in other applications from functioning.</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize.Header" xml:space="preserve"> <value>Thumbnail Size</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Prefix.Text" xml:space="preserve"> <value>Constrain thumbnail image size to a maximum of</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Description_Suffix.Text" xml:space="preserve"> <value>pixels</value> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Height.Header" xml:space="preserve"> <value>Maximum height (px)</value> <comment>px = pixels</comment> </data> <data name="MouseUtils_MouseJump_ThumbnailSize_Edit_Width.Header" xml:space="preserve"> <value>Maximum width (px)</value> <comment>px = pixels</comment> </data> <data name="Oobe_Peek.Description" xml:space="preserve"> <value>A lightning fast file preview feature for Windows.</value> </data> <data name="Oobe_Peek.Title" xml:space="preserve"> <value>Peek</value> </data> <data name="Oobe_Peek_HowToUse.Text" xml:space="preserve"> <value>to preview the file that's currently selected in File Explorer.</value> </data> <data name="MWB_PCNameLabel.PlaceholderText" xml:space="preserve"> <value>Device name</value> </data> <data name="MWB_SecurityKeyLabel.PlaceholderText" xml:space="preserve"> <value>Security key</value> </data> <data name="Hosts_Encoding.Description" xml:space="preserve"> <value>Choose the encoding of the hosts file</value> <comment>"Hosts" refers to the system hosts file, do not loc</comment> </data> <data name="Hosts_Encoding.Header" xml:space="preserve"> <value>Encoding</value> </data> <data name="Hosts_Encoding_Utf8.Content" xml:space="preserve"> <value>UTF-8</value> </data> <data name="Hosts_Encoding_Utf8Bom.Content" xml:space="preserve"> <value>UTF-8 with BOM</value> </data> <data name="MouseUtils_MouseHighlighter_AlwaysColor.Header" xml:space="preserve"> <value>Always highlight color</value> </data> <data name="MouseUtils_MousePointerCrosshairs_CrosshairsAutoHide.Content" xml:space="preserve"> <value>Automatically hide crosshairs when the mouse pointer is hidden</value> </data> <data name="MouseUtils_AutoActivate.Content" xml:space="preserve"> <value>Automatically activate on utility startup</value> </data> <data name="Run_FindMorePlugins.Text" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_PluginUseFindMorePlugins.Content" xml:space="preserve"> <value>Find more plugins</value> </data> <data name="Run_SomePluginsAreGpoManaged.Title" xml:space="preserve"> <value>The system administrator is managing the enabled state of some plugins.</value> </data> <data name="AlwaysOnTop_FrameOpacity.Header" xml:space="preserve"> <value>Opacity (%)</value> </data> <data name="MouseUtils_FindMyMouse_ActivationCustomizedShortcut.Content" xml:space="preserve"> <value>Custom shortcut</value> </data> <data name="MouseUtils_FindMyMouse_ActivationDoubleRightControlPress.Content" xml:space="preserve"> <value>Press Right Control twice</value> <comment>Right control is the physical key on the keyboard.</comment> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Description" xml:space="preserve"> <value>Customize the shortcut to turn on or off this mode</value> </data> <data name="MouseUtils_FindMyMouse_ActivationShortcut.Header" xml:space="preserve"> <value>Activation shortcut</value> </data> <data name="SettingsWindow_AdminTitle" xml:space="preserve"> <value>Administrator: PowerToys Settings</value> <comment>Title of the settings window when running as administrator</comment> </data> <data name="DashboardTitle.Text" xml:space="preserve"> <value>Dashboard</value> </data> <data name="Shell_Dashboard.Content" xml:space="preserve"> <value>Dashboard</value> </data> <data name="GPO_IsSettingForcedText.Text" xml:space="preserve"> <value>This setting is enforced by your System Administrator.</value> </data> <data name="DisabledModules.Text" xml:space="preserve"> <value>Disabled modules</value> </data> <data name="EnabledModules.Text" xml:space="preserve"> <value>Enabled modules</value> </data> <data name="Peek_Preview_GroupSettings.Header" xml:space="preserve"> <value>Preview</value> </data> <data name="Peek_SourceCode_Header.Description" xml:space="preserve"> <value>.cpp, .py, .json, .xml, .csproj, ...</value> </data> <data name="Peek_SourceCode_Header.Header" xml:space="preserve"> <value>Source code files (Monaco)</value> </data> <data name="Peek_SourceCode_TryFormat.Description" xml:space="preserve"> <value>Applies to json and xml. Files remain unchanged.</value> </data> <data name="Peek_SourceCode_TryFormat.Header" xml:space="preserve"> <value>Try to format the source for preview</value> </data> <data name="Peek_SourceCode_WrapText.Content" xml:space="preserve"> <value>Wrap text</value> </data> <data name="ShowPluginsOverview_All.Content" xml:space="preserve"> <value>All</value> </data> <data name="ShowPluginsOverview_None.Content" xml:space="preserve"> <value>None</value> </data> <data name="ShowPluginsOverview_NonGlobal.Content" xml:space="preserve"> <value>Not included in global results</value> </data> <data name="PowerLauncher_TitleFontSize.Description" xml:space="preserve"> <value>The size of result titles and the search query</value> </data> <data name="PowerLauncher_TitleFontSize.Header" xml:space="preserve"> <value>Text size (pt)</value> </data> <data name="PowerLauncher_TextFontSizeSlider.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve"> <value>Text size of result titles</value> </data> </root>
niels9001
c098cfb193471f476e109e135e8519dbb2934d20
ccd401fc16a7a9d592e674fc7a8844be10afbd42
Done!
niels9001
102
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
Isn't this still needed her in order not to crash on Win10? I see it's been added in SetTheme, but seems to run only conditionally.
jaimecbernardo
103
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
The code is now called in the `OnLoaded` event handler. Got what you mean! Good catch! I have pushed a commit😃
davidegiacometti
104
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
Can you please verify if the fixed light/dark theme have transparency in Windows 11?
davidegiacometti
105
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
> Can you please verify if the fixed light/dark theme have transparency in Windows 11? Not sure what you mean here 😅 Any specific app you want to check this in? I can send screenshots of it running on Windows 11.
jaimecbernardo
106
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
![image](https://github.com/microsoft/PowerToys/assets/26118718/d9909a43-eb33-4a9b-a592-905e9793a574) ![image](https://github.com/microsoft/PowerToys/assets/26118718/1e97aa22-efbb-466e-b4cb-1090a4b019f3)
jaimecbernardo
107
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
I mean if PT Run windows have transparency when settings theme is set to light/dark.
davidegiacometti
108
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } // workaround for #30217 try { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this, WindowBackdropType); } catch (Exception ex) { Log.Exception("Exception in SystemThemeWatcher.Watch, issue 30217.", ex, GetType()); } _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Dispose(); } _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Timers; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media.Imaging; using Common.UI; using interop; using Microsoft.PowerLauncher.Telemetry; using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.Telemetry.Events; using PowerLauncher.ViewModel; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.Plugin.Interfaces; using Wpf.Ui.Appearance; using CancellationToken = System.Threading.CancellationToken; using Image = Wox.Infrastructure.Image; using KeyEventArgs = System.Windows.Input.KeyEventArgs; using Log = Wox.Plugin.Logger.Log; using Screen = System.Windows.Forms.Screen; namespace PowerLauncher { public partial class MainWindow : IDisposable { private readonly PowerToysRunSettings _settings; private readonly MainViewModel _viewModel; private readonly CancellationToken _nativeWaiterCancelToken; private bool _isTextSetProgrammatically; private bool _deletePressed; private HwndSource _hwndSource; private Timer _firstDeleteTimer = new Timer(); private bool _coldStateHotkeyPressed; private bool _disposedValue; private IDisposable _reactiveSubscription; private Point _mouseDownPosition; private ResultViewModel _mouseDownResultViewModel; public MainWindow(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken) : this() { DataContext = mainVM; _viewModel = mainVM; _nativeWaiterCancelToken = nativeWaiterCancelToken; _settings = settings; InitializeComponent(); if (OSVersionHelper.IsWindows11()) { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.Acrylic; } else { WindowBackdropType = Wpf.Ui.Controls.WindowBackdropType.None; } SystemThemeWatcher.Watch(this, WindowBackdropType); _firstDeleteTimer.Elapsed += CheckForFirstDelete; _firstDeleteTimer.Interval = 1000; NativeEventWaiter.WaitForEventLoop( Constants.RunSendSettingsTelemetryEvent(), SendSettingsTelemetry, Application.Current.Dispatcher, _nativeWaiterCancelToken); } private void SendSettingsTelemetry() { try { Log.Info("Send Run settings telemetry", this.GetType()); var plugins = PluginManager.AllPlugins.ToDictionary(x => x.Metadata.Name + " " + x.Metadata.ID, x => new PluginModel() { ID = x.Metadata.ID, Name = x.Metadata.Name, Disabled = x.Metadata.Disabled, ActionKeyword = x.Metadata.ActionKeyword, IsGlobal = x.Metadata.IsGlobal, }); var telemetryEvent = new RunPluginsSettingsEvent(plugins); PowerToysTelemetry.Log.WriteEvent(telemetryEvent); } catch (Exception ex) { Log.Exception("Unhandled exception when trying to send PowerToys Run settings telemetry.", ex, GetType()); } } protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); WindowsInteropHelper.SetToolWindowStyle(this); } private void CheckForFirstDelete(object sender, ElapsedEventArgs e) { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); if (_deletePressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherFirstDeleteEvent()); } } } public MainWindow() { InitializeComponent(); } private void OnClosing(object sender, CancelEventArgs e) { _viewModel.Save(); } private void BringProcessToForeground() { // Use SendInput hack to allow Activate to work - required to resolve focus issue https://github.com/microsoft/PowerToys/issues/4270 WindowsInteropHelper.INPUT input = new WindowsInteropHelper.INPUT { Type = WindowsInteropHelper.INPUTTYPE.INPUTMOUSE, Data = { } }; WindowsInteropHelper.INPUT[] inputs = new WindowsInteropHelper.INPUT[] { input }; // Send empty mouse event. This makes this thread the last to send input, and hence allows it to pass foreground permission checks _ = NativeMethods.SendInput(1, inputs, WindowsInteropHelper.INPUT.Size); Activate(); } private const string EnvironmentChangeType = "Environment"; public IntPtr ProcessWindowMessages(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, ref bool handled) { switch ((WM)msg) { case WM.SETTINGCHANGE: string changeType = Marshal.PtrToStringUni(lparam); if (changeType == EnvironmentChangeType) { Log.Info("Reload environment: Updating environment variables for PT Run's process", typeof(EnvironmentHelper)); EnvironmentHelper.UpdateEnvironment(); handled = true; } break; case WM.HOTKEY: handled = _viewModel.ProcessHotKeyMessages(wparam, lparam); break; } return IntPtr.Zero; } private void OnSourceInitialized(object sender, EventArgs e) { // Initialize protected environment variables before register the WindowMessage EnvironmentHelper.GetProtectedEnvironmentVariables(); _hwndSource = HwndSource.FromHwnd(new WindowInteropHelper(this).Handle); _hwndSource.AddHook(ProcessWindowMessages); // Call RegisterHotKey only after a window handle can be used, so that a global hotkey can be registered. _viewModel.RegisterHotkey(_hwndSource.Handle); } private void OnLoaded(object sender, RoutedEventArgs e) { WindowsInteropHelper.DisableControlBox(this); InitializePosition(); SearchBox.QueryTextBox.DataContext = _viewModel; SearchBox.QueryTextBox.PreviewKeyDown += Launcher_KeyDown; SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); _viewModel.RegisterSettingsChangeListener( (s, prop_e) => { if (prop_e.PropertyName == nameof(PowerToysRunSettings.SearchQueryResultsWithDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelay) || prop_e.PropertyName == nameof(PowerToysRunSettings.SearchInputDelayFast)) { Application.Current.Dispatcher.Invoke(() => { SetupSearchTextBoxReactiveness(_viewModel.GetSearchQueryResultsWithDelaySetting()); }); } }); // Set initial language flow direction SearchBox_UpdateFlowDirection(); // Register language changed event InputLanguageManager.Current.InputLanguageChanged += SearchBox_InputLanguageChanged; SearchBox.QueryTextBox.Focus(); SearchBox.QueryTextBox.ControlledElements.Add(ListBox.SuggestionsList); ListBox.DataContext = _viewModel; ListBox.SuggestionsList.SelectionChanged += SuggestionsList_SelectionChanged; ListBox.SuggestionsList.PreviewMouseLeftButtonUp += SuggestionsList_PreviewMouseLeftButtonUp; ListBox.SuggestionsList.PreviewMouseLeftButtonDown += SuggestionsList_PreviewMouseLeftButtonDown; ListBox.SuggestionsList.MouseMove += SuggestionsList_MouseMove; _viewModel.PropertyChanged += ViewModel_PropertyChanged; _viewModel.MainWindowVisibility = Visibility.Collapsed; _viewModel.LoadedAtLeastOnce = true; _viewModel.SetPluginsOverviewVisibility(); BringProcessToForeground(); } private void SetupSearchTextBoxReactiveness(bool showResultsWithDelay) { if (_reactiveSubscription != null) { _reactiveSubscription.Dispose(); _reactiveSubscription = null; } SearchBox.QueryTextBox.TextChanged -= QueryTextBox_TextChanged; if (showResultsWithDelay) { _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventWithInitiatorArgs>( conversion => (sender, eventArg) => conversion(sender, new TextChangedEventWithInitiatorArgs(eventArg.RoutedEvent, eventArg.UndoAction)), add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender, @event)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false, @event))) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelay)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true, @event))) .Subscribe(); /* if (_settings.PTRSearchQueryFastResultsWithDelay) { // old mode, delay fast and delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender))) .Subscribe(); } else { if (_settings.PTRSearchQueryFastResultsWithPartialDelay) { // new mode, fire non-delayed right away, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } else { // new mode, fire non-delayed after short delay, and then later the delayed execution _reactiveSubscription = Observable.FromEventPattern<TextChangedEventHandler, TextChangedEventArgs>( add => SearchBox.QueryTextBox.TextChanged += add, remove => SearchBox.QueryTextBox.TextChanged -= remove) .Do(@event => ClearAutoCompleteText((TextBox)@event.Sender)) .Throttle(TimeSpan.FromMilliseconds(_settings.SearchInputDelayFast)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, false))) .Throttle(TimeSpan.FromMilliseconds(searchInputDelayMs)) .Do(@event => Dispatcher.InvokeAsync(() => PerformSearchQuery((TextBox)@event.Sender, true))) .Subscribe(); } } */ } else { SearchBox.QueryTextBox.TextChanged += QueryTextBox_TextChanged; } } private void SuggestionsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var result = ((FrameworkElement)e.OriginalSource).DataContext; if (result != null) { // This may be null if the tapped item was one of the context buttons (run as admin etc). if (result is ResultViewModel resultVM) { _viewModel.Results.SelectedItem = resultVM; _viewModel.OpenResultWithMouseCommand.Execute(null); } } } private void SuggestionsList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _mouseDownPosition = e.GetPosition(null); _mouseDownResultViewModel = ((FrameworkElement)e.OriginalSource).DataContext as ResultViewModel; } private void SuggestionsList_MouseMove(object sender, MouseEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && _mouseDownResultViewModel?.Result?.ContextData is IFileDropResult fileDropResult) { Vector dragDistance = _mouseDownPosition - e.GetPosition(null); if (Math.Abs(dragDistance.X) > SystemParameters.MinimumHorizontalDragDistance || Math.Abs(dragDistance.Y) > SystemParameters.MinimumVerticalDragDistance) { _viewModel.Hide(); try { // DoDragDrop with file thumbnail as drag image var dataObject = DragDataObject.FromFile(fileDropResult.Path); using var bitmap = DragDataObject.BitmapSourceToBitmap((BitmapSource)_mouseDownResultViewModel?.Image); IntPtr hBitmap = bitmap.GetHbitmap(); try { dataObject.SetDragImage(hBitmap, Constant.ThumbnailSize, Constant.ThumbnailSize); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } finally { Image.NativeMethods.DeleteObject(hBitmap); } } catch { // DoDragDrop without drag image IDataObject dataObject = new DataObject(DataFormats.FileDrop, new[] { fileDropResult.Path }); DragDrop.DoDragDrop(ListBox.SuggestionsList, dataObject, DragDropEffects.Copy); } } } } private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(MainViewModel.MainWindowVisibility)) { if (Visibility == System.Windows.Visibility.Visible && _viewModel.MainWindowVisibility != Visibility.Hidden) { // Not called on first launch // Called when window is made visible by hotkey. Not called when the window is deactivated by clicking away UpdatePosition(); BringProcessToForeground(); _viewModel.SetPluginsOverviewVisibility(); if (_viewModel.Plugins.Count > 0) { _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } // HACK: Setting focus here again fixes some focus issues, like on first run or after showing a message box. SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); if (!_viewModel.LastQuerySelected) { _viewModel.LastQuerySelected = true; } } } else if (e.PropertyName == nameof(MainViewModel.SystemQueryText)) { _isTextSetProgrammatically = true; if (_viewModel.Results != null) { string newText = MainViewModel.GetSearchText( _viewModel.Results.SelectedIndex, _viewModel.SystemQueryText, _viewModel.QueryText); if (SearchBox.QueryTextBox.Text != newText) { SearchBox.QueryTextBox.Text = newText; } else { _isTextSetProgrammatically = false; } } } } private void OnMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Left) { DragMove(); } } private void InitializePosition() { Top = WindowTop(); Left = WindowLeft(); _settings.WindowTop = Top; _settings.WindowLeft = Left; } private void OnDeactivated(object sender, EventArgs e) { if (_settings.HideWhenDeactivated) { _viewModel.Hide(); } } private void UpdatePosition() { if (_settings.RememberLastLaunchLocation) { Left = _settings.WindowLeft; Top = _settings.WindowTop; } else { Top = WindowTop(); Left = WindowLeft(); } } private void OnLocationChanged(object sender, EventArgs e) { if (_settings.RememberLastLaunchLocation) { _settings.WindowLeft = Left; _settings.WindowTop = Top; } } /// <summary> /// Calculates X co-ordinate of main window top left corner. /// </summary> /// <returns>X co-ordinate of main window top left corner</returns> private double WindowLeft() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.X, 0); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, screen.WorkingArea.Width, 0); var left = ((dip2.X - ActualWidth) / 2) + dip1.X; return left; } private double WindowTop() { var screen = GetScreen(); var dip1 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Y); var dip2 = WindowsInteropHelper.TransformPixelsToDIP(this, 0, screen.WorkingArea.Height); var top = ((dip2.Y - SearchBox.ActualHeight) / 4) + dip1.Y; return top; } private Screen GetScreen() { ManagedCommon.StartupPosition position = _settings.StartupPosition; switch (position) { case ManagedCommon.StartupPosition.PrimaryMonitor: return Screen.PrimaryScreen; case ManagedCommon.StartupPosition.Focus: IntPtr foregroundWindowHandle = NativeMethods.GetForegroundWindow(); Screen activeScreen = Screen.FromHandle(foregroundWindowHandle); return activeScreen; case ManagedCommon.StartupPosition.Cursor: default: return Screen.FromPoint(System.Windows.Forms.Cursor.Position); } } private void Launcher_KeyDown(object sender, KeyEventArgs e) { if (_viewModel.PluginsOverviewVisibility == Visibility.Visible) { if (e.Key == Key.Up) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextOverviewPluginCommand.Execute(null); pluginsHintsList.ScrollIntoView(_viewModel.SelectedPlugin); e.Handled = true; } else if (e.Key == Key.Enter) { QueryForSelectedPlugin(); e.Handled = true; } } else { if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { _viewModel.SelectPrevTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Tab) { _viewModel.SelectNextTabItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Down) { _viewModel.SelectNextItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Up) { _viewModel.SelectPrevItemCommand.Execute(null); UpdateTextBoxToSelectedItem(); e.Handled = true; } else if (e.Key == Key.Right) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { _viewModel.SelectNextContextMenuItemCommand.Execute(null); e.Handled = true; } } else if (e.Key == Key.Left) { if (SearchBox.QueryTextBox.CaretIndex == SearchBox.QueryTextBox.Text.Length) { if (_viewModel.Results != null && _viewModel.Results.IsContextMenuItemSelected()) { _viewModel.SelectPreviousContextMenuItemCommand.Execute(null); e.Handled = true; } } } else if (e.Key == Key.PageDown) { _viewModel.SelectNextPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.PageUp) { _viewModel.SelectPrevPageCommand.Execute(null); e.Handled = true; } else if (e.Key == Key.Back) { _deletePressed = true; } else { _viewModel.HandleContextMenu(e.Key, Keyboard.Modifiers); } } } private void UpdateTextBoxToSelectedItem() { var itemText = _viewModel?.Results?.SelectedItem?.SearchBoxDisplayText() ?? null; if (!string.IsNullOrEmpty(itemText)) { _viewModel.ChangeQueryText(itemText); } } private void SuggestionsList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListView listview = (ListView)sender; _viewModel.Results.SelectedItem = (ResultViewModel)listview.SelectedItem; if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { try { listview.ScrollIntoView(e.AddedItems[0]); } catch (ArgumentOutOfRangeException ex) { // Due to virtualization being enabled for the listview, the layout system updates elements in a deferred manner using an algorithm that balances performance and concurrency. // Hence, there can be a situation where the element index that we want to scroll into view is out of range for it's parent control. // To mitigate this we use the UpdateLayout function, which forces layout update to ensure that the parent element contains the latest properties. // However, it has a performance impact and is therefore not called each time. Log.Exception("The parent element layout is not updated yet", ex, GetType()); listview.UpdateLayout(); listview.ScrollIntoView(e.AddedItems[0]); } } // To populate the AutoCompleteTextBox as soon as the selection is changed or set. // Setting it here instead of when the text is changed as there is a delay in executing the query and populating the result if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.AutoCompleteTextBlock.Text = MainViewModel.GetAutoCompleteText( _viewModel.Results.SelectedIndex, _viewModel.Results.SelectedItem?.SearchBoxDisplayText(), _viewModel.QueryText); } } private void QueryTextBox_TextChanged(object sender, TextChangedEventArgs e) { var textBox = (TextBox)sender; ClearAutoCompleteText(textBox, null); PerformSearchQuery(textBox); } private void ClearAutoCompleteText(TextBox textBox, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { bool isTextSetProgrammaticallyAtStart = _isTextSetProgrammatically; if (@event != null) { @event.EventArgs.IsTextSetProgrammatically = isTextSetProgrammaticallyAtStart; } var text = textBox.Text; var autoCompleteText = SearchBox.AutoCompleteTextBlock.Text; if (MainViewModel.ShouldAutoCompleteTextBeEmpty(text, autoCompleteText)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; } var showResultsWithDelay = _viewModel.GetSearchQueryResultsWithDelaySetting(); // only if we are using throttled search and throttled 'fast' search, do we need to do anything different with the current results. if (showResultsWithDelay && _settings.PTRSearchQueryFastResultsWithDelay) { // Default means we don't do anything we did not do before... leave the results as is, they will be changed as needed when results are returned var pTRunStartNewSearchAction = _settings.PTRunStartNewSearchAction ?? "Default"; if (pTRunStartNewSearchAction == "DeSelect") { // leave the results, be deselect anything to it will not be activated by <enter> key, can still be arrow-key or clicked though if (!isTextSetProgrammaticallyAtStart) { DeselectAllResults(); } } else if (pTRunStartNewSearchAction == "Clear") { // remove all results to prepare for new results, this causes flashing usually and is not cool if (!isTextSetProgrammaticallyAtStart) { ClearResults(); } } } } private void ClearResults() { MainViewModel.PerformSafeAction(() => { _viewModel.Results.SelectedItem = null; System.Threading.Tasks.Task.Run(() => { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.Clear(); _viewModel.Results.Results.NotifyChanges(); })); }); }); } private void DeselectAllResults() { Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => { _viewModel.Results.SelectedIndex = -1; })); } private void PerformSearchQuery(TextBox textBox) { PerformSearchQuery(textBox, null, null); } private void PerformSearchQuery(TextBox textBox, bool? delayedExecution, System.Reactive.EventPattern<TextChangedEventWithInitiatorArgs> @event) { var text = textBox.Text; bool isTextSetProgrammaticallyForEvent = _isTextSetProgrammatically; if (@event != null) { isTextSetProgrammaticallyForEvent = @event.EventArgs.IsTextSetProgrammatically; } if (isTextSetProgrammaticallyForEvent) { textBox.SelectionStart = textBox.Text.Length; // because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true // if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to. // Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting()) { _isTextSetProgrammatically = false; } } else { _viewModel.QueryText = text; _viewModel.Query(delayedExecution); } } private void ListBox_PreviewMouseDown(object sender, MouseButtonEventArgs e) { if (e.ChangedButton == MouseButton.Right) { e.Handled = true; } } private void OnVisibilityChanged(object sender, DependencyPropertyChangedEventArgs e) { if (Visibility == Visibility.Visible) { _deletePressed = false; if (_firstDeleteTimer != null) { _firstDeleteTimer.Start(); } // (this.FindResource("IntroStoryboard") as Storyboard).Begin(); SearchBox.QueryTextBox.Focus(); Keyboard.Focus(SearchBox.QueryTextBox); _settings.ActivateTimes++; if (!string.IsNullOrEmpty(SearchBox.QueryTextBox.Text)) { SearchBox.QueryTextBox.SelectAll(); } // Log the time taken from pressing the hotkey till launcher is visible as separate events depending on if it's the first hotkey invoke or second if (!_coldStateHotkeyPressed) { PowerToysTelemetry.Log.WriteEvent(new LauncherColdStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); _coldStateHotkeyPressed = true; } else { PowerToysTelemetry.Log.WriteEvent(new LauncherWarmStateHotkeyEvent() { HotkeyToVisibleTimeMs = _viewModel.GetHotkeyEventTimeMs() }); } } else { if (_firstDeleteTimer != null) { _firstDeleteTimer.Stop(); } } } private void SearchBox_UpdateFlowDirection() { SearchBox.QueryTextBox.FlowDirection = MainViewModel.GetLanguageFlowDirection(); SearchBox.AutoCompleteTextBlock.FlowDirection = MainViewModel.GetLanguageFlowDirection(); } private void SearchBox_InputLanguageChanged(object sender, InputLanguageEventArgs e) { SearchBox_UpdateFlowDirection(); } protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _firstDeleteTimer?.Dispose(); _hwndSource?.Dispose(); } _firstDeleteTimer = null; _disposedValue = true; } } public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method Dispose(disposing: true); GC.SuppressFinalize(this); } private void OnClosed(object sender, EventArgs e) { try { _hwndSource.RemoveHook(ProcessWindowMessages); } catch (Exception ex) { Log.Exception($"Exception when trying to Remove hook", ex, ex.GetType()); } _hwndSource = null; } private void PluginsHintsList_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { QueryForSelectedPlugin(); } private void QueryForSelectedPlugin() { if (_viewModel.Plugins.Count > 0 && _viewModel.SelectedPlugin != null) { // Needed to update UI in case the user choose the same plugin multiple times _viewModel.ChangeQueryText(string.Empty); _viewModel.ChangeQueryText(_viewModel.SelectedPlugin.Metadata.ActionKeyword, true); SearchBox.QueryTextBox.Focus(); _viewModel.SelectedPlugin = null; pluginsHintsList.ScrollIntoView(pluginsHintsList.Items[0]); } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
You mean this, right? ![image](https://github.com/microsoft/PowerToys/assets/26118718/9d9aa2f6-08a2-4561-b0ce-36304aef273e) ![image](https://github.com/microsoft/PowerToys/assets/26118718/f4283570-336b-4a56-9e38-ff4371cd440a) That shadow of dark on top of light looks OK. Is there some other transparency I should be looking for? 🤔 Sorry, not the most attentive to visual details 😅
jaimecbernardo
109
microsoft/PowerToys
30,520
[Run] Switch to WPF UI theme manager
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch to WPF UI theme manager. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #29992 #30429 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description on the Pull Request / Additional comments - Reverted theme manager work-around in ImageResizer / Run / QuickAccent / TextExtractor. The issue has been fully fixed in 0.76.2 by upgrading WPF UI. - Removed dependencies of Modern WPF and ControlzEx (the theme manager in Common.UI namespace) in favor of WPF UI theme manager. - Simplified theme changing and theme override logic. - Fixed an issue where theme override is lost on Windows startup. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - Tested theme settings override at Windows startup. - Tested theme settings override over HC mode. - Tested system theme change. - Tested multiple theme modes switching. - Verified that plugins icons are correctly applied with system/dark/light theme settings. - Verified that plugins icons are correctly applied with HC 1/2/black/white.
null
2023-12-18 19:55:24+00:00
2023-12-21 12:56:49+00:00
src/modules/launcher/PowerLauncher/PublicAPIInstance.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Windows; using Common.UI; using ManagedCommon; using Microsoft.Toolkit.Uwp.Notifications; using PowerLauncher.Plugin; using PowerLauncher.ViewModel; using Windows.UI.Notifications; using Wox.Infrastructure; using Wox.Infrastructure.Image; using Wox.Plugin; namespace Wox { public class PublicAPIInstance : IPublicAPI, IDisposable { private readonly SettingWindowViewModel _settingsVM; private readonly MainViewModel _mainVM; private readonly Alphabet _alphabet; private readonly ThemeManager _themeManager; private bool _disposed; public event ThemeChangedHandler ThemeChanged; public PublicAPIInstance(SettingWindowViewModel settingsVM, MainViewModel mainVM, Alphabet alphabet, ThemeManager themeManager) { _settingsVM = settingsVM ?? throw new ArgumentNullException(nameof(settingsVM)); _mainVM = mainVM ?? throw new ArgumentNullException(nameof(mainVM)); _alphabet = alphabet ?? throw new ArgumentNullException(nameof(alphabet)); _themeManager = themeManager ?? throw new ArgumentNullException(nameof(themeManager)); _themeManager.ThemeChanged += OnThemeChanged; ToastNotificationManagerCompat.OnActivated += args => { }; } public void RemoveUserSelectedItem(Result result) { _mainVM.RemoveUserSelectedRecord(result); _mainVM.ChangeQueryText(_mainVM.QueryText, true); } public void ChangeQuery(string query, bool requery = false) { _mainVM.ChangeQueryText(query, requery); } public void CheckForNewUpdate() { // _settingsVM.UpdateApp(); } public void SaveAppAllSettings() { _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); ImageLoader.Save(); _alphabet.Save(); } public void ReloadAllPluginData() { PluginManager.ReloadData(); } public void ShowMsg(string title, string subTitle = "", string iconPath = "", bool useMainWindowAsOwner = true) { Application.Current.Dispatcher.Invoke(() => { MessageBox.Show(subTitle, title); }); } public void ShowNotification(string text, string secondaryText = null) { var builder = new ToastContentBuilder().AddText(text); if (!string.IsNullOrWhiteSpace(secondaryText)) { builder.AddText(secondaryText); } Application.Current.Dispatcher.Invoke(() => { var toast = new ToastNotification(builder.GetToastContent().GetXml()); ToastNotificationManagerCompat.CreateToastNotifier().Show(toast); }); } public List<PluginPair> GetAllPlugins() { return PluginManager.AllPlugins.ToList(); } public Theme GetCurrentTheme() { return _themeManager.GetCurrentTheme(); } public void Dispose() { Dispose(disposing: true); GC.SuppressFinalize(this); } protected void OnThemeChanged(Theme oldTheme, Theme newTheme) { ThemeChanged?.Invoke(oldTheme, newTheme); } protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { _themeManager.ThemeChanged -= OnThemeChanged; _disposed = true; } } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Windows; using ManagedCommon; using Microsoft.Toolkit.Uwp.Notifications; using PowerLauncher.Helper; using PowerLauncher.Plugin; using PowerLauncher.ViewModel; using Windows.UI.Notifications; using Wox.Infrastructure; using Wox.Infrastructure.Image; using Wox.Plugin; namespace Wox { public class PublicAPIInstance : IPublicAPI, IDisposable { private readonly SettingWindowViewModel _settingsVM; private readonly MainViewModel _mainVM; private readonly Alphabet _alphabet; private readonly ThemeManager _themeManager; private bool _disposed; public event Common.UI.ThemeChangedHandler ThemeChanged; public PublicAPIInstance(SettingWindowViewModel settingsVM, MainViewModel mainVM, Alphabet alphabet, ThemeManager themeManager) { _settingsVM = settingsVM ?? throw new ArgumentNullException(nameof(settingsVM)); _mainVM = mainVM ?? throw new ArgumentNullException(nameof(mainVM)); _alphabet = alphabet ?? throw new ArgumentNullException(nameof(alphabet)); _themeManager = themeManager ?? throw new ArgumentNullException(nameof(themeManager)); _themeManager.ThemeChanged += OnThemeChanged; ToastNotificationManagerCompat.OnActivated += args => { }; } public void RemoveUserSelectedItem(Result result) { _mainVM.RemoveUserSelectedRecord(result); _mainVM.ChangeQueryText(_mainVM.QueryText, true); } public void ChangeQuery(string query, bool requery = false) { _mainVM.ChangeQueryText(query, requery); } public void CheckForNewUpdate() { // _settingsVM.UpdateApp(); } public void SaveAppAllSettings() { _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); ImageLoader.Save(); _alphabet.Save(); } public void ReloadAllPluginData() { PluginManager.ReloadData(); } public void ShowMsg(string title, string subTitle = "", string iconPath = "", bool useMainWindowAsOwner = true) { Application.Current.Dispatcher.Invoke(() => { MessageBox.Show(subTitle, title); }); } public void ShowNotification(string text, string secondaryText = null) { var builder = new ToastContentBuilder().AddText(text); if (!string.IsNullOrWhiteSpace(secondaryText)) { builder.AddText(secondaryText); } Application.Current.Dispatcher.Invoke(() => { var toast = new ToastNotification(builder.GetToastContent().GetXml()); ToastNotificationManagerCompat.CreateToastNotifier().Show(toast); }); } public List<PluginPair> GetAllPlugins() { return PluginManager.AllPlugins.ToList(); } public Theme GetCurrentTheme() { return _themeManager.CurrentTheme; } public void Dispose() { Dispose(disposing: true); GC.SuppressFinalize(this); } protected void OnThemeChanged(Theme oldTheme, Theme newTheme) { ThemeChanged?.Invoke(oldTheme, newTheme); } protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { _themeManager.ThemeChanged -= OnThemeChanged; _disposed = true; } } } } }
davidegiacometti
e73e73fa6c4648c754b301d14dea9360570d19ab
ae21b0dc093ae88b932b25a1a01f44da3e2b1d5c
Done in order to not break plugins API: we should consider moving `ThemeChangedHandler` delegate to `Wox.Plugin` project and remove the old theme (not provided by WPF UI and not needed).
davidegiacometti
110
microsoft/PowerToys
30,505
Upgrading STL Thumbnail provider to latest (Helix package)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Upgrading STL Thumbnail provider to latest (Helix package) <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-18 05:48:38+00:00
2023-12-18 22:30:48+00:00
Directory.Packages.props
<Project> <PropertyGroup> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> </PropertyGroup> <ItemGroup> <PackageVersion Include="Appium.WebDriver" Version="4.2.1" /> <PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.0" /> <PackageVersion Include="CommunityToolkit.WinUI.Animations" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Primitives" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Segmented" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Collections " Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" /> <PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" /> <PackageVersion Include="ControlzEx" Version="6.0.0" /> <PackageVersion Include="coverlet.collector" Version="1.3.0" /> <PackageVersion Include="DotNetSeleniumExtras.WaitHelpers" Version="3.11.0" /> <PackageVersion Include="HelixToolkit" Version="2.20.2" /> <PackageVersion Include="HelixToolkit.Core.Wpf" Version="2.20.2" /> <PackageVersion Include="hyjiacan.pinyin4net" Version="4.1.1" /> <PackageVersion Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" /> <PackageVersion Include="LazyCache" Version="2.4.0" /> <PackageVersion Include="Mages" Version="2.0.1" /> <PackageVersion Include="Markdig.Signed" Version="0.27.0" /> <PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" /> <PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" /> <PackageVersion Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.336902" /> <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="8.0.0" /> <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.3" /> <PackageVersion Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" /> <PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.2088.41" /> <PackageVersion Include="Microsoft.Windows.Compatibility" Version="8.0.0" /> <PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.2.46-beta" /> <!-- CsWinRT version needs to be set to have a WinRT.Runtime.dll at the same version contained inside the NET SDK we're currently building on CI. --> <PackageVersion Include="Microsoft.Windows.CsWinRT" Version="2.0.4" /> <PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" /> <PackageVersion Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" /> <PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.231115000" /> <PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" /> <PackageVersion Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" /> <PackageVersion Include="ModernWpfUI" Version="0.9.4" /> <PackageVersion Include="Moq" Version="4.18.4" /> <PackageVersion Include="MSTest.TestAdapter" Version="3.1.1" /> <PackageVersion Include="MSTest.TestFramework" Version="3.1.1" /> <PackageVersion Include="Newtonsoft.Json" Version="13.0.1" /> <PackageVersion Include="NLog" Version="5.0.4" /> <PackageVersion Include="NLog.Extensions.Logging" Version="5.0.4" /> <PackageVersion Include="NLog.Schema" Version="5.0.4" /> <PackageVersion Include="ScipBe.Common.Office.OneNote" Version="3.0.1" /> <PackageVersion Include="SharpCompress" Version="0.33.0" /> <PackageVersion Include="StreamJsonRpc" Version="2.14.24" /> <PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" /> <PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" /> <PackageVersion Include="System.ComponentModel.Composition" Version="8.0.0" /> <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.0" /> <PackageVersion Include="System.Data.OleDb" Version="8.0.0" /> <PackageVersion Include="System.Drawing.Common" Version="8.0.0" /> <PackageVersion Include="System.IO.Abstractions" Version="17.2.3" /> <PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="17.2.3" /> <PackageVersion Include="System.Management" Version="8.0.0" /> <PackageVersion Include="System.Reactive" Version="6.0.0-preview.9" /> <PackageVersion Include="System.Runtime.Caching" Version="8.0.0" /> <PackageVersion Include="System.ServiceProcess.ServiceController" Version="8.0.0" /> <PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0" /> <PackageVersion Include="UnicodeInformation" Version="2.6.0" /> <PackageVersion Include="UnitsNet" Version="4.145.0" /> <PackageVersion Include="UTF.Unknown" Version="2.5.1" /> <PackageVersion Include="Vanara.PInvoke.User32" Version="3.4.11" /> <PackageVersion Include="Vanara.PInvoke.Shell32" Version="3.4.11" /> <PackageVersion Include="WinUIEx" Version="2.2.0" /> <PackageVersion Include="WPF-UI" Version="3.0.0-preview.12" /> </ItemGroup> <ItemGroup Condition="'$(IsExperimentationLive)'!=''"> <!-- Additional dependencies used by experimentation --> <PackageVersion Include="Microsoft.VariantAssignment.Client" Version="2.4.17140001" /> <PackageVersion Include="Microsoft.VariantAssignment.Contract" Version="3.0.16990001" /> </ItemGroup> </Project>
<Project> <PropertyGroup> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> </PropertyGroup> <ItemGroup> <PackageVersion Include="Appium.WebDriver" Version="4.2.1" /> <PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.0" /> <PackageVersion Include="CommunityToolkit.WinUI.Animations" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Primitives" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Segmented" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Collections " Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.0.230907" /> <PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" /> <PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" /> <PackageVersion Include="ControlzEx" Version="6.0.0" /> <PackageVersion Include="coverlet.collector" Version="1.3.0" /> <PackageVersion Include="DotNetSeleniumExtras.WaitHelpers" Version="3.11.0" /> <PackageVersion Include="HelixToolkit" Version="2.24.0" /> <PackageVersion Include="HelixToolkit.Core.Wpf" Version="2.24.0" /> <PackageVersion Include="hyjiacan.pinyin4net" Version="4.1.1" /> <PackageVersion Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" /> <PackageVersion Include="LazyCache" Version="2.4.0" /> <PackageVersion Include="Mages" Version="2.0.1" /> <PackageVersion Include="Markdig.Signed" Version="0.27.0" /> <PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" /> <PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" /> <PackageVersion Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.336902" /> <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> <PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="8.0.0" /> <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.3" /> <PackageVersion Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" /> <PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.2088.41" /> <PackageVersion Include="Microsoft.Windows.Compatibility" Version="8.0.0" /> <PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.2.46-beta" /> <!-- CsWinRT version needs to be set to have a WinRT.Runtime.dll at the same version contained inside the NET SDK we're currently building on CI. --> <PackageVersion Include="Microsoft.Windows.CsWinRT" Version="2.0.4" /> <PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" /> <PackageVersion Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" /> <PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.231115000" /> <PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" /> <PackageVersion Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" /> <PackageVersion Include="ModernWpfUI" Version="0.9.4" /> <PackageVersion Include="Moq" Version="4.18.4" /> <PackageVersion Include="MSTest.TestAdapter" Version="3.1.1" /> <PackageVersion Include="MSTest.TestFramework" Version="3.1.1" /> <PackageVersion Include="Newtonsoft.Json" Version="13.0.1" /> <PackageVersion Include="NLog" Version="5.0.4" /> <PackageVersion Include="NLog.Extensions.Logging" Version="5.0.4" /> <PackageVersion Include="NLog.Schema" Version="5.0.4" /> <PackageVersion Include="ScipBe.Common.Office.OneNote" Version="3.0.1" /> <PackageVersion Include="SharpCompress" Version="0.33.0" /> <PackageVersion Include="StreamJsonRpc" Version="2.14.24" /> <PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" /> <PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" /> <PackageVersion Include="System.ComponentModel.Composition" Version="8.0.0" /> <PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.0.0" /> <PackageVersion Include="System.Data.OleDb" Version="8.0.0" /> <PackageVersion Include="System.Drawing.Common" Version="8.0.0" /> <PackageVersion Include="System.IO.Abstractions" Version="17.2.3" /> <PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="17.2.3" /> <PackageVersion Include="System.Management" Version="8.0.0" /> <PackageVersion Include="System.Reactive" Version="6.0.0-preview.9" /> <PackageVersion Include="System.Runtime.Caching" Version="8.0.0" /> <PackageVersion Include="System.ServiceProcess.ServiceController" Version="8.0.0" /> <PackageVersion Include="System.Text.Encoding.CodePages" Version="8.0.0" /> <PackageVersion Include="UnicodeInformation" Version="2.6.0" /> <PackageVersion Include="UnitsNet" Version="4.145.0" /> <PackageVersion Include="UTF.Unknown" Version="2.5.1" /> <PackageVersion Include="Vanara.PInvoke.User32" Version="3.4.11" /> <PackageVersion Include="Vanara.PInvoke.Shell32" Version="3.4.11" /> <PackageVersion Include="WinUIEx" Version="2.2.0" /> <PackageVersion Include="WPF-UI" Version="3.0.0-preview.12" /> </ItemGroup> <ItemGroup Condition="'$(IsExperimentationLive)'!=''"> <!-- Additional dependencies used by experimentation --> <PackageVersion Include="Microsoft.VariantAssignment.Client" Version="2.4.17140001" /> <PackageVersion Include="Microsoft.VariantAssignment.Contract" Version="3.0.16990001" /> </ItemGroup> </Project>
crutkas
3299ecfece9128cfd6791bacee1351b1c9a32c73
545f9014922d466af80dc32b14faacc11471cff1
Not a big deal - For some reason newlines are removed in this pr as well as in your 2 other, latest prs.
Jay-o-Way
111
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Helper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); if (Process.GetProcessesByName(HelperProcessName)?.Any() != true) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { if (Process.GetProcessesByName(HelperProcessName)?.Any() == true) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.ToLower(CultureInfo.CurrentCulture).Contains("system")) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length == 0) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length > 0) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.Contains("system", StringComparison.CurrentCultureIgnoreCase)) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
Why are we checking for the list of processes before creating the process? Let's have this call closer to where it was originally.
jaimecbernardo
112
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Helper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); if (Process.GetProcessesByName(HelperProcessName)?.Any() != true) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { if (Process.GetProcessesByName(HelperProcessName)?.Any() == true) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.ToLower(CultureInfo.CurrentCulture).Contains("system")) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length == 0) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length > 0) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.Contains("system", StringComparison.CurrentCultureIgnoreCase)) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
The new logic doesn't seem to be the same as the old one.
jaimecbernardo
113
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Helper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); if (Process.GetProcessesByName(HelperProcessName)?.Any() != true) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { if (Process.GetProcessesByName(HelperProcessName)?.Any() == true) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.ToLower(CultureInfo.CurrentCulture).Contains("system")) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length == 0) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length > 0) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.Contains("system", StringComparison.CurrentCultureIgnoreCase)) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
Where is the Ignore case for this change? The ToLower() logic is removed.
jaimecbernardo
114
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Helper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); if (Process.GetProcessesByName(HelperProcessName)?.Any() != true) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { if (Process.GetProcessesByName(HelperProcessName)?.Any() == true) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.ToLower(CultureInfo.CurrentCulture).Contains("system")) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length == 0) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length > 0) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.Contains("system", StringComparison.CurrentCultureIgnoreCase)) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
The original code null checked the return by "?". Why are we removing that? If there's a possibility that there's a null return, we'll crash with the current code.
jaimecbernardo
115
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Helper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); if (Process.GetProcessesByName(HelperProcessName)?.Any() != true) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { if (Process.GetProcessesByName(HelperProcessName)?.Any() == true) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.ToLower(CultureInfo.CurrentCulture).Contains("system")) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Principal; using System.Windows.Forms; // <summary> // Some other helper methods. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using Microsoft.Win32; using MouseWithoutBorders.Class; using static System.Windows.Forms.Control; namespace MouseWithoutBorders { internal partial class Common { internal const string HELPER_FORM_TEXT = "Mouse without Borders Helper"; internal const string HelperProcessName = "PowerToys.MouseWithoutBordersHelper"; private static bool signalHelperToExit; private static bool signalWatchDogToExit; internal static long WndProcCounter; private static void WatchDogThread() { long oldCounter = WndProcCounter; do { for (int i = 0; i < 10; i++) { Thread.Sleep(1000); if (signalWatchDogToExit) { break; } } while (BlockingUI) { Thread.Sleep(1000); } if (WndProcCounter == oldCounter) { Process p = Process.GetCurrentProcess(); string procInfo = $"{p.PrivateMemorySize64 / 1024 / 1024}MB, {p.TotalProcessorTime}, {Environment.ProcessorCount}."; string threadStacks = $"{procInfo} {Thread.DumpThreadsStack()}"; Common.TelemetryLogTrace(threadStacks, SeverityLevel.Error); break; } oldCounter = WndProcCounter; } while (true); } private static void HelperThread() { try { while (true) { _ = EvSwitch.WaitOne(); // Switching to another machine? if (signalHelperToExit) { break; } if (Common.NewDesMachineID != Common.MachineID && Common.NewDesMachineID != ID.ALL) { HideMouseCursor(false); Common.MainFormDotEx(true); } else { if (Common.SwitchLocation.Count > 0) { Common.SwitchLocation.Count--; // When we want to move mouse by pixels, we add 300k to x and y (search for XY_BY_PIXEL for other related code). Common.LogDebug($"+++++ Moving mouse to {Common.SwitchLocation.X}, {Common.SwitchLocation.Y}"); // MaxXY = 65535 so 100k is safe. if (Common.SwitchLocation.X > XY_BY_PIXEL - 100000 || Common.SwitchLocation.Y > XY_BY_PIXEL - 100000) { InputSimulation.MoveMouse(Common.SwitchLocation.X - XY_BY_PIXEL, Common.SwitchLocation.Y - XY_BY_PIXEL); } else { InputSimulation.MoveMouseEx(Common.SwitchLocation.X, Common.SwitchLocation.Y); } Common.MainFormDot(); } } if (Common.NewDesMachineID == Common.MachineID) { ReleaseAllKeys(); } } } catch (Exception e) { Log(e); } signalHelperToExit = false; LogDebug("^^^Helper Thread exiting...^^^"); } internal static void MainFormDotEx(bool bCheckTS) { LogDebug("***** MainFormDotEx:"); if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop) { int left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; int top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); Common.MainFormVisible = true; if (Setting.Values.HideMouse && Setting.Values.StealFocusWhenSwitchingMachine && Common.SendMessageToHelper(0x407, new IntPtr(left), new IntPtr(top), true) == 0) { try { /* When user just switches to the Logon desktop, user is actually on the "Windows Default Lock Screen" (LockApp). * If a click is sent to this during switch, it actually triggers a desktop switch on the local machine causing a reconnection affecting the machine switch. * We can detect and skip in this case. * */ IntPtr foreGroundWindow = NativeMethods.GetForegroundWindow(); string foreGroundWindowText = GetText(foreGroundWindow); bool mouseClick = true; if (foreGroundWindowText.Equals("Windows Default Lock Screen", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } // Window title may be localized, check process name: if (mouseClick) { _ = NativeMethods.GetWindowThreadProcessId(foreGroundWindow, out uint pid); if (pid > 0) { string foreGroundWindowProcess = Process.GetProcessById((int)pid)?.ProcessName; if (foreGroundWindowProcess.Equals("LockApp", StringComparison.OrdinalIgnoreCase)) { mouseClick = false; } } } if (mouseClick) { InputSimulation.MouseClickDotForm(left + 1, top + 1); } } catch (Exception e) { Log(e); } } } CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainForm3Pixels() { LogDebug("***** MainFormDotLarge:"); DoSomethingInUIThread( () => { MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 2; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2) - 1; MainForm.Width = 3; MainForm.Height = 3; MainForm.Opacity = 0.11D; MainForm.TopMost = true; if (Setting.Values.HideMouse) { MainForm.BackColor = Color.Black; MainForm.Show(); Common.MainFormVisible = true; } else { MainForm.BackColor = Color.White; MainForm.Hide(); Common.MainFormVisible = false; } }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void MainFormDot() { DoSomethingInUIThread( () => { _ = Common.SendMessageToHelper(0x408, IntPtr.Zero, IntPtr.Zero, false); MainForm.Left = Common.PrimaryScreenBounds.Left + ((Common.PrimaryScreenBounds.Right - Common.PrimaryScreenBounds.Left) / 2) - 1; MainForm.Top = Setting.Values.HideMouse ? 3 : Common.PrimaryScreenBounds.Top + ((Common.PrimaryScreenBounds.Bottom - Common.PrimaryScreenBounds.Top) / 2); MainForm.Width = 1; MainForm.Height = 1; MainForm.Opacity = 0.15; MainForm.Hide(); Common.MainFormVisible = false; }, true); CustomCursor.ShowFakeMouseCursor(int.MinValue, int.MinValue); } internal static void ToggleIcon() { try { if (toggleIconsIndex < TOGGLE_ICONS_SIZE) { Common.DoSomethingInUIThread(() => Common.MainForm.ChangeIcon(toggleIcons[toggleIconsIndex++])); } else { toggleIconsIndex = 0; toggleIcons = null; } } catch (Exception e) { Log(e); } } internal static void RunDDHelper(bool cleanUp = false) { if (Common.RunOnLogonDesktop || Common.RunOnScrSaverDesktop) { return; } if (cleanUp) { try { Process[] ps = Process.GetProcessesByName(HelperProcessName); foreach (Process p in ps) { p.KillProcess(); } } catch (Exception e) { Log(e); _ = Common.SendMessageToHelper(SharedConst.QUIT_CMD, IntPtr.Zero, IntPtr.Zero); } return; } if (!Common.IsMyDesktopActive()) { return; } if (!Common.IpcChannelCreated) { TelemetryLogTrace($"{nameof(Common.IpcChannelCreated)} = {Common.IpcChannelCreated}. {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); return; } if (!MainForm.IsDisposed) { MainForm.NotifyIcon.Visible = false; MainForm.NotifyIcon.Visible = Setting.Values.ShowOriginalUI; } IntPtr h = (IntPtr)NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); if (h.ToInt32() <= 0) { _ = Common.CreateProcessInInputDesktopSession( $"\"{Path.GetDirectoryName(Application.ExecutablePath)}\\{HelperProcessName}.exe\"", string.Empty, Common.GetInputDesktop(), 0); HasSwitchedMachineSinceLastCopy = true; // Common.CreateLowIntegrityProcess("\"" + Path.GetDirectoryName(Application.ExecutablePath) + "\\MouseWithoutBordersHelper.exe\"", string.Empty, 0, false, 0); var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length == 0) { Log("Unable to start helper process."); Common.ShowToolTip("Error starting Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } else { Log("Helper process started."); } } else { var processes = Process.GetProcessesByName(HelperProcessName); if (processes?.Length > 0) { Log("Helper process found running."); } else { Log("Invalid helper process found running."); Common.ShowToolTip("Error finding Mouse Without Borders Helper, clipboard sharing will not work!", 5000, ToolTipIcon.Error); } } } internal static int SendMessageToHelper(int msg, IntPtr wparam, IntPtr lparam, bool wait = true, bool log = true) { int h = NativeMethods.FindWindow(null, Common.HELPER_FORM_TEXT); int rv = -1; if (h > 0) { rv = wait ? (int)NativeMethods.SendMessage((IntPtr)h, msg, wparam, lparam) : NativeMethods.PostMessage((IntPtr)h, msg, wparam, lparam) ? 1 : 0; } if (log) { Common.LogDebug($"SendMessageToHelper: HelperWindow={h}, Return={rv}, msg={msg}, w={wparam.ToInt32()}, l={lparam.ToInt32()}, Post={!wait}"); } return rv; } internal static bool IsWindows8AndUp() { return (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2) || Environment.OSVersion.Version.Major > 6; } internal static string GetMiniLog(IEnumerable<ControlCollection> optionControls) { string log = string.Empty; log += "=============================================================================================================================\r\n"; log += $"{Application.ProductName} version {Application.ProductVersion}\r\n"; log += $"{Setting.Values.Username}/{GetDebugInfo(MyKey)}\r\n"; log += $"{MachineName}/{MachineID}/{DesMachineID}\r\n"; log += $"Id: {Setting.Values.DeviceId}\r\n"; log += $"Matrix: {string.Join(",", MachineMatrix)}\r\n"; log += $"McPool: {Setting.Values.MachinePoolString}\r\n"; log += "\r\nOPTIONS:\r\n"; foreach (ControlCollection controlCollection in optionControls) { foreach (object c in controlCollection) { if (c is CheckBox checkBox) { log += $"({(checkBox.Checked ? 1 : 0)}) {checkBox.Text}\r\n"; continue; } if (c is RadioButton radioButton) { log += $"({(radioButton.Checked ? 1 : 0)}) {radioButton.Name}.[{radioButton.Text}]\r\n"; continue; } if (c is ComboBox comboBox) { log += $"{comboBox.Name} = {comboBox.Text}\r\n"; continue; } } } log += "\r\n"; SocketStuff sk = Sk; if (sk?.TcpSockets != null) { foreach (TcpSk tcp in sk.TcpSockets) { log += $"{Common.MachineName}{(tcp.IsClient ? "=>" : "<=")}{tcp.MachineName}({tcp.MachineId}):{tcp.Status}\r\n"; } } log += string.Format(CultureInfo.CurrentCulture, "Helper:{0}\r\n", SendMessageToHelper(0x400, IntPtr.Zero, IntPtr.Zero)); log += Setting.Values.LastPersonalizeLogonScr + "\r\n"; log += "Name2IP =\r\n" + Setting.Values.Name2IP + "\r\n"; log += "Last 10 trace messages:\r\n"; log += string.Join(Environment.NewLine, LogCounter.Select(item => $"({item.Value}): {item.Key}").Take(10)); log += "\r\n============================================================================================================================="; return log; } internal static bool GetUserName() { if (string.IsNullOrEmpty(Setting.Values.Username) && !Common.RunOnLogonDesktop) { if (Program.User.Contains("system", StringComparison.CurrentCultureIgnoreCase)) { _ = Common.ImpersonateLoggedOnUserAndDoSomething(() => { Setting.Values.Username = WindowsIdentity.GetCurrent(true).Name; }); } else { Setting.Values.Username = Program.User; } Common.LogDebug("[Username] = " + Setting.Values.Username); } return !string.IsNullOrEmpty(Setting.Values.Username); } internal static void ShowOneWayModeMessage() { ToggleShowTopMostMessage( @" Due to Security Controls, a remote device cannot control a SAW device. Please use the keyboard and Mouse from the SAW device. (Press Esc to hide this message) ", string.Empty, 10); } internal static void ApplyCADSetting() { try { if (Setting.Values.DisableCAD) { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 1, RegistryValueKind.DWord); k.Close(); } } else { RegistryKey k = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"); if (k != null) { k.SetValue("DisableCAD", 0, RegistryValueKind.DWord); k.Close(); } } } catch (Exception e) { Log(e); } } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
The original code null checked the return by "?". Why are we removing that? If there's a possibility that there's a null return, we'll crash with the current code.
jaimecbernardo
116
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/MouseWithoutBorders/App/Class/Common.Launch.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Runtime.InteropServices; using System.Security.Principal; // <summary> // Impersonation. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using MouseWithoutBorders.Class; namespace MouseWithoutBorders { internal partial class Common { internal static bool RunElevated() { return WindowsIdentity.GetCurrent().Owner.IsWellKnown(WellKnownSidType.BuiltinAdministratorsSid); } internal static bool ImpersonateLoggedOnUserAndDoSomething(Action targetFunc) { if (Common.RunWithNoAdminRight) { targetFunc(); return true; } else { uint dwSessionId; IntPtr hUserToken = IntPtr.Zero, hUserTokenDup = IntPtr.Zero; try { dwSessionId = (uint)Process.GetCurrentProcess().SessionId; uint rv = NativeMethods.WTSQueryUserToken(dwSessionId, ref hUserToken); LogDebug("WTSQueryUserToken returned " + rv.ToString(CultureInfo.CurrentCulture)); if (rv == 0) { LogDebug($"WTSQueryUserToken failed with: {Marshal.GetLastWin32Error()}."); return false; } if (!NativeMethods.DuplicateToken(hUserToken, (int)NativeMethods.SECURITY_IMPERSONATION_LEVEL.SecurityImpersonation, ref hUserTokenDup)) { TelemetryLogTrace($"DuplicateToken Failed! {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return false; } if (NativeMethods.ImpersonateLoggedOnUser(hUserTokenDup)) { targetFunc(); _ = NativeMethods.RevertToSelf(); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return true; } else { Log("ImpersonateLoggedOnUser Failed!"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return false; } } catch (Exception e) { Common.Log(e); return false; } } } [SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Justification = "Dotnet port with style preservation")] internal static int CreateProcessInInputDesktopSession(string commandLine, string arg, string desktop, short wShowWindow, bool lowIntegrity = false) // As user who runs explorer.exe { if (!Program.User.ToLower(CultureInfo.InvariantCulture).Contains("system")) { ProcessStartInfo s = new(commandLine, arg); s.WindowStyle = wShowWindow != 0 ? ProcessWindowStyle.Normal : ProcessWindowStyle.Hidden; Process p = Process.Start(s); return p == null ? 0 : p.Id; } string commandLineWithArg = commandLine + " " + arg; int lastError; int dwSessionId; IntPtr hUserToken = IntPtr.Zero, hUserTokenDup = IntPtr.Zero; Common.LogDebug("CreateProcessInInputDesktopSession called, launching " + commandLineWithArg + " on " + desktop); try { dwSessionId = Process.GetCurrentProcess().SessionId; // Get the user token used by DuplicateTokenEx lastError = (int)NativeMethods.WTSQueryUserToken((uint)dwSessionId, ref hUserToken); NativeMethods.STARTUPINFO si = default; si.cb = Marshal.SizeOf(si); si.lpDesktop = "winsta0\\" + desktop; si.wShowWindow = wShowWindow; NativeMethods.SECURITY_ATTRIBUTES sa = default; sa.Length = Marshal.SizeOf(sa); if (!NativeMethods.DuplicateTokenEx(hUserToken, NativeMethods.MAXIMUM_ALLOWED, ref sa, (int)NativeMethods.SECURITY_IMPERSONATION_LEVEL.SecurityIdentification, (int)NativeMethods.TOKEN_TYPE.TokenPrimary, ref hUserTokenDup)) { lastError = Marshal.GetLastWin32Error(); Common.Log(string.Format(CultureInfo.CurrentCulture, "DuplicateTokenEx error: {0} Token does not have the privilege.", lastError)); _ = NativeMethods.CloseHandle(hUserToken); return 0; } if (lowIntegrity) { NativeMethods.TOKEN_MANDATORY_LABEL tIL; // Low string sIntegritySid = "S-1-16-4096"; bool rv = NativeMethods.ConvertStringSidToSid(sIntegritySid, out IntPtr pIntegritySid); if (!rv) { Log("ConvertStringSidToSid failed"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return 0; } tIL.Label.Attributes = NativeMethods.SE_GROUP_INTEGRITY; tIL.Label.Sid = pIntegritySid; rv = NativeMethods.SetTokenInformation(hUserTokenDup, NativeMethods.TOKEN_INFORMATION_CLASS.TokenIntegrityLevel, ref tIL, (uint)Marshal.SizeOf(tIL) + (uint)IntPtr.Size); if (!rv) { Log("SetTokenInformation failed"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return 0; } } uint dwCreationFlags = NativeMethods.NORMAL_PRIORITY_CLASS | NativeMethods.CREATE_NEW_CONSOLE; IntPtr pEnv = IntPtr.Zero; if (NativeMethods.CreateEnvironmentBlock(ref pEnv, hUserTokenDup, true)) { dwCreationFlags |= NativeMethods.CREATE_UNICODE_ENVIRONMENT; } else { pEnv = IntPtr.Zero; } _ = NativeMethods.CreateProcessAsUser( hUserTokenDup, // client's access token null, // file to execute commandLineWithArg, // command line ref sa, // pointer to process SECURITY_ATTRIBUTES ref sa, // pointer to thread SECURITY_ATTRIBUTES false, // handles are not inheritable (int)dwCreationFlags, // creation flags pEnv, // pointer to new environment block null, // name of current directory ref si, // pointer to STARTUPINFO structure out NativeMethods.PROCESS_INFORMATION pi); // receives information about new process // GetLastError should be 0 int iResultOfCreateProcessAsUser = Marshal.GetLastWin32Error(); LogDebug("CreateProcessAsUser returned " + iResultOfCreateProcessAsUser.ToString(CultureInfo.CurrentCulture)); // Close handles task _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return (iResultOfCreateProcessAsUser == 0) ? (int)pi.dwProcessId : 0; } catch (Exception e) { Common.Log(e); return 0; } } #if CUSTOMIZE_LOGON_SCREEN internal static bool CreateLowIntegrityProcess(string commandLine, string args, int wait, bool killIfTimedOut, long limitedMem, short wShowWindow = 0) { int processId = CreateProcessInInputDesktopSession(commandLine, args, "default", wShowWindow, true); if (processId <= 0) { return false; } if (wait > 0) { if (limitedMem > 0) { int sec = 0; while (true) { Process p; try { if ((p = Process.GetProcessById(processId)) == null) { Log("Process exited!"); break; } } catch (ArgumentException) { Log("GetProcessById.ArgumentException"); break; } if ((!p.HasExited && p.PrivateMemorySize64 > limitedMem) || (++sec > (wait / 1000))) { Log(string.Format(CultureInfo.CurrentCulture, "Process log (mem): {0}, {1}", sec, p.PrivateMemorySize64)); return false; } Thread.Sleep(1000); } } else { Process p; if ((p = Process.GetProcessById(processId)) == null) { Log("Process exited!"); } else if (NativeMethods.WaitForSingleObject(p.Handle, wait) != NativeMethods.WAIT_OBJECT_0 && killIfTimedOut) { Log("Process log (time)."); TerminateProcessTree(p.Handle, (uint)processId, -1); return false; } } } return true; } internal static void TerminateProcessTree(IntPtr hProcess, uint processID, int exitCode) { if (processID > 0 && hProcess.ToInt32() > 0) { Process[] processes = Process.GetProcesses(); int dwSessionId = Process.GetCurrentProcess().SessionId; foreach (Process p in processes) { if (p.SessionId == dwSessionId) { NativeMethods.PROCESS_BASIC_INFORMATION processBasicInformation = default; try { if (NativeMethods.NtQueryInformationProcess(p.Handle, 0, ref processBasicInformation, (uint)Marshal.SizeOf(processBasicInformation), out uint bytesWritten) >= 0) {// NT_SUCCESS(...) if (processBasicInformation.InheritedFromUniqueProcessId == processID) { TerminateProcessTree(p.Handle, processBasicInformation.UniqueProcessId, exitCode); } } } catch (InvalidOperationException e) { Log(e); continue; } catch (Win32Exception e) { Log(e); continue; } } } _ = NativeMethods.TerminateProcess(hProcess, (IntPtr)exitCode); } } #endif } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Runtime.InteropServices; using System.Security.Principal; // <summary> // Impersonation. // </summary> // <history> // 2008 created by Truong Do (ductdo). // 2009-... modified by Truong Do (TruongDo). // 2023- Included in PowerToys. // </history> using MouseWithoutBorders.Class; namespace MouseWithoutBorders { internal partial class Common { internal static bool RunElevated() { return WindowsIdentity.GetCurrent().Owner.IsWellKnown(WellKnownSidType.BuiltinAdministratorsSid); } internal static bool ImpersonateLoggedOnUserAndDoSomething(Action targetFunc) { if (Common.RunWithNoAdminRight) { targetFunc(); return true; } else { uint dwSessionId; IntPtr hUserToken = IntPtr.Zero, hUserTokenDup = IntPtr.Zero; try { dwSessionId = (uint)Process.GetCurrentProcess().SessionId; uint rv = NativeMethods.WTSQueryUserToken(dwSessionId, ref hUserToken); LogDebug("WTSQueryUserToken returned " + rv.ToString(CultureInfo.CurrentCulture)); if (rv == 0) { LogDebug($"WTSQueryUserToken failed with: {Marshal.GetLastWin32Error()}."); return false; } if (!NativeMethods.DuplicateToken(hUserToken, (int)NativeMethods.SECURITY_IMPERSONATION_LEVEL.SecurityImpersonation, ref hUserTokenDup)) { TelemetryLogTrace($"DuplicateToken Failed! {GetStackTrace(new StackTrace())}", SeverityLevel.Warning); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return false; } if (NativeMethods.ImpersonateLoggedOnUser(hUserTokenDup)) { targetFunc(); _ = NativeMethods.RevertToSelf(); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return true; } else { Log("ImpersonateLoggedOnUser Failed!"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return false; } } catch (Exception e) { Common.Log(e); return false; } } } internal static int CreateProcessInInputDesktopSession(string commandLine, string arg, string desktop, short wShowWindow, bool lowIntegrity = false) // As user who runs explorer.exe { if (!Program.User.Contains("system", StringComparison.InvariantCultureIgnoreCase)) { ProcessStartInfo s = new(commandLine, arg); s.WindowStyle = wShowWindow != 0 ? ProcessWindowStyle.Normal : ProcessWindowStyle.Hidden; Process p = Process.Start(s); return p == null ? 0 : p.Id; } string commandLineWithArg = commandLine + " " + arg; int lastError; int dwSessionId; IntPtr hUserToken = IntPtr.Zero, hUserTokenDup = IntPtr.Zero; Common.LogDebug("CreateProcessInInputDesktopSession called, launching " + commandLineWithArg + " on " + desktop); try { dwSessionId = Process.GetCurrentProcess().SessionId; // Get the user token used by DuplicateTokenEx lastError = (int)NativeMethods.WTSQueryUserToken((uint)dwSessionId, ref hUserToken); NativeMethods.STARTUPINFO si = default; si.cb = Marshal.SizeOf(si); si.lpDesktop = "winsta0\\" + desktop; si.wShowWindow = wShowWindow; NativeMethods.SECURITY_ATTRIBUTES sa = default; sa.Length = Marshal.SizeOf(sa); if (!NativeMethods.DuplicateTokenEx(hUserToken, NativeMethods.MAXIMUM_ALLOWED, ref sa, (int)NativeMethods.SECURITY_IMPERSONATION_LEVEL.SecurityIdentification, (int)NativeMethods.TOKEN_TYPE.TokenPrimary, ref hUserTokenDup)) { lastError = Marshal.GetLastWin32Error(); Common.Log(string.Format(CultureInfo.CurrentCulture, "DuplicateTokenEx error: {0} Token does not have the privilege.", lastError)); _ = NativeMethods.CloseHandle(hUserToken); return 0; } if (lowIntegrity) { NativeMethods.TOKEN_MANDATORY_LABEL tIL; // Low string sIntegritySid = "S-1-16-4096"; bool rv = NativeMethods.ConvertStringSidToSid(sIntegritySid, out IntPtr pIntegritySid); if (!rv) { Log("ConvertStringSidToSid failed"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return 0; } tIL.Label.Attributes = NativeMethods.SE_GROUP_INTEGRITY; tIL.Label.Sid = pIntegritySid; rv = NativeMethods.SetTokenInformation(hUserTokenDup, NativeMethods.TOKEN_INFORMATION_CLASS.TokenIntegrityLevel, ref tIL, (uint)Marshal.SizeOf(tIL) + (uint)IntPtr.Size); if (!rv) { Log("SetTokenInformation failed"); _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return 0; } } uint dwCreationFlags = NativeMethods.NORMAL_PRIORITY_CLASS | NativeMethods.CREATE_NEW_CONSOLE; IntPtr pEnv = IntPtr.Zero; if (NativeMethods.CreateEnvironmentBlock(ref pEnv, hUserTokenDup, true)) { dwCreationFlags |= NativeMethods.CREATE_UNICODE_ENVIRONMENT; } else { pEnv = IntPtr.Zero; } _ = NativeMethods.CreateProcessAsUser( hUserTokenDup, // client's access token null, // file to execute commandLineWithArg, // command line ref sa, // pointer to process SECURITY_ATTRIBUTES ref sa, // pointer to thread SECURITY_ATTRIBUTES false, // handles are not inheritable (int)dwCreationFlags, // creation flags pEnv, // pointer to new environment block null, // name of current directory ref si, // pointer to STARTUPINFO structure out NativeMethods.PROCESS_INFORMATION pi); // receives information about new process // GetLastError should be 0 int iResultOfCreateProcessAsUser = Marshal.GetLastWin32Error(); LogDebug("CreateProcessAsUser returned " + iResultOfCreateProcessAsUser.ToString(CultureInfo.CurrentCulture)); // Close handles task _ = NativeMethods.CloseHandle(hUserToken); _ = NativeMethods.CloseHandle(hUserTokenDup); return (iResultOfCreateProcessAsUser == 0) ? (int)pi.dwProcessId : 0; } catch (Exception e) { Common.Log(e); return 0; } } #if CUSTOMIZE_LOGON_SCREEN internal static bool CreateLowIntegrityProcess(string commandLine, string args, int wait, bool killIfTimedOut, long limitedMem, short wShowWindow = 0) { int processId = CreateProcessInInputDesktopSession(commandLine, args, "default", wShowWindow, true); if (processId <= 0) { return false; } if (wait > 0) { if (limitedMem > 0) { int sec = 0; while (true) { Process p; try { if ((p = Process.GetProcessById(processId)) == null) { Log("Process exited!"); break; } } catch (ArgumentException) { Log("GetProcessById.ArgumentException"); break; } if ((!p.HasExited && p.PrivateMemorySize64 > limitedMem) || (++sec > (wait / 1000))) { Log(string.Format(CultureInfo.CurrentCulture, "Process log (mem): {0}, {1}", sec, p.PrivateMemorySize64)); return false; } Thread.Sleep(1000); } } else { Process p; if ((p = Process.GetProcessById(processId)) == null) { Log("Process exited!"); } else if (NativeMethods.WaitForSingleObject(p.Handle, wait) != NativeMethods.WAIT_OBJECT_0 && killIfTimedOut) { Log("Process log (time)."); TerminateProcessTree(p.Handle, (uint)processId, -1); return false; } } } return true; } internal static void TerminateProcessTree(IntPtr hProcess, uint processID, int exitCode) { if (processID > 0 && hProcess.ToInt32() > 0) { Process[] processes = Process.GetProcesses(); int dwSessionId = Process.GetCurrentProcess().SessionId; foreach (Process p in processes) { if (p.SessionId == dwSessionId) { NativeMethods.PROCESS_BASIC_INFORMATION processBasicInformation = default; try { if (NativeMethods.NtQueryInformationProcess(p.Handle, 0, ref processBasicInformation, (uint)Marshal.SizeOf(processBasicInformation), out uint bytesWritten) >= 0) {// NT_SUCCESS(...) if (processBasicInformation.InheritedFromUniqueProcessId == processID) { TerminateProcessTree(p.Handle, processBasicInformation.UniqueProcessId, exitCode); } } } catch (InvalidOperationException e) { Log(e); continue; } catch (Win32Exception e) { Log(e); continue; } } } _ = NativeMethods.TerminateProcess(hProcess, (IntPtr)exitCode); } } #endif } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
Where is the ignore case logic here? The ToLower() logic is removed.
jaimecbernardo
117
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/fancyzones/editor/FancyZonesEditor/Models/MainWindowSettingsModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using FancyZonesEditor.Models; namespace FancyZonesEditor { // Settings // These are the configuration settings used by the rest of the editor // Other UIs in the editor will subscribe to change events on the properties to stay up to date as these properties change public class MainWindowSettingsModel : INotifyPropertyChanged { private enum DeviceIdParts { Name = 0, Width, Height, VirtualDesktopId, } public bool IsCustomLayoutActive { get { foreach (LayoutModel model in CustomModels) { if (model.IsSelected) { return true; } } return false; } } public static DefaultLayoutsModel DefaultLayouts { get; } = new DefaultLayoutsModel(); public MainWindowSettingsModel() { // Initialize default layout models: Blank, Focus, Columns, Rows, Grid, and PriorityGrid var blankModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Blank, LayoutType.Blank) { TemplateZoneCount = 0, SensitivityRadius = 0, }; TemplateModels.Insert((int)LayoutType.Blank, blankModel); var focusModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Focus, LayoutType.Focus); focusModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Focus, focusModel); var columnsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Columns, LayoutType.Columns) { Rows = 1, RowPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; columnsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Columns, columnsModel); var rowsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Rows, LayoutType.Rows) { Columns = 1, ColumnPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; rowsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Rows, rowsModel); var gridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Grid, LayoutType.Grid); gridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Grid, gridModel); var priorityGridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Priority_Grid, LayoutType.PriorityGrid); priorityGridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.PriorityGrid, priorityGridModel); // set default layouts DefaultLayouts.Set(rowsModel, MonitorConfigurationType.Vertical); DefaultLayouts.Set(priorityGridModel, MonitorConfigurationType.Horizontal); } // IsShiftKeyPressed - is the shift key currently being held down public bool IsShiftKeyPressed { get { return _isShiftKeyPressed; } set { if (_isShiftKeyPressed != value) { _isShiftKeyPressed = value; FirePropertyChanged(nameof(IsShiftKeyPressed)); } } } private bool _isShiftKeyPressed; // IsCtrlKeyPressed - is the ctrl key currently being held down public bool IsCtrlKeyPressed { get { return _isCtrlKeyPressed; } set { if (_isCtrlKeyPressed != value) { _isCtrlKeyPressed = value; FirePropertyChanged(nameof(IsCtrlKeyPressed)); } } } private bool _isCtrlKeyPressed; public LayoutModel BlankModel { get { return TemplateModels[(int)LayoutType.Blank]; } } public static IList<LayoutModel> TemplateModels { get; } = new List<LayoutModel>(6); public static ObservableCollection<LayoutModel> CustomModels { get { return _customModels; } set { foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged -= model.LayoutHotkeys_PropertyChanged; } _customModels.Clear(); _customModels = value; foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged += model.LayoutHotkeys_PropertyChanged; } } } private static ObservableCollection<LayoutModel> _customModels = new ObservableCollection<LayoutModel>(); public static int CustomModelsCount { get { return _customModels.Count; } } public static LayoutHotkeysModel LayoutHotkeys { get; } = new LayoutHotkeysModel(); public LayoutModel SelectedModel { get { return _selectedModel; } private set { if (_selectedModel != value) { _selectedModel = value; FirePropertyChanged(nameof(SelectedModel)); } } } private LayoutModel _selectedModel; public LayoutModel AppliedModel { get { return _appliedModel; } private set { if (_appliedModel != value) { _appliedModel = value; FirePropertyChanged(nameof(AppliedModel)); } } } private LayoutModel _appliedModel; public static bool IsPredefinedLayout(LayoutModel model) { return model.Type != LayoutType.Custom; } public void InitModels() { foreach (var model in TemplateModels) { model.InitTemplateZones(); } } public LayoutModel UpdateSelectedLayoutModel() { LayoutModel foundModel = null; LayoutSettings currentApplied = App.Overlay.CurrentLayoutSettings; // set new layout if (currentApplied.Type == LayoutType.Custom) { foreach (LayoutModel model in CustomModels) { if (model.Uuid == currentApplied.ZonesetUuid.ToUpperInvariant()) { // found match foundModel = model; break; } } } else { foreach (LayoutModel model in TemplateModels) { if (model.Type == currentApplied.Type) { // found match foundModel = model; foundModel.TemplateZoneCount = currentApplied.ZoneCount; foundModel.SensitivityRadius = currentApplied.SensitivityRadius; if (foundModel is GridLayoutModel grid) { grid.ShowSpacing = currentApplied.ShowSpacing; grid.Spacing = currentApplied.Spacing; } foundModel.InitTemplateZones(); break; } } } SetSelectedModel(foundModel); SetAppliedModel(foundModel); FirePropertyChanged(nameof(IsCustomLayoutActive)); return foundModel; } public void SetSelectedModel(LayoutModel model) { if (_selectedModel != null) { _selectedModel.IsSelected = false; } if (model != null) { model.IsSelected = true; } SelectedModel = model; } public void SetAppliedModel(LayoutModel model) { if (_appliedModel != null) { _appliedModel.IsApplied = false; } if (model != null) { model.IsApplied = true; } AppliedModel = model; } public void UpdateTemplateModels() { foreach (LayoutModel model in TemplateModels) { if (App.Overlay.CurrentLayoutSettings.Type == model.Type && App.Overlay.CurrentLayoutSettings.ZoneCount != model.TemplateZoneCount) { model.TemplateZoneCount = App.Overlay.CurrentLayoutSettings.ZoneCount; model.InitTemplateZones(); } } } // implementation of INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; // FirePropertyChanged -- wrapper that calls INPC.PropertyChanged protected virtual void FirePropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using FancyZonesEditor.Models; namespace FancyZonesEditor { // Settings // These are the configuration settings used by the rest of the editor // Other UIs in the editor will subscribe to change events on the properties to stay up to date as these properties change public class MainWindowSettingsModel : INotifyPropertyChanged { private enum DeviceIdParts { Name = 0, Width, Height, VirtualDesktopId, } public bool IsCustomLayoutActive { get { foreach (LayoutModel model in CustomModels) { if (model.IsSelected) { return true; } } return false; } } public static DefaultLayoutsModel DefaultLayouts { get; } = new DefaultLayoutsModel(); public MainWindowSettingsModel() { // Initialize default layout models: Blank, Focus, Columns, Rows, Grid, and PriorityGrid var blankModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Blank, LayoutType.Blank) { TemplateZoneCount = 0, SensitivityRadius = 0, }; TemplateModels.Insert((int)LayoutType.Blank, blankModel); var focusModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Focus, LayoutType.Focus); focusModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Focus, focusModel); var columnsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Columns, LayoutType.Columns) { Rows = 1, RowPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; columnsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Columns, columnsModel); var rowsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Rows, LayoutType.Rows) { Columns = 1, ColumnPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; rowsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Rows, rowsModel); var gridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Grid, LayoutType.Grid); gridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Grid, gridModel); var priorityGridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Priority_Grid, LayoutType.PriorityGrid); priorityGridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.PriorityGrid, priorityGridModel); // set default layouts DefaultLayouts.Set(rowsModel, MonitorConfigurationType.Vertical); DefaultLayouts.Set(priorityGridModel, MonitorConfigurationType.Horizontal); } // IsShiftKeyPressed - is the shift key currently being held down public bool IsShiftKeyPressed { get { return _isShiftKeyPressed; } set { if (_isShiftKeyPressed != value) { _isShiftKeyPressed = value; FirePropertyChanged(nameof(IsShiftKeyPressed)); } } } private bool _isShiftKeyPressed; // IsCtrlKeyPressed - is the ctrl key currently being held down public bool IsCtrlKeyPressed { get { return _isCtrlKeyPressed; } set { if (_isCtrlKeyPressed != value) { _isCtrlKeyPressed = value; FirePropertyChanged(nameof(IsCtrlKeyPressed)); } } } private bool _isCtrlKeyPressed; public LayoutModel BlankModel { get { return TemplateModels[(int)LayoutType.Blank]; } } public static IList<LayoutModel> TemplateModels { get; } = new List<LayoutModel>(6); public static ObservableCollection<LayoutModel> CustomModels { get { return _customModels; } set { foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged -= model.LayoutHotkeys_PropertyChanged; } _customModels.Clear(); _customModels = value; foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged += model.LayoutHotkeys_PropertyChanged; } } } private static ObservableCollection<LayoutModel> _customModels = new ObservableCollection<LayoutModel>(); public static int CustomModelsCount { get { return _customModels.Count; } } public static LayoutHotkeysModel LayoutHotkeys { get; } = new LayoutHotkeysModel(); public LayoutModel SelectedModel { get { return _selectedModel; } private set { if (_selectedModel != value) { _selectedModel = value; FirePropertyChanged(nameof(SelectedModel)); } } } private LayoutModel _selectedModel; public LayoutModel AppliedModel { get { return _appliedModel; } private set { if (_appliedModel != value) { _appliedModel = value; FirePropertyChanged(nameof(AppliedModel)); } } } private LayoutModel _appliedModel; public static bool IsPredefinedLayout(LayoutModel model) { return model.Type != LayoutType.Custom; } public void InitModels() { foreach (var model in TemplateModels) { model.InitTemplateZones(); } } public LayoutModel UpdateSelectedLayoutModel() { LayoutModel foundModel = null; LayoutSettings currentApplied = App.Overlay.CurrentLayoutSettings; // set new layout if (currentApplied.Type == LayoutType.Custom) { foreach (LayoutModel model in CustomModels) { if (string.Equals(model.Uuid, currentApplied.ZonesetUuid, StringComparison.OrdinalIgnoreCase)) { // found match foundModel = model; break; } } } else { foreach (LayoutModel model in TemplateModels) { if (model.Type == currentApplied.Type) { // found match foundModel = model; foundModel.TemplateZoneCount = currentApplied.ZoneCount; foundModel.SensitivityRadius = currentApplied.SensitivityRadius; if (foundModel is GridLayoutModel grid) { grid.ShowSpacing = currentApplied.ShowSpacing; grid.Spacing = currentApplied.Spacing; } foundModel.InitTemplateZones(); break; } } } SetSelectedModel(foundModel); SetAppliedModel(foundModel); FirePropertyChanged(nameof(IsCustomLayoutActive)); return foundModel; } public void SetSelectedModel(LayoutModel model) { if (_selectedModel != null) { _selectedModel.IsSelected = false; } if (model != null) { model.IsSelected = true; } SelectedModel = model; } public void SetAppliedModel(LayoutModel model) { if (_appliedModel != null) { _appliedModel.IsApplied = false; } if (model != null) { model.IsApplied = true; } AppliedModel = model; } public void UpdateTemplateModels() { foreach (LayoutModel model in TemplateModels) { if (App.Overlay.CurrentLayoutSettings.Type == model.Type && App.Overlay.CurrentLayoutSettings.ZoneCount != model.TemplateZoneCount) { model.TemplateZoneCount = App.Overlay.CurrentLayoutSettings.ZoneCount; model.InitTemplateZones(); } } } // implementation of INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; // FirePropertyChanged -- wrapper that calls INPC.PropertyChanged protected virtual void FirePropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
The invariant logic was removed here... Shouldn't this be InvariantCultureIgnoreCase?
jaimecbernardo
118
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/fancyzones/editor/FancyZonesEditor/Models/MainWindowSettingsModel.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using FancyZonesEditor.Models; namespace FancyZonesEditor { // Settings // These are the configuration settings used by the rest of the editor // Other UIs in the editor will subscribe to change events on the properties to stay up to date as these properties change public class MainWindowSettingsModel : INotifyPropertyChanged { private enum DeviceIdParts { Name = 0, Width, Height, VirtualDesktopId, } public bool IsCustomLayoutActive { get { foreach (LayoutModel model in CustomModels) { if (model.IsSelected) { return true; } } return false; } } public static DefaultLayoutsModel DefaultLayouts { get; } = new DefaultLayoutsModel(); public MainWindowSettingsModel() { // Initialize default layout models: Blank, Focus, Columns, Rows, Grid, and PriorityGrid var blankModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Blank, LayoutType.Blank) { TemplateZoneCount = 0, SensitivityRadius = 0, }; TemplateModels.Insert((int)LayoutType.Blank, blankModel); var focusModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Focus, LayoutType.Focus); focusModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Focus, focusModel); var columnsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Columns, LayoutType.Columns) { Rows = 1, RowPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; columnsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Columns, columnsModel); var rowsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Rows, LayoutType.Rows) { Columns = 1, ColumnPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; rowsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Rows, rowsModel); var gridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Grid, LayoutType.Grid); gridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Grid, gridModel); var priorityGridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Priority_Grid, LayoutType.PriorityGrid); priorityGridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.PriorityGrid, priorityGridModel); // set default layouts DefaultLayouts.Set(rowsModel, MonitorConfigurationType.Vertical); DefaultLayouts.Set(priorityGridModel, MonitorConfigurationType.Horizontal); } // IsShiftKeyPressed - is the shift key currently being held down public bool IsShiftKeyPressed { get { return _isShiftKeyPressed; } set { if (_isShiftKeyPressed != value) { _isShiftKeyPressed = value; FirePropertyChanged(nameof(IsShiftKeyPressed)); } } } private bool _isShiftKeyPressed; // IsCtrlKeyPressed - is the ctrl key currently being held down public bool IsCtrlKeyPressed { get { return _isCtrlKeyPressed; } set { if (_isCtrlKeyPressed != value) { _isCtrlKeyPressed = value; FirePropertyChanged(nameof(IsCtrlKeyPressed)); } } } private bool _isCtrlKeyPressed; public LayoutModel BlankModel { get { return TemplateModels[(int)LayoutType.Blank]; } } public static IList<LayoutModel> TemplateModels { get; } = new List<LayoutModel>(6); public static ObservableCollection<LayoutModel> CustomModels { get { return _customModels; } set { foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged -= model.LayoutHotkeys_PropertyChanged; } _customModels.Clear(); _customModels = value; foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged += model.LayoutHotkeys_PropertyChanged; } } } private static ObservableCollection<LayoutModel> _customModels = new ObservableCollection<LayoutModel>(); public static int CustomModelsCount { get { return _customModels.Count; } } public static LayoutHotkeysModel LayoutHotkeys { get; } = new LayoutHotkeysModel(); public LayoutModel SelectedModel { get { return _selectedModel; } private set { if (_selectedModel != value) { _selectedModel = value; FirePropertyChanged(nameof(SelectedModel)); } } } private LayoutModel _selectedModel; public LayoutModel AppliedModel { get { return _appliedModel; } private set { if (_appliedModel != value) { _appliedModel = value; FirePropertyChanged(nameof(AppliedModel)); } } } private LayoutModel _appliedModel; public static bool IsPredefinedLayout(LayoutModel model) { return model.Type != LayoutType.Custom; } public void InitModels() { foreach (var model in TemplateModels) { model.InitTemplateZones(); } } public LayoutModel UpdateSelectedLayoutModel() { LayoutModel foundModel = null; LayoutSettings currentApplied = App.Overlay.CurrentLayoutSettings; // set new layout if (currentApplied.Type == LayoutType.Custom) { foreach (LayoutModel model in CustomModels) { if (model.Uuid == currentApplied.ZonesetUuid.ToUpperInvariant()) { // found match foundModel = model; break; } } } else { foreach (LayoutModel model in TemplateModels) { if (model.Type == currentApplied.Type) { // found match foundModel = model; foundModel.TemplateZoneCount = currentApplied.ZoneCount; foundModel.SensitivityRadius = currentApplied.SensitivityRadius; if (foundModel is GridLayoutModel grid) { grid.ShowSpacing = currentApplied.ShowSpacing; grid.Spacing = currentApplied.Spacing; } foundModel.InitTemplateZones(); break; } } } SetSelectedModel(foundModel); SetAppliedModel(foundModel); FirePropertyChanged(nameof(IsCustomLayoutActive)); return foundModel; } public void SetSelectedModel(LayoutModel model) { if (_selectedModel != null) { _selectedModel.IsSelected = false; } if (model != null) { model.IsSelected = true; } SelectedModel = model; } public void SetAppliedModel(LayoutModel model) { if (_appliedModel != null) { _appliedModel.IsApplied = false; } if (model != null) { model.IsApplied = true; } AppliedModel = model; } public void UpdateTemplateModels() { foreach (LayoutModel model in TemplateModels) { if (App.Overlay.CurrentLayoutSettings.Type == model.Type && App.Overlay.CurrentLayoutSettings.ZoneCount != model.TemplateZoneCount) { model.TemplateZoneCount = App.Overlay.CurrentLayoutSettings.ZoneCount; model.InitTemplateZones(); } } } // implementation of INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; // FirePropertyChanged -- wrapper that calls INPC.PropertyChanged protected virtual void FirePropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using FancyZonesEditor.Models; namespace FancyZonesEditor { // Settings // These are the configuration settings used by the rest of the editor // Other UIs in the editor will subscribe to change events on the properties to stay up to date as these properties change public class MainWindowSettingsModel : INotifyPropertyChanged { private enum DeviceIdParts { Name = 0, Width, Height, VirtualDesktopId, } public bool IsCustomLayoutActive { get { foreach (LayoutModel model in CustomModels) { if (model.IsSelected) { return true; } } return false; } } public static DefaultLayoutsModel DefaultLayouts { get; } = new DefaultLayoutsModel(); public MainWindowSettingsModel() { // Initialize default layout models: Blank, Focus, Columns, Rows, Grid, and PriorityGrid var blankModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Blank, LayoutType.Blank) { TemplateZoneCount = 0, SensitivityRadius = 0, }; TemplateModels.Insert((int)LayoutType.Blank, blankModel); var focusModel = new CanvasLayoutModel(Properties.Resources.Template_Layout_Focus, LayoutType.Focus); focusModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Focus, focusModel); var columnsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Columns, LayoutType.Columns) { Rows = 1, RowPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; columnsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Columns, columnsModel); var rowsModel = new GridLayoutModel(Properties.Resources.Template_Layout_Rows, LayoutType.Rows) { Columns = 1, ColumnPercents = new List<int>(1) { GridLayoutModel.GridMultiplier }, }; rowsModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Rows, rowsModel); var gridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Grid, LayoutType.Grid); gridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.Grid, gridModel); var priorityGridModel = new GridLayoutModel(Properties.Resources.Template_Layout_Priority_Grid, LayoutType.PriorityGrid); priorityGridModel.InitTemplateZones(); TemplateModels.Insert((int)LayoutType.PriorityGrid, priorityGridModel); // set default layouts DefaultLayouts.Set(rowsModel, MonitorConfigurationType.Vertical); DefaultLayouts.Set(priorityGridModel, MonitorConfigurationType.Horizontal); } // IsShiftKeyPressed - is the shift key currently being held down public bool IsShiftKeyPressed { get { return _isShiftKeyPressed; } set { if (_isShiftKeyPressed != value) { _isShiftKeyPressed = value; FirePropertyChanged(nameof(IsShiftKeyPressed)); } } } private bool _isShiftKeyPressed; // IsCtrlKeyPressed - is the ctrl key currently being held down public bool IsCtrlKeyPressed { get { return _isCtrlKeyPressed; } set { if (_isCtrlKeyPressed != value) { _isCtrlKeyPressed = value; FirePropertyChanged(nameof(IsCtrlKeyPressed)); } } } private bool _isCtrlKeyPressed; public LayoutModel BlankModel { get { return TemplateModels[(int)LayoutType.Blank]; } } public static IList<LayoutModel> TemplateModels { get; } = new List<LayoutModel>(6); public static ObservableCollection<LayoutModel> CustomModels { get { return _customModels; } set { foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged -= model.LayoutHotkeys_PropertyChanged; } _customModels.Clear(); _customModels = value; foreach (LayoutModel model in _customModels) { LayoutHotkeys.PropertyChanged += model.LayoutHotkeys_PropertyChanged; } } } private static ObservableCollection<LayoutModel> _customModels = new ObservableCollection<LayoutModel>(); public static int CustomModelsCount { get { return _customModels.Count; } } public static LayoutHotkeysModel LayoutHotkeys { get; } = new LayoutHotkeysModel(); public LayoutModel SelectedModel { get { return _selectedModel; } private set { if (_selectedModel != value) { _selectedModel = value; FirePropertyChanged(nameof(SelectedModel)); } } } private LayoutModel _selectedModel; public LayoutModel AppliedModel { get { return _appliedModel; } private set { if (_appliedModel != value) { _appliedModel = value; FirePropertyChanged(nameof(AppliedModel)); } } } private LayoutModel _appliedModel; public static bool IsPredefinedLayout(LayoutModel model) { return model.Type != LayoutType.Custom; } public void InitModels() { foreach (var model in TemplateModels) { model.InitTemplateZones(); } } public LayoutModel UpdateSelectedLayoutModel() { LayoutModel foundModel = null; LayoutSettings currentApplied = App.Overlay.CurrentLayoutSettings; // set new layout if (currentApplied.Type == LayoutType.Custom) { foreach (LayoutModel model in CustomModels) { if (string.Equals(model.Uuid, currentApplied.ZonesetUuid, StringComparison.OrdinalIgnoreCase)) { // found match foundModel = model; break; } } } else { foreach (LayoutModel model in TemplateModels) { if (model.Type == currentApplied.Type) { // found match foundModel = model; foundModel.TemplateZoneCount = currentApplied.ZoneCount; foundModel.SensitivityRadius = currentApplied.SensitivityRadius; if (foundModel is GridLayoutModel grid) { grid.ShowSpacing = currentApplied.ShowSpacing; grid.Spacing = currentApplied.Spacing; } foundModel.InitTemplateZones(); break; } } } SetSelectedModel(foundModel); SetAppliedModel(foundModel); FirePropertyChanged(nameof(IsCustomLayoutActive)); return foundModel; } public void SetSelectedModel(LayoutModel model) { if (_selectedModel != null) { _selectedModel.IsSelected = false; } if (model != null) { model.IsSelected = true; } SelectedModel = model; } public void SetAppliedModel(LayoutModel model) { if (_appliedModel != null) { _appliedModel.IsApplied = false; } if (model != null) { model.IsApplied = true; } AppliedModel = model; } public void UpdateTemplateModels() { foreach (LayoutModel model in TemplateModels) { if (App.Overlay.CurrentLayoutSettings.Type == model.Type && App.Overlay.CurrentLayoutSettings.ZoneCount != model.TemplateZoneCount) { model.TemplateZoneCount = App.Overlay.CurrentLayoutSettings.ZoneCount; model.InitTemplateZones(); } } } // implementation of INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; // FirePropertyChanged -- wrapper that calls INPC.PropertyChanged protected virtual void FirePropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
as it's uuid, I believe it won't make a difference. But to be sure let's keep it as it was
stefansjfw
119
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Calculator/BracketHelper.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.PowerToys.Run.Plugin.Calculator { public static class BracketHelper { public static bool IsBracketComplete(string query) { if (string.IsNullOrWhiteSpace(query)) { return true; } var valueTuples = query .Select(BracketTrail) .Where(r => r != default); var trailTest = new Stack<TrailType>(); foreach (var (direction, type) in valueTuples) { switch (direction) { case TrailDirection.Open: trailTest.Push(type); break; case TrailDirection.Close: // Try to get item out of stack if (!trailTest.TryPop(out var popped)) { return false; } if (type != popped) { return false; } continue; default: { throw new ArgumentOutOfRangeException(nameof(direction), direction, "Can't process value"); } } } return !trailTest.Any(); } private static (TrailDirection Direction, TrailType Type) BracketTrail(char @char) { switch (@char) { case '(': return (TrailDirection.Open, TrailType.Round); case ')': return (TrailDirection.Close, TrailType.Round); case '[': return (TrailDirection.Open, TrailType.Bracket); case ']': return (TrailDirection.Close, TrailType.Bracket); default: return default; } } private enum TrailDirection { None, Open, Close, } private enum TrailType { None, Bracket, Round, } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.PowerToys.Run.Plugin.Calculator { public static class BracketHelper { public static bool IsBracketComplete(string query) { if (string.IsNullOrWhiteSpace(query)) { return true; } var valueTuples = query .Select(BracketTrail) .Where(r => r != default); var trailTest = new Stack<TrailType>(); foreach (var (direction, type) in valueTuples) { switch (direction) { case TrailDirection.Open: trailTest.Push(type); break; case TrailDirection.Close: // Try to get item out of stack if (!trailTest.TryPop(out var popped)) { return false; } if (type != popped) { return false; } continue; default: { throw new ArgumentOutOfRangeException($"Can't process value (Parameter direction: {direction})"); } } } return trailTest.Count == 0; } private static (TrailDirection Direction, TrailType Type) BracketTrail(char @char) { switch (@char) { case '(': return (TrailDirection.Open, TrailType.Round); case ')': return (TrailDirection.Close, TrailType.Round); case '[': return (TrailDirection.Open, TrailType.Bracket); case ']': return (TrailDirection.Close, TrailType.Bracket); default: return default; } } private enum TrailDirection { None, Open, Close, } private enum TrailType { None, Bracket, Round, } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
Why are we trying to output those expected values? What will they actually show vs what this was showing before?
jaimecbernardo
120
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate/Main.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Globalization; using System.Windows.Controls; using System.Windows.Input; using ManagedCommon; using Microsoft.PowerToys.Run.Plugin.TimeDate.Components; using Microsoft.PowerToys.Run.Plugin.TimeDate.Properties; using Microsoft.PowerToys.Settings.UI.Library; using Wox.Plugin; namespace Microsoft.PowerToys.Run.Plugin.TimeDate { public class Main : IPlugin, IPluginI18n, ISettingProvider, IContextMenu { private PluginInitContext _context; public string IconTheme { get; set; } public string Name => Resources.Microsoft_plugin_timedate_plugin_name; public string Description => GetTranslatedPluginDescription(); public static string PluginID => "5D69806A5A474115821C3E4C56B9C793"; public IEnumerable<PluginAdditionalOption> AdditionalOptions { get { return TimeDateSettings.GetAdditionalOptions(); } } public List<ContextMenuResult> LoadContextMenus(Result selectedResult) { if (!(selectedResult?.ContextData is AvailableResult data)) { return new List<ContextMenuResult>(0); } return new List<ContextMenuResult>() { new ContextMenuResult { AcceleratorKey = Key.C, AcceleratorModifiers = ModifierKeys.Control, FontFamily = "Segoe Fluent Icons,Segoe MDL2 Assets", Glyph = "\xE8C8", // E8C8 => Symbol: Copy Title = Resources.Microsoft_plugin_timedate_CopyToClipboard, Action = _ => ResultHelper.CopyToClipBoard(data.Value), }, }; } public void Init(PluginInitContext context) { _context = context; _context.API.ThemeChanged += OnThemeChanged; UpdateIconTheme(_context.API.GetCurrentTheme()); } public List<Result> Query(Query query) { ArgumentNullException.ThrowIfNull(query); return SearchController.ExecuteSearch(query, IconTheme); } private void UpdateIconTheme(Theme theme) { if (theme == Theme.Light || theme == Theme.HighContrastWhite) { IconTheme = "light"; } else { IconTheme = "dark"; } } private void OnThemeChanged(Theme currentTheme, Theme newTheme) { UpdateIconTheme(newTheme); } public string GetTranslatedPluginDescription() { // The extra strings for the examples are required for correct translations. string timeExample = Resources.Microsoft_plugin_timedate_plugin_description_example_time + "::" + DateTime.Now.ToString("T", CultureInfo.CurrentCulture); string dayExample = Resources.Microsoft_plugin_timedate_plugin_description_example_day + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); string calendarWeekExample = Resources.Microsoft_plugin_timedate_plugin_description_example_calendarWeek + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); return string.Format(CultureInfo.CurrentCulture, Resources.Microsoft_plugin_timedate_plugin_description, Resources.Microsoft_plugin_timedate_plugin_description_example_day, dayExample, timeExample, calendarWeekExample); } public string GetTranslatedPluginTitle() { return Resources.Microsoft_plugin_timedate_plugin_name; } public Control CreateSettingPanel() { throw new NotImplementedException(); } public void UpdateSettings(PowerLauncherPluginSettings settings) { TimeDateSettings.Instance.UpdateSettings(settings); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Windows.Controls; using System.Windows.Input; using ManagedCommon; using Microsoft.PowerToys.Run.Plugin.TimeDate.Components; using Microsoft.PowerToys.Run.Plugin.TimeDate.Properties; using Microsoft.PowerToys.Settings.UI.Library; using Wox.Plugin; namespace Microsoft.PowerToys.Run.Plugin.TimeDate { public class Main : IPlugin, IPluginI18n, ISettingProvider, IContextMenu { private PluginInitContext _context; public string IconTheme { get; set; } public string Name => Resources.Microsoft_plugin_timedate_plugin_name; public string Description => GetTranslatedPluginDescription(); public static string PluginID => "5D69806A5A474115821C3E4C56B9C793"; private static readonly CompositeFormat MicrosoftPluginTimedatePluginDescription = System.Text.CompositeFormat.Parse(Properties.Resources.Microsoft_plugin_timedate_plugin_description); public IEnumerable<PluginAdditionalOption> AdditionalOptions { get { return TimeDateSettings.GetAdditionalOptions(); } } public List<ContextMenuResult> LoadContextMenus(Result selectedResult) { if (!(selectedResult?.ContextData is AvailableResult data)) { return new List<ContextMenuResult>(0); } return new List<ContextMenuResult>() { new ContextMenuResult { AcceleratorKey = Key.C, AcceleratorModifiers = ModifierKeys.Control, FontFamily = "Segoe Fluent Icons,Segoe MDL2 Assets", Glyph = "\xE8C8", // E8C8 => Symbol: Copy Title = Resources.Microsoft_plugin_timedate_CopyToClipboard, Action = _ => ResultHelper.CopyToClipBoard(data.Value), }, }; } public void Init(PluginInitContext context) { _context = context; _context.API.ThemeChanged += OnThemeChanged; UpdateIconTheme(_context.API.GetCurrentTheme()); } public List<Result> Query(Query query) { ArgumentNullException.ThrowIfNull(query); return SearchController.ExecuteSearch(query, IconTheme); } private void UpdateIconTheme(Theme theme) { if (theme == Theme.Light || theme == Theme.HighContrastWhite) { IconTheme = "light"; } else { IconTheme = "dark"; } } private void OnThemeChanged(Theme currentTheme, Theme newTheme) { UpdateIconTheme(newTheme); } public string GetTranslatedPluginDescription() { // The extra strings for the examples are required for correct translations. string timeExample = Resources.Microsoft_plugin_timedate_plugin_description_example_time + "::" + DateTime.Now.ToString("T", CultureInfo.CurrentCulture); string dayExample = Resources.Microsoft_plugin_timedate_plugin_description_example_day + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); string calendarWeekExample = Resources.Microsoft_plugin_timedate_plugin_description_example_calendarWeek + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); return string.Format(CultureInfo.CurrentCulture, MicrosoftPluginTimedatePluginDescription, Resources.Microsoft_plugin_timedate_plugin_description_example_day, dayExample, timeExample, calendarWeekExample); } public string GetTranslatedPluginTitle() { return Resources.Microsoft_plugin_timedate_plugin_name; } public Control CreateSettingPanel() { throw new NotImplementedException(); } public void UpdateSettings(PowerLauncherPluginSettings settings) { TimeDateSettings.Instance.UpdateSettings(settings); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
what about Resources.Microsoft_plugin_timedate_plugin_description_example_day ?
stefansjfw
121
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeDate/Main.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Globalization; using System.Windows.Controls; using System.Windows.Input; using ManagedCommon; using Microsoft.PowerToys.Run.Plugin.TimeDate.Components; using Microsoft.PowerToys.Run.Plugin.TimeDate.Properties; using Microsoft.PowerToys.Settings.UI.Library; using Wox.Plugin; namespace Microsoft.PowerToys.Run.Plugin.TimeDate { public class Main : IPlugin, IPluginI18n, ISettingProvider, IContextMenu { private PluginInitContext _context; public string IconTheme { get; set; } public string Name => Resources.Microsoft_plugin_timedate_plugin_name; public string Description => GetTranslatedPluginDescription(); public static string PluginID => "5D69806A5A474115821C3E4C56B9C793"; public IEnumerable<PluginAdditionalOption> AdditionalOptions { get { return TimeDateSettings.GetAdditionalOptions(); } } public List<ContextMenuResult> LoadContextMenus(Result selectedResult) { if (!(selectedResult?.ContextData is AvailableResult data)) { return new List<ContextMenuResult>(0); } return new List<ContextMenuResult>() { new ContextMenuResult { AcceleratorKey = Key.C, AcceleratorModifiers = ModifierKeys.Control, FontFamily = "Segoe Fluent Icons,Segoe MDL2 Assets", Glyph = "\xE8C8", // E8C8 => Symbol: Copy Title = Resources.Microsoft_plugin_timedate_CopyToClipboard, Action = _ => ResultHelper.CopyToClipBoard(data.Value), }, }; } public void Init(PluginInitContext context) { _context = context; _context.API.ThemeChanged += OnThemeChanged; UpdateIconTheme(_context.API.GetCurrentTheme()); } public List<Result> Query(Query query) { ArgumentNullException.ThrowIfNull(query); return SearchController.ExecuteSearch(query, IconTheme); } private void UpdateIconTheme(Theme theme) { if (theme == Theme.Light || theme == Theme.HighContrastWhite) { IconTheme = "light"; } else { IconTheme = "dark"; } } private void OnThemeChanged(Theme currentTheme, Theme newTheme) { UpdateIconTheme(newTheme); } public string GetTranslatedPluginDescription() { // The extra strings for the examples are required for correct translations. string timeExample = Resources.Microsoft_plugin_timedate_plugin_description_example_time + "::" + DateTime.Now.ToString("T", CultureInfo.CurrentCulture); string dayExample = Resources.Microsoft_plugin_timedate_plugin_description_example_day + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); string calendarWeekExample = Resources.Microsoft_plugin_timedate_plugin_description_example_calendarWeek + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); return string.Format(CultureInfo.CurrentCulture, Resources.Microsoft_plugin_timedate_plugin_description, Resources.Microsoft_plugin_timedate_plugin_description_example_day, dayExample, timeExample, calendarWeekExample); } public string GetTranslatedPluginTitle() { return Resources.Microsoft_plugin_timedate_plugin_name; } public Control CreateSettingPanel() { throw new NotImplementedException(); } public void UpdateSettings(PowerLauncherPluginSettings settings) { TimeDateSettings.Instance.UpdateSettings(settings); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Windows.Controls; using System.Windows.Input; using ManagedCommon; using Microsoft.PowerToys.Run.Plugin.TimeDate.Components; using Microsoft.PowerToys.Run.Plugin.TimeDate.Properties; using Microsoft.PowerToys.Settings.UI.Library; using Wox.Plugin; namespace Microsoft.PowerToys.Run.Plugin.TimeDate { public class Main : IPlugin, IPluginI18n, ISettingProvider, IContextMenu { private PluginInitContext _context; public string IconTheme { get; set; } public string Name => Resources.Microsoft_plugin_timedate_plugin_name; public string Description => GetTranslatedPluginDescription(); public static string PluginID => "5D69806A5A474115821C3E4C56B9C793"; private static readonly CompositeFormat MicrosoftPluginTimedatePluginDescription = System.Text.CompositeFormat.Parse(Properties.Resources.Microsoft_plugin_timedate_plugin_description); public IEnumerable<PluginAdditionalOption> AdditionalOptions { get { return TimeDateSettings.GetAdditionalOptions(); } } public List<ContextMenuResult> LoadContextMenus(Result selectedResult) { if (!(selectedResult?.ContextData is AvailableResult data)) { return new List<ContextMenuResult>(0); } return new List<ContextMenuResult>() { new ContextMenuResult { AcceleratorKey = Key.C, AcceleratorModifiers = ModifierKeys.Control, FontFamily = "Segoe Fluent Icons,Segoe MDL2 Assets", Glyph = "\xE8C8", // E8C8 => Symbol: Copy Title = Resources.Microsoft_plugin_timedate_CopyToClipboard, Action = _ => ResultHelper.CopyToClipBoard(data.Value), }, }; } public void Init(PluginInitContext context) { _context = context; _context.API.ThemeChanged += OnThemeChanged; UpdateIconTheme(_context.API.GetCurrentTheme()); } public List<Result> Query(Query query) { ArgumentNullException.ThrowIfNull(query); return SearchController.ExecuteSearch(query, IconTheme); } private void UpdateIconTheme(Theme theme) { if (theme == Theme.Light || theme == Theme.HighContrastWhite) { IconTheme = "light"; } else { IconTheme = "dark"; } } private void OnThemeChanged(Theme currentTheme, Theme newTheme) { UpdateIconTheme(newTheme); } public string GetTranslatedPluginDescription() { // The extra strings for the examples are required for correct translations. string timeExample = Resources.Microsoft_plugin_timedate_plugin_description_example_time + "::" + DateTime.Now.ToString("T", CultureInfo.CurrentCulture); string dayExample = Resources.Microsoft_plugin_timedate_plugin_description_example_day + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); string calendarWeekExample = Resources.Microsoft_plugin_timedate_plugin_description_example_calendarWeek + "::" + DateTime.Now.ToString("d", CultureInfo.CurrentCulture); return string.Format(CultureInfo.CurrentCulture, MicrosoftPluginTimedatePluginDescription, Resources.Microsoft_plugin_timedate_plugin_description_example_day, dayExample, timeExample, calendarWeekExample); } public string GetTranslatedPluginTitle() { return Resources.Microsoft_plugin_timedate_plugin_name; } public Control CreateSettingPanel() { throw new NotImplementedException(); } public void UpdateSettings(PowerLauncherPluginSettings settings) { TimeDateSettings.Instance.UpdateSettings(settings); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
The 2nd parameter of the string.Format function is CompositeFormat. The CA1863 error says that we need to use private static readonly CompositeFormat x variable. We do not receive this compile error in other parameters. https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1863
gokcekantarci
122
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/launcher/Wox.Plugin/AllowedLanguage.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; namespace Wox.Plugin { public static class AllowedLanguage { public static string CSharp { get { return "CSHARP"; } } public static string Executable { get { return "EXECUTABLE"; } } public static bool IsAllowed(string language) { ArgumentNullException.ThrowIfNull(language); // Using InvariantCulture since this is a command line arg return language.ToUpper(CultureInfo.InvariantCulture) == CSharp.ToUpper(CultureInfo.InvariantCulture) || language.ToUpper(CultureInfo.InvariantCulture) == Executable.ToUpper(CultureInfo.InvariantCulture); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; namespace Wox.Plugin { public static class AllowedLanguage { public static string CSharp { get { return "CSHARP"; } } public static string Executable { get { return "EXECUTABLE"; } } public static bool IsAllowed(string language) { ArgumentNullException.ThrowIfNull(language); // Using InvariantCulture since this is a command line arg var upperLanguage = language.ToUpper(CultureInfo.InvariantCulture); return string.Equals(upperLanguage, CSharp.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal) || string.Equals(upperLanguage, Executable.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
why ToUpper here? Let's use IgnoreCase as everywhere else
stefansjfw
123
microsoft/PowerToys
30,469
.NET 8 Upgrade Silenced Errors Fix
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Silenced bugs in #28655 have been fixed and necessary changes have been made. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - The modified modules were tested with the release checklist test steps. - Sanity check was performed on win10 x64.
null
2023-12-15 11:46:21+00:00
2023-12-28 10:37:13+00:00
src/modules/launcher/Wox.Plugin/AllowedLanguage.cs
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; namespace Wox.Plugin { public static class AllowedLanguage { public static string CSharp { get { return "CSHARP"; } } public static string Executable { get { return "EXECUTABLE"; } } public static bool IsAllowed(string language) { ArgumentNullException.ThrowIfNull(language); // Using InvariantCulture since this is a command line arg return language.ToUpper(CultureInfo.InvariantCulture) == CSharp.ToUpper(CultureInfo.InvariantCulture) || language.ToUpper(CultureInfo.InvariantCulture) == Executable.ToUpper(CultureInfo.InvariantCulture); } } }
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; namespace Wox.Plugin { public static class AllowedLanguage { public static string CSharp { get { return "CSHARP"; } } public static string Executable { get { return "EXECUTABLE"; } } public static bool IsAllowed(string language) { ArgumentNullException.ThrowIfNull(language); // Using InvariantCulture since this is a command line arg var upperLanguage = language.ToUpper(CultureInfo.InvariantCulture); return string.Equals(upperLanguage, CSharp.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal) || string.Equals(upperLanguage, Executable.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal); } } }
gokcekantarci
cd57659ef643c07a87a8a832f156d97d86928d64
a94b3eec3928fdf201d4c8b41b715fddf9b31888
At first I used StringComparison.InvariantCultureIgnoreCase. This gave CA1309: Use ordinal string comparison build error. I used InvariantCulture with this way. So I didn't change the existing code behavior
gokcekantarci
124
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
Please make this symmetrical ![Schermafbeelding 2023-12-07 150511](https://github.com/microsoft/PowerToys/assets/65828559/f3210248-06e5-43bd-8cbf-fa7f6ea5d7eb)
Jay-o-Way
125
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
Same
Jay-o-Way
126
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
When showing multiple results the scrollbar provides the correct spacing. I think this is something we should fix in `WpfUi` as the behavior is not correct ![image](https://github.com/microsoft/PowerToys/assets/9866362/39a62686-3a37-4238-b904-0eccc1fc2bc1)
niels9001
127
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
#30318 tracking issue, will look at what we can fix in `WpfUI` and update to a new preview in a seperate PR!
niels9001
128
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
I would make sense to move this below the KeywordsOverviewGrid :)
Jay-o-Way
129
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
@Jay-o-way FYI, fix in PR: https://github.com/lepoco/wpfui/pull/873
niels9001
130
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/MainWindow.xaml
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Margin="12,12,12,0" Background="{DynamicResource LayerFillColorDefaultBrush}" BorderBrush="{DynamicResource SurfaceStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="8"> <local:LauncherControl x:Name="SearchBox" /> </Border> <local:ResultList x:Name="ListBox" Grid.Row="1" VerticalAlignment="Stretch" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" Margin="12,0,0,0" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Margin="10,16,0,8" FontWeight="SemiBold" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView Grid.Row="1" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="36"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Margin="4,0,10,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" /> </Border> <TextBlock Grid.Column="1" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
<ui:FluentWindow x:Class="PowerLauncher.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PowerLauncher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vm="clr-namespace:PowerLauncher.ViewModel" Title="PowerToys Run" Width="640" MinHeight="0" d:DataContext="{d:DesignInstance vm:MainViewModel}" ui:ExtendsContentIntoTitleBar="True" AllowDrop="True" Closed="OnClosed" Closing="OnClosing" Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Loaded="OnLoaded" LocationChanged="OnLocationChanged" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="Height" SourceInitialized="OnSourceInitialized" Topmost="True" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> <Grid x:Name="RootGrid" MouseDown="OnMouseDown"> <!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme --> <Grid.Background> <SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" /> </Grid.Background> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="*" MaxHeight="{Binding Results.MaxHeight}" /> </Grid.RowDefinitions> <Border x:Name="SearchBoxBorder" Grid.Row="0" Padding="12,4,12,3"> <local:LauncherControl x:Name="SearchBox" /> </Border> <!-- Have to use a Grid instead of a StackPanel for scrolling to work? --> <Grid x:Name="KeywordsOverviewGrid" Grid.Row="1" MaxHeight="256" Visibility="{Binding PluginsOverviewVisibility}"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Rectangle Height="1" VerticalAlignment="Top" Fill="{DynamicResource DividerStrokeColorDefaultBrush}" /> <TextBlock Margin="22,12,0,4" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Static p:Resources.PluginKeywords}" /> <ListView x:Name="pluginsHintsList" Grid.Row="1" Margin="16,0,0,0" ItemContainerStyle="{StaticResource PluginsListViewItemStyle}" ItemsSource="{Binding Plugins}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionMode="Single"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border Width="32" Height="32" Padding="2,0,2,0" Background="{DynamicResource ControlFillColorDefaultBrush}" BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" BorderThickness="1" CornerRadius="4" ToolTipService.ToolTip="{Binding Metadata.ActionKeyword}"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="SemiBold" Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{Binding Metadata.ActionKeyword}" TextAlignment="Left" TextTrimming="WordEllipsis" /> </Border> <TextBlock Grid.Column="1" Margin="12,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource TextFillColorSecondaryBrush}" Text="{Binding Plugin.Description}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" /> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> <local:ResultList x:Name="ListBox" Grid.Row="2" VerticalAlignment="Stretch" BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}" BorderThickness="0,1,0,0" PreviewMouseDown="ListBox_PreviewMouseDown" Visibility="{Binding Results.Visibility}" /> </Grid> <ui:FluentWindow.InputBindings> <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> <KeyBinding Key="Enter" Command="{Binding OpenResultWithKeyboardCommand}" /> <KeyBinding Key="F4" Command="{Binding IgnoreCommand}" Modifiers="Alt" /> </ui:FluentWindow.InputBindings> </ui:FluentWindow>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
Done!
niels9001
131
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/Styles/Styles.xaml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!-- This removes the selection state of the default WpfUI ListViewItemStyle --> <Style x:Key="PluginsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground"> <Setter.Value> <SolidColorBrush Color="{DynamicResource TextFillColorPrimary}" /> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="4" Height="18" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" RadiusX="2" RadiusY="2" Visibility="Collapsed"> <Rectangle.Fill> <SolidColorBrush Color="{DynamicResource SystemAccentColorSecondary}" /> </Rectangle.Fill> </Rectangle> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <!--<Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <!--<Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}"> <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" /> <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" /> <Setter Property="BorderThickness" Value="0" /> <Setter Property="Focusable" Value="False" /> <Setter Property="HorizontalContentAlignment" Value="Center" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="Padding" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" TextElement.Foreground="{TemplateBinding Foreground}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsDefaulted" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> </Trigger> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorSecondaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsPressed" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsEnabled" Value="false"> <!-- <Setter TargetName="border" Property="Background" Value="{DynamicResource ControlFillColorDisabledBrush}" /> <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource TextFillColorDisabledBrush}"/>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="0" /> <Setter Property="Margin" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListViewItem}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> <Setter TargetName="border" Property="BorderBrush" Value="Transparent" /> </Trigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!-- This removes the selection state of the default WpfUI ListViewItemStyle --> <Style x:Key="PluginsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground"> <Setter.Value> <SolidColorBrush Color="{DynamicResource TextFillColorPrimary}" /> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="4" Height="18" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" RadiusX="2" RadiusY="2" Visibility="Collapsed"> <Rectangle.Fill> <SolidColorBrush Color="{DynamicResource SystemAccentColorSecondary}" /> </Rectangle.Fill> </Rectangle> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <!--<Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <!--<Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}"> <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" /> <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" /> <Setter Property="BorderThickness" Value="0" /> <Setter Property="Focusable" Value="False" /> <Setter Property="HorizontalContentAlignment" Value="Center" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="Padding" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" TextElement.Foreground="{TemplateBinding Foreground}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsDefaulted" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> </Trigger> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorSecondaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsPressed" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsEnabled" Value="false"> <!-- <Setter TargetName="border" Property="Background" Value="{DynamicResource ControlFillColorDisabledBrush}" /> <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource TextFillColorDisabledBrush}"/>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="0" /> <Setter Property="Margin" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListViewItem}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="1" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> <!--<Setter TargetName="border" Property="BorderBrush" Value="Transparent" />--> </Trigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="ResultsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground" Value="{DynamicResource ListViewItemForeground}" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="3" Height="24" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="{DynamicResource ListViewItemPillFillBrush}" RadiusX="2" RadiusY="2" Visibility="Collapsed" /> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <Setter TargetName="Border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background" Value="{DynamicResource ControlAltFillColorQuarternaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
## Unrecognized Spelling [Quarternary](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/581)
github-advanced-security[bot]
132
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/modules/launcher/PowerLauncher/Styles/Styles.xaml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!-- This removes the selection state of the default WpfUI ListViewItemStyle --> <Style x:Key="PluginsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground"> <Setter.Value> <SolidColorBrush Color="{DynamicResource TextFillColorPrimary}" /> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="4" Height="18" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" RadiusX="2" RadiusY="2" Visibility="Collapsed"> <Rectangle.Fill> <SolidColorBrush Color="{DynamicResource SystemAccentColorSecondary}" /> </Rectangle.Fill> </Rectangle> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <!--<Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <!--<Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}"> <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" /> <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" /> <Setter Property="BorderThickness" Value="0" /> <Setter Property="Focusable" Value="False" /> <Setter Property="HorizontalContentAlignment" Value="Center" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="Padding" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" TextElement.Foreground="{TemplateBinding Foreground}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsDefaulted" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> </Trigger> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorSecondaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsPressed" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsEnabled" Value="false"> <!-- <Setter TargetName="border" Property="Background" Value="{DynamicResource ControlFillColorDisabledBrush}" /> <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource TextFillColorDisabledBrush}"/>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="0" /> <Setter Property="Margin" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListViewItem}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> <Setter TargetName="border" Property="BorderBrush" Value="Transparent" /> </Trigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!-- This removes the selection state of the default WpfUI ListViewItemStyle --> <Style x:Key="PluginsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground"> <Setter.Value> <SolidColorBrush Color="{DynamicResource TextFillColorPrimary}" /> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="4" Height="18" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" RadiusX="2" RadiusY="2" Visibility="Collapsed"> <Rectangle.Fill> <SolidColorBrush Color="{DynamicResource SystemAccentColorSecondary}" /> </Rectangle.Fill> </Rectangle> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <!--<Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <!--<Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background"> <Setter.Value> <SolidColorBrush Color="{DynamicResource SubtleFillColorSecondary}" /> </Setter.Value> </Setter>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}"> <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" /> <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" /> <Setter Property="BorderThickness" Value="0" /> <Setter Property="Focusable" Value="False" /> <Setter Property="HorizontalContentAlignment" Value="Center" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="Padding" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" TextElement.Foreground="{TemplateBinding Foreground}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsDefaulted" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> </Trigger> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorSecondaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsPressed" Value="true"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> <Setter TargetName="contentPresenter" Property="TextElement.Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /> </Trigger> <Trigger Property="IsEnabled" Value="false"> <!-- <Setter TargetName="border" Property="Background" Value="{DynamicResource ControlFillColorDisabledBrush}" /> <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource TextFillColorDisabledBrush}"/>--> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="CommandButtonListViewItemContainerStyle" TargetType="ListViewItem"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="0" /> <Setter Property="Margin" Value="1" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListViewItem}"> <Border x:Name="border" Background="Transparent" BorderBrush="Transparent" BorderThickness="1" CornerRadius="4" SnapsToDevicePixels="true"> <ContentPresenter x:Name="contentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Focusable="False" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="border" Property="Background" Value="Transparent" /> <!--<Setter TargetName="border" Property="BorderBrush" Value="Transparent" />--> </Trigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="ResultsListViewItemStyle" TargetType="{x:Type ListViewItem}"> <Setter Property="Foreground" Value="{DynamicResource ListViewItemForeground}" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="Border.CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> <Setter Property="Margin" Value="0,0,0,2" /> <Setter Property="Padding" Value="4" /> <Setter Property="OverridesDefaultStyle" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}"> <Border x:Name="Border" Margin="0" Padding="0" Background="Transparent" BorderThickness="1" CornerRadius="{TemplateBinding Border.CornerRadius}"> <Grid> <ContentPresenter Margin="{TemplateBinding Padding}" /> <Rectangle x:Name="ActiveRectangle" Width="3" Height="24" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="{DynamicResource ListViewItemPillFillBrush}" RadiusX="2" RadiusY="2" Visibility="Collapsed" /> </Grid> </Border> <ControlTemplate.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsEnabled" Value="True" /> <Condition Property="IsMouseOver" Value="True" /> </MultiTrigger.Conditions> <Setter TargetName="Border" Property="Background" Value="{DynamicResource SubtleFillColorTertiaryBrush}" /> </MultiTrigger> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="ActiveRectangle" Property="Visibility" Value="Visible" /> <Setter TargetName="Border" Property="Background" Value="{DynamicResource ControlAltFillColorQuarternaryBrush}" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
## Unrecognized Spelling [Quarternary](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/582)
github-advanced-security[bot]
133
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ShowPluginsOverviewIndex}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
## Unrecognized Spelling [Overiew](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/585)
github-advanced-security[bot]
134
microsoft/PowerToys
30,258
[Run] UI improvements + ability to show/hide plugins overview panel
This PR addresses #30200, #30168 (partially), and introduces the following changes: ### Design tweaks to address community feedback: - Removed searchbox border - Increased fontsizes - Increased spacing between results - Increased the color ratio between title + path in dark mode - Slight adjustments to the selection visual: the selected background color is slightly more intense and the selection pill is now taller - Other minor tweaks ![Run tweaks](https://github.com/microsoft/PowerToys/assets/9866362/b070d0c7-4110-47de-b535-9909919235f5) ### Setting to hide/show the plugins overview whenever the search textbox is empty A new setting has been added under "Position & appearance" allowing to show or hide the plugins overview when the searchbox is empty ![image](https://github.com/microsoft/PowerToys/assets/9866362/1bcfd20c-1866-47a8-889c-fe1bd6cf6b8a) Result: ![image](https://github.com/microsoft/PowerToys/assets/9866362/77838ce7-35cf-4836-a8a7-02087ad418f3) ### Updated the tooltip so it can stretch wider to show more content, removed redundant prefixes in Program plugin ("Name" + "Path" labels).** Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/32e8da00-3d68-49b4-8477-19628f1886f9) ### Fixed a bug where no visible gap was shown for image thumbnails Before vs. after ![image](https://github.com/microsoft/PowerToys/assets/9866362/b779131e-40bd-4ffd-af2e-a4237f3f3f46) ### Fixed a bug where a long plugin keyword would centered becoming unreadable Before: ![image](https://github.com/microsoft/PowerToys/assets/9866362/5ab52f82-3e22-493c-b985-033f9b0e1567) After: a tooltip has been added ![image](https://github.com/microsoft/PowerToys/assets/9866362/d4cff0be-aa5f-4ca5-86ce-4bac0a5ea6a2) ## PR Checklist - [ ] **Closes:** #30168, #30200 - [ ] **Communication:** I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end user facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
null
2023-12-07 15:39:35+00:00
2023-12-19 13:11:35+00:00
src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
<Page x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels" xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="using:Microsoft.Xaml.Interactivity" xmlns:ic="using:Microsoft.Xaml.Interactions.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" AutomationProperties.LandmarkType="Main" mc:Ignorable="d"> <custom:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerLauncher.png"> <custom:SettingsPageControl.ModuleContent> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <controls:SettingsCard x:Uid="PowerLauncher_EnablePowerLauncher" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/FluentIcons/FluentIconsPowerToysRun.png}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured, Converter={StaticResource BoolNegationConverter}}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" /> </controls:SettingsCard> <InfoBar x:Uid="GPO_IsSettingForced" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabledGpoConfigured}" Severity="Informational" /> <custom:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="Activation_Shortcut" HeaderIcon="{ui:FontIcon Glyph=&#xEDA7;}" IsExpanded="True"> <custom:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </custom:SettingsGroup> <!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" /> <Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole" HorizontalAlignment="Left" Margin="{StaticResource SmallTopMargin}" HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}" Keys="Win, Ctrl, Alt, Shift" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey" Margin="{StaticResource SmallTopMargin}" IsChecked="False" IsEnabled="False" />--> <!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey" Margin="{StaticResource SmallTopMargin}" IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryResultsWithDelay" HeaderIcon="{ui:FontIcon Glyph=&#xec48;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="500" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_MaximumNumberOfResults" HeaderIcon="{ui:FontIcon Glyph=&#xec8f;}" IsExpanded="True"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" Minimum="1" SpinButtonPlacementMode="Compact" Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}" /> <controls:SettingsExpander.Items> <controls:SettingsCard ContentAlignment="Left"> <CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsExpander x:Uid="PowerLauncher_SearchQueryTuningEnabled" HeaderIcon="{ui:FontIcon Glyph=&#xE8CB;}" IsExpanded="True"> <ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}" /> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="0" SmallChange="5" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"> <custom:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}" /> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> <controls:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=&#xE7FD;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily}, Glyph=&#xE98A;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=&#xE91B;}"> <ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" /> </controls:SettingsCard> </custom:SettingsGroup> <!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchResultPreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" /> <ComboBox x:Uid="PowerLauncher_SearchTypePreference" MinWidth="320" Margin="{StaticResource SmallTopMargin}" ItemsSource="{Binding searchTypePreferencesOptions}" SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}" SelectedValuePath="Item2" DisplayMemberPath="Item1" IsEnabled="False" />--> <custom:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <controls:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=&#xe78b;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}"> <ComboBoxItem x:Uid="Run_Radio_Position_Cursor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" /> <ComboBoxItem x:Uid="Run_Radio_Position_Focus" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=&#xE790;}"> <controls:SettingsCard.Description> <HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" /> </controls:SettingsCard.Description> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}"> <ComboBoxItem x:Uid="Radio_Theme_Dark" /> <ComboBoxItem x:Uid="Radio_Theme_Light" /> <ComboBoxItem x:Uid="Radio_Theme_Default" /> </ComboBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=&#xE8FD;}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ShowPluginsOverviewIndex}"> <ComboBoxItem x:Uid="ShowPluginsOverview_All" /> <ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" /> <ComboBoxItem x:Uid="ShowPluginsOverview_None" /> </ComboBox> </controls:SettingsCard> </custom:SettingsGroup> <custom:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"> <InfoBar x:Uid="Run_ConflictingKeywordInfo" IsClosable="False" IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}" Severity="Informational"> <InfoBar.ActionButton> <HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" /> </InfoBar.ActionButton> </InfoBar> <controls:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=&#xEA86;}"> <controls:SettingsCard.Description> <StackPanel> <TextBlock x:Uid="Run_PluginUseDescription" /> <HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" /> </StackPanel> </controls:SettingsCard.Description> <AutoSuggestBox x:Uid="PowerLauncher_SearchList" MinWidth="{StaticResource SettingActionControlMinWidth}" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}"> <i:Interaction.Behaviors> <ic:EventTriggerBehavior EventName="TextChanged"> <ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" /> </ic:EventTriggerBehavior> </i:Interaction.Behaviors> </AutoSuggestBox> </controls:SettingsCard> <InfoBar x:Uid="Run_SomePluginsAreGpoManaged" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}" Severity="Informational" /> <InfoBar x:Uid="Run_AllPluginsDisabled" IsClosable="False" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" Severity="Error" /> <StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"> <ProgressRing Width="20" Height="20" Margin="18,18" IsActive="True" /> <TextBlock x:Uid="Run_PluginsLoading" VerticalAlignment="Center" Style="{ThemeResource SecondaryTextStyle}" /> </StackPanel> <ItemsControl x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Spacing="2" /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay"> <Grid> <controls:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}"> <controls:SettingsExpander.HeaderIcon> <BitmapIcon UriSource="{x:Bind IconPath}" /> </controls:SettingsExpander.HeaderIcon> <StackPanel Orientation="Horizontal" Spacing="16"> <!-- todo(Stefan): InfoBadge not available <InfoBadge AutomationProperties.AccessibilityView="Raw" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" Style="{StaticResource CriticalIconInfoBadgeStyle}" /> --> <!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) --> <Grid> <!-- Error badge --> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> <FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}" /> </Grid> <ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle" IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" /> </StackPanel> <controls:SettingsExpander.Items> <controls:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> </controls:SettingsCard> <controls:SettingsCard Padding="0,-4,0,0" HorizontalContentAlignment="Left" Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}" ContentAlignment="Vertical" Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}"> <InfoBar x:Uid="Run_NotAccessibleWarning" Margin="3,0,0,0" Background="Transparent" BorderBrush="Transparent" IsClosable="False" IsOpen="True" IsTabStop="{x:Bind ShowNotAccessibleWarning}" Severity="Error" /> </controls:SettingsCard> <controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}"> <CheckBox Margin="0,-8,0,0" AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}" IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"> <StackPanel Orientation="Vertical"> <TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" /> <custom:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription" FontSize="{StaticResource SecondaryTextFontSize}" Foreground="{ThemeResource TextFillColorSecondaryBrush}" /> </StackPanel> </CheckBox> </controls:SettingsCard> <controls:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="50" Maximum="1000" Minimum="-1000" SmallChange="10" SpinButtonPlacementMode="Compact" Value="{x:Bind Mode=TwoWay, Path=WeightBoost}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> <controls:SettingsCard.Resources> <Thickness x:Key="SettingsCardPadding">0</Thickness> <Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness> </controls:SettingsCard.Resources> <ItemsControl Margin="0,-6,0,0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" IsEnabled="{x:Bind Enabled, Mode=OneWay}" ItemsSource="{x:Bind Path=AdditionalOptions}"> <ItemsControl.ItemTemplate> <DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel"> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical"> <!-- Checkbox setting --> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,12" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0" Visibility="{x:Bind Path=ShowCheckBox, Converter={StaticResource BoolToVisibilityConverter}}"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <!-- ComboBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowComboBox, Converter={StaticResource BoolToVisibilityConverter}}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> <!-- TextBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowTextBox, Converter={StaticResource BoolToVisibilityConverter}}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- NumberBox setting --> <controls:SettingsCard MinHeight="0" Margin="56,8,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" Visibility="{x:Bind Path=ShowNumberBox, Converter={StaticResource BoolToVisibilityConverter}}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> <!-- Checkbox And ComboBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndCombobox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" DisplayMemberPath="Key" ItemsSource="{x:Bind Path=ComboBoxItems}" SelectedValue="{x:Bind Path=ComboBoxValue, Mode=TwoWay}" SelectedValuePath="Value" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And TextBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndTextbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" MaxWidth="450" MaxLength="{x:Bind Path=TextBoxMaxLength, Mode=OneWay}" Text="{x:Bind Path=TextValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Checkbox And NumberBox setting --> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" Visibility="{x:Bind Path=ShowCheckboxAndNumberbox, Converter={StaticResource BoolToVisibilityConverter}}"> <controls:SettingsCard MinHeight="0" Margin="1" Padding="0,6,0,4" Background="Transparent" BorderThickness="0,0,0,0" ContentAlignment="Left" CornerRadius="0"> <custom:CheckBoxWithDescriptionControl Margin="56,0,0,0" Description="{x:Bind Path=DisplayDescription}" Header="{x:Bind Path=DisplayLabel}" IsChecked="{x:Bind Path=Value, Mode=TwoWay}" /> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" Margin="84,0,45,8" Background="Transparent" BorderThickness="0,0,0,0" CornerRadius="0" Description="{x:Bind Path=SecondDisplayDescription}" Header="{x:Bind Path=SecondDisplayLabel}" IsEnabled="{x:Bind Path=SecondSettingIsEnabled, Mode=OneWay}"> <NumberBox MinWidth="{StaticResource SettingActionControlMinWidth}" LargeChange="{x:Bind Path=NumberBoxLargeChange, Mode=OneWay}" Maximum="{x:Bind Path=NumberBoxMax, Mode=OneWay}" Minimum="{x:Bind Path=NumberBoxMin, Mode=OneWay}" SmallChange="{x:Bind Path=NumberBoxSmallChange, Mode=OneWay}" SpinButtonPlacementMode="Compact" Value="{x:Bind Path=NumberValue, Mode=TwoWay}" /> </controls:SettingsCard> </StackPanel> <!-- Separator line --> <Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{ThemeResource CardStrokeColorDefaultBrush}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </controls:SettingsCard> <controls:SettingsCard MinHeight="0" BorderThickness="0" ContentAlignment="Right"> <TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}"> <Run x:Uid="PowerLauncher_AuthoredBy" /> <Run FontWeight="SemiBold" Text="{x:Bind Author}" /> </TextBlock> </controls:SettingsCard> </controls:SettingsExpander.Items> </controls:SettingsExpander> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </custom:SettingsGroup> </StackPanel> </custom:SettingsPageControl.ModuleContent> <custom:SettingsPageControl.PrimaryLinks> <custom:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" /> <custom:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" /> </custom:SettingsPageControl.PrimaryLinks> <custom:SettingsPageControl.SecondaryLinks> <custom:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" /> <custom:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> </custom:SettingsPageControl.SecondaryLinks> </custom:SettingsPageControl> </Page>
niels9001
545f9014922d466af80dc32b14faacc11471cff1
af099737b8208a4c24fbe4017a4c36d3476f68f7
## Unrecognized Spelling [Overiew](#security-tab) is not a recognized word. \(unrecognized-spelling\) [Show more details](https://github.com/microsoft/PowerToys/security/code-scanning/586)
github-advanced-security[bot]
135