Replace "Feed" with "Podcast" in user-visible strings
Should be more understandable
This commit is contained in:
parent
3d2d935307
commit
6cf133d1d6
@ -18,7 +18,7 @@ Kirigami.OverlaySheet {
|
|||||||
showCloseButton: true
|
showCloseButton: true
|
||||||
|
|
||||||
header: Kirigami.Heading {
|
header: Kirigami.Heading {
|
||||||
text: i18n("Add new Feed")
|
text: i18n("Add new Podcast")
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
@ -33,7 +33,7 @@ Kirigami.OverlaySheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer: Controls.Button {
|
footer: Controls.Button {
|
||||||
text: i18n("Add Feed")
|
text: i18n("Add Podcast")
|
||||||
enabled: urlField.text
|
enabled: urlField.text
|
||||||
onClicked: {
|
onClicked: {
|
||||||
DataManager.addFeed(urlField.text)
|
DataManager.addFeed(urlField.text)
|
||||||
|
@ -47,7 +47,7 @@ Kirigami.ScrollablePage {
|
|||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
iconName: "delete"
|
iconName: "delete"
|
||||||
text: i18n("Remove feed")
|
text: i18n("Remove Podcast")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
while(pageStack.depth > 1)
|
while(pageStack.depth > 1)
|
||||||
pageStack.pop()
|
pageStack.pop()
|
||||||
@ -58,7 +58,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
iconName: "view-refresh"
|
iconName: "view-refresh"
|
||||||
text: i18n("Refresh Feed")
|
text: i18n("Refresh Podcast")
|
||||||
onTriggered: page.refreshing = true
|
onTriggered: page.refreshing = true
|
||||||
visible: !Kirigami.Settings.isMobile || entryList.count === 0
|
visible: !Kirigami.Settings.isMobile || entryList.count === 0
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ Kirigami.ScrollablePage {
|
|||||||
width: Kirigami.Units.gridUnit * 20
|
width: Kirigami.Units.gridUnit * 20
|
||||||
anchors.centerIn: parent
|
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"
|
icon.name: feed.errorId === 0 ? "" : "data-error"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
iconName: "view-refresh"
|
iconName: "view-refresh"
|
||||||
text: i18n("Refresh All Feeds")
|
text: i18n("Refresh All Podcasts")
|
||||||
onTriggered: refreshing = true
|
onTriggered: refreshing = true
|
||||||
visible: !Kirigami.Settings.isMobile || episodeList.count === 0
|
visible: !Kirigami.Settings.isMobile || episodeList.count === 0
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ Kirigami.ScrollablePage {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
Controls.Label {
|
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
|
Layout.fillWidth: true
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font: Kirigami.Theme.smallFont
|
font: Kirigami.Theme.smallFont
|
||||||
|
@ -18,7 +18,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
property QtObject feed;
|
property QtObject feed;
|
||||||
|
|
||||||
title: i18nc("<Feed Name> - Details", "%1 - Details", feed.name)
|
title: i18nc("<Podcast Name> - Details", "%1 - Details", feed.name)
|
||||||
|
|
||||||
header: GenericHeader {
|
header: GenericHeader {
|
||||||
id: headerImage
|
id: headerImage
|
||||||
|
@ -148,7 +148,7 @@ Controls.ItemDelegate {
|
|||||||
actionOverlay.close();
|
actionOverlay.close();
|
||||||
}
|
}
|
||||||
icon: "delete"
|
icon: "delete"
|
||||||
text: i18n("Remove feed")
|
text: i18n("Remove Podcast")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,25 +33,25 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
contextualActions: [
|
contextualActions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Refresh all feeds")
|
text: i18n("Refresh all Podcasts")
|
||||||
iconName: "view-refresh"
|
iconName: "view-refresh"
|
||||||
onTriggered: refreshing = true
|
onTriggered: refreshing = true
|
||||||
visible: !Kirigami.Settings.isMobile
|
visible: !Kirigami.Settings.isMobile
|
||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Import Feeds...")
|
text: i18n("Import Podcasts...")
|
||||||
iconName: "document-import"
|
iconName: "document-import"
|
||||||
onTriggered: importDialog.open()
|
onTriggered: importDialog.open()
|
||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18n("Export Feeds...")
|
text: i18n("Export Podcasts...")
|
||||||
iconName: "document-export"
|
iconName: "document-export"
|
||||||
onTriggered: exportDialog.open()
|
onTriggered: exportDialog.open()
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
text: i18n("Add feed")
|
text: i18n("Add Podcast")
|
||||||
iconName: "list-add"
|
iconName: "list-add"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
addSheet.open()
|
addSheet.open()
|
||||||
@ -68,12 +68,12 @@ Kirigami.ScrollablePage {
|
|||||||
width: Kirigami.Units.gridUnit * 20
|
width: Kirigami.Units.gridUnit * 20
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
text: i18n("No Feeds added yet")
|
text: i18n("No Podcasts added yet")
|
||||||
}
|
}
|
||||||
|
|
||||||
FileDialog {
|
FileDialog {
|
||||||
id: importDialog
|
id: importDialog
|
||||||
title: i18n("Import Feeds")
|
title: i18n("Import Podcasts")
|
||||||
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
|
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
|
||||||
nameFilters: [i18n("All Files (*)"), i18n("XML Files (*.xml)"), i18n("OPML Files (*.opml)")]
|
nameFilters: [i18n("All Files (*)"), i18n("XML Files (*.xml)"), i18n("OPML Files (*.opml)")]
|
||||||
onAccepted: DataManager.importFeeds(file)
|
onAccepted: DataManager.importFeeds(file)
|
||||||
@ -81,7 +81,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
FileDialog {
|
FileDialog {
|
||||||
id: exportDialog
|
id: exportDialog
|
||||||
title: i18n("Export Feeds")
|
title: i18n("Export Podcasts")
|
||||||
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
|
folder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
|
||||||
nameFilters: [i18n("All Files")]
|
nameFilters: [i18n("All Files")]
|
||||||
onAccepted: DataManager.exportFeeds(file)
|
onAccepted: DataManager.exportFeeds(file)
|
||||||
|
@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
iconName: "view-refresh"
|
iconName: "view-refresh"
|
||||||
text: i18n("Refresh All Feeds")
|
text: i18n("Refresh All Podcasts")
|
||||||
onTriggered: refreshing = true
|
onTriggered: refreshing = true
|
||||||
visible: !Kirigami.Settings.isMobile || queueList.count === 0
|
visible: !Kirigami.Settings.isMobile || queueList.count === 0
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ Kirigami.ScrollablePage {
|
|||||||
Controls.CheckBox {
|
Controls.CheckBox {
|
||||||
id: refreshOnStartup
|
id: refreshOnStartup
|
||||||
checked: SettingsManager.refreshOnStartup
|
checked: SettingsManager.refreshOnStartup
|
||||||
text: i18n("Automatically fetch feed updates on startup")
|
text: i18n("Automatically fetch podcast updates on startup")
|
||||||
onToggled: SettingsManager.refreshOnStartup = checked
|
onToggled: SettingsManager.refreshOnStartup = checked
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,9 +60,9 @@ Rectangle {
|
|||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
id: feedUpdateCountLabel
|
id: feedUpdateCountLabel
|
||||||
text: i18ncp("number of updated feeds",
|
text: i18ncp("number of updated podcasts",
|
||||||
"Updated %2 of %1 feed",
|
"Updated %2 of %1 podcast",
|
||||||
"Updated %2 of %1 feeds",
|
"Updated %2 of %1 podcasts",
|
||||||
Fetcher.updateTotal, Fetcher.updateProgress)
|
Fetcher.updateTotal, Fetcher.updateProgress)
|
||||||
color: Kirigami.Theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
|
|
||||||
@ -75,9 +75,9 @@ Rectangle {
|
|||||||
TextMetrics {
|
TextMetrics {
|
||||||
id: labelWidth
|
id: labelWidth
|
||||||
|
|
||||||
text: i18ncp("number of updated feeds",
|
text: i18ncp("number of updated podcasts",
|
||||||
"Updated %2 of %1 feed",
|
"Updated %2 of %1 podcast",
|
||||||
"Updated %2 of %1 feeds",
|
"Updated %2 of %1 podcasts",
|
||||||
999, 999)
|
999, 999)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ Kirigami.ApplicationWindow {
|
|||||||
Connections {
|
Connections {
|
||||||
target: ErrorLogModel
|
target: ErrorLogModel
|
||||||
function onNewErrorLogged(error) {
|
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;
|
inlineMessage.visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user