mirror of
https://github.com/KDE/kasts.git
synced 2025-02-05 11:48:27 +01:00
Add "dummy" contexts to two i18np
gettext complained that there's another string with the same text but not plural and that is bad, so add a dummy context to make gettext happy xgettext: warning: msgid 'Remove Podcast' is used without plural and with plural. ./qml/FeedListDelegate.qml:279: Here is the occurrence without plural. ./qml/FeedListPage.qml:249: Here is the occurrence with plural. Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation. xgettext: warning: msgid 'Delete Download' is used without plural and with plural. ./qml/GenericEntryDelegate.qml:294: Here is the occurrence without plural. ./qml/GenericEntryListView.qml:207: Here is the occurrence with plural. Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
This commit is contained in:
parent
0b272313ed
commit
c0dc8cee6a
@ -246,7 +246,7 @@ Kirigami.ScrollablePage {
|
||||
|
||||
property var deleteFeedAction: Kirigami.Action {
|
||||
iconName: "delete"
|
||||
text: i18np("Remove Podcast", "Remove Podcasts", feedList.selectionForContextMenu.length)
|
||||
text: i18ncp("context menu action", "Remove Podcast", "Remove Podcasts", feedList.selectionForContextMenu.length)
|
||||
visible: feedList.selectionModel.hasSelection
|
||||
onTriggered: {
|
||||
// First get an array of pointers to the feeds to be deleted
|
||||
|
@ -204,7 +204,7 @@ ListView {
|
||||
}
|
||||
|
||||
property var deleteEnclosureAction: Kirigami.Action {
|
||||
text: i18np("Delete Download", "Delete Downloads", selectionForContextMenu.length)
|
||||
text: i18ncp("context menu action", "Delete Download", "Delete Downloads", selectionForContextMenu.length)
|
||||
icon.name: "delete"
|
||||
visible: listView.selectionModel.hasSelection && (singleSelectedEntry ? (singleSelectedEntry.hasEnclosure ? singleSelectedEntry.enclosure.status !== Enclosure.Downloadable : false) : true)
|
||||
onTriggered: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user