Commit 64d0b10a authored by Dominic Hayes's avatar Dominic Hayes Committed by Nate Graham

[kcms/workspaceoptions] Reword the single-click option

Some of us at the KDE Visual Design Group were discussing just
now about the single-click vs double-click thing (again), and
Eike Hein came up with the idea to rephrase the option entirely
to focus on its behaviour only intentionally affecting folder views.

This MR changes the labels of General Behaviour to reflect that idea.
parent c35854ac
......@@ -123,8 +123,8 @@ KCM.SimpleKCM {
QQC2.RadioButton {
id: singleClick
Kirigami.FormData.label: i18n("Click behavior:")
text: i18n("Single-click to open files and folders")
Kirigami.FormData.label: i18nc("part of a sentence: 'Clicking files or folders [opens them/selects them]'", "Clicking files or folders:")
text: i18nc("part of a sentence: 'Clicking files or folders opens them'", "Opens them")
checked: kcm.globalsSettings.singleClick
onToggled: kcm.globalsSettings.singleClick = true
QQC2.ButtonGroup.group: singleClickGroup
......@@ -137,7 +137,7 @@ KCM.SimpleKCM {
QQC2.RadioButton {
id: doubleClick
text: i18n("Double-click to open files and folders")
text: i18nc("part of a sentence: 'Clicking files or folders selects them'", "Selects them")
checked: !kcm.globalsSettings.singleClick
onToggled: kcm.globalsSettings.singleClick = false
QQC2.ButtonGroup.group: singleClickGroup
......@@ -151,7 +151,7 @@ KCM.SimpleKCM {
QQC2.Label {
Layout.fillWidth: true
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Select by single-clicking")
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Open by double-clicking instead")
elide: Text.ElideRight
font: theme.smallestFont
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment