From bccfeed431247ee7b7c9c362a4384185f140639c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 4 Mar 2025 17:54:52 +0200 Subject: [PATCH] feat(note_language): set language attribute for note --- src/public/app/widgets/note_language.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_language.ts b/src/public/app/widgets/note_language.ts index 28b633d0a..800ed7a88 100644 --- a/src/public/app/widgets/note_language.ts +++ b/src/public/app/widgets/note_language.ts @@ -4,6 +4,7 @@ import { getAvailableLocales, type Locale } from "../services/i18n.js"; import { t } from "i18next"; import type { EventData } from "../components/app_context.js"; import type FNote from "../entities/fnote.js"; +import attributes from "../services/attributes.js"; const TPL = `\