diff --git a/web/src/lib/components/places-page/places-card-group.svelte b/web/src/lib/components/places-page/places-card-group.svelte index d3b3a00cbeefd..394f1fa0770e1 100644 --- a/web/src/lib/components/places-page/places-card-group.svelte +++ b/web/src/lib/components/places-page/places-card-group.svelte @@ -31,7 +31,7 @@ class="inline-block -mt-2.5 transition-all duration-[250ms] {iconRotation}" /> {group.name} - ({$t('places', { values: { count: places.length } })}) + ({$t('places_count', { values: { count: places.length } })})
diff --git a/web/src/lib/components/places-page/places-list.svelte b/web/src/lib/components/places-page/places-list.svelte index 3a846683f1b60..6ba8c2b5c47eb 100644 --- a/web/src/lib/components/places-page/places-list.svelte +++ b/web/src/lib/components/places-page/places-list.svelte @@ -36,7 +36,6 @@ /** Group by year */ [PlacesGroupBy.Country]: (places): PlacesGroup[] => { - // item.exifInfo?.city const unknownCountry = $t('unknown_country'); const groupedByCountry = groupBy(places, (place) => { diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.json index d0d330480ab2c..06d9bc5d65639 100644 --- a/web/src/lib/i18n/en.json +++ b/web/src/lib/i18n/en.json @@ -720,8 +720,10 @@ "go_back": "Go back", "go_to_search": "Go to search", "group_albums_by": "Group albums by...", + "group_country": "Group by country", "group_no": "No grouping", "group_owner": "Group by owner", + "group_places_by": "Group places by...", "group_year": "Group by year", "has_quota": "Has quota", "hi_user": "Hi {name} ({email})", @@ -934,6 +936,7 @@ "pick_a_location": "Pick a location", "place": "Place", "places": "Places", + "places_count": "{count, plural, one {{count, number} Place} other {{count, number} Places}}", "play": "Play", "play_memories": "Play memories", "play_motion_photo": "Play Motion Photo", @@ -1208,6 +1211,7 @@ "unfavorite": "Unfavorite", "unhide_person": "Unhide person", "unknown": "Unknown", + "unknown_country": "Unknown Country", "unknown_year": "Unknown Year", "unlimited": "Unlimited", "unlink_oauth": "Unlink OAuth",