Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Fix reprocess modal crash that froze all detail-header buttons — window.i18n in a Vue template expression

Murtaza Nasir061bd045b45a
diff --git a/templates/modals/reprocess-modal.html b/templates/modals/reprocess-modal.html
index 00e931ba..42885966 100644
--- a/templates/modals/reprocess-modal.html
+++ b/templates/modals/reprocess-modal.html
@@ -19,7 +19,7 @@
${ reprocessRecording.title || t('reprocessModal.untitledRecording') }
</h4>
<p class="text-sm text-[var(--text-muted)] mt-1">
- ${ t('reprocessModal.createdPrefix') } ${ new Date(reprocessRecording.created_at).toLocaleDateString(window.i18n?.currentLocale || 'en') }
+ ${ t('reprocessModal.createdPrefix') } ${ formatDisplayDate(reprocessRecording.created_at) }
</p>
</div>
</div>