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
This commit is contained in:
Nate Graham 2024-05-17 15:33:15 -06:00
parent 202356ba89
commit dcd2f7b15a

View file

@ -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)
}