mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): render component in notifications (#10990)
This commit is contained in:
parent
1dd1d36120
commit
59aa347912
9 changed files with 88 additions and 30 deletions
13
web/src/lib/components/i18n/format-bold-message.svelte
Normal file
13
web/src/lib/components/i18n/format-bold-message.svelte
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<script lang="ts">
|
||||
import FormatMessage from '$lib/components/i18n/format-message.svelte';
|
||||
import type { InterpolationValues } from '$lib/components/i18n/format-message.svelte';
|
||||
|
||||
export let key: string;
|
||||
export let values: InterpolationValues = {};
|
||||
</script>
|
||||
|
||||
<FormatMessage {key} {values} let:message let:tag>
|
||||
{#if tag === 'b'}
|
||||
<b>{message}</b>
|
||||
{/if}
|
||||
</FormatMessage>
|
||||
Loading…
Add table
Add a link
Reference in a new issue