mirror of
https://github.com/KDE/kasts.git
synced 2025-01-05 21:17:30 +01:00
Fix i18n() and inconsistent buttons
This commit is contained in:
parent
77b1656bf7
commit
7358960ac7
@ -43,7 +43,7 @@ Rectangle {
|
||||
Layout.rightMargin: Kirigami.Units.largeSpacing
|
||||
ColumnLayout {
|
||||
Kirigami.Heading {
|
||||
text: AudioManager.entry ? AudioManager.entry.title : "No track title"
|
||||
text: AudioManager.entry ? AudioManager.entry.title : i18n("No Track Title")
|
||||
Layout.fillWidth: true
|
||||
elide: Text.ElideRight
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
@ -53,7 +53,7 @@ Rectangle {
|
||||
font.bold: true
|
||||
}
|
||||
Controls.Label {
|
||||
text: AudioManager.entry ? AudioManager.entry.feed.name : "No feed"
|
||||
text: AudioManager.entry ? AudioManager.entry.feed.name : i18n("No Track Loaded")
|
||||
Layout.fillWidth: true
|
||||
elide: Text.ElideRight
|
||||
//wrapMode: Text.Wrap
|
||||
@ -115,11 +115,10 @@ Rectangle {
|
||||
Controls.ToolTip.text: AudioManager.playbackState === Audio.PlayingState ? i18n("Pause") : i18n("Play")
|
||||
|
||||
}
|
||||
Controls.Button {
|
||||
Controls.ToolButton {
|
||||
icon.name: "media-seek-forward"
|
||||
icon.height: parent.iconSize
|
||||
icon.width: parent.iconSize
|
||||
flat: true
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: parent.buttonSize
|
||||
onClicked: AudioManager.skipForward()
|
||||
|
Loading…
Reference in New Issue
Block a user