Skip to content

Commit

Permalink
correct spelling mistakes for en-us :) (#2475)
Browse files Browse the repository at this point in the history
  • Loading branch information
crutkas committed Apr 29, 2020
1 parent d9c4abe commit 5efa9ff
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@
<data name="FancyZones_VirtualDesktopChangeMoveWindows.Content" xml:space="preserve">
<value>Move newly created windows to their last known zone</value>
</data>
<data name="FancyZones_ZonBehaivior_GroupSettings.Text" xml:space="preserve">
<value>Zone behaviour</value>
<data name="FancyZones_ZoneBehavior_GroupSettings.Text" xml:space="preserve">
<value>Zone Behavior</value>
</data>
<data name="FancyZones_ZoneHighlightColor.Text" xml:space="preserve">
<value>Zone highlight color (default: #0078D7)</value>
Expand Down Expand Up @@ -416,8 +416,8 @@
<data name="ShortcutGuide_PressTime.Header" xml:space="preserve">
<value>How long to press the Windows key before showing the Shortcut Guide</value>
</data>
<data name="ShortcutGuide_Appearance_Behaiviour.Text" xml:space="preserve">
<value>Appearance &amp; behaviour</value>
<data name="ShortcutGuide_Appearance_Behavior.Text" xml:space="preserve">
<value>Appearance &amp; Behavior</value>
</data>
<data name="ShortcutGuide_Enable.Header" xml:space="preserve">
<value>Enable Shortcut Guide</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
IsOn="{ Binding Mode=TwoWay, Path=IsEnabled}"
Margin="{StaticResource SmallTopMargin}" />

<TextBlock x:Uid="FancyZones_ZonBehaivior_GroupSettings"
<TextBlock x:Uid="FancyZones_ZoneBehavior_GroupSettings"
Style="{StaticResource SettingsGroupTitleStyle}"
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
IsOn="{ Binding Mode=TwoWay, Path=IsEnabled}"
Margin="{StaticResource SmallTopMargin}"/>

<TextBlock x:Uid="ShortcutGuide_Appearance_Behaiviour"
<TextBlock x:Uid="ShortcutGuide_Appearance_Behavior"
Style="{StaticResource SettingsGroupTitleStyle}"/>

<muxc:NumberBox x:Uid="ShortcutGuide_PressTime"
Expand Down
2 changes: 1 addition & 1 deletion src/modules/keyboardmanager/common/KeyboardManagerState.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class KeyboardManagerState
std::unordered_map<DWORD, DWORD> singleKeyReMap;
std::mutex singleKeyReMap_mutex;

// Stores keys which need to be changed from toggle behaviour to modifier behaviour. Eg. Caps Lock
// Stores keys which need to be changed from toggle behavior to modifier behavior. Eg. Caps Lock
std::unordered_map<DWORD, bool> singleKeyToggleToMod;
std::mutex singleKeyToggleToMod_mutex;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/keyboardmanager/dll/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class KeyboardManager : public PowertoyModuleIface
return 0;
}

// Function to a change a key's behaviour from toggle to modifier
// Function to a change a key's behavior from toggle to modifier
intptr_t HandleSingleKeyToggleToModEvent(LowlevelKeyboardEvent* data) noexcept
{
// Check if the key event was generated by KeyboardManager to avoid remapping events generated by us.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public void HighlightWindow()
public void SwitchToWindow()
{
// The following block is necessary because
// 1) There is a weird flashing behaviour when trying
// 1) There is a weird flashing behavior when trying
// to use ShowWindow for switching tabs in IE
// 2) SetForegroundWindow fails on minimized windows
if (ProcessName.ToLower().Equals("iexplore.exe") || !Minimized)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public void HighlightWindow()
public void SwitchToWindow()
{
// The following block is necessary because
// 1) There is a weird flashing behaviour when trying
// 1) There is a weird flashing behavior when trying
// to use ShowWindow for switching tabs in IE
// 2) SetForegroundWindow fails on minimized windows
if (ProcessName.ToLower().Equals("iexplore.exe") || !Minimized)
Expand Down

0 comments on commit 5efa9ff

Please sign in to comment.