Skip to content

Commit

Permalink
add english translations
Browse files Browse the repository at this point in the history
  • Loading branch information
kvalev committed Jan 25, 2025
1 parent 660cf43 commit 731ac9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,10 @@
"go_to_search": "Go to search",
"go_to_folder": "Go to folder",
"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})",
Expand Down Expand Up @@ -985,6 +987,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",
Expand Down Expand Up @@ -1276,6 +1279,7 @@
"unfavorite": "Unfavorite",
"unhide_person": "Unhide person",
"unknown": "Unknown",
"unknown_country": "Unknown Country",
"unknown_year": "Unknown Year",
"unlimited": "Unlimited",
"unlink_motion_video": "Unlink motion video",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class="inline-block -mt-2.5 transition-all duration-[250ms] {iconRotation}"
/>
<span class="font-bold text-3xl text-black dark:text-white">{group.name}</span>
<span class="ml-1.5">({$t('places', { values: { count: places.length } })})</span>
<span class="ml-1.5">({$t('places_count', { values: { count: places.length } })})</span>
</button>
<hr class="dark:border-immich-dark-gray" />
</div>
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/components/places-page/places-list.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
/** Group by year */
[PlacesGroupBy.Country]: (places): PlacesGroup[] => {
// item.exifInfo?.city
const unknownCountry = $t('unknown_country');
const groupedByCountry = groupBy(places, (place) => {
Expand Down

0 comments on commit 731ac9a

Please sign in to comment.