mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02: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:
@@ -182,7 +182,7 @@
|
|||||||
<comment>Keyboard Manager remap keyboard button content</comment>
|
<comment>Keyboard Manager remap keyboard button content</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="KeyboardManager_RemapKeyboardHeader.Text" xml:space="preserve">
|
<data name="KeyboardManager_RemapKeyboardHeader.Text" xml:space="preserve">
|
||||||
<value>Remap keyboard</value>
|
<value>Remap keys</value>
|
||||||
<comment>Keyboard Manager remap keyboard header</comment>
|
<comment>Keyboard Manager remap keyboard header</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="KeyboardManager_RemapShortcutsButton.Content" xml:space="preserve">
|
<data name="KeyboardManager_RemapShortcutsButton.Content" xml:space="preserve">
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ void createEditKeyboardWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMan
|
|||||||
// Window Creation
|
// Window Creation
|
||||||
HWND _hWndEditKeyboardWindow = CreateWindow(
|
HWND _hWndEditKeyboardWindow = CreateWindow(
|
||||||
szWindowClass,
|
szWindowClass,
|
||||||
L"Remap Keyboard",
|
L"Remap keys",
|
||||||
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
||||||
(desktopRect.right / 2) - (windowWidth / 2),
|
(desktopRect.right / 2) - (windowWidth / 2),
|
||||||
(desktopRect.bottom / 2) - (windowHeight / 2),
|
(desktopRect.bottom / 2) - (windowHeight / 2),
|
||||||
@@ -216,7 +216,7 @@ void createEditKeyboardWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMan
|
|||||||
|
|
||||||
// Header text
|
// Header text
|
||||||
TextBlock headerText;
|
TextBlock headerText;
|
||||||
headerText.Text(L"Remap Keyboard");
|
headerText.Text(L"Remap keys");
|
||||||
headerText.FontSize(30);
|
headerText.FontSize(30);
|
||||||
headerText.Margin({ 0, 0, 0, 0 });
|
headerText.Margin({ 0, 0, 0, 0 });
|
||||||
header.SetAlignLeftWithPanel(headerText, true);
|
header.SetAlignLeftWithPanel(headerText, true);
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ void createEditShortcutsWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMa
|
|||||||
// Window Creation
|
// Window Creation
|
||||||
HWND _hWndEditShortcutsWindow = CreateWindow(
|
HWND _hWndEditShortcutsWindow = CreateWindow(
|
||||||
szWindowClass,
|
szWindowClass,
|
||||||
L"Remap Shortcuts",
|
L"Remap shortcuts",
|
||||||
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX,
|
||||||
(desktopRect.right / 2) - (windowWidth / 2),
|
(desktopRect.right / 2) - (windowWidth / 2),
|
||||||
(desktopRect.bottom / 2) - (windowHeight / 2),
|
(desktopRect.bottom / 2) - (windowHeight / 2),
|
||||||
@@ -128,7 +128,7 @@ void createEditShortcutsWindow(HINSTANCE hInst, KeyboardManagerState& keyboardMa
|
|||||||
|
|
||||||
// Header text
|
// Header text
|
||||||
TextBlock headerText;
|
TextBlock headerText;
|
||||||
headerText.Text(L"Remap Shortcuts");
|
headerText.Text(L"Remap shortcuts");
|
||||||
headerText.FontSize(30);
|
headerText.FontSize(30);
|
||||||
headerText.Margin({ 0, 0, 0, 0 });
|
headerText.Margin({ 0, 0, 0, 0 });
|
||||||
header.SetAlignLeftWithPanel(headerText, true);
|
header.SetAlignLeftWithPanel(headerText, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user