From 57d2cfc25f4417b720a4dd6e584e8534f4aae059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20O=2E=20Cordero=20P=C3=A9rez?= Date: Sat, 28 Sep 2024 12:20:32 -0400 Subject: [PATCH] Add natural scrolling to "Invert scroll direction" text This should make it easier to understand without changing it to the less precise "Invert mouse wheel". Attempts to fix #279 --- src/kirigami_ui/+android/main.qml | 2 +- src/kirigami_ui/+windows/main.qml | 2 +- src/kirigami_ui/main.qml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kirigami_ui/+android/main.qml b/src/kirigami_ui/+android/main.qml index 8c90e3aa..bb372dc8 100644 --- a/src/kirigami_ui/+android/main.qml +++ b/src/kirigami_ui/+android/main.qml @@ -256,7 +256,7 @@ Kirigami.ApplicationWindow { onTriggered: root.__invertArrowKeys = checked } Kirigami.Action { - text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction") + text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction (Natural scrolling)") enabled: !root.__noScroll icon.name: "gnumeric-object-scrollbar" checkable: true diff --git a/src/kirigami_ui/+windows/main.qml b/src/kirigami_ui/+windows/main.qml index 85461177..5f56e188 100644 --- a/src/kirigami_ui/+windows/main.qml +++ b/src/kirigami_ui/+windows/main.qml @@ -271,7 +271,7 @@ Kirigami.ApplicationWindow { onTriggered: root.__invertArrowKeys = checked } Kirigami.Action { - text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction") + text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction (Natural scrolling)") enabled: !root.__noScroll icon.name: "gnumeric-object-scrollbar" checkable: true diff --git a/src/kirigami_ui/main.qml b/src/kirigami_ui/main.qml index 4c2eb3cb..3f5d0702 100644 --- a/src/kirigami_ui/main.qml +++ b/src/kirigami_ui/main.qml @@ -278,7 +278,7 @@ Kirigami.ApplicationWindow { onTriggered: root.__invertArrowKeys = checked } Kirigami.Action { - text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction") + text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction (Natural scrolling)") enabled: !root.__noScroll //icon.name: "gnumeric-object-scrollbar" icon.source: "qrc:/qt/qml/com/cuperino/qprompt/icons/gnumeric-object-scrollbar.svg" @@ -812,7 +812,7 @@ Kirigami.ApplicationWindow { onTriggered: root.__invertArrowKeys = checked } Labs.MenuItem { - text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction") + text: i18nc("Main menu and global menu actions. Invert scroll direction while prompting.", "Invert &scroll direction (Natural scrolling)") enabled: !root.__noScroll checkable: true checked: root.__invertScrollDirection