Skip to content

Commit 257394a

Browse files
Merge pull request #4 from reactjs/home-page
Home Page
2 parents ede1196 + 72e89a9 commit 257394a

15 files changed

+37
-37
lines changed

Diff for: content/home/examples/a-component-using-external-plugins.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class MarkdownEditor extends React.Component {
22
constructor(props) {
33
super(props);
44
this.handleChange = this.handleChange.bind(this);
5-
this.state = { value: 'Hello, **world**!' };
5+
this.state = { value: 'Helló, **világ**!' };
66
}
77

88
handleChange(e) {
@@ -17,16 +17,16 @@ class MarkdownEditor extends React.Component {
1717
render() {
1818
return (
1919
<div className="MarkdownEditor">
20-
<h3>Input</h3>
20+
<h3>Bemenet</h3>
2121
<label htmlFor="markdown-content">
22-
Enter some markdown
22+
Írj egy kis markdown-t
2323
</label>
2424
<textarea
2525
id="markdown-content"
2626
onChange={this.handleChange}
2727
defaultValue={this.state.value}
2828
/>
29-
<h3>Output</h3>
29+
<h3>Kimenet</h3>
3030
<div
3131
className="content"
3232
dangerouslySetInnerHTML={this.getRawMarkup()}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: A Component Using External Plugins
2+
title: Külső bővítményt használó komponens
33
order: 3
44
domid: markdown-example
55
---
66

7-
React allows you to interface with other libraries and frameworks. This example uses **remarkable**, an external Markdown library, to convert the `<textarea>`'s value in real time.
7+
A React lehetővé teszi, hogy más könyvtárakkal és keretrendszerekkel kommunikálj. Ez a példa a **remarkable**-t használja, ami egy külső Markdown könyvtár, mely a `<textarea>` értékét valós időben konvertálja.

Diff for: content/home/examples/a-simple-component.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ class HelloMessage extends React.Component {
22
render() {
33
return (
44
<div>
5-
Hello {this.props.name}
5+
Helló {this.props.name}
66
</div>
77
);
88
}
99
}
1010

1111
ReactDOM.render(
12-
<HelloMessage name="Taylor" />,
12+
<HelloMessage name="Tamás" />,
1313
document.getElementById('hello-example')
1414
);

Diff for: content/home/examples/a-simple-component.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: A Simple Component
2+
title: Egyszerű komponens
33
order: 0
44
domid: hello-example
55
---
66

7-
React components implement a `render()` method that takes input data and returns what to display. This example uses an XML-like syntax called JSX. Input data that is passed into the component can be accessed by `render()` via `this.props`.
7+
A React komponensek azt mutatják, ami a `render()` metódusban visszatér, beviteli adattól függően. Ez a példa JSX-t használ, aminek a szintaxisa az XML-re hasonlít. A komponens beviteli adata le van küldve a komponensnek, amihez a `render()` metódus a `this.props` segítségével fér hozzá.
88

9-
**JSX is optional and not required to use React.** Try the [Babel REPL](babel://es5-syntax-example) to see the raw JavaScript code produced by the JSX compilation step.
9+
**A JSX szintaxis használata nem kötelező a Reactben.** Hogy lásd a nyers JavaScript kódot amit a JSX fordítása generál, próbáld ki a [Babel REPL](babel://es5-syntax-example)-t.

Diff for: content/home/examples/a-stateful-component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Timer extends React.Component {
2121
render() {
2222
return (
2323
<div>
24-
Seconds: {this.state.seconds}
24+
Másodperc: {this.state.seconds}
2525
</div>
2626
);
2727
}

Diff for: content/home/examples/a-stateful-component.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: A Stateful Component
2+
title: Állapot-teljes komponens
33
order: 1
44
domid: timer-example
55
---
66

7-
In addition to taking input data (accessed via `this.props`), a component can maintain internal state data (accessed via `this.state`). When a component's state data changes, the rendered markup will be updated by re-invoking `render()`.
7+
A beviteli adaton kívül (ami `this.props`-ként érhető el), egy komponens a saját belső állapotát is kezelni tudja (ez `this.state`-ként érhető el). Ha egy komponens állapota megváltozik, a renderelt tartalom frissítve lesz a `render()` metódus újrahívásával.

Diff for: content/home/examples/an-application.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ class TodoApp extends React.Component {
99
render() {
1010
return (
1111
<div>
12-
<h3>TODO</h3>
12+
<h3>Teendők</h3>
1313
<TodoList items={this.state.items} />
1414
<form onSubmit={this.handleSubmit}>
1515
<label htmlFor="new-todo">
16-
What needs to be done?
16+
Mik a teendők?
1717
</label>
1818
<input
1919
id="new-todo"
2020
onChange={this.handleChange}
2121
value={this.state.text}
2222
/>
2323
<button>
24-
Add #{this.state.items.length + 1}
24+
Hozzáad #{this.state.items.length + 1}
2525
</button>
2626
</form>
2727
</div>

Diff for: content/home/examples/an-application.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: An Application
2+
title: Alkalmazás
33
order: 2
44
domid: todos-example
55
---
66

7-
Using `props` and `state`, we can put together a small Todo application. This example uses `state` to track the current list of items as well as the text that the user has entered. Although event handlers appear to be rendered inline, they will be collected and implemented using event delegation.
7+
A `props` és `state` segítségével össze tudunk rakni egy kis Teendők alkalmazást. Ez a példa a `state` állapotot használja a jelenlegi listaelemek és a felhasználó beviteli inputjának a nyomonkövetésére. Annak ellenére hogy az esemény kezelők helyben vannak renderelve, azok össze lesznek gyűjtve, és esemély továbbítással lesznek implementálva.

Diff for: content/home/marketing/component-based.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Component-Based
2+
title: Komponens alapú
33
order: 1
44
---
55

6-
Build encapsulated components that manage their own state, then compose them to make complex UIs.
6+
Hogy komplex felhasználói felületeket tudj létrehozni, építs egységbefoglalt komponenseket amik gondoskodnak a saját állapotukról és kombináld őket.
77

8-
Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
8+
Mivel a komponens logikáját sémák helyett JavaScriptben írod, könnyedén tudsz adatot mozgatni az alkalmazásban, és így az állapotok a DOM-on kívül maradnak.

Diff for: content/home/marketing/declarative.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Declarative
2+
title: Deklaratív
33
order: 0
44
---
55

6-
React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.
6+
A React segítségével könnyen készíthetsz interaktív felhasználói felületeket. Tervezz egyszerű nézeteket az applikáció minden egyes állapotához, és a React gondoskodik arról, hogy adatváltozáskor csak a megfelelő komponensek frissüljenek és legyenek újrarenderelve.
77

8-
Declarative views make your code more predictable and easier to debug.
8+
A deklaratív nézetek kiszámíthatóbbá teszik a kódot, valamint megkönnyítik a hibakeresést is.

Diff for: content/home/marketing/learn-once-write-anywhere.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Learn Once, Write Anywhere
2+
title: Tanuld meg egyszer, használd mindenhol
33
order: 2
44
---
55

6-
We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
6+
Mi nem feltételezünk semmit a technológiai stack-ed többi részéről, szóval nyugodtan fejleszthetsz új funkciókat a Reactben anélkül, hogy a meglévő kódot módosítanod kellene.
77

8-
React can also render on the server using Node and power mobile apps using [React Native](https://facebook.github.io/react-native/).
8+
A React segítségével szerver oldalon is renderelhetsz Node-al, és mobil alkalmazásokat is írhatsz a [React Native](https://facebook.github.io/react-native/)-ben.

Diff for: gatsby-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
title: 'React: A JavaScript library for building user interfaces',
1212
siteUrl: 'https://hu.reactjs.org',
1313
rssFeedTitle: 'React',
14-
rssFeedDescription: 'A JavaScript library for building user interfaces',
14+
rssFeedDescription: 'JavaScript könyvtár felhasználói felületek létrehozásához',
1515
},
1616
mapping: {
1717
'MarkdownRemark.frontmatter.author': 'AuthorYaml',

Diff for: src/components/CodeEditor/CodeEditor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CodeEditor extends Component {
105105
color: colors.white,
106106
}}>
107107
<MetaTitle onDark={true}>
108-
Live JSX Editor
108+
Élő JSX szerkesztő
109109
<label
110110
css={{
111111
fontSize: 14,

Diff for: src/components/TitleAndMetaTags/TitleAndMetaTags.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {urlRoot} from 'site-constants';
1111
// $FlowFixMe This is a valid path
1212
import languages from '../../../content/languages.yml';
1313

14-
const defaultDescription = 'A JavaScript library for building user interfaces';
14+
const defaultDescription = 'JavaScript könyvtár felhasználói felületek létrehozásához';
1515

1616
type Props = {
1717
title: string,

Diff for: src/pages/index.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Home extends Component {
5050
return (
5151
<Layout location={location}>
5252
<TitleAndMetaTags
53-
title="React &ndash; A JavaScript library for building user interfaces"
53+
title="React &ndash; JavaScript könyvtár felhasználói felületek létrehozásához"
5454
canonicalUrl={createCanonicalUrl('/')}
5555
/>
5656
<div css={{width: '100%'}}>
@@ -133,7 +133,7 @@ class Home extends Component {
133133
fontSize: 30,
134134
},
135135
}}>
136-
A JavaScript library for building user interfaces
136+
JavaScript könyvtár felhasználói felületek létrehozásához
137137
</p>
138138
<Flex
139139
valign="center"
@@ -151,12 +151,12 @@ class Home extends Component {
151151
<ButtonLink
152152
to="/docs/getting-started.html"
153153
type="primary">
154-
Get Started
154+
Kezdjük
155155
</ButtonLink>
156156
</CtaItem>
157157
<CtaItem>
158158
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
159-
Take the Tutorial
159+
Próbáld ki a tutoriált
160160
</ButtonLink>
161161
</CtaItem>
162162
</Flex>
@@ -294,12 +294,12 @@ class Home extends Component {
294294
}}>
295295
<CtaItem>
296296
<ButtonLink to="/docs/getting-started.html" type="primary">
297-
Get Started
297+
Kezdjük
298298
</ButtonLink>
299299
</CtaItem>
300300
<CtaItem>
301301
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
302-
Take the Tutorial
302+
Próbáld ki a tutoriált
303303
</ButtonLink>
304304
</CtaItem>
305305
</Flex>

0 commit comments

Comments
 (0)