Skip to content

Commit bca95eb

Browse files
authored
New Crowdin updates (#450)
* New translations api.md (Chinese Simplified) * New translations update.md (Chinese Simplified) * New translations update.md (Chinese Simplified) * New translations extenders.md (Chinese Simplified)
1 parent 6b4ad77 commit bca95eb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

i18n/zh/docusaurus-plugin-content-docs/current/extend/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To use the built-in REST API as part of an integration, see [Consuming the REST
88

99
:::
1010

11-
## API Request Lifecycle
11+
## API请求生命周期
1212

1313
Before we go into detail about how to extend Flarum's data API, it's worth thinking about the lifecycle of a typical API request:
1414

i18n/zh/docusaurus-plugin-content-docs/current/extenders.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Local Extenders
1+
# 本地扩展
22

3-
If there are customizations you want to make to your site without distributing an entire extension, you can do so by using **local extenders**. Each Flarum installation comes with an `extend.php` file where you can add extender instances, just like in a full extension.
3+
如果您想要在没有分发整个扩展的情况下自定义您的站点, 您可以通过使用 **本地扩展** 来做到这一点。 Each Flarum installation comes with an `extend.php` file where you can add extender instances, just like in a full extension.
44

55
See our [extension documentation](extend/start.md) for more information about extenders (and even an [example of a local extender](extend/start.md#hello-world)).
66

i18n/zh/docusaurus-plugin-content-docs/current/update.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
**第1步:**确保你所有的扩展程序的版本与你要安装的Flarum版本兼容。 这只在主要版本之间需要(例如,如果从v1.0.0升级到v1.1.0,你可能不需要检查这个,假设你使用的扩展遵循建议的版本划分)。 你可以通过查看扩展的[讨论贴](https://discuss.flarum.org/t/extensions),在[Packagist](http://packagist.org/)上搜索它,或者查看[Extiverse](https://extiverse.com)等数据库来检查。 在更新之前,您需要删除(不仅仅禁用) 任何不兼容的扩展。 请耐心等待扩展开发者更新!
1010

11-
**第2步:** 查看您的 `composer.json` 文件。 Unless you have a reason to require specific versions of extensions or libraries, you should set the version string of everything except `flarum/core` to `*` (including `flarum/tags`, `flarum/mentions`, and other bundled extensions). Make sure `flarum/core` is NOT set to `*`. If you're targeting a specific version of Flarum, set `flarum/core` to that (e.g. `"flarum/core": "v0.1.0-beta.16`). If you just want the most recent version, use `"flarum/core": "^1.0"`.
11+
**第2步:** 查看您的 `composer.json` 文件。 除非您有理由要求特定版本的扩展或库; 您应该将除 `flarum/core` 以外的所有版本字符串设置为 `*` (包括 `flarum/tags`, `flarum/mention`和其他捆绑的扩展)。 但请确认 `flarum/core` 未设置为 `*`。 如果你针对的是特定版本的Flarum, 请设置 `flarum/core` 为指定版本(例如, `"flarum/core": "v0.1.0-bet.16`)。 如果你只想要最新的版本,请使用 `"flarum/core": "^1.0"`
1212

1313
**Step 3:** If your local install uses [local extenders](extenders.md), make sure they are up to date with changes in Flarum.
1414

@@ -36,17 +36,17 @@ php flarum cache:clear
3636
4. Remove the `"minimum-stability": "beta",` line from your `composer.json`
3737
5. Do steps 6 and 7 above.
3838

39-
## Troubleshooting Issues
39+
## 故障排除
4040

4141
Flarum 正处于测试阶段,有关如何更新的说明将在每次 [版本发布公告](https://discuss.flarum.org/t/blog?sort=newest)中公示。
4242

43-
### Errors While Updating
43+
### 更新时出错
4444

45-
Here we'll go through several common types of issues while trying to update Flarum.
45+
这里我们将会处理尝试更新 Flarum 时出现的几种常见问题。
4646

4747
---
4848

49-
If the output is short and contains:
49+
如果输出较短且包含:
5050

5151
```
5252
Nothing to modify in lock file
@@ -61,7 +61,7 @@ Or does not list `flarum/core` as an updated package, and you are not on the lat
6161

6262
For other errors, try running `composer why-not flarum/core VERSION_YOU_WANT_TO_UPGRADE_TO`
6363

64-
If the output looks something like this:
64+
如果输出看起来像这样:
6565

6666
```
6767
flarum/flarum - requires flarum/core (v0.1.0-beta.15)
@@ -97,4 +97,4 @@ If none of this fixes your issue, feel free to reach out on our [Support forum](
9797

9898
### Errors After Updating
9999

100-
If you are unable to access your forum after updating, follow our [troubleshooting instructions](troubleshoot.md).
100+
如果您在更新后无法访问您的论坛,请遵循我们的 [故障排除说明](troubleshoot.md)

0 commit comments

Comments
 (0)