Replace "Feed" with "Podcast" in user-visible strings

Should be more understandable
This commit is contained in:
Tobias Fella 2021-05-11 13:12:38 +02:00
parent 3d2d935307
commit 6cf133d1d6
11 changed files with 25 additions and 25 deletions

View File

@ -18,7 +18,7 @@ Kirigami.OverlaySheet {
showCloseButton: true
header: Kirigami.Heading {
text: i18n("Add new Feed")
text: i18n("Add new Podcast")
}
contentItem: ColumnLayout {
@ -33,7 +33,7 @@ Kirigami.OverlaySheet {
}
footer: Controls.Button {
text: i18n("Add Feed")
text: i18n("Add Podcast")
enabled: urlField.text
onClicked: {
DataManager.addFeed(urlField.text)

View File

@ -47,7 +47,7 @@ Kirigami.ScrollablePage {
},
Kirigami.Action {
iconName: "delete"
text: i18n("Remove feed")
text: i18n("Remove Podcast")
onTriggered: {
while(pageStack.depth > 1)
pageStack.pop()
@ -58,7 +58,7 @@ Kirigami.ScrollablePage {
actions.main: Kirigami.Action {
iconName: "view-refresh"
text: i18n("Refresh Feed")
text: i18n("Refresh Podcast")
onTriggered: page.refreshing = true
visible: !Kirigami.Settings.isMobile || entryList.count === 0
}
@ -69,7 +69,7 @@ Kirigami.ScrollablePage {
width: Kirigami.Units.gridUnit * 20
anchors.centerIn: parent
text: feed.errorId === 0 ? i18n("No Entries available") : i18n("Error (%1): %2", feed.errorId, feed.errorString)
text: feed.errorId === 0 ? i18n("No Episodes available") : i18n("Error (%1): %2", feed.errorId, feed.errorString)
icon.name: feed.errorId === 0 ? "" : "data-error"
}

View File

@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
actions.main: Kirigami.Action {
iconName: "view-refresh"
text: i18n("Refresh All Feeds")
text: i18n("Refresh All Podcasts")
onTriggered: refreshing = true
visible: !Kirigami.Settings.isMobile || episodeList.count === 0
}

View File

@ -41,7 +41,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
Controls.Label {
text: ( (error.id) ? i18n("Media download error") : i18n("Feed update error") ) + " · " + error.date.toLocaleDateString(Qt.locale(), Locale.NarrowFormat) + " · " + error.date.toLocaleTimeString(Qt.locale(), Locale.NarrowFormat)
text: ( (error.id) ? i18n("Media download error") : i18n("Podcast update error") ) + " · " + error.date.toLocaleDateString(Qt.locale(), Locale.NarrowFormat) + " · " + error.date.toLocaleTimeString(Qt.locale(), Locale.NarrowFormat)
Layout.fillWidth: true
elide: Text.ElideRight
font: Kirigami.Theme.smallFont

View File

@ -18,7 +18,7 @@ Kirigami.ScrollablePage {
property QtObject feed;
title: i18nc("<Feed Name> - Details", "%1 - Details", feed.name)
title: i18nc("<Podcast Name> - Details", "%1 - Details", feed.name)
header: GenericHeader {
id: headerImage

View File

@ -148,7 +148,7 @@ Controls.ItemDelegate {
actionOverlay.close();
}
icon: "delete"
text: i18n("Remove feed")
text: i18n("Remove Podcast")
}
}

View File

@ -33,25 +33,25 @@ Kirigami.ScrollablePage {
contextualActions: [
Kirigami.Action {
text: i18n("Refresh all feeds")
text: i18n("Refresh all Podcasts")
iconName: "view-refresh"
onTriggered: refreshing = true
visible: !Kirigami.Settings.isMobile
},
Kirigami.Action {
text: i18n("Import Feeds...")
text: i18n("Import Podcasts...")
iconName: "document-import"
onTriggered: importDialog.open()
},
Kirigami.Action {
text: i18n("Export Feeds...")
text: i18n("Export Podcasts...")
iconName: "document-export"
onTriggered: exportDialog.open()
}
]
actions.main: Kirigami.Action {
text: i18n("Add feed")
text: i18n("Add Podcast")
iconName: "list-add"
onTriggered: {
addSheet.open()
@ -68,12 +68,12 @@ Kirigami.ScrollablePage {
width: Kirigami.Units.gridUnit * 20
anchors.centerIn: parent
text: i18n("No Feeds added yet")
text: i18n("No Podcasts added yet")
}
FileDialog {
id: importDialog
title: i18n("Import Feeds")
title: i18n("Import Podcasts")
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
nameFilters: [i18n("All Files (*)"), i18n("XML Files (*.xml)"), i18n("OPML Files (*.opml)")]
onAccepted: DataManager.importFeeds(file)
@ -81,7 +81,7 @@ Kirigami.ScrollablePage {
FileDialog {
id: exportDialog
title: i18n("Export Feeds")
title: i18n("Export Podcasts")
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
nameFilters: [i18n("All Files")]
onAccepted: DataManager.exportFeeds(file)

View File

@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
actions.main: Kirigami.Action {
iconName: "view-refresh"
text: i18n("Refresh All Feeds")
text: i18n("Refresh All Podcasts")
onTriggered: refreshing = true
visible: !Kirigami.Settings.isMobile || queueList.count === 0
}

View File

@ -27,7 +27,7 @@ Kirigami.ScrollablePage {
Controls.CheckBox {
id: refreshOnStartup
checked: SettingsManager.refreshOnStartup
text: i18n("Automatically fetch feed updates on startup")
text: i18n("Automatically fetch podcast updates on startup")
onToggled: SettingsManager.refreshOnStartup = checked
}

View File

@ -60,9 +60,9 @@ Rectangle {
Controls.Label {
id: feedUpdateCountLabel
text: i18ncp("number of updated feeds",
"Updated %2 of %1 feed",
"Updated %2 of %1 feeds",
text: i18ncp("number of updated podcasts",
"Updated %2 of %1 podcast",
"Updated %2 of %1 podcasts",
Fetcher.updateTotal, Fetcher.updateProgress)
color: Kirigami.Theme.textColor
@ -75,9 +75,9 @@ Rectangle {
TextMetrics {
id: labelWidth
text: i18ncp("number of updated feeds",
"Updated %2 of %1 feed",
"Updated %2 of %1 feeds",
text: i18ncp("number of updated podcasts",
"Updated %2 of %1 podcast",
"Updated %2 of %1 podcasts",
999, 999)
}

View File

@ -181,7 +181,7 @@ Kirigami.ApplicationWindow {
Connections {
target: ErrorLogModel
function onNewErrorLogged(error) {
inlineMessage.text = error.id ? i18n("Media download error") : i18n("Feed update error") + "\n" + i18n("Check Error Log tab (under Downloads) for more details.");
inlineMessage.text = error.id ? i18n("Media download error") : i18n("Podcast update error") + "\n" + i18n("Check Error Log tab (under Downloads) for more details.");
inlineMessage.visible = true;
}
}