feat: Transcription read mode (clean split) #177 #205

Merged
marcel merged 20 commits from feat/issue-177-transcription-read-mode into main 2026-04-07 12:46:21 +02:00
Showing only changes of commit e01ef56c48 - Show all commits

View File

@@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import { m } from '$lib/paraglide/messages.js'; import { m } from '$lib/paraglide/messages.js';
import { getLocale } from '$lib/paraglide/runtime.js';
type Props = { type Props = {
mode: 'read' | 'edit'; mode: 'read' | 'edit';
@@ -14,7 +15,7 @@ let { mode, hasBlocks, blockCount, lastEditedAt, onModeChange, onClose }: Props
const formattedDate = $derived( const formattedDate = $derived(
lastEditedAt lastEditedAt
? new Intl.DateTimeFormat('de-DE', { ? new Intl.DateTimeFormat(getLocale(), {
day: 'numeric', day: 'numeric',
month: 'short', month: 'short',
year: 'numeric' year: 'numeric'