微调翻译

允许翻译中出现省略号
This commit is contained in:
Zhicheng Wang 2016-06-08 16:58:36 +08:00
parent 934b425cc8
commit 3d01acbf7b
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ code-example(format="" language="html" escape="html").
If it had depended on Angular, wed 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'

View File

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