Skip to content

Commit 00a01bd

Browse files
Sinetianzkqiang
authored andcommitted
修复英文语法和翻译错误
1 parent 81b02cf commit 00a01bd

File tree

2 files changed

+42
-42
lines changed

2 files changed

+42
-42
lines changed

docs/en/guide/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## About this Guide
66

7-
This guide is only for partial configuration instructions, **Not for the all configs**, For specific configuration requirements, please refer to the comments in the file `_config.yml` at the path of the theme. For more help, Please write your questions at [issues](https://github.com/fluid-dev/hexo-theme-fluid/issues/new).
7+
**This guide is only for partial configuration instructions, not for the all configs**, for specific configuration requirements, please refer to the comments in the file `_config.yml` at the path of the theme. For more help, Please write your questions at [issues](https://github.com/fluid-dev/hexo-theme-fluid/issues/new).
88

99
:::tip
1010
About the config file in the guide:
@@ -14,21 +14,21 @@ About the config file in the guide:
1414

1515
## Global
1616

17-
### Override Configuration
17+
### Configuration Override
1818

1919
:::tip
20-
Override configuration can avoid losing your customized configuration when updating Fluid.
20+
Configuration override can avoid losing your customized configuration while updating Fluid.
2121

22-
Users who installed Fluid via Npm can ignore it, other users are recommended to learn to use it.
22+
Users who installed Fluid via npm can ignore it, while we recommended other users to learn to use it.
2323
:::
2424

25-
If your Hexo version >= 5.0.0, create `_config.fluid.yml` in the blog directory and copy the content of [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml)
25+
If your Hexo version >= 5.0.0(`hexo -v`), please create `_config.fluid.yml` in the blog directory and copy the content of our theme's[_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml) into it.
2626

2727
Notice:
28-
- The configuration existing in `_config.fluid.yml` is of high priority, modifying `_config.yml` is useless.
28+
- The configuration existing in `_config.fluid.yml` is of high priority, so modifying `_config.yml` is useless.
2929
- There may be configuration changes in the upgraded theme, you need to manually modify `_config.fluid.yml` synchronously.
30-
- You can use `hexo g -- debug` to check override configuration.
31-
- If you want to cancel some configurations, you should do this:
30+
- You can use `hexo g -- debug` to check configuration override.
31+
- If you want to cancel some configurations, you should:
3232

3333
```yaml
3434
about:
@@ -38,7 +38,7 @@ about:
3838
```
3939

4040
<details>
41-
<summary>Hexo version < 5.0.0 click here</summary>
41+
<summary>If your Hexo version < 5.0.0, look here</summary>
4242

4343
You should make sure that your version of *Hexo* is not lower than *3.0*, because of the function about [data-files](https://hexo.io/docs/data-files.html)
4444

@@ -64,20 +64,20 @@ static_prefix:
6464
6565
### Local Search
6666
67-
- The hexo-generator-search plug-in has been integrated, please disable it if you had installed other search plug-ins to avoid generating redundant index files.
67+
- The `hexo-generator-search` plug-in has already been integrated, disable it if you had installed other search plug-ins to avoid generating redundant index files.
6868

6969
- By default, `local-search.xml` is generated in the root directory and being used.
7070

7171
### Banner Image
7272

73-
- image source
73+
- Image source
7474

75-
There is `banner_img` property for every pages in the **theme config**, it can be assigned a relative path or url.
75+
There is `banner_img` property for every pages in the **theme config**, which can be assigned as a relative path or url.
7676

7777
To use a local image:
7878

7979
```yaml
80-
banner_img: /img/bg/example.jpg # stored at /source/img/bg/example.jpg
80+
banner_img: /img/bg/example.jpg # At /source/img/bg/example.jpg
8181
```
8282

8383
To use a url:
@@ -89,16 +89,16 @@ banner_img: https://static.zkqiang.cn/example.jpg
8989
::: tip
9090
You can define the path yourself, but it should be in the `source` directory
9191

92-
The source directory of blog and fluid will be merged eventually, so the source of blog is preferred.
92+
The source directory of blog and Fluid will be merged eventually, so the source of blog is preferred.
9393
:::
9494

95-
- height
95+
- Image height
9696

9797
For different people's preferences, you can control the height of the `banner_img` on the page.
9898

9999
You can set `banner_img_height` for every pages in **theme config** with a valid range of 0 - 100. We think it is better to choose a number bigger than 70.
100100

101-
- alpha of mask
101+
- Alpha of mask
102102

103103
You can set `banner_mask_alpha` for every pages in **theme config** with a valid range of 0 - 1.0. 0 is completely transparent (no mask) while 1 is completely opaque.
104104

@@ -108,18 +108,18 @@ The banner of each post page can be set independently. You can read the config a
108108

109109
<InArticleAdsense :data-ad-client=$themeConfig.ads.client :data-ad-slot=$themeConfig.ads.inSlot is-new-ads-code="yes"></InArticleAdsense>
110110

111-
### Title of Blog
111+
### Title of your Blog
112112

113113
The title is on the left side of the banner. It can be set by modifying the property `title` in file **site config**, which is also the title of the browser's tab.
114114

115115
If you want to set varies titles for different pages, you can change the **theme config** as follows:
116116

117117
```yaml
118118
navbar:
119-
blog_title: your title
119+
blog_title: #your title
120120
```
121121

122-
### Navbar
122+
### Navigation bar
123123

124124
```yaml
125125
navbar:
@@ -129,9 +129,9 @@ navbar:
129129
- { key: 'about', link: '/about/', icon: 'iconfont icon-user-fill', name: 'About Me' }
130130
```
131131

132-
- `key`: relate to [multilingual] (/en/guide/#languages). If no related , the value of the key itself will be displayed
132+
- `key`: relates to [multilingual] (/en/guide/#languages). If no related , the value of the key itself will be displayed
133133
- `link`: href link
134-
- `icon`: css class of icon, can be omitted. [Built-in icons of theme](/en/icon/)
134+
- `icon`: css class of your icons which can be omitted. [View built-in icons of theme](/en/icon/)
135135
- `name`: force this name to be displayed (no longer in multiple languages), can be omitted
136136

137137
Navbar supports subordinate menu:
@@ -222,7 +222,7 @@ web_analytics:
222222

223223
### Languages
224224

225-
Set a different language in the **site config** will change the text of the theme:
225+
Setting a different language in the **site config** will change the text of the theme:
226226

227227
```yaml
228228
language: en
@@ -250,11 +250,11 @@ If it happens, you can change the **theme config** as follow:
250250
force_https: true
251251
```
252252

253-
Then all requests are forced by HTTPS (if it is an external resource, it needs to support HTTPS itself)
253+
Then all requests are forced by HTTPS. (if it is an external resource, it needs to support HTTPS itself)
254254

255255
### Custom JS / CSS / HTML
256256

257-
If you want to import external JS、CSS (such as iconfont) or HTML, you can set these in **theme config**:
257+
If you want to import external JS、CSS (such as `iconfont`) or HTML, you can set these in **theme config**:
258258

259259
```yaml
260260
# Set the path of the custom JS file, relative to the source directory

docs/en/start/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44

55
## Introduction
66

7-
Fluid is an elegant Material-Design theme for Hexo, developed by [Fluid-dev](https://github.com/fluid-dev)
7+
Developed by [Fluid-dev](https://github.com/fluid-dev), Fluid is an elegant Material-Design theme for Hexo.
88

9-
GitHub Repository: [https://github.com/fluid-dev/hexo-theme-fluid](https://github.com/fluid-dev/hexo-theme-fluid)
9+
GitHub Repo: [https://github.com/fluid-dev/hexo-theme-fluid](https://github.com/fluid-dev/hexo-theme-fluid)
1010

1111
Preview: [Fluid's blog](https://hexo.fluid-dev.com/) [zkqiang's blog](https://zkqiang.cn)
1212

1313
## Quick Start
1414

15-
### Install Hexo
15+
### Installing Hexo
1616

1717
If you don't have a hexo blog, please follow [Hexo Docs](https://hexo.io/docs/) to install and initialize your blog.
1818

19-
### Download Fluid
19+
### Downloading Fluid...
2020

21-
#### Method A
21+
#### via npm
2222

2323
Installing directly via Npm is recommended for Hexo version 5.0.0 and above. Run the following command in the blog directory:
2424

@@ -28,27 +28,27 @@ npm install --save hexo-theme-fluid
2828

2929
Then create `_config.fluid.yml` in the blog directory and copy the content of [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml)
3030

31-
#### Method B
31+
#### via releases
3232

3333
Download the [latest release](https://github.com/fluid-dev/hexo-theme-fluid/releases), then extract it to `themes` directory and renamed to `fluid`.
3434

35-
### Set theme
35+
### Setting theme
3636

3737
Edit `_config.yml` in the blog root directory as follows:
3838

3939
```yaml
4040
theme: fluid
4141
```
4242
43-
### Create about page
43+
### Creating the About Page
4444
4545
The about page needs to be created manually:
4646
4747
```bash
4848
hexo new page about
4949
```
5050

51-
Then edit `/source/about/index.md` and add `layout` attribute.
51+
Then edit `/source/about/index.md` under the blog directory and add `layout` attribute.
5252

5353
The modified example is as follows:
5454

@@ -58,34 +58,34 @@ title: This is a title
5858
layout: about
5959
---
6060

61-
You can write the content here, support Markdown, HTML
61+
You can write the content here, with the support of Markdown and HTML
6262
```
6363

6464
:::warning
65-
`layout: about` must exists and can not be modified as other values, otherwise avatar and other styles will not be shown.
65+
`layout: about` must exist and **can not** be modified as other values, otherwise avatar and other styles **will not be shown**.
6666
:::
6767

68-
## Theme Upgrade
68+
## Upgrading Fluid via...
6969

70-
#### Method A
70+
#### npm
7171

72-
> Applicable for Npm-installed theme.
72+
> Applicable for npm-installed theme.
7373
7474
Execute the command in your blog directory:
7575

7676
```bash
7777
npm update --save hexo-theme-fluid
7878
```
7979

80-
#### Method B
80+
#### files
8181

8282
> Applicable for installed theme via release and all codes have not been modified.
8383
84-
1. Backup your config files. We recommend you to use [override configuration](/en/guide/#override-configuration).
84+
1. Backup your config files. We recommend you to use [configuration override](/en/guide/#configuration-override).
8585

8686
2. Download the [latest release](https://github.com/fluid-dev/hexo-theme-fluid/releases), then replace the fluid directory.
8787

88-
#### Method C
88+
#### or if you changed codes
8989

9090
> Applicable to cases where some codes have been modified, or you want to pull the master branch.
9191
@@ -101,6 +101,6 @@ git pull https://github.com/fluid-dev/hexo-theme-fluid.git master
101101

102102
<InArticleAdsense :data-ad-client=$themeConfig.ads.client :data-ad-slot=$themeConfig.ads.inSlot is-new-ads-code="yes"></InArticleAdsense>
103103

104-
## License
104+
## Code License
105105

106106
[GPL-V3](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/LICENSE)

0 commit comments

Comments
 (0)