Update Seasons.tsx

This commit is contained in:
James Hawkins 2022-12-18 19:35:24 +00:00 committed by GitHub
parent 459223a030
commit 118ba05ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ export function Seasons(props: SeasonsProps) {
const mapSeason = (season: MWMediaSeason) => ({
id: season.id,
name: season.title || `${t('seasons.season')} ${season.sort}`,
name: season.title || `${t('seasons.season', { season: season.sort })}`,
});
const options = seasons.seasons.map(mapSeason);