Fix Studio Pluralization (#5161)

Small bug fix so that if a studio only has 1 child studio then the correct pluralization is used.
This commit is contained in:
Gykes
2024-08-27 17:20:16 -07:00
committed by GitHub
parent 294e2090d0
commit a023a86ca6

View File

@@ -58,7 +58,11 @@ function maybeRenderChildren(studio: GQL.StudioDataFragment) {
values={{
children: (
<Link to={NavUtils.makeChildStudiosUrl(studio)}>
{studio.child_studios.length} studios
{studio.child_studios.length}&nbsp;
<FormattedMessage
id="countables.studios"
values={{ count: studio.child_studios.length }}
/>
</Link>
),
}}