mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05: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}
 | 
					    {/if}
 | 
				
			||||||
  </td>
 | 
					  </td>
 | 
				
			||||||
  <td class="text-md text-ellipsis text-center sm:w-2/12 md:w-2/12 xl:w-[15%] 2xl:w-[12%]">
 | 
					  <td class="text-md text-ellipsis text-center sm:w-2/12 md:w-2/12 xl:w-[15%] 2xl:w-[12%]">
 | 
				
			||||||
    {album.assetCount}
 | 
					    {$t('items_count', { values: { count: album.assetCount } })}
 | 
				
			||||||
    {album.assetCount > 1 ? `items` : `item`}
 | 
					 | 
				
			||||||
  </td>
 | 
					  </td>
 | 
				
			||||||
  <td class="text-md hidden text-ellipsis text-center sm:block w-3/12 xl:w-[15%] 2xl:w-[12%]">
 | 
					  <td class="text-md hidden text-ellipsis text-center sm:block w-3/12 xl:w-[15%] 2xl:w-[12%]">
 | 
				
			||||||
    {dateLocaleString(album.updatedAt)}
 | 
					    {dateLocaleString(album.updatedAt)}
 | 
				
			||||||
 | 
				
			|||||||
@ -8,6 +8,7 @@
 | 
				
			|||||||
  import { mdiChevronLeft, mdiChevronRight } from '@mdi/js';
 | 
					  import { mdiChevronLeft, mdiChevronRight } from '@mdi/js';
 | 
				
			||||||
  import { onMount } from 'svelte';
 | 
					  import { onMount } from 'svelte';
 | 
				
			||||||
  import { fade } from 'svelte/transition';
 | 
					  import { fade } from 'svelte/transition';
 | 
				
			||||||
 | 
					  import { t } from 'svelte-i18n';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $: shouldRender = $memoryStore?.length > 0;
 | 
					  $: shouldRender = $memoryStore?.length > 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -76,7 +77,7 @@
 | 
				
			|||||||
            <img
 | 
					            <img
 | 
				
			||||||
              class="h-full w-full rounded-xl object-cover"
 | 
					              class="h-full w-full rounded-xl object-cover"
 | 
				
			||||||
              src={getAssetThumbnailUrl(memory.assets[0].id)}
 | 
					              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"
 | 
					              draggable="false"
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
            <p class="absolute bottom-2 left-4 z-10 text-lg text-white">
 | 
					            <p class="absolute bottom-2 left-4 z-10 text-lg text-white">
 | 
				
			||||||
 | 
				
			|||||||
@ -52,13 +52,13 @@
 | 
				
			|||||||
    bind:value={context}
 | 
					    bind:value={context}
 | 
				
			||||||
  />
 | 
					  />
 | 
				
			||||||
{:else}
 | 
					{: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
 | 
					  <input
 | 
				
			||||||
    class="immich-form-input hover:cursor-text w-full !mt-1"
 | 
					    class="immich-form-input hover:cursor-text w-full !mt-1"
 | 
				
			||||||
    type="text"
 | 
					    type="text"
 | 
				
			||||||
    id="file-name-input"
 | 
					    id="file-name-input"
 | 
				
			||||||
    name="file-name"
 | 
					    name="file-name"
 | 
				
			||||||
    placeholder="i.e. IMG_1234.JPG or PNG"
 | 
					    placeholder={$t('search_by_filename_example')}
 | 
				
			||||||
    bind:value={filename}
 | 
					    bind:value={filename}
 | 
				
			||||||
    aria-labelledby="file-name-label"
 | 
					    aria-labelledby="file-name-label"
 | 
				
			||||||
  />
 | 
					  />
 | 
				
			||||||
 | 
				
			|||||||
@ -778,6 +778,7 @@
 | 
				
			|||||||
  "memories": "Memories",
 | 
					  "memories": "Memories",
 | 
				
			||||||
  "memories_setting_description": "Manage what you see in your memories",
 | 
					  "memories_setting_description": "Manage what you see in your memories",
 | 
				
			||||||
  "memory": "Memory",
 | 
					  "memory": "Memory",
 | 
				
			||||||
 | 
					  "memory_lane_title": "Memory Lane {title}",
 | 
				
			||||||
  "menu": "Menu",
 | 
					  "menu": "Menu",
 | 
				
			||||||
  "merge": "Merge",
 | 
					  "merge": "Merge",
 | 
				
			||||||
  "merge_people": "Merge people",
 | 
					  "merge_people": "Merge people",
 | 
				
			||||||
@ -973,6 +974,8 @@
 | 
				
			|||||||
  "search": "Search",
 | 
					  "search": "Search",
 | 
				
			||||||
  "search_albums": "Search albums",
 | 
					  "search_albums": "Search albums",
 | 
				
			||||||
  "search_by_context": "Search by context",
 | 
					  "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_make": "Search camera make...",
 | 
				
			||||||
  "search_camera_model": "Search camera model...",
 | 
					  "search_camera_model": "Search camera model...",
 | 
				
			||||||
  "search_city": "Search city...",
 | 
					  "search_city": "Search city...",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user