mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): FormatMessage development keys (#10536)
This commit is contained in:
parent
4cb165304b
commit
6164640575
13 changed files with 46 additions and 44 deletions
|
|
@ -3,7 +3,7 @@
|
|||
import type { ServerVersionResponseDto } from '@immich/sdk';
|
||||
import Button from '../elements/buttons/button.svelte';
|
||||
import FullScreenModal from './full-screen-modal.svelte';
|
||||
import { json, t } from 'svelte-i18n';
|
||||
import { t } from 'svelte-i18n';
|
||||
import FormatMessage from '$lib/components/i18n/format-message.svelte';
|
||||
|
||||
let showModal = false;
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
{#if showModal}
|
||||
<FullScreenModal title="🎉 NEW VERSION AVAILABLE" onClose={() => (showModal = false)}>
|
||||
<div>
|
||||
<FormatMessage message={$json('version_announcement_message')} let:tag let:message>
|
||||
<FormatMessage key="version_announcement_message" let:tag let:message>
|
||||
{#if tag === 'link'}
|
||||
<span class="font-medium underline">
|
||||
<a href="https://github.com/immich-app/immich/releases/latest" target="_blank" rel="noopener noreferrer">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue