File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,11 @@ export default defineConfig({
103103 label : locale . label ,
104104 lang : locale . lang ,
105105 themeConfig : {
106+ sidebarMenuLabel : locale . sidebarMenuLabel ,
107+ darkModeSwitchLabel : locale . darkModeSwitchLabel ,
108+ outlineTitle : locale . outlineTitle ,
109+ returnToTopLabel : locale . returnToTopLabel ,
110+ docFooter : locale . docFooter ,
106111 nav : locale . nav ,
107112 sidebar : locale . sidebar
108113 }
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ import { fileURLToPath } from 'node:url'
55export type SiteLocale = {
66 label : string
77 lang : string
8+ sidebarMenuLabel ?: string
9+ darkModeSwitchLabel ?: string
10+ outlineTitle ?: string
11+ returnToTopLabel ?: string
12+ docFooter ?: {
13+ prev ?: string
14+ next ?: string
15+ }
816 nav : Array < { text : string ; link : string } >
917 sidebar : Array < {
1018 text : string
Original file line number Diff line number Diff line change 11{
22 "label" : " English" ,
33 "lang" : " en" ,
4+ "sidebarMenuLabel" : " Menu" ,
5+ "darkModeSwitchLabel" : " Appearance" ,
6+ "outlineTitle" : " On this page" ,
7+ "returnToTopLabel" : " Return to top" ,
8+ "docFooter" : {
9+ "prev" : " Previous page" ,
10+ "next" : " Next page"
11+ },
412 "nav" : [
513 { "text" : " Home" , "link" : " /en/" },
614 { "text" : " Guide" , "link" : " /en/get-started" }
Original file line number Diff line number Diff line change 11{
22 "label" : " Hrvatski" ,
33 "lang" : " hr" ,
4+ "sidebarMenuLabel" : " Izbornik" ,
5+ "darkModeSwitchLabel" : " Izgled" ,
6+ "outlineTitle" : " Na ovoj stranici" ,
7+ "returnToTopLabel" : " Povratak na vrh" ,
8+ "docFooter" : {
9+ "prev" : " Prethodna stranica" ,
10+ "next" : " Sljedeća stranica"
11+ },
412 "nav" : [
513 { "text" : " Početna" , "link" : " /hr/" },
614 { "text" : " Vodič" , "link" : " /hr/get-started" }
Original file line number Diff line number Diff line change 11{
22 "label" : " 简体中文" ,
33 "lang" : " zh-CN" ,
4+ "sidebarMenuLabel" : " 菜单" ,
5+ "darkModeSwitchLabel" : " 外观" ,
6+ "outlineTitle" : " 本页内容" ,
7+ "returnToTopLabel" : " 返回顶部" ,
8+ "docFooter" : {
9+ "prev" : " 上一页" ,
10+ "next" : " 下一页"
11+ },
412 "nav" : [
513 { "text" : " 首页" , "link" : " /zh/" },
614 { "text" : " 指南" , "link" : " /zh/get-started" }
You can’t perform that action at this time.
0 commit comments