mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
kcms/touchpad: In left-handed mode, RMB is in the bottom-left corner
Switch the text of the radio button that's usually titled "Right-click by: Pressing bottom-right corner" accordingly.
This commit is contained in:
parent
c2e0bd28b3
commit
5280d7b702
1 changed files with 5 additions and 1 deletions
|
|
@ -472,7 +472,11 @@ KCMUtils.SimpleKCM {
|
|||
subtitle: rightClickMethodAreas.Accessible.description
|
||||
contentItem: QQC2.RadioButton {
|
||||
id: rightClickMethodAreas
|
||||
text: i18ndc("kcm_touchpad", "@option:radio Completes the sentence 'right-click by pressing bottom-right corner'", "Pressing bottom-right corner")
|
||||
text: (
|
||||
root.device?.leftHanded ?? false
|
||||
? i18ndc("kcm_touchpad", "@option:radio Completes the sentence 'right-click by pressing bottom-left corner'", "Pressing bottom-left corner")
|
||||
: i18ndc("kcm_touchpad", "@option:radio Completes the sentence 'right-click by pressing bottom-right corner'", "Pressing bottom-right corner")
|
||||
)
|
||||
enabled: root.device?.supportsClickMethodAreas ?? false
|
||||
checked: enabled && (root.device?.clickMethodAreas ?? false)
|
||||
Accessible.description: (
|
||||
|
|
|
|||
Loading…
Reference in a new issue