kcms/scripts: Use ellipses instead of triple period

A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
This commit is contained in:
ivan tkachenko 2023-05-31 16:43:14 +03:00
parent d63bbd4329
commit 5de83e78cc
No known key found for this signature in database
GPG key ID: AF72731B7C654CB3

View file

@ -44,7 +44,7 @@ ScrollViewKCM {
Kirigami.Action { Kirigami.Action {
enabled: kcm.canDeleteEntry(model.metaData) enabled: kcm.canDeleteEntry(model.metaData)
icon.name: kcm.pendingDeletions.indexOf(model.metaData) === -1 ? "delete" : "edit-undo" icon.name: kcm.pendingDeletions.indexOf(model.metaData) === -1 ? "delete" : "edit-undo"
tooltip: i18nc("@info:tooltip", "Delete...") tooltip: i18nc("@info:tooltip", "Delete")
onTriggered: kcm.togglePendingDeletion(model.metaData) onTriggered: kcm.togglePendingDeletion(model.metaData)
} }
] ]
@ -57,11 +57,11 @@ ScrollViewKCM {
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
icon.name: "document-import" icon.name: "document-import"
text: i18n("Install from File...") text: i18n("Install from File")
onTriggered: kcm.importScript() onTriggered: kcm.importScript()
}, },
NewStuff.Action { NewStuff.Action {
text: i18n("Get New Scripts...") text: i18n("Get New Scripts")
visible: KAuthorized.authorize(KAuthorized.GHNS) visible: KAuthorized.authorize(KAuthorized.GHNS)
configFile: "kwinscripts.knsrc" configFile: "kwinscripts.knsrc"
onEntryEvent: function (entry, event) { onEntryEvent: function (entry, event) {