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

Translated usestate.md #220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Albert-Jokelin
Copy link

This is the fifth of the five files I translated.

Copy link
Member

@arshadkazmi42 arshadkazmi42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this.

I have added review till line 30

Lets get these fixed and post that we can continue further with the review.

Also, you can refer our review process #23 to know more

@@ -4,38 +4,38 @@ title: useState

<Intro>

`useState` is a React Hook that lets you add a [state variable](/learn/state-a-components-memory) to your component.
`useState` एक React Hook है जो आपको अपने कौम्पोनॅन्ट में एक [state वेरिएबल](/learn/state-a-components-memory) ऐड करने देता है|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hook => हुक

@@ -4,38 +4,38 @@ title: useState

<Intro>

`useState` is a React Hook that lets you add a [state variable](/learn/state-a-components-memory) to your component.
`useState` एक React Hook है जो आपको अपने कौम्पोनॅन्ट में एक [state वेरिएबल](/learn/state-a-components-memory) ऐड करने देता है|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

है| => है।

- [कौम्पोनॅन्ट में state ऐड करना](#adding-state-to-a-component)
- [पिचले state के आधार पर state अप्डेट करना](#updating-state-based-on-the-previous-state)
- [State में ऑब्जेक्ट्स और अर्रेस अपडेट करना](#updating-objects-and-arrays-in-state)
- [इनिशल state को फ़िर सृष्ट करने से बचना](#avoiding-recreating-the-initial-state)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

सृष्ट => क्रिएट

- [State में ऑब्जेक्ट्स और अर्रेस अपडेट करना](#updating-objects-and-arrays-in-state)
- [इनिशल state को फ़िर सृष्ट करने से बचना](#avoiding-recreating-the-initial-state)
- [ Key के सात state रिसेट करना](#resetting-state-with-a-key)
- [पिचले रेंडर के जानकारी को स्टोर करना](#storing-information-from-previous-renders)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

के => की

- [I'm getting an error: "Too many re-renders"](#im-getting-an-error-too-many-re-renders)
- [My initializer or updater function runs twice](#my-initializer-or-updater-function-runs-twice)
- [ट्रबलशूटिंग](#troubleshooting)
- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log => लोग

- [ट्रबलशूटिंग](#troubleshooting)
- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
- [state अपडेट कर लिया है लेकिन स्क्रीन अपडेट नही हो रहा](#ive-updated-the-state-but-the-screen-doesnt-update)
- [मुझे एक एरर मिल रहा है: "Too many re-renders"](#im-getting-an-error-too-many-री-renders)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#im-getting-an-error-too-many-री-renders => #im-getting-an-error-too-many-re-renders

lets not translate anything related to links or reflinks

- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
- [state अपडेट कर लिया है लेकिन स्क्रीन अपडेट नही हो रहा](#ive-updated-the-state-but-the-screen-doesnt-update)
- [मुझे एक एरर मिल रहा है: "Too many re-renders"](#im-getting-an-error-too-many-री-renders)
- [मेरा reducer या एनिशिअलिज़ेर फंक्शन दो बार चलता है ](#my-initializer-or-updater-function-runs-twice)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reducer => रेडूयसर

- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
- [state अपडेट कर लिया है लेकिन स्क्रीन अपडेट नही हो रहा](#ive-updated-the-state-but-the-screen-doesnt-update)
- [मुझे एक एरर मिल रहा है: "Too many re-renders"](#im-getting-an-error-too-many-री-renders)
- [मेरा reducer या एनिशिअलिज़ेर फंक्शन दो बार चलता है ](#my-initializer-or-updater-function-runs-twice)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

एनिशिअलिज़ेर => इनिशिअलिज़ेर

- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
- [state अपडेट कर लिया है लेकिन स्क्रीन अपडेट नही हो रहा](#ive-updated-the-state-but-the-screen-doesnt-update)
- [मुझे एक एरर मिल रहा है: "Too many re-renders"](#im-getting-an-error-too-many-री-renders)
- [मेरा reducer या एनिशिअलिज़ेर फंक्शन दो बार चलता है ](#my-initializer-or-updater-function-runs-twice)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

है => है

remove extra space at the end

- [मैंने state का वैल्यू अपडेट किया है मगर log करते समय मुझे पुराना वैल्यू मिलता है](#ive-updated-the-state-but-logging-gives-me-the-old-value)
- [state अपडेट कर लिया है लेकिन स्क्रीन अपडेट नही हो रहा](#ive-updated-the-state-but-the-screen-doesnt-update)
- [मुझे एक एरर मिल रहा है: "Too many re-renders"](#im-getting-an-error-too-many-री-renders)
- [मेरा reducer या एनिशिअलिज़ेर फंक्शन दो बार चलता है ](#my-initializer-or-updater-function-runs-twice)
- [I'm trying to set state to a function, but it gets called instead](#im-trying-to-set-state-to-a-function-but-it-gets-called-instead)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have missed this line, can you translate this line also.

- [पिचले state के आधार पर state अप्डेट करना](#updating-state-based-on-the-previous-state)
- [State में ऑब्जेक्ट्स और अर्रेस अपडेट करना](#updating-objects-and-arrays-in-state)
- [इनिशल state को फ़िर सृष्ट करने से बचना](#avoiding-recreating-the-initial-state)
- [ Key के सात state रिसेट करना](#resetting-state-with-a-key)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [ Key के सात state रिसेट करना](#resetting-state-with-a-key)
- [ Key के साथ state रिसेट करना](#resetting-state-with-a-key)

- [State में ऑब्जेक्ट्स और अर्रेस अपडेट करना](#updating-objects-and-arrays-in-state)
- [इनिशल state को फ़िर सृष्ट करने से बचना](#avoiding-recreating-the-initial-state)
- [ Key के सात state रिसेट करना](#resetting-state-with-a-key)
- [पिचले रेंडर के जानकारी को स्टोर करना](#storing-information-from-previous-renders)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [पिचले रेंडर के जानकारी को स्टोर करना](#storing-information-from-previous-renders)
- [पिछले रेंडर के जानकारी को स्टोर करना](#storing-information-from-previous-renders)


```js [[2, 2, "setName"]]
function handleClick() {
setName('Robin');
}
```

React will store the next state, render your component again with the new values, and update the UI.
React अगला state स्टोर कर देगा, नए वैल्यूस के सात कौम्पोनॅन्ट रेंडर करेगा और UI को अप्डेट करेगा|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
React अगला state स्टोर कर देगा, नए वैल्यूस के सात कौम्पोनॅन्ट रेंडर करेगा और UI को अप्डेट करेगा|
React अगला state स्टोर कर देगा, नए वैल्यूस के साथ कौम्पोनॅन्ट रेंडर करेगा और UI को अपडेट करेगा

@thoughtlessmind
Copy link

hey @arshadkazmi42
I think keeping the translation of the word call to कॉल only instead of बुलाओ. कॉल would make more sense in terms of calling function rather than बुलाओ.

I want to know your thoughts on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants