-
Notifications
You must be signed in to change notification settings - Fork 4
Translated the Home Page #2
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,89 @@ | ||
- title: Installation | ||
- title: Instalacija | ||
items: | ||
- id: getting-started | ||
title: Getting Started | ||
title: Prvi koraci | ||
- id: add-react-to-a-website | ||
title: Add React to a Website | ||
title: Dodavanje React-a | ||
- id: create-a-new-react-app | ||
title: Create a New React App | ||
title: Nova React aplikacija | ||
- id: cdn-links | ||
title: CDN Links | ||
title: CDN linkovi | ||
- id: release-channels | ||
title: Release Channels | ||
- title: Main Concepts | ||
- title: Glavni koncepti | ||
isOrdered: true | ||
items: | ||
- id: hello-world | ||
title: Hello World | ||
title: Zdravo, svete | ||
- id: introducing-jsx | ||
title: Introducing JSX | ||
title: Upoznavanje JSX | ||
- id: rendering-elements | ||
title: Rendering Elements | ||
title: Prikazivanje elemenata | ||
- id: components-and-props | ||
title: Components and Props | ||
title: Komponente i svojstva | ||
- id: state-and-lifecycle | ||
title: State and Lifecycle | ||
title: Stanje i životni vek | ||
- id: handling-events | ||
title: Handling Events | ||
title: Rukovanje događajima | ||
- id: conditional-rendering | ||
title: Conditional Rendering | ||
title: Uslovno prikazivanje | ||
- id: lists-and-keys | ||
title: Lists and Keys | ||
title: Liste i ključevi | ||
- id: forms | ||
title: Forms | ||
title: Forme | ||
- id: lifting-state-up | ||
title: Lifting State Up | ||
title: Uzdizanje stanja naviše | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with this, we should decide now at the beginning whether or not we're translating keywords like state, props, refs, reconciliation, etc. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Milos5611 @vaske How do you guys propose we proceed? We need to figure this out quickly if we want to continue with the translations. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know. For me There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I pretty much agree with @Milos5611 in this situation I would rather keep it as it is, because in code you have to use it like that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, we'll do it like that, then. |
||
- id: composition-vs-inheritance | ||
title: Composition vs Inheritance | ||
title: Kompozicija vs nasleđivanje | ||
zivkovicmilos marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- id: thinking-in-react | ||
title: Thinking In React | ||
- title: Advanced Guides | ||
title: Razmišljanje u React-u | ||
- title: Napredni vodiči | ||
zivkovicmilos marked this conversation as resolved.
Show resolved
Hide resolved
|
||
items: | ||
- id: accessibility | ||
title: Accessibility | ||
title: Pristupačnost | ||
- id: code-splitting | ||
title: Code-Splitting | ||
title: Razdvanjanje koda | ||
- id: context | ||
title: Context | ||
title: Kontekst | ||
- id: error-boundaries | ||
title: Error Boundaries | ||
title: Granice grešaka | ||
- id: forwarding-refs | ||
title: Forwarding Refs | ||
title: Prosleđivanje Ref-ova | ||
- id: fragments | ||
title: Fragments | ||
title: Fragmenti | ||
- id: higher-order-components | ||
title: Higher-Order Components | ||
title: Komponente višeg reda | ||
- id: integrating-with-other-libraries | ||
title: Integrating with Other Libraries | ||
title: Integracija sa drugim bibliotekama | ||
- id: jsx-in-depth | ||
title: JSX In Depth | ||
title: Napredni JSX | ||
- id: optimizing-performance | ||
title: Optimizing Performance | ||
title: Optimizacija performansi | ||
- id: portals | ||
title: Portals | ||
title: Portali | ||
- id: profiler | ||
title: Profiler | ||
- id: react-without-es6 | ||
title: React Without ES6 | ||
title: React bez ES6 | ||
- id: react-without-jsx | ||
title: React Without JSX | ||
title: React bez JSX | ||
- id: reconciliation | ||
title: Reconciliation | ||
- id: refs-and-the-dom | ||
title: Refs and the DOM | ||
title: Ref-ovi i DOM | ||
- id: render-props | ||
title: Render Props | ||
- id: static-type-checking | ||
title: Static Type Checking | ||
title: Statička tipizacija | ||
- id: strict-mode | ||
title: Strict Mode | ||
title: Striktni režim | ||
- id: typechecking-with-proptypes | ||
title: Typechecking With PropTypes | ||
title: Tipizacija sa PropTypes | ||
- id: uncontrolled-components | ||
title: Uncontrolled Components | ||
title: Nekontrolisane komponente | ||
- id: web-components | ||
title: Web Components | ||
- title: API Reference | ||
title: Veb komponente | ||
- title: API priručnik | ||
items: | ||
- id: react-api | ||
title: React | ||
|
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: A Component Using External Plugins | ||
title: Komponenta koja koristi spoljašnje dodatke | ||
zivkovicmilos marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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 interfejsima i radnim okvirima. Ovaj primer koristi spoljašnju Markdown biblioteku **remarkable** da pretvori vrednost `<textarea>` elementa u realnom vremenu. | ||
zivkovicmilos marked this conversation as resolved.
Show resolved
Hide resolved
|
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. |
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. |
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. |
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. |
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. |
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/). |
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