mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07:00
fix(web): more translations (#11167)
* item(s) * search_by_filename * filename example * memory lane
This commit is contained in:
parent
e3fd766e9b
commit
a78365faab
@ -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)}
|
||||
|
@ -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 @@
|
||||
<img
|
||||
class="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">
|
||||
|
@ -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>
|
||||
<input
|
||||
class="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"
|
||||
/>
|
||||
|
@ -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...",
|
||||
|
Loading…
Reference in New Issue
Block a user