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

Transalted to hebrew #98

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/hello-world.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ReactDOM.render(
<h1>Hello, world!</h1>,
<h1>שלום עולם!</h1>,
document.getElementById('root')
);
2 changes: 1 addition & 1 deletion examples/introducing-jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ const user = {
lastName: 'Perez',
};

const element = <h1>Hello, {formatName(user)}!</h1>;
const element = <h1>שלום, {formatName(user)}!</h1>;

ReactDOM.render(element, document.getElementById('root'));
2 changes: 1 addition & 1 deletion examples/jsx-simple-example.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function hello() {
return <div>Hello world!</div>;
return <div>שלום עולם!</div>;
}
2 changes: 1 addition & 1 deletion examples/reference-react-forward-ref.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ const FancyButton = React.forwardRef((props, ref) => (

// You can now get a ref directly to the DOM button:
const ref = React.createRef();
<FancyButton ref={ref}>Click me!</FancyButton>;
<FancyButton ref={ref}>לחץ עליי!</FancyButton>;
2 changes: 1 addition & 1 deletion examples/tutorial-expanded-version.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div className="shopping-list">
<h1>Shopping List for {props.name}</h1>
<h1>רשימת קניות ל{props.name}</h1>
<ul>
<li>Instagram</li>
<li>WhatsApp</li>
Expand Down
30 changes: 12 additions & 18 deletions src/pages/acknowledgements.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Acknowlegements = ({data, location}) => (
/>

<div css={sharedStyles.markdown}>
<p>We'd like to thank all of our contributors:</p>
<p>אנו נשמח להודות לכל התורמים:</p>

<ul
css={{
Expand All @@ -44,38 +44,32 @@ const Acknowlegements = ({data, location}) => (
))}
</ul>

<p>In addition, we're grateful to</p>
<p>בנוסף, אנו מוקירים תודה ל</p>
<ul>
<li>
<a href="https://github.com/jeffbski">Jeff Barczewski</a> for
allowing us to use the{' '}
<a href="https://www.npmjs.com/package/react">react</a> package
name on npm.
<a href="https://github.com/jeffbski">Jeff Barczewski</a> שאפשר לנו להשתמש בשם החבילה{' '}
<a href="https://www.npmjs.com/package/react">react</a> בnpm.
</li>
<li>
<a href="https://christopheraue.net/">Christopher Aue</a> for
letting us use the{' '}
<a href="https://reactjs.com/">reactjs.com</a> domain name and
the <a href="https://twitter.com/reactjs">@reactjs</a> username
<a href="https://christopheraue.net/">Christopher Aue</a> שאפשר לנו להשתמש בשם הדומיין{' '}
<a href="https://reactjs.com/">reactjs.com</a> ובשם המשתמש <a href="https://twitter.com/reactjs">@reactjs</a> בטטויטר
on Twitter.
</li>
<li>
<a href="https://github.com/ProjectMoon">ProjectMoon</a> for
letting us use the{' '}
<a href="https://www.npmjs.com/package/flux">flux</a> package
name on npm.
<a href="https://github.com/ProjectMoon">ProjectMoon</a> שאפשרו לנו להשתמש בשם החבילה{' '}
<a href="https://www.npmjs.com/package/flux">flux</a> בnpm.
</li>
<li>
Shane Anderson for allowing us to use the{' '}
<a href="https://github.com/react">react</a> org on GitHub.
Shane Anderson שאפשר לנו להשתמש במשתמש{' '}
<a href="https://github.com/react">react</a> org בGitHub.
</li>
<li>
<a href="https://github.com/voronianski">Dmitri Voronianski</a>{' '}
for letting us use the{' '}
שאפשר להו להשתמש בסכימת הצבעים{' '}
<a href="https://labs.voronianski.com/oceanic-next-color-scheme/">
Oceanic Next
</a>{' '}
color scheme on this website.
באתר.
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Home extends Component {
return (
<Layout location={location}>
<TitleAndMetaTags
title="React &ndash; A JavaScript library for building user interfaces"
title="React &ndash; ספריית JavaScript לבניית ממשקי משתמש."
canonicalUrl={createCanonicalUrl('/')}
/>
<div dir="rtl" css={{width: '100%'}}>
Expand Down
5 changes: 2 additions & 3 deletions src/pages/jsx-compiler.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ const JsxCompiler = ({location}: Props) => (
<div css={sharedStyles.markdown}>
<p>
<strong>
This tool has been removed as JSXTransformer has been
deprecated.
הכלי הזה הוסר כאשר JSXTransformer בוטל.
</strong>
</p>
<p>
We recommend using another tool such as{' '}
אנו ממליצים להשתמש בכלי אחר כדוגמת{' '}
<a href="https://babeljs.io/repl/">the Babel REPL</a>.
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Versions = ({location}: Props) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>React Versions</Header>
<Header>גרסאות React</Header>
<TitleAndMetaTags
canonicalUrl={`${urlRoot}/versions/`}
title="React - Versions"
Expand Down
4 changes: 2 additions & 2 deletions static/html/single-file-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Hello World</title>
<title>שלום עולם!</title>
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>

Expand All @@ -14,7 +14,7 @@
<script type="text/babel">

ReactDOM.render(
<h1>Hello, world!</h1>,
<h1>שלום עולם!</h1>,
document.getElementById('root')
);

Expand Down