Skip to content

Commit fcd6eb9

Browse files
committed
调整语言翻译
1 parent 6077608 commit fcd6eb9

File tree

7 files changed

+53
-44
lines changed

7 files changed

+53
-44
lines changed

website/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {themes as prismThemes} from 'prism-react-renderer';
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: 'GeneralLibrary',
12-
tagline: 'This is a technology from an alien planet.',
11+
title: 'Team General',
12+
//tagline: 'This is a technology from an alien planet.',
1313
favicon: 'img/general.ico',
1414

1515
// Set the production url of your site here

website/i18n/en/docusaurus-theme-classic/navbar.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,21 @@
2626
"item.label.GitHub": {
2727
"message": "GitHub",
2828
"description": "Navbar item with label GitHub"
29+
},
30+
"item.label.Doc": {
31+
"message": "Doc",
32+
"description": "Navbar item with label Doc"
33+
},
34+
"item.label.Ecological partners": {
35+
"message": "Ecological partners",
36+
"description": "Navbar item with label Ecological partners"
37+
},
38+
"item.label.Cooperative enterprises": {
39+
"message": "Cooperative enterprises",
40+
"description": "Navbar item with label Cooperative enterprises"
41+
},
42+
"item.label.About": {
43+
"message": "About",
44+
"description": "Navbar item with label About"
2945
}
3046
}

website/src/components/HomepageFeatures/index.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ const FeatureList = [
66
{
77
title: 'GeneralUpdate',
88
Svg: require('@site/static/img/upgrade.svg').default,
9-
description: (
10-
<>
11-
帮助你的客户端应用以最快最小的资源的占用完成自动升级!
12-
</>
13-
),
9+
//description: (
10+
// <>
11+
// 帮助你的客户端应用以最快最小的资源的占用完成自动升级!
12+
// </>
13+
//),
1414
},
1515
{
1616
title: 'GeneralUpdate Tools',
1717
Svg: require('@site/static/img/packet.svg').default,
18-
description: (
19-
<>
20-
打包工具帮助您发布更新补丁包文件!
21-
</>
22-
),
18+
//description: (
19+
// <>
20+
// 打包工具帮助您发布更新补丁包文件!
21+
// </>
22+
//),
2323
},
2424
{
2525
title: 'GeneralUpdate Samples',
2626
Svg: require('@site/static/img/samples.svg').default,
27-
description: (
28-
<>
29-
快速启动,更快的了解项目如何使用!
30-
</>
31-
),
27+
//description: (
28+
// <>
29+
// 快速启动,更快的了解项目如何使用!
30+
// </>
31+
//),
3232
},
3333
];
3434

website/src/css/custom.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
9+
--ifm-color-primary: #000000; /* 黑色 */
10+
--ifm-color-primary-dark: #000000;
11+
--ifm-color-primary-darker: #000000;
12+
--ifm-color-primary-darkest: #000000;
13+
--ifm-color-primary-light: #333333; /* 更浅的黑色 */
14+
--ifm-color-primary-lighter: #666666;
15+
--ifm-color-primary-lightest: #999999;
1616
--ifm-code-font-size: 95%;
1717
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
2121
[data-theme='dark'] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
29-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
30-
}
22+
--ifm-color-primary: #ffffff; /* 白色 */
23+
--ifm-color-primary-dark: #eeeeee;
24+
--ifm-color-primary-darker: #dddddd;
25+
--ifm-color-primary-darkest: #cccccc;
26+
--ifm-color-primary-light: #ffffff;
27+
--ifm-color-primary-lighter: #ffffff;
28+
--ifm-color-primary-lightest: #ffffff;
29+
--docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.3);
30+
}

website/src/pages/About.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ description: 我的问候页面描述
44
hide_table_of_contents: true
55
---
66

7-
# 关于
8-
9-
本网站开源仓库:
7+
# About
108

9+
Website repository:
1110
- https://github.com/GeneralLibrary/GeneralUpdate-Samples/tree/main/website
12-
13-
如果需要补充文档可以提交代码至以上仓库,如有合作意向可以通过仓库issue或邮件联系我。

website/src/pages/CooperativeEnterprises.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ description: 我的问候页面描述
44
hide_table_of_contents: true
55
---
66

7-
# 企业合作
7+
# Corporate Collaboration
88

99
[![](imgs\irihi.jpg)](https://www.irihi.tech/index.html)
1010

11-
12-
13-
14-
1511
![](imgs\yundu.png)

website/src/pages/EcologicalPartners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 我的问候页面描述
44
hide_table_of_contents: true
55
---
66

7-
# 生态伙伴
7+
# Ecological partners
88

99
### 1.Semi.Avalonia
1010

0 commit comments

Comments
 (0)