Skip to content

High performance self-hosted photo and video management solution.

fix(web): add tag button tooltip not using translation (#18921)

xCJPECKOVERx0c965ae2ea85
diff --git a/i18n/en.json b/i18n/en.json
index 2fbce6fbb7..3bb0ce1ad8 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -22,6 +22,7 @@
"add_partner": "Add partner",
"add_path": "Add path",
"add_photos": "Add photos",
+ "add_tag": "Add tag",
"add_to": "Add to…",
"add_to_album": "Add to album",
"add_to_album_bottom_sheet_added": "Added to {album}",
diff --git a/web/src/lib/components/asset-viewer/detail-panel-tags.svelte b/web/src/lib/components/asset-viewer/detail-panel-tags.svelte
index 39afc1e506..2ce6d3d17f 100644
--- a/web/src/lib/components/asset-viewer/detail-panel-tags.svelte
+++ b/web/src/lib/components/asset-viewer/detail-panel-tags.svelte
@@ -67,7 +67,7 @@
<button
type="button"
class="rounded-full bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 hover:text-gray-700 dark:hover:text-gray-200 flex place-items-center place-content-center gap-1 px-2 py-1"
- title="Add tag"
+ title={$t('add_tag')}
onclick={handleAddTag}
>
<span class="text-sm px-1 flex place-items-center place-content-center gap-1"