Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate: CodeEditor and CodeExample #361

Merged
merged 2 commits into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/components/CodeEditor/CodeEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@ class CodeEditor extends Component {
if (showBabelErrorMessage) {
errorMessage = (
<span>
Babel could not be loaded.
Babel을 로드할 수 없습니다.
<br />
<br />
This can be caused by an ad blocker. If you're using one, consider
adding reactjs.org to the whitelist so the live code examples will
work.
광고 차단기가 문제의 원인일 수 있습니다. 광고 차단기를 사용하고 있다면
라이브 코드 예제가 잘 동작할 수 있도록 reactjs.org를 화이트 리스트에 추가해주세요.
</span>
);
} else if (error != null) {
Expand Down Expand Up @@ -105,7 +104,7 @@ class CodeEditor extends Component {
color: colors.white,
}}>
<MetaTitle onDark={true}>
Live JSX Editor
라이브 JSX 에디터
<label
css={{
fontSize: 14,
Expand Down Expand Up @@ -175,7 +174,7 @@ class CodeEditor extends Component {
cssProps={{
color: colors.white,
}}>
Error
에러
</MetaTitle>
</div>
<pre
Expand Down Expand Up @@ -206,7 +205,7 @@ class CodeEditor extends Component {
padding: '0 10px',
backgroundColor: colors.divider,
}}>
<MetaTitle>Result</MetaTitle>
<MetaTitle>결과</MetaTitle>
</div>
<div
id={containerNodeID}
Expand Down
2 changes: 1 addition & 1 deletion src/components/CodeExample/CodeExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class CodeExample extends Component<Props> {
{loaded ? (
<CodeEditor code={code} containerNodeID={containerNodeID} />
) : (
<h4>Loading code example...</h4>
<h4>코드 예제를 읽어 들이는 중...</h4>
)}
</div>
);
Expand Down