Skip to content

High performance self-hosted photo and video management solution.

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

xCJPECKOVERx2da94439c76b
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 aeef6bd06e..39afc1e506 100644
--- a/web/src/lib/components/asset-viewer/detail-panel-tags.svelte
+++ b/web/src/lib/components/asset-viewer/detail-panel-tags.svelte
@@ -70,7 +70,9 @@
title="Add tag"
onclick={handleAddTag}
>
- <span class="text-sm px-1 flex place-items-center place-content-center gap-1"><Icon path={mdiPlus} />Add</span>
+ <span class="text-sm px-1 flex place-items-center place-content-center gap-1"
+ ><Icon path={mdiPlus} />{$t('add')}</span
+ >
</button>
</section>
</section>