From 3d01acbf7b2884a29efa078431ffc8f0b74485cc Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Wed, 8 Jun 2016 16:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E7=BF=BB=E8=AF=91=20?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E7=BF=BB=E8=AF=91=E4=B8=AD=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E7=9C=81=E7=95=A5=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/ts/latest/testing/testing-an-angular-pipe.jade | 2 +- public/resources/js/translate.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/testing/testing-an-angular-pipe.jade b/public/docs/ts/latest/testing/testing-an-angular-pipe.jade index fa46fda5f7..bc1d7d8b15 100644 --- a/public/docs/ts/latest/testing/testing-an-angular-pipe.jade +++ b/public/docs/ts/latest/testing/testing-an-angular-pipe.jade @@ -231,7 +231,7 @@ code-example(format="" language="html" escape="html"). If it had depended on Angular, we’d still be staring at the Jasmine “big-time fail” screen: **那是我们幸运!**`Hero`接口并不依赖Angular。 - 如果它依赖于Angular,我们就得面对Jasmine的“大败局”界面了: + 如果它依赖于Angular,我们就得面对Jasmine的“大败局”界面了(译注:因为在运行任何测试之前就出现了错误,所以没有任何测试会执行,参见[运行,并失败](run-and-fail)): figure.image-display img(src='/resources/images/devguide/testing-an-angular-pipe/big-time-fail-screen.png' diff --git a/public/resources/js/translate.js b/public/resources/js/translate.js index b200e1abdd..f8f33525bc 100644 --- a/public/resources/js/translate.js +++ b/public/resources/js/translate.js @@ -63,7 +63,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true'; function isPureEnglish(text) { // accept — , quotes, ® and façade too. - return /^[\1-\255—’“”ç®]*$/.test(text); + return /^[\1-\255—’“”ç®…]*$/.test(text); } function attributesToString(node) {