Skip to content

Commit

Permalink
Add natural scrolling to "Invert scroll direction" text
Browse files Browse the repository at this point in the history
This should make it easier to understand without changing it to
the less precise "Invert mouse wheel".

Attempts to fix #279
  • Loading branch information
Cuperino committed Sep 28, 2024
1 parent 3a131e7 commit 57d2cfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/kirigami_ui/+android/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/kirigami_ui/+windows/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/kirigami_ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 57d2cfc

Please sign in to comment.