From 55f1ef014b593610a8b94fb714182f9310424399 Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Fri, 14 Feb 2020 09:20:10 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=87=E5=AD=97=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/schematics-authoring.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/schematics-authoring.md b/aio/content/guide/schematics-authoring.md index 49c58e5465..abfcd64012 100644 --- a/aio/content/guide/schematics-authoring.md +++ b/aio/content/guide/schematics-authoring.md @@ -37,11 +37,11 @@ When making modifications, you don't actually change the base, but add those mod * A `Rule` object defines a function that takes a `Tree`, applies transformations, and returns a new `Tree`. The main file for a schematic, `index.ts`, defines a set of rules that implement the schematic's logic. - `Rule`(规则)对象定义了一个函数,它接受 `Tree`,进行变换,并返回一个新的 `Tree` 。原理图的主文件 `index.ts` 定义了一组实现原理图逻辑的规则。 + `Rule`(规则)对象定义了一个函数,它接受 `Tree`,进行转换,并返回一个新的 `Tree` 。原理图的主文件 `index.ts` 定义了一组实现原理图逻辑的规则。 * A transformation is represented by an `Action`. There are four action types: `Create`, `Rename`, `Overwrite`, and `Delete`. - 变换由 `Action`(动作)表示。有四种动作类型:`Create`、`Rename`、`Overwrite` 和 `Delete` 。 + 转换由 `Action`(动作)表示。有四种动作类型:`Create`、`Rename`、`Overwrite` 和 `Delete` 。 * Each schematic runs in a context, represented by a `SchematicContext` object.