From 1c13200b98543bac55debde818c7b414c033dae8 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Tue, 18 Oct 2016 20:28:42 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=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 --- public/docs/ts/latest/guide/style-guide.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/docs/ts/latest/guide/style-guide.jade b/public/docs/ts/latest/guide/style-guide.jade index 2017321247..cab987a3e2 100644 --- a/public/docs/ts/latest/guide/style-guide.jade +++ b/public/docs/ts/latest/guide/style-guide.jade @@ -1370,7 +1370,7 @@ a(href="#toc") 回到顶部 keep the `F`lattest structure you can, and `T`ry to be DRY. - **坚持**组织应用的结构,达到这些目的:快速定位(`L`ocate)代码、一眼识别(`I`dentify)代码、尽量保持平面化结构(`F`lattest)和尝试`T`ry遵循不重复自己DRY - Do Not Repeat Yourself原则。 + **坚持**组织应用的结构,达到这些目的:快速定位(`L`ocate)代码、一眼识别(`I`dentify)代码、尽量保持扁平结构(`F`lattest)和尝试`T`ry遵循不重复自己DRY - Do Not Repeat Yourself原则。 .s-rule.do @@ -1470,7 +1470,7 @@ a(href="#toc") 回到顶部 .l-main-section :marked ### Flat - ### 平面化 + ### 扁平 #### Style 04-04 #### 风格04-04 @@ -1478,7 +1478,7 @@ a(href="#toc") 回到顶部 :marked **Do** keep a flat folder structure as long as possible. - **坚持**尽可能保持平面化的目录结构。 + **坚持**尽可能保持扁平的目录结构。 .s-rule.consider :marked @@ -1746,7 +1746,7 @@ a(href="#toc") 回到顶部 :marked **Do** create an Angular module in the app's root folder (e.g., in `/app`). - **坚持**在应用的根部创建一个Angular模块(不如`/app`)。 + **坚持**在应用的根部创建一个Angular模块(比如`/app`)。 .s-why From 33249c9de33a1ce9c8bed70fff111a9edcef45f2 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Tue, 18 Oct 2016 20:34:51 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=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 --- public/docs/ts/latest/guide/style-guide.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/style-guide.jade b/public/docs/ts/latest/guide/style-guide.jade index cab987a3e2..7862d07fdd 100644 --- a/public/docs/ts/latest/guide/style-guide.jade +++ b/public/docs/ts/latest/guide/style-guide.jade @@ -1822,7 +1822,7 @@ a(href="#toc") 回到顶部 :marked **Why?** A feature module can easily be routed to both eagerly and lazily. - **为何?**特性模块能很容易的被路由器加载 —— 无论使用提前加载还是惰性加载的方式。 + **为何?**特性模块能很容易的被路由器加载 —— 无论使用主动加载还是惰性加载的方式。 .s-why :marked From afd557b887111acf5619bbcb358413a7df793299 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Tue, 18 Oct 2016 20:38:38 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=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 --- public/docs/ts/latest/guide/style-guide.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/style-guide.jade b/public/docs/ts/latest/guide/style-guide.jade index 7862d07fdd..1e5b4cbf05 100644 --- a/public/docs/ts/latest/guide/style-guide.jade +++ b/public/docs/ts/latest/guide/style-guide.jade @@ -2021,7 +2021,7 @@ a(href="#toc") 回到顶部 :marked **Avoid** importing the `CoreModule` anywhere except in the `AppModule`. - **避免**不要在`AppModule`之外的任何地方导入`CoreModule`。 + **避免**在`AppModule`之外的任何地方导入`CoreModule`。 .s-why :marked