High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): more translations (#11167)
waclaw66a78365faabef
diff --git a/web/src/lib/components/album-page/albums-table-row.svelte b/web/src/lib/components/album-page/albums-table-row.svelteindex f91628ec63..3e9027de3d 100644--- a/web/src/lib/components/album-page/albums-table-row.svelte+++ b/web/src/lib/components/album-page/albums-table-row.svelte@@ -41,8 +41,7 @@{/if}</td><td class="text-md text-ellipsis text-center sm:w-2/12 md:w-2/12 xl:w-[15%] 2xl:w-[12%]">- {album.assetCount}- {album.assetCount > 1 ? `items` : `item`}+ {$t('items_count', { values: { count: album.assetCount } })}</td><td class="text-md hidden text-ellipsis text-center sm:block w-3/12 xl:w-[15%] 2xl:w-[12%]">{dateLocaleString(album.updatedAt)}diff --git a/web/src/lib/components/photos-page/memory-lane.svelte b/web/src/lib/components/photos-page/memory-lane.svelteindex f2a7f4c754..43c2958944 100644--- a/web/src/lib/components/photos-page/memory-lane.svelte+++ b/web/src/lib/components/photos-page/memory-lane.svelte@@ -8,6 +8,7 @@import { mdiChevronLeft, mdiChevronRight } from '@mdi/js';import { onMount } from 'svelte';import { fade } from 'svelte/transition';+ import { t } from 'svelte-i18n';$: shouldRender = $memoryStore?.length > 0;@@ -76,7 +77,7 @@<imgclass="h-full w-full rounded-xl object-cover"src={getAssetThumbnailUrl(memory.assets[0].id)}- alt={`Memory Lane ${$getAltText(memory.assets[0])}`}+ alt={$t('memory_lane_title', { values: { title: $getAltText(memory.assets[0]) } })}draggable="false"/><p class="absolute bottom-2 left-4 z-10 text-lg text-white">diff --git a/web/src/lib/components/shared-components/search-bar/search-text-section.svelte b/web/src/lib/components/shared-components/search-bar/search-text-section.svelteindex 6b27c9e532..e2b74b8388 100644--- a/web/src/lib/components/shared-components/search-bar/search-text-section.svelte+++ b/web/src/lib/components/shared-components/search-bar/search-text-section.svelte@@ -52,13 +52,13 @@bind:value={context}/>{:else}- <label for="file-name-input" class="immich-form-label">Search by file name or extension</label>+ <label for="file-name-input" class="immich-form-label">{$t('search_by_filename')}</label><inputclass="immich-form-input hover:cursor-text w-full !mt-1"type="text"id="file-name-input"name="file-name"- placeholder="i.e. IMG_1234.JPG or PNG"+ placeholder={$t('search_by_filename_example')}bind:value={filename}aria-labelledby="file-name-label"/>diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.jsonindex b28b0b0cbd..08fbceadd7 100644--- a/web/src/lib/i18n/en.json+++ b/web/src/lib/i18n/en.json@@ -778,6 +778,7 @@"memories": "Memories","memories_setting_description": "Manage what you see in your memories","memory": "Memory",+ "memory_lane_title": "Memory Lane {title}","menu": "Menu","merge": "Merge","merge_people": "Merge people",@@ -973,6 +974,8 @@"search": "Search","search_albums": "Search albums","search_by_context": "Search by context",+ "search_by_filename": "Search by file name or extension",+ "search_by_filename_example": "i.e. IMG_1234.JPG or PNG","search_camera_make": "Search camera make...","search_camera_model": "Search camera model...","search_city": "Search city...",