diff --git a/Screenbox/Controls/Interactions/NavigationViewAccessKeysBehavior.cs b/Screenbox/Controls/Interactions/NavigationViewAccessKeysBehavior.cs index 2d517565f..fcfd84037 100644 --- a/Screenbox/Controls/Interactions/NavigationViewAccessKeysBehavior.cs +++ b/Screenbox/Controls/Interactions/NavigationViewAccessKeysBehavior.cs @@ -86,7 +86,7 @@ protected override void OnAssociatedObjectLoaded() if (AssociatedObject.FindDescendant @@ -445,7 +445,7 @@ x:Name="RepeatButton" Margin="0,0,4,0" controls:AcceleratorService.ToolTip="{x:Bind strings:Resources.RepeatMode(ViewModel.Playlist.RepeatMode), Mode=OneWay}" - AccessKey="E" + AccessKey="{strings:KeyboardResources Key=PlayerRepeatKey}" IsChecked="{x:Bind ViewModel.Playlist.RepeatMode, Converter={StaticResource ToggleButtonCheckToRepeatModeConverter}, Mode=TwoWay}" IsEnabled="{x:Bind IsEnabled, Mode=OneWay}" IsThreeState="True" @@ -460,7 +460,7 @@ x:Name="AudioAndCaptionButton" Margin="0,0,4,0" controls:AcceleratorService.ToolTip="{x:Bind strings:Resources.AudioAndCaption}" - AccessKey="A" + AccessKey="{strings:KeyboardResources Key=PlayerAudioAndCaptionsKey}" IsEnabled="{x:Bind IsEnabled, Mode=OneWay}" Style="{StaticResource PlayerButtonStyle}"> @@ -490,38 +490,38 @@ x:Name="CompactOverlayButton" Margin="0,0,4,0" controls:AcceleratorService.ToolTip="{x:Bind strings:Resources.CompactOverlayToggle(ViewModel.IsCompact), Mode=OneWay}" - AccessKey="Y" + AccessKey="{strings:KeyboardResources Key=PlayerCompactOverlayKey}" Command="{x:Bind ViewModel.ToggleCompactLayoutCommand}" Style="{StaticResource PlayerButtonStyle}" Visibility="{x:Bind helpers:SystemInformation.IsDesktop}"> - - - - + + + +