Improve i18n messages on Queue page

BUG: 461024
This commit is contained in:
Bart De Vries 2022-11-16 10:38:04 +01:00
parent 2e611ebc50
commit eb8856e45d
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import org.kde.kasts 1.0
Kirigami.ScrollablePage { Kirigami.ScrollablePage {
id: queuepage id: queuepage
title: i18n("Queue") title: i18nc("@title:column Page showing the list queued items", "Queue")
property var lastEntry: "" property var lastEntry: ""
property string pageName: "queuepage" property string pageName: "queuepage"
@ -31,7 +31,7 @@ Kirigami.ScrollablePage {
actions.main: Kirigami.Action { actions.main: Kirigami.Action {
iconName: "view-refresh" iconName: "view-refresh"
text: i18n("Refresh All Podcasts") text: i18nc("@action:intoolbar", "Refresh All Podcasts")
onTriggered: refreshing = true onTriggered: refreshing = true
} }
@ -43,7 +43,7 @@ Kirigami.ScrollablePage {
width: Kirigami.Units.gridUnit * 20 width: Kirigami.Units.gridUnit * 20
anchors.centerIn: parent anchors.centerIn: parent
text: i18n("Nothing Added to the Queue Yet") text: i18nc("@info", "Queue is empty")
} }
Component { Component {
@ -66,7 +66,7 @@ Kirigami.ScrollablePage {
Controls.Label { Controls.Label {
Layout.fillWidth: true Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
text: i18np("1 Episode", "%1 Episodes", queueModel.rowCount()) + " · " + i18n("Time Left") + ": " + queueModel.formattedTimeLeft text: i18ncp("@info:progress", "1 Episode", "%1 Episodes", queueModel.rowCount()) + " · " + i18nc("@info:progress", "Time Left") + ": " + queueModel.formattedTimeLeft
} }
Kirigami.Separator { Kirigami.Separator {
Layout.fillWidth: true Layout.fillWidth: true