Fix errors with intl extraction, extract error.vue (#3421)

* Fix errors with intl extraction, extract error.vue

* Update changelog and fix lint
This commit is contained in:
Prospector
2025-03-25 10:38:04 -07:00
committed by GitHub
parent ffc69dbaba
commit a20374d6e3
9 changed files with 117 additions and 18 deletions

View File

@@ -521,9 +521,15 @@ function handleAuxClick(e) {
width: 'calc(100% - var(--right-bar-width))',
}"
></div>
<div v-if="criticalErrorMessage" class="m-6 mb-0 flex flex-col border-red bg-bg-red rounded-2xl border-2 border-solid p-4 gap-1 font-semibold text-contrast">
<div
v-if="criticalErrorMessage"
class="m-6 mb-0 flex flex-col border-red bg-bg-red rounded-2xl border-2 border-solid p-4 gap-1 font-semibold text-contrast"
>
<h1 class="m-0 text-lg font-extrabold">{{ criticalErrorMessage.header }}</h1>
<div class="markdown-body text-primary" v-html="renderString(criticalErrorMessage.body ?? '')"></div>
<div
class="markdown-body text-primary"
v-html="renderString(criticalErrorMessage.body ?? '')"
></div>
</div>
<RouterView v-slot="{ Component }">
<template v-if="Component">