Skip to content

Commit 3be560a

Browse files
authored
Merge pull request #27 from itayyehezkel/code-editor
Translate Code Editor Component
2 parents 0359b8e + 58744d3 commit 3be560a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/CodeEditor/CodeEditor.js

Lines changed: 6 additions & 7 deletions
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) {
@@ -100,7 +99,7 @@ class CodeEditor extends Component {
10099
color: colors.white,
101100
}}>
102101
<MetaTitle onDark={true}>
103-
Live JSX Editor
102+
עורך JSX
104103
<label
105104
css={{
106105
fontSize: 14,
@@ -170,7 +169,7 @@ class CodeEditor extends Component {
170169
cssProps={{
171170
color: colors.white,
172171
}}>
173-
Error
172+
שגיאה
174173
</MetaTitle>
175174
</div>
176175
<pre
@@ -201,7 +200,7 @@ class CodeEditor extends Component {
201200
padding: '0 10px',
202201
backgroundColor: colors.divider,
203202
}}>
204-
<MetaTitle>Result</MetaTitle>
203+
<MetaTitle>תוצאה</MetaTitle>
205204
</div>
206205
<div
207206
id={containerNodeID}

0 commit comments

Comments
 (0)