mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 20:01:33 +02:00
feat: implement internationalization (i18n) support
This commit is contained in:
parent
32ffec8480
commit
d6c98880d3
17 changed files with 247 additions and 18 deletions
5
src/types/index.d.ts
vendored
5
src/types/index.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
import type { langPath } from '@/utils/ui'
|
||||
|
||||
export interface ThemeConfig {
|
||||
|
||||
site: {
|
||||
|
@ -24,7 +26,8 @@ export interface ThemeConfig {
|
|||
}
|
||||
|
||||
global: {
|
||||
language: string
|
||||
locale: typeof langPath[number]
|
||||
moreLocale: typeof langPath[number][]
|
||||
font: string
|
||||
rss: boolean
|
||||
toc: boolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue