Skip to content

Commit

Permalink
l10n(zh-CN): New translations from Crowdin (#2328)
Browse files Browse the repository at this point in the history
Co-authored-by: hexo-crowdin[bot] <159447924+hexo-crowdin[bot]@users.noreply.github.com>
  • Loading branch information
hexo-crowdin[bot] authored Feb 11, 2025
1 parent b7e4a66 commit cc6782b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions source/zh-cn/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ $ hexo render <file1> [file2] ...

渲染文件。

| 选项 | 描述 |
| ---------------- | ------------------ |
| `-o`, `--output` | Output destination |
| 选项 | 描述 |
| ---------------- | ------ |
| `-o`, `--output` | 输出目标地址 |

## migrate

Expand Down Expand Up @@ -171,7 +171,7 @@ $ hexo --debug
$ hexo --silent
```

Silences output to the terminal.
静默输出到终端.

### 自定义配置文件的路径

Expand Down
2 changes: 1 addition & 1 deletion source/zh-cn/docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Hexo 有强大的插件系统,使您能轻松扩展功能而不用修改核心

### 脚本(Scripts)

如果您的代码较复杂,或是您想要发布到 NPM 上,建议您编写插件。 首先,在 `node_modules` 文件夹中建立文件夹,文件夹名称开头必须为 `hexo-`,如此一来 Hexo 才会在启动时加载;否则 Hexo 将会忽略它
如果你的插件相对简单,建议使用脚本。 你只需将 JavaScript 文件放入 `scripts` 文件夹,Hexo 就会在初始化时加载它们

### 插件(Packages)

Expand Down
6 changes: 4 additions & 2 deletions source/zh-cn/docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ title: 变量
| ----------------- | ---- | --------------------------- |
| `site.posts` | 所有文章 | `array`,包含了站点全部的文章 `object` |
| `site.pages` | 所有分页 | `array`,包含了站点全部的分页 `object` |
| `site.categories` | 所有分类 | `array` of ??? |
| `site.tags` | 所有标签 | `array` of ??? |
| `site.categories` | 所有分类 | [Query][queryo] object |
| `site.tags` | 所有标签 | [Query][queryo] object |

### 页面变量

Expand Down Expand Up @@ -96,4 +96,6 @@ title: 变量
| ---------- | ---- | -------- |
| `page.tag` | 标签名称 | `string` |

[queryo]: https://hexojs.github.io/warehouse/classes/query.default.html

[Moment.js]: http://momentjs.com/

0 comments on commit cc6782b

Please sign in to comment.