plugins/tileseditor: clarify wording in "split the view" buttons

Apparently people have differing ideas of what "vertically" and
"horizontally" mean, and some feel that this wording contradicts the
icon.

That's not accurate, but the wording is admittedly a little a bit
ambiguous. We can clarify this by using super duper explicit
terminology that always matches the icon.

BUG: 475103
FIXED-IN: 6.1
wilder/Plasma/6.2
Nate Graham 2 years ago
parent 202356ba89
commit dcd2f7b15a
  1. 4
      src/plugins/tileseditor/qml/TileDelegate.qml

@ -164,14 +164,14 @@ Item {
id: splitButton
Layout.fillWidth: true
icon.name: "view-split-left-right"
text: i18nd("kwin","Split Horizontally")
text: i18nd("kwin","Split Left/Right")
display: parent.compact ? PlasmaComponents.Button.IconOnly : PlasmaComponents.Button.TextBesideIcon
onClicked: tile.split(KWinComponents.Tile.Horizontal)
}
PlasmaComponents.Button {
Layout.fillWidth: true
icon.name: "view-split-top-bottom"
text: i18nd("kwin","Split Vertically")
text: i18nd("kwin","Split Top/Bottom")
display: parent.compact ? PlasmaComponents.Button.IconOnly : PlasmaComponents.Button.TextBesideIcon
onClicked: tile.split(KWinComponents.Tile.Vertical)
}

Loading…
Cancel
Save