Skip to content

Commit 24ff481

Browse files
zcfanQC-L
authored andcommitted
docs(cn): translate src/components/CodeEditor/CodeEditor.js (reactjs#149)
docs(cn): translate src/components/CodeEditor/CodeEditor.js
1 parent db197f8 commit 24ff481

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/CodeEditor/CodeEditor.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ class CodeEditor extends Component {
5656
if (showBabelErrorMessage) {
5757
errorMessage = (
5858
<span>
59-
Babel could not be loaded.
59+
Babel 加载失败。
6060
<br />
6161
<br />
62-
This can be caused by an ad blocker. If you're using one, consider
63-
adding reactjs.org to the whitelist so the live code examples will
64-
work.
62+
这可能是广告拦截器导致的。如果你正在使用此类插件,
63+
建议将 reactjs.org 加入白名单,以保证代码示例能够正常工作。
6564
</span>
6665
);
6766
} else if (error != null) {

0 commit comments

Comments
 (0)