mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(web): enforce valid translation keys using typescript (#12106)
This commit is contained in:
parent
bab5ad7ebd
commit
9f5a3f1e84
7 changed files with 48 additions and 49 deletions
|
|
@ -1,8 +1,9 @@
|
|||
<script lang="ts">
|
||||
import FormatMessage from '$lib/components/i18n/format-message.svelte';
|
||||
import type { InterpolationValues } from '$lib/components/i18n/format-message.svelte';
|
||||
import type { Translations } from 'svelte-i18n';
|
||||
|
||||
export let key: string;
|
||||
export let key: Translations;
|
||||
export let values: InterpolationValues = {};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue