mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
Localization update
This commit is contained in:
@@ -44,7 +44,7 @@ export default defineUserConfig({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"en": {
|
"/en/": {
|
||||||
placeholder: "Search documents",
|
placeholder: "Search documents",
|
||||||
translations:{
|
translations:{
|
||||||
button:{
|
button:{
|
||||||
|
|||||||
@@ -2,39 +2,39 @@ import { sidebar } from "vuepress-theme-hope";
|
|||||||
|
|
||||||
export const enSidebar = sidebar({
|
export const enSidebar = sidebar({
|
||||||
"/en/": [
|
"/en/": [
|
||||||
"",
|
"",
|
||||||
{
|
{
|
||||||
icon: "workingDirectory",
|
icon: "workingDirectory",
|
||||||
text: "Project",
|
text: "Project",
|
||||||
link: "project.md"
|
link: "project.md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "network",
|
icon: "network",
|
||||||
text: "Localization",
|
text: "Localization",
|
||||||
link: "i18n.md"
|
link: "i18n.md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "play",
|
icon: "play",
|
||||||
text: "Quick Start",
|
text: "Quick Start",
|
||||||
link: "quick-start.md"
|
link: "quick-start.md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "read",
|
icon: "read",
|
||||||
text: "Features",
|
text: "Features",
|
||||||
prefix: "features/",
|
prefix: "features/",
|
||||||
children: "structure"
|
children: "structure"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "advance",
|
icon: "advance",
|
||||||
text: "Advanced",
|
text: "Advanced",
|
||||||
prefix: "advanced/",
|
prefix: "advanced/",
|
||||||
children: "structure"
|
children: "structure"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "article",
|
icon: "article",
|
||||||
text: "Statements",
|
text: "Statements",
|
||||||
prefix: "statements/",
|
prefix: "statements/",
|
||||||
children: "structure"
|
children: "structure"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export default hopeTheme({
|
|||||||
/**
|
/**
|
||||||
* Chinese locale config
|
* Chinese locale config
|
||||||
*/
|
*/
|
||||||
"/": {
|
"/zh/": {
|
||||||
// navbar
|
// navbar
|
||||||
navbar: zhNavbar,
|
navbar: zhNavbar,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user