From 7d5f18d8a1788ff5eb3f9a39b73204ab1badf6ee Mon Sep 17 00:00:00 2001 From: L4Ph Date: Sun, 3 Aug 2025 22:23:18 +0900 Subject: [PATCH] fix: update language options in SiteConfig for clarity and completeness --- src/config.ts | 2 +- src/types/config.ts | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 2395249f..aec790a9 100644 --- a/src/config.ts +++ b/src/config.ts @@ -10,7 +10,7 @@ import { LinkPreset } from "./types/config"; export const siteConfig: SiteConfig = { title: "Fuwari", subtitle: "Demo Site", - lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th', 'vi', 'id' + lang: "en", // Language code, e.g. 'en', 'zh-CN', 'ja', etc. themeColor: { hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345 fixed: false, // Hide the theme color picker for visitors diff --git a/src/types/config.ts b/src/types/config.ts index d7c7409d..c2c6a615 100644 --- a/src/types/config.ts +++ b/src/types/config.ts @@ -4,7 +4,17 @@ export type SiteConfig = { title: string; subtitle: string; - lang: "en" | "zh_CN" | "zh_TW" | "ja" | "ko" | "es" | "th" | "vi" | "tr"; + lang: + | "en" + | "zh_CN" + | "zh_TW" + | "ja" + | "ko" + | "es" + | "th" + | "vi" + | "tr" + | "id"; themeColor: { hue: number;