Skip to content

Commit 7bf0b11

Browse files
Merge pull request #6 from saranshkataria/master
translated home page to hindi
2 parents 51c8b2a + cadd45f commit 7bf0b11

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: A Component Using External Plugins
2+
title: बाहरी प्लगइन्स का उपयोग कर एक कौम्पोनॅन्ट
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+
React आपको अन्य लाइब्रेरीज और फ़्रेमवर्क्स के साथ इंटरफेस करने की अनुमति देती है। यह उदाहरण वास्तविक समय में `<textarea>` के मूल्य को परिवर्तित करने के लिए, **remarkable**, एक बाहरी मार्कडाउन लाइब्रेरी का उपयोग करता है।
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: A Simple Component
2+
title: एक साधारण कौम्पोनॅन्ट
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+
React कौम्पोनॅन्ट एक `render()` मेथड लागू करते हैं जो इनपुट डेटा लेता है और यह दिखाता है कि क्या प्रदर्शित करना है। यह उदाहरण XML- जैसे सिंटैक्स का उपयोग करता है जिसे JSX कहा जाता है। इनपुट डेटा जिसे कौम्पोनॅन्ट में पास किया जाता है, उसे `this.props` के माध्यम से `render()` द्वारा एक्सेस किया जा सकता है।
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+
**JSX इच्छाधीन है और React का उपयोग करने के लिए इसकी आवश्यकता नहीं है।** JSX द्वारा निर्मित जावास्क्रिप्ट कोड को देखने के लिए [Babel REPL](babel://es5-syntax-example) का उपयोग करें।
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: A Stateful Component
2+
title: एक स्टेटफुल कौम्पोनॅन्ट
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+
इनपुट डेटा (`this.props` के माध्यम से पहुँचा) लेने के अलावा, एक कौम्पोनॅन्ट आंतरिक स्थिति डेटा (` this.state` के माध्यम से पहुँचा हुआ) बनाए रख सकता है। जब किसी कौम्पोनॅन्ट की स्थिति डेटा बदलती है, तो रेंडर किए गए मार्कअप को `render()` द्वारा अपडेट किया जाएगा।
8+
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: An Application
2+
title: एक ऐप्लिकेशन
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+
`props` और `state` का उपयोग करके, हम एक छोटी सी टोडो ऐप्लिकेशन बना सक्ते हैं। यह उदाहरण आइटम की वर्तमान सूची के साथ-साथ उपयोगकर्ता द्वारा दर्ज किए गए टेक्स्ट को ट्रैक करने के लिए `state` का उपयोग करता है। हालाँकि, ईवेंट हैंडलर को इनलाइन प्रदान किया जाना चाहिए, लेकिन उन्हें इवेंट डेलिगेशन का उपयोग करके एकत्र किया गया है।

src/pages/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Home extends Component {
5151
return (
5252
<Layout location={location}>
5353
<TitleAndMetaTags
54-
title="React &ndash; A JavaScript library for building user interfaces"
54+
title="React &ndash; युज़र इंटरफ़ेसिज़ के निर्माण के लिए एक जावास्क्रिप्ट लाइब्रेरी"
5555
ogUrl={createOgUrl('index.html')}
5656
/>
5757
<div css={{width: '100%'}}>
@@ -134,7 +134,7 @@ class Home extends Component {
134134
fontSize: 30,
135135
},
136136
}}>
137-
A JavaScript library for building user interfaces
137+
युज़र इंटरफ़ेसिज़ के निर्माण के लिए एक जावास्क्रिप्ट लाइब्रेरी
138138
</p>
139139
<Flex
140140
valign="center"
@@ -149,12 +149,12 @@ class Home extends Component {
149149
<ButtonLink
150150
to="/docs/getting-started.html"
151151
type="primary">
152-
Get Started
152+
शुरू करे
153153
</ButtonLink>
154154
</CtaItem>
155155
<CtaItem>
156156
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
157-
Take the Tutorial
157+
ट्यूटोरियल लें
158158
</ButtonLink>
159159
</CtaItem>
160160
</Flex>
@@ -286,12 +286,12 @@ class Home extends Component {
286286
<Flex valign="center">
287287
<CtaItem>
288288
<ButtonLink to="/docs/getting-started.html" type="primary">
289-
Get Started
289+
शुरू करे
290290
</ButtonLink>
291291
</CtaItem>
292292
<CtaItem>
293293
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
294-
Take the Tutorial
294+
ट्यूटोरियल लें
295295
</ButtonLink>
296296
</CtaItem>
297297
</Flex>

0 commit comments

Comments
 (0)