From feadd0da19226367e3c0f517d8a4ec223a3405b6 Mon Sep 17 00:00:00 2001 From: tys1128 Date: Wed, 19 Aug 2020 09:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BD=8D=E7=BD=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/styleguide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/content/guide/styleguide.md b/aio/content/guide/styleguide.md index 9eb383f50a..54fe23fcdd 100644 --- a/aio/content/guide/styleguide.md +++ b/aio/content/guide/styleguide.md @@ -435,7 +435,7 @@ Abbreviations such as `.srv`, `.svc`, and `.serv` can be confusing. **Do** use upper camel case for class names. -**坚持**使用大写驼峰命名法来命名类。符号名匹配它所在的文件名。 +**坚持**使用大写驼峰命名法来命名类。 @@ -443,7 +443,7 @@ Abbreviations such as `.srv`, `.svc`, and `.serv` can be confusing. **Do** match the name of the symbol to the name of the file. -**坚持**在符号名后面追加约定的类型后缀(例如 `Component`、`Directive`、`Module`、`Pipe`、`Service`)。 +**坚持**匹配符号名与它所在的文件名。 @@ -452,7 +452,7 @@ Abbreviations such as `.srv`, `.svc`, and `.serv` can be confusing. **Do** append the symbol name with the conventional suffix (such as `Component`, `Directive`, `Module`, `Pipe`, or `Service`) for a thing of that type. -**坚持**在符号名后面追加约定的类型后缀(例如 `.component.ts`、`.directive.ts`、`.module.ts`、`.pipe.ts`、`.service.ts`)。 +**坚持**在符号名后面追加约定的类型后缀(例如 `Component`、`Directive`、`Module`、`Pipe`、`Service`)。