From b57645d382361c856281e7a74295afe16c5390f2 Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Wed, 3 Mar 2021 23:31:33 -0500 Subject: [PATCH] fix(lang): fix singular form of season count (#1080) --- src/components/TvDetails/index.tsx | 2 +- src/i18n/locale/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index 5902da47e..fcc12bbf3 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -72,7 +72,7 @@ const messages = defineMessages({ markavailable: 'Mark as Available', mark4kavailable: 'Mark 4K as Available', allseasonsmarkedavailable: '* All seasons will be marked as available.', - seasons: '{seasonCount} Seasons', + seasons: '{seasonCount, plural, one {# Season} other {# Seasons}}', }); interface TvDetailsProps { diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 75f3ad26e..e9b07de0a 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -631,7 +631,7 @@ "components.TvDetails.playonplex": "Play on Plex", "components.TvDetails.recommendations": "Recommendations", "components.TvDetails.recommendationssubtext": "If you liked {title}, you might also likeā€¦", - "components.TvDetails.seasons": "{seasonCount} Seasons", + "components.TvDetails.seasons": "{seasonCount, plural, one {# Season} other {# Seasons}}", "components.TvDetails.showtype": "Show Type", "components.TvDetails.similar": "Similar Series", "components.TvDetails.similarsubtext": "Other series similar to {title}",