chore: update i18n

This commit is contained in:
CMK 2022-04-15 17:22:30 +08:00
parent 8a33ed9f9f
commit 9477071556
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ extension NewsView {
public func configure(link: Mastodon.Entity.Link) {
providerNameLabel.text = link.providerName
headlineLabel.text = link.title
footnoteLabel.text = L10n.Scene.Search.Recommend.HashTag.peopleTalking(link.talkingPeopleCount ?? 0)
footnoteLabel.text = L10n.Plural.peopleTalking(link.talkingPeopleCount ?? 0)
let configuration = MediaView.Configuration(
info: .image(info: .init(

View File

@ -12,7 +12,7 @@ import MastodonLocalization
extension TrendView {
public func configure(tag: Mastodon.Entity.Tag) {
let primaryLabelText = "#" + tag.name
let secondaryLabelText = L10n.Scene.Search.Recommend.HashTag.peopleTalking(tag.talkingPeopleCount ?? 0)
let secondaryLabelText = L10n.Plural.peopleTalking(tag.talkingPeopleCount ?? 0)
primaryLabel.text = primaryLabelText
secondaryLabel.text = secondaryLabelText