diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index bb13ae41..a26d7d6b 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -104,7 +104,8 @@ function getDeveloperSidebarZhCN() {
{
text: '开发手册',
children: [
- { text: '创建新主题', link: '/developer/theme' }
+ { text: '创建新主题', link: '/developer/theme' },
+ { text: 'l10n', link: '/developer/l10n' }
]
}
]
@@ -147,7 +148,8 @@ function getDeveloperSidebarEnUS() {
{
text: 'Development Manual',
children: [
- { text: 'Create a new theme', link: '/en_US/developer/theme' }
+ { text: 'Create a new theme', link: '/en_US/developer/theme' },
+ { text: 'l10n', link: '/en_US/developer/l10n' }
]
}
]
diff --git a/docs/developer/l10n.md b/docs/developer/l10n.md
new file mode 100644
index 00000000..03041011
--- /dev/null
+++ b/docs/developer/l10n.md
@@ -0,0 +1,8 @@
+**哪吒监控的Dashboard已经添加本地化,支持多个语言,你可以在开发新功能时遵循以下步骤来支持本地化**
+::: warning
+哪吒监控使用 Crowdin 平台翻译文本,请不要直接修改除 `zh-CN.toml` 以外的toml文件
+:::
+## 使用说明
+1. 你可以直接使用 `/resource/l10n/zh-CN.toml` 中的配置来替换新功能中的文本
+2. 如果新功能中有新的文本,请将新文本拉取到 `zh-CN.toml` 中
+3. 在Pull Request被合并后,你可以前往 [Crowdin 平台](https://crowdin.com/project/nezha)贡献新文本的翻译
\ No newline at end of file
diff --git a/docs/en_US/developer/l10n.md b/docs/en_US/developer/l10n.md
new file mode 100644
index 00000000..6e77bacd
--- /dev/null
+++ b/docs/en_US/developer/l10n.md
@@ -0,0 +1 @@
+Comming soon
\ No newline at end of file
diff --git a/docs/guide/settings.md b/docs/guide/settings.md
index 04f7d1d4..233be298 100644
--- a/docs/guide/settings.md
+++ b/docs/guide/settings.md
@@ -1,4 +1,18 @@
-## 多语言
+## 站点标题
+你可以在此项中自定义你的站点标题
+
+
+## 管理员列表
++ 如果你修改了自己的Github/Gitee用户名,可以在此项中同步修改,否则无法登陆,多个用户请用逗号隔开: `user1,user2`
+
++ 如需更改管理员账户,请在安装脚本中选择“修改面板设置”,重新设置新的管理员 `Client ID` 和 `Client Secret`
+
+
+## 主题
+在这里选择主页主题,如果选项中没有某个已存在的主题,请更新面板
+
+
+## Language
哪吒监控目前支持以下语言:
+ 简体中文
@@ -6,14 +20,15 @@
+ Español
[](https://crowdin.com/project/nezha)
-我们欢迎您贡献更多语言
+我们欢迎您对翻译进行勘误和贡献更多语言
## 自定义代码
改LOGO、改色调、加统计代码等。
:::warning
-自定义代码仅在游客首页生效。
+自定义代码仅在游客首页生效,管理面板不生效
+由于不同主题的代码不同,如确需修改管理面板中的内容,请自行前往 Docker 中研究修改
:::
@@ -79,3 +94,29 @@
}
```
+## 前台查看密码
+如果你不想直接展示你的主页,你可以在这里设置一个查看密码
+设置密码后,需要输入密码才可以访问主页
+
+
+## 未接入CDN的面板服务器域名/IP
+此项设置是使用一键脚本安装 Agent 的前提,详情请查看[这里](/guide/agent.html#%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C)
+
+
+## IP 变更提醒
+如果你希望当某个服务器的ip发生变更时收到通知,可以在这里进行设置
+#### 覆盖范围
+在这里选择一条规则,来确定需要监控哪些服务器,可以根据自己的需求进行选择
+#### 特定服务器
+配合覆盖范围的设置,在这里设置选定规则的排除项
+#### 提醒发送至指定的通知分组
+选择通知方式,通知方式请提前在 “报警” 页内设置
+
+:::warning
+**设置完成后,勾选启用时,通知生效**
+:::
+
+
+:::warning
+IP变更通知默认打码,如果你不希望打码,可以勾选 “通知信息IP不打码”
+:::
\ No newline at end of file