Move author into i18nc call

This commit is contained in:
Bart De Vries 2021-05-28 16:21:47 +02:00
parent db8d99050d
commit 13b59adb29
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ Kirigami.ScrollablePage {
image: feed.cachedImage
title: feed.name
subtitle: page.feed.authors.length === 0 ? "" : i18nc("by <author(s)>", "by") + " " + page.feed.authors[0].name
subtitle: page.feed.authors.length === 0 ? "" : i18nc("by <author(s)>", "by %1", page.feed.authors[0].name)
MouseArea {
anchors.fill: parent

View File

@ -25,7 +25,7 @@ Kirigami.ScrollablePage {
image: feed.cachedImage
title: feed.name
subtitle: page.feed.authors.length === 0 ? "" : i18nc("by <author(s)>", "by") + " " + page.feed.authors[0].name
subtitle: page.feed.authors.length === 0 ? "" : i18nc("by <author(s)>", "by %1", page.feed.authors[0].name)
}
ColumnLayout {