mirror of
https://github.com/KDE/kasts.git
synced 2024-12-28 09:21:13 +01:00
Fix whitespace and inconsistencies in action text
This commit is contained in:
parent
0846dd9d9b
commit
dd5e10f973
@ -96,6 +96,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
actions.left: Kirigami.Action {
|
||||
text: !entry.queueStatus ? i18n("Add to queue") : i18n("Remove from queue")
|
||||
icon.name: !entry.queueStatus ? "media-playlist-append" : "list-remove"
|
||||
@ -112,12 +113,14 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
actions.right: Kirigami.Action {
|
||||
text: i18n("Delete download")
|
||||
icon.name: "delete"
|
||||
onTriggered: entry.enclosure.deleteFile()
|
||||
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded && entry.queueStatus
|
||||
}
|
||||
|
||||
contextualActions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Reset play position")
|
||||
@ -131,7 +134,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: entry.new ? i18n("Remove \"new\" label") : i18n("Label as new")
|
||||
text: entry.new ? i18n("Remove \"new\" label") : i18n("Label as \"new\"")
|
||||
onTriggered: {
|
||||
entry.new = !entry.new
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user