From f16b981ec9c4475a2374a63e222af57f17ea4263 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 2 May 2024 16:43:39 -0400 Subject: [PATCH] i18n --- src/lib/components/documents/DocumentListItem.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index f733412ba..be1501810 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -49,8 +49,6 @@ hasPrivateNotes && ("private" as Access), ].filter(Boolean); - $: console.log({ tabs }); - function clean(html: string) { return DOMPurify.sanitize(html, { ALLOWED_TAGS: [] }); } @@ -84,7 +82,9 @@ It's deliberately minimal and can be wrapped in other components to add addition {/if} {#if document.notes && document.notes.length > 0} -

{document.notes.length} notes

+

+ {$_("documents.noteCount", { values: { n: document.notes.length } })} +

{/if} {#each tabs as access}