Skip to content

Commit 4d27ec6

Browse files
docs: display zh-hans in the docs language switcher (#16686)
* docs: display zh-hans in the docs language switcher * Update docs/src/_data/sites/zh-hans.yml Co-authored-by: Milos Djermanovic <[email protected]> Co-authored-by: Milos Djermanovic <[email protected]>
1 parent 8bda20e commit 4d27ec6

1 file changed

Lines changed: 116 additions & 0 deletions

File tree

docs/src/_data/sites/zh-hans.yml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
#------------------------------------------------------------------------------
2+
# Simplified Chinese Site Details
3+
# The documentation site that is hosted at zh-hans.eslint.org/docs
4+
# Author: Percy Ma
5+
#------------------------------------------------------------------------------
6+
7+
#------------------------------------------------------------------------------
8+
# Global Settings
9+
#------------------------------------------------------------------------------
10+
11+
language:
12+
code: zh-hans
13+
flag: 🇨🇳
14+
name: 简体中文
15+
locale: zh-hans
16+
hostname: zh-hans.eslint.org
17+
18+
#------------------------------------------------------------------------------
19+
# Analytics
20+
#------------------------------------------------------------------------------
21+
22+
google_analytics:
23+
code: "G-6ELXTK7GZR"
24+
25+
#------------------------------------------------------------------------------
26+
# Ads
27+
#------------------------------------------------------------------------------
28+
29+
carbon_ads:
30+
serve: ""
31+
placement: ""
32+
33+
#------------------------------------------------------------------------------
34+
# Shared
35+
#------------------------------------------------------------------------------
36+
37+
shared:
38+
get_started: 开始
39+
become_a_sponsor: 捐赠
40+
eslint_logo_alt: ESLint 图标
41+
description: >
42+
插件化、可配置的 JavaScript 代码检查工具,让你轻松地提高代码质量。
43+
title_format: PAGE_TITLE - ESLint - 插件化的 JavaScript 代码检查工具
44+
skip_to_content: 跳转到正文
45+
donate: 捐赠
46+
47+
#------------------------------------------------------------------------------
48+
# Navigation
49+
#------------------------------------------------------------------------------
50+
51+
navigation:
52+
- text: 团队
53+
link: team
54+
- text: 博客
55+
link: blog
56+
- text: 文档
57+
link: docs
58+
- text: 商店
59+
link: store
60+
target: _blank
61+
- text: 演练场
62+
link: playground
63+
64+
#------------------------------------------------------------------------------
65+
# Footer
66+
#------------------------------------------------------------------------------
67+
68+
footer:
69+
title: 准备修复你的 JavaScript 代码了吗?
70+
description: 从 npm 安装或捐赠开始。
71+
secondary: 次要
72+
social_icons:
73+
title: 社交媒体
74+
twitter: Twitter
75+
chat: Discord
76+
mailing_list: Google Group
77+
github: GitHub
78+
theme_switcher:
79+
title: 主题切换
80+
light: 浅色
81+
dark: 深色
82+
language_switcher:
83+
title: 语言切换
84+
description: 切换到你所选择语言版本对应的 ESLint 网站。
85+
change_language: 更改语言
86+
language: 语言
87+
copyright: >
88+
&copy; OpenJS Foundation and ESLint contributors, <a href="https://www.openjsf.org">www.openjsf.org</a>
89+
links:
90+
open_jsf: OpenJS 基金会
91+
terms: 使用条款
92+
privacy: 隐私策略
93+
bylaws: OpenJS 基金会章程
94+
trademark: 商标策略
95+
trademark_list: 商标列表
96+
cookies: Cookie 策略
97+
98+
#------------------------------------------------------------------------------
99+
# 404 Page
100+
#------------------------------------------------------------------------------
101+
102+
404_page:
103+
title: 404 错误
104+
subtitle: 页面未找到
105+
description: 对不起,你正在寻找的页面不存在或已被移动。
106+
actions:
107+
back_to_home: 回到主页
108+
browse_docs: 浏览文档
109+
110+
#------------------------------------------------------------------------------
111+
# Edit link
112+
#------------------------------------------------------------------------------
113+
114+
edit_link:
115+
start_with: https://github.com/eslint/eslint/edit/main/docs/
116+
text: 编辑此页

0 commit comments

Comments
 (0)