mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-13 00:15:14 +00:00
fix: replace %lang% placeholder in html lang (#1071)
Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import { z } from 'zod/v4';
|
||||
export async function setLocale(locale: Locale, reload = true) {
|
||||
await setLocaleForLibraries(locale);
|
||||
setParaglideLocale(locale, { reload });
|
||||
document.documentElement.lang = locale;
|
||||
}
|
||||
|
||||
export async function setLocaleForLibraries(
|
||||
|
||||
Reference in New Issue
Block a user