Skip to content

Commit 7d645ea

Browse files
authored
Merge pull request #3639 from SwiftPackageIndex/keyword-collection-tweak
Wording tweak to the keyword package collection “Note”
2 parents d7e4fca + 756a81f commit 7d645ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/App/Views/Keyword/KeywordShow+View.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ enum KeywordShow {
8484
guard model.totalPackageCount > Constants.maxKeywordPackageCollectionCount else { return .empty }
8585
return .p(
8686
.strong("Note: "),
87-
.text("Package collections are limited to a maximum of \(Constants.maxKeywordPackageCollectionCount) packages. If a keyword has more than \(Constants.maxKeywordPackageCollectionCount) packages, only the top \(Constants.maxKeywordPackageCollectionCount) packages will be included based on their package score."
87+
.text("Package collections are limited to \(Constants.maxKeywordPackageCollectionCount) packages. The “\(model.keyword)” keyword currently has \(pluralizedCount: model.totalPackageCount, singular: "associated package"), so its package collection includes only the top \(Constants.maxKeywordPackageCollectionCount) packages by package score."
8888
)
8989
)
9090
}

0 commit comments

Comments
 (0)