mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(web): translate alt text (#10922)
* chore(web): translate image alt text * fix: capitalize translations, improve unit test * fix: unit testing against the actual en.json file * fix: use derived store to generate alt text
This commit is contained in:
parent
a5467d60ea
commit
39221c8d1f
7 changed files with 113 additions and 29 deletions
|
|
@ -76,7 +76,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={`Memory Lane ${$getAltText(memory.assets[0])}`}
|
||||
draggable="false"
|
||||
/>
|
||||
<p class="absolute bottom-2 left-4 z-10 text-lg text-white">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue