Localization

This commit is contained in:
Masterain
2023-03-17 22:59:58 -07:00
parent 406b92f515
commit b721cedf34
11 changed files with 53 additions and 60 deletions

View File

@@ -1,11 +1,16 @@
import { navbar } from "vuepress-theme-hope";
export const enNavbar = navbar([
"/en",
{ text: "Document", icon: "article", link: "/features/README.md" },
"/en/",
{ text: "Document", icon: "article", link: "/en/features/"},
{
text: "Download",
icon: "install",
link: "https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52",
},
{
text: "Community",
icon: "community",
link: "/en/community.md"
},
]);

View File

@@ -3,10 +3,38 @@ import { sidebar } from "vuepress-theme-hope";
export const enSidebar = sidebar({
"/en/": [
"",
{
icon: "workingDirectory",
text: "Project",
link: "project.md"
},
{
icon: "network",
text: "Localization",
link: "i18n.md"
},
{
icon: "play",
text: "快速开始",
text: "Quick Start",
link: "quick-start.md"
},
{
icon: "read",
text: "Features",
prefix: "features/",
children: "structure"
},
{
icon: "advance",
text: "Advanced",
prefix: "advanced/",
children: "structure"
},
{
icon: "article",
text: "Statements",
prefix: "statements/",
children: "structure"
}
],
});

View File

@@ -10,9 +10,9 @@ actions:
link: https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52
type: primary
- text: 快速开始
link: /quick-start.md
link: quick-start.md
- text: 文档
link: /features/
link: features/
- text: 项目介绍
link: project.md
@@ -80,12 +80,3 @@ features:
copyright: false
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
---
<iframe
:src="$withBase('/markmap/zh.html')"
width="100%"
height="400"
frameborder="0"
scrolling="No"
leftmargin="0"
topmargin="0"
/>

View File

@@ -3,16 +3,16 @@ home: true
icon: home
title: Home
heroImage: https://img.alicdn.com/imgextra/i1/1797064093/O1CN01TOz2Cm1g6du5e8Hml_!!1797064093.png
heroText: 胡桃工具箱
heroText: Snap Hutao
tagline: Multifunctional open-source Genshin Utility
actions:
- text: Download
link: https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52
type: primary
- text: Quick Start
link: /quick-start.md
link: quick-start.md
- text: Document
link: /features/
link: features/
- text: Project
link: project.md
@@ -22,7 +22,7 @@ features:
details: Snap.Hutao has more extensive data support and better client performance while inheriting all Snap.Genshin functionality
link: /project.md
- title: 实时便笺
- title: DailyNote
icon: /images/202301/live-stat-tracking-logo.png
details: 不必再被手机 App 所束缚;在你的电脑就能直接获取米游社实时便笺信息并收到 Windows 原生通知提示
link: /features/daily-notes.md
@@ -57,7 +57,7 @@ features:
details: Check out the details of community's current Spiral Abyss teaming, weapon matching, and artifact set matching; share your own Spiral Abyss lineup configuration
link: /features/hutao-api.md
- title: 属性统计
- title: My Characters
icon: /images/202211/character-data-logo.png
details: View detailed data about the player's character, including level, constellations, weapons, talents, artifact set, etc.; automatically calculate artifact set score
link: /features/character-data.md
@@ -81,12 +81,3 @@ copyright: false
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
---
<iframe
:src="$withBase('/markmap/zh.html')"
width="100%"
height="400"
frameborder="0"
scrolling="No"
leftmargin="0"
topmargin="0"
>

View File

@@ -38,5 +38,5 @@ order: 10
::: info 安全提示
- `Stoken` 是一个安全敏感的 cookie 字段,你**不应该**在任何云端或其它无法保证数据安全的设备上储存含有 `Stoken` 字段的 cookie。
- 从胡桃工具箱中复制获得的 cookie 中包含该字段,请慎重考虑是否为接受 cookie 的一方提供 `Stoken` 字段。
- **在胡桃工具箱中通过密码或 cookie 登录米游社的过程中,你的数据只经米游社服务器和本地胡桃工具箱处理,不经过包括胡桃服务器在内的任何第三方服务。** :::</strong>
- **在胡桃工具箱中通过密码或 cookie 登录米游社的过程中,你的数据只经米游社服务器和本地胡桃工具箱处理,不经过包括胡桃服务器在内的任何第三方服务。**
:::

View File

@@ -16,7 +16,8 @@ If you download and use **Snap Hutao**you are agree to our[ terms of service]
## Video Tutorial
For most people, follow the instruction on this page is more effiency.
However, if you are not familiar with the operation mentioned below, you can come back the follow the video tutorial. ::: details Snap Hutao Tutorial - Microsoft Store Installation
However, if you are not familiar with the operation mentioned below, you can come back the follow the video tutorial.
::: details Snap Hutao Tutorial - Microsoft Store Installation (zh-CN)
<BiliBili bvid="BV13A411k7B4" />
:::

View File

@@ -4,6 +4,6 @@ comment: statements and Announcements
index: false
---
# 声明和公告
# Statements
<AutoCatalog />

View File

@@ -15,15 +15,15 @@ order: 2
- You can submit bug reports when you find reproducible issue that cannbot be fixed by youself
- When submitting the issue, you should describe the problem in as much detail as you can.Screenshots of error should be attached if you have.This is help us to identify the issue faster.
- A good example is [DGP-Studio/Snap.Hutao/issues/100](https://github.com/DGP-Studio/Snap.Hutao/issues/100)
- If you are able to fix the issue from code, you are also welcome to make PRs directly. </strong>
- If you are able to fix the issue from code, you are also welcome to make PRs directly.
### Client Issue
- Check if the document already answered your issue
- Make sure you are in latest version
- Make sure you are in the latest version
- You can check FAQ document in the sidebar
- [FAQ](/advanced/FAQ.md)
- [FAQ](../advanced/FAQ.md)
- Open an Issue <Badge text="推荐" type="tip" />
- Open an Issue <Badge text="Recommended" type="tip" />
- [github.com/DGP-Studio/Snap.Hutao/issues/new/choose](https://github.com/DGP-Studio/Snap.Hutao/issues/new/choose)
- Open Issue on QQ Support (zh-CN only)
- [support.qq.com/products/451231](https://support.qq.com/products/451231)

View File

@@ -6,7 +6,7 @@ order: 1
---
# Update Logs
## 1.5.4 <Badge text="最新版" type="tip" />
## 1.5.4 <Badge text="latest" type="tip" />
- Add
- Game Launcher
- Game resource package download

View File

@@ -1,23 +0,0 @@
# 胡桃工具箱
## 米游社功能
- 活动公告
- 帐号登录
- 实时便笺
- 深境螺旋
- 我的深渊记录
- 胡桃数据库 - 深渊数据
## 游戏性增强
- 高级启动器
- 祈愿记录
- 成就管理
## 养成计划
- 养成计算器
- 属性统计
- 角色 Wiki
- 武器 Wiki

View File

@@ -25,7 +25,7 @@ order: 2
- 在提交问题前,请务必检查文档内是否已包含了你的问题
- 首先需要确认您使用的版本是否为最新版本
- 您可以通过菜单栏中的“常见问题”分类找到这些文档
- [快速解答](/advanced/FAQ.md)
- [快速解答](../advanced/FAQ.md)
- 通过 GitHub 提交问题 <Badge text="推荐" type="tip" />
- [github.com/DGP-Studio/Snap.Hutao/issues/new/choose](https://github.com/DGP-Studio/Snap.Hutao/issues/new/choose)