From 2e6bd7bdcca0fc8aafabf489af2aab16471f19dc Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Fri, 3 Sep 2021 15:48:24 +0200 Subject: [PATCH] Change titles of Kirigami pages such that toolbar icons don't move around CCBUG: 441764 --- src/qml/EntryListPage.qml | 2 +- src/qml/EntryPage.qml | 4 ++-- src/qml/FeedDetailsPage.qml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/EntryListPage.qml b/src/qml/EntryListPage.qml index 56f215d6..3cb80c85 100644 --- a/src/qml/EntryListPage.qml +++ b/src/qml/EntryListPage.qml @@ -18,7 +18,7 @@ Kirigami.ScrollablePage { property var feed - title: feed.name + title: i18n("Episode List") supportsRefreshing: true onRefreshingChanged: { diff --git a/src/qml/EntryPage.qml b/src/qml/EntryPage.qml index 42e16998..e0f025c4 100644 --- a/src/qml/EntryPage.qml +++ b/src/qml/EntryPage.qml @@ -19,7 +19,7 @@ Kirigami.ScrollablePage { property QtObject entry - title: entry.title + title: i18n("Episode Details") padding: 0 // needed to get the inline header to fill the page @@ -165,4 +165,4 @@ Kirigami.ScrollablePage { } } ] -} \ No newline at end of file +} diff --git a/src/qml/FeedDetailsPage.qml b/src/qml/FeedDetailsPage.qml index f5d23cb5..d17d5e70 100644 --- a/src/qml/FeedDetailsPage.qml +++ b/src/qml/FeedDetailsPage.qml @@ -20,7 +20,7 @@ Kirigami.ScrollablePage { property bool isSubscribed: true property string author: isSubscribed ? (page.feed.authors.length === 0 ? "" : page.feed.authors[0].name) : feed.author - title: i18nc(" - Details", "%1 - Details", isSubscribed ? feed.name : feed.title) + title: i18n("Podcast Details") header: GenericHeader { id: headerImage