This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Translated the Home Page #2
Open
zivkovicmilos
wants to merge
2
commits into
stale-reactjs-org-translations:main
Choose a base branch
from
zivkovicmilos:zmilos
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
- title: Community Resources | ||
- title: Resursi zajednice | ||
items: | ||
- id: support | ||
title: Support | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
items: | ||
- title: Docs | ||
- title: Dokumentacija | ||
to: /docs/getting-started.html | ||
activeSelector: /docs/ | ||
- title: Tutorial | ||
- title: Tutorijal | ||
to: /tutorial/tutorial.html | ||
activeSelector: /tutorial | ||
- title: Blog | ||
to: /blog/ | ||
activeSelector: /blog | ||
- title: Community | ||
- title: Zajednica | ||
to: /community/support.html | ||
activeSelector: /community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: A Component Using External Plugins | ||
title: Komponenta koja koristi eksterne dodatke | ||
order: 3 | ||
domid: markdown-example | ||
--- | ||
|
||
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. | ||
React vam dozvoljava da se povežete sa drugim bibliotekama i radnim okvirima. Ovaj primer koristi spoljašnju Markdown biblioteku **remarkable** da pretvori vrednost `<textarea>` elementa u realnom vremenu. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
title: A Simple Component | ||
title: Jednostavna komponenta | ||
order: 0 | ||
domid: hello-example | ||
--- | ||
|
||
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`. | ||
React komponente implementiraju `render()` metodu koja prima ulazne podatke, i vraća šta treba prikazati. Ovaj primer koristi XML sintaksu zvanu JSX. Ulaznim podacima koji su prosleđeni komponenti se može pristupiti u `render()` metodi koristeći `this.props`. | ||
|
||
**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. | ||
**Korišćenje JSX-a je opciono i nije obavezno za rad sa React bibliotekom.** Pogledajte [Babel REPL](babel://es5-syntax-example) da vidite sirovi JavaScript kod proizveden kompilacijom JSX-a. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: A Stateful Component | ||
title: Komponenta sa stanjem | ||
order: 1 | ||
domid: timer-example | ||
--- | ||
|
||
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()`. | ||
Pored toga što može da dohvati prosleđene ulazne podatke (preko `this.props`), komponenta može održavati sopstvene podatke, zvane stanjem (preko`this.state`). Kada dođe do promene stanja podataka komponente, prikaz će biti ažuriran ponovnim pozivanjem `render()` metode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: An Application | ||
title: Aplikacija | ||
order: 2 | ||
domid: todos-example | ||
--- | ||
|
||
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. | ||
Koristeći `props` i `state`, možemo napraviti jednostavnu TODO aplikaciju. Ovaj primer koristi `state` da vodi računa o trenutnoj listi zadataka, kao i o tekstu koji je korisnik uneo. Na prvi pogled deluje kao da su rukovaoci događaja prikazani inline, međutim, oni su implementirani koristeći delegiranje događaja. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
--- | ||
title: Component-Based | ||
title: Bazirano na komponentama | ||
order: 1 | ||
--- | ||
|
||
Build encapsulated components that manage their own state, then compose them to make complex UIs. | ||
Napravite enkapsulirane komponente koje upravljaju svojim stanjem, zatim ih komponujte u složenije korisničke interfejse. | ||
|
||
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. | ||
|
||
S obzirom na to da je sama logika kompontenti bazirana na JavaScript-u, a ne na genericima, možete sa lakoćom proslediti složene podatke kroz vašu aplikaciju i držati stanje izvan DOM-a. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
title: Declarative | ||
title: Deklarativno | ||
order: 0 | ||
--- | ||
|
||
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. | ||
React olakšava kreiranje interaktivnih korisničkih interfejsa. Dizajnirajte jednostavne poglede za svako stanje vaše aplikacije, i React će efikasno ažurirati i prikazati prave komponente kada se vaši podaci promene. | ||
|
||
Declarative views make your code more predictable and easier to debug. | ||
Deklarativni pogledi čine vaš kod lakšim za razumevanje i debagovanje. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
title: Learn Once, Write Anywhere | ||
title: Naučite jednom, pišite bilo gde | ||
order: 2 | ||
--- | ||
|
||
We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code. | ||
Tehnologije koje trenutno koristite ne utiču na razvoj, stoga možete slobodno stvarati nove dodatke u React-u bez izmena postojećeg koda. | ||
|
||
React can also render on the server using Node and power mobile apps using [React Native](https://reactnative.dev/). | ||
React se takođe može prikazivati na serveru koristeći Node, i da se koristi za razvijanje mobilnih aplikacija uz pomoć [React Native](https://reactnative.dev/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure shall we translate this into Serb
@vaske what do you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should remain as
Hello World