Improve i18nc for page titles

This commit is contained in:
Bart De Vries 2024-04-05 10:56:51 +02:00
parent d09974755d
commit aaefa428c3
7 changed files with 17 additions and 17 deletions

View File

@ -15,7 +15,7 @@ import org.kde.kasts
Kirigami.ScrollablePage {
id: page
title: i18n("Discover")
title: i18nc("@title of page allowing to search for new podcasts online", "Discover")
property var feedModel: ""
header: RowLayout {

View File

@ -12,7 +12,7 @@ import org.kde.kirigami as Kirigami
import org.kde.kasts
Kirigami.ScrollablePage {
title: i18n("Downloads")
title: i18nc("@title of page with list of downloaded episodes", "Downloads")
property var lastEntry: ""
property string pageName: "downloadpage"

View File

@ -14,7 +14,7 @@ import org.kde.kasts
Kirigami.ScrollablePage {
id: episodeListPage
title: i18n("Episode List")
title: i18nc("@title of page with list of podcast episodes", "Episodes")
property alias episodeList: episodeList
@ -38,7 +38,7 @@ Kirigami.ScrollablePage {
property list<Kirigami.Action> pageActions: [
Kirigami.Action {
icon.name: "download"
text: i18n("Downloads")
text: i18nc("@title of page with list of downloaded episodes", "Downloads")
onTriggered: {
pushPage("DownloadListPage")
}

View File

@ -17,7 +17,7 @@ import org.kde.kasts
Kirigami.ScrollablePage {
id: subscriptionPage
title: i18nc("@title Podcast subscription list page title", "Subscriptions")
title: i18nc("@title of page with list of podcast subscriptions", "Subscriptions")
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
@ -38,7 +38,7 @@ Kirigami.ScrollablePage {
property list<Kirigami.Action> pageActions: [
Kirigami.Action {
visible: kastsMainWindow.isMobile
text: i18nc("@action:intoolbar Open the podcast discover page", "Discover")
text: i18nc("@title of page allowing to search for new podcasts online", "Discover")
icon.name: "search"
onTriggered: {
applicationWindow().pageStack.push("qrc:/qt/qml/org/kde/kasts/qml/DiscoverPage.qml");

View File

@ -66,7 +66,7 @@ Kirigami.OverlayDrawer {
Kirigami.NavigationTabButton {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Queue")
text: i18nc("@title of page showing the list queued items; this is the noun 'the queue', not the verb", "Queue")
icon.name: "source-playlist"
checked: currentPage == "QueuePage"
onClicked: {
@ -76,7 +76,7 @@ Kirigami.OverlayDrawer {
Kirigami.NavigationTabButton {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Discover")
text: i18nc("@title of page allowing to search for new podcasts online", "Discover")
icon.name: "search"
checked: currentPage == "DiscoverPage"
onClicked: {
@ -86,7 +86,7 @@ Kirigami.OverlayDrawer {
Kirigami.NavigationTabButton {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Subscriptions")
text: i18nc("@title of page with list of podcast subscriptions", "Subscriptions")
icon.name: "bookmarks"
checked: currentPage == "FeedListPage"
onClicked: {
@ -96,7 +96,7 @@ Kirigami.OverlayDrawer {
Kirigami.NavigationTabButton {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Episodes")
text: i18nc("@title of page with list of podcast episodes", "Episodes")
icon.name: "rss"
checked: currentPage == "EpisodeListPage"
onClicked: {
@ -106,7 +106,7 @@ Kirigami.OverlayDrawer {
Kirigami.NavigationTabButton {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Downloads")
text: i18nc("@title of page with list of downloaded episodes", "Downloads")
icon.name: "download"
checked: currentPage == "DownloadListPage"
onClicked: {
@ -126,7 +126,7 @@ Kirigami.OverlayDrawer {
Layout.fillWidth: true
display: root.buttonDisplayMode
text: i18n("Settings")
text: i18nc("@title of dialog with app settings", "Settings")
icon.name: "settings-configure"
checked: currentPage == "SettingsPage"
onClicked: {

View File

@ -20,7 +20,7 @@ Kirigami.NavigationTabBar {
actions: [
Kirigami.Action {
icon.name: "view-media-playlist"
text: i18n("Queue")
text: i18nc("@title of page showing the list queued items; this is the noun 'the queue', not the verb", "Queue")
checked: "QueuePage" === kastsMainWindow.currentPage
onTriggered: {
pushPage("QueuePage");
@ -28,7 +28,7 @@ Kirigami.NavigationTabBar {
},
Kirigami.Action {
icon.name: "bookmarks"
text: i18n("Subscriptions")
text: i18nc("@title of page with list of podcast subscriptions", "Subscriptions")
checked: "FeedListPage" === kastsMainWindow.currentPage
onTriggered: {
pushPage("FeedListPage");
@ -36,7 +36,7 @@ Kirigami.NavigationTabBar {
},
Kirigami.Action {
icon.name: "rss"
text: i18n("Episodes")
text: i18nc("@title of page with list of podcast episodes", "Episodes")
checked: "EpisodeListPage" === kastsMainWindow.currentPage
onTriggered: {
pushPage("EpisodeListPage")
@ -44,7 +44,7 @@ Kirigami.NavigationTabBar {
},
Kirigami.Action {
icon.name: "settings-configure"
text: i18n("Settings")
text: i18nc("@title of dialog with app settings", "Settings")
checked: "SettingsPage" === kastsMainWindow.currentPage
onTriggered: {
pushPage("SettingsPage")

View File

@ -15,7 +15,7 @@ import org.kde.kasts
Kirigami.ScrollablePage {
id: queuepage
title: i18nc("@title:column Page showing the list queued items", "Queue")
title: i18nc("@title of page showing the list queued items; this is the noun 'the queue', not the verb", "Queue")
property var lastEntry: ""
property string pageName: "queuepage"