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) {