Add Multilanguage support for creator notes

This commit is contained in:
kwaroran
2024-03-16 14:40:10 +09:00
parent c46744f4e4
commit 527520566d
8 changed files with 158 additions and 28 deletions

View File

@@ -5,17 +5,13 @@
<XIcon />
</button>
</h1>
<div class="ml-2 max-w-full break-words text chat chattext prose prose-invert">
{#await ParseMarkdown(quote) then md}
{@html md}
{/await}
</div>
<MultiLangDisplay value={quote} markdown={true} />
</div>
</div>
<script lang="ts">
import { XIcon } from "lucide-svelte";
import { language } from "src/lang";
import { ParseMarkdown } from "src/ts/parser";
import MultiLangDisplay from "../UI/GUI/MultiLangDisplay.svelte";
export let onRemove: () => void
export let quote:string