mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 14:41:21 +08:00
[Settings] Change settings header to "Remap keys" on KBM pagr (#3654)
* Update settings header: Remap keys We write "Remap Keyboard" but it must be "Remap keys" because we not remapping the whole keyboard. We only remap single keys. * Tweaked c++ side naming Co-authored-by: Arjun <arjunbalgovind@gmail.com>
This commit is contained in:
parent
8f39697e3d
commit
92d7c2926c
@ -182,7 +182,7 @@
|
||||
<comment>Keyboard Manager remap keyboard button content</comment>
|
||||
</data>
|
||||
<data name="KeyboardManager_RemapKeyboardHeader.Text" xml:space="preserve">
|
||||
<value>Remap keyboard</value>
|
||||
<value>Remap keys</value>
|
||||
<comment>Keyboard Manager remap keyboard header</comment>
|
||||
</data>
|
||||
<data name="KeyboardManager_RemapShortcutsButton.Content" xml:space="preserve">
|
||||
|
@ -174,7 +174,7 @@ void createEditKeyboardWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMan
|
||||
// Window Creation
|
||||
HWND _hWndEditKeyboardWindow = CreateWindow(
|
||||
szWindowClass,
|
||||
L"Remap Keyboard",
|
||||
L"Remap keys",
|
||||
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
||||
(desktopRect.right / 2) - (windowWidth / 2),
|
||||
(desktopRect.bottom / 2) - (windowHeight / 2),
|
||||
@ -216,7 +216,7 @@ void createEditKeyboardWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMan
|
||||
|
||||
// Header text
|
||||
TextBlock headerText;
|
||||
headerText.Text(L"Remap Keyboard");
|
||||
headerText.Text(L"Remap keys");
|
||||
headerText.FontSize(30);
|
||||
headerText.Margin({ 0, 0, 0, 0 });
|
||||
header.SetAlignLeftWithPanel(headerText, true);
|
||||
|
@ -86,7 +86,7 @@ void createEditShortcutsWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMa
|
||||
// Window Creation
|
||||
HWND _hWndEditShortcutsWindow = CreateWindow(
|
||||
szWindowClass,
|
||||
L"Remap Shortcuts",
|
||||
L"Remap shortcuts",
|
||||
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
||||
(desktopRect.right / 2) - (windowWidth / 2),
|
||||
(desktopRect.bottom / 2) - (windowHeight / 2),
|
||||
@ -128,7 +128,7 @@ void createEditShortcutsWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMa
|
||||
|
||||
// Header text
|
||||
TextBlock headerText;
|
||||
headerText.Text(L"Remap Shortcuts");
|
||||
headerText.Text(L"Remap shortcuts");
|
||||
headerText.FontSize(30);
|
||||
headerText.Margin({ 0, 0, 0, 0 });
|
||||
header.SetAlignLeftWithPanel(headerText, true);
|
||||
|
Loading…
Reference in New Issue
Block a user