fix: more label fixes

This commit is contained in:
Michael Zetterberg
2025-03-13 10:25:05 +01:00
parent a1303d3dae
commit 065ebb57c6
4 changed files with 3 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ export default function JobList({ allJobs }: JobListProps) {
<Subtitle type="two"> <Subtitle type="two">
{intl.formatMessage( {intl.formatMessage(
{ {
id: "{count, plural, one {{count} Result} other {{count} Results}}", id: "{count, plural, one {# Result} other {# Results}}",
}, },
{ count: state.jobs.length } { count: state.jobs.length }
)} )}

View File

@@ -18,7 +18,6 @@ export default function LevelSummary({
{ {
pointsAmount: level.required_points, pointsAmount: level.required_points,
nightsAmount: level.required_nights, nightsAmount: level.required_nights,
highlight: (str) => <span className={styles.redText}>{str}</span>,
} }
) )
: intl.formatMessage( : intl.formatMessage(

View File

@@ -49,7 +49,7 @@ export default function CityListing() {
<Subtitle type="two"> <Subtitle type="two">
{intl.formatMessage( {intl.formatMessage(
{ {
id: `{count, plural, one {{count} Location} other {{count} Locations}}`, id: `{count, plural, one {# Location} other {# Locations}}`,
}, },
{ count: activeCities.length } { count: activeCities.length }
)} )}

View File

@@ -49,7 +49,7 @@ export default function HotelListing() {
<Subtitle type="two"> <Subtitle type="two">
{intl.formatMessage( {intl.formatMessage(
{ {
id: `{count, plural, one {{count} Hotel} other {{count} Hotels}}`, id: `{count, plural, one {# Hotel} other {# Hotels}}`,
}, },
{ count: activeHotels.length } { count: activeHotels.length }
)} )}