Skip to content

Commit 7d5f18d

Browse files
committed
fix: update language options in SiteConfig for clarity and completeness
1 parent 7bb75ef commit 7d5f18d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { LinkPreset } from "./types/config";
1010
export const siteConfig: SiteConfig = {
1111
title: "Fuwari",
1212
subtitle: "Demo Site",
13-
lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th', 'vi', 'id'
13+
lang: "en", // Language code, e.g. 'en', 'zh-CN', 'ja', etc.
1414
themeColor: {
1515
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
1616
fixed: false, // Hide the theme color picker for visitors

src/types/config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ export type SiteConfig = {
44
title: string;
55
subtitle: string;
66

7-
lang: "en" | "zh_CN" | "zh_TW" | "ja" | "ko" | "es" | "th" | "vi" | "tr";
7+
lang:
8+
| "en"
9+
| "zh_CN"
10+
| "zh_TW"
11+
| "ja"
12+
| "ko"
13+
| "es"
14+
| "th"
15+
| "vi"
16+
| "tr"
17+
| "id";
818

919
themeColor: {
1020
hue: number;

0 commit comments

Comments
 (0)