first prototype of i18n system

This commit is contained in:
thislight 2024-09-26 17:23:40 +08:00
parent d3a7602fb5
commit b4fa751345
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
9 changed files with 348 additions and 20 deletions

View file

@ -3,6 +3,8 @@ import { persistentMap } from "@nanostores/persistent";
type Settings = {
onGoingOAuth2Process?: string;
prefetchTootsDisabled?: boolean;
language?: string;
region?: string;
};
export const $settings = persistentMap<Settings>(