From 9477071556aaca00a1db0dec46f2a9eff716011b Mon Sep 17 00:00:00 2001 From: CMK Date: Fri, 15 Apr 2022 17:22:30 +0800 Subject: [PATCH] chore: update i18n --- .../MastodonUI/View/Content/NewsView+Configuration.swift | 2 +- .../MastodonUI/View/Content/TrendView+Configuration.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MastodonSDK/Sources/MastodonUI/View/Content/NewsView+Configuration.swift b/MastodonSDK/Sources/MastodonUI/View/Content/NewsView+Configuration.swift index 3116534a..e045eafe 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Content/NewsView+Configuration.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Content/NewsView+Configuration.swift @@ -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( diff --git a/MastodonSDK/Sources/MastodonUI/View/Content/TrendView+Configuration.swift b/MastodonSDK/Sources/MastodonUI/View/Content/TrendView+Configuration.swift index cdd3dfd8..fd5ddb24 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Content/TrendView+Configuration.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Content/TrendView+Configuration.swift @@ -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