Giter Site home page Giter Site logo

reactjs / hu.react.dev Goto Github PK

View Code? Open in Web Editor NEW
25.0 12.0 19.0 148.73 MB

Hungarian 🇭🇺 React ⚛ documentation 📚 / React magyar dokumentációja

Home Page: https://hu.react.dev

License: Creative Commons Attribution 4.0 International

JavaScript 34.73% CSS 7.80% HTML 0.29% Shell 0.01% TypeScript 57.17%

hu.react.dev's Introduction

react.dev

This repo contains the source code and documentation powering react.dev.

Getting started

Prerequisites

  1. Git
  2. Node: any 12.x version starting with v12.0.0 or greater
  3. Yarn: See Yarn website for installation instructions
  4. A fork of the repo (for any contributions)
  5. A clone of the react.dev repo on your local machine

Installation

  1. cd react.dev to go into the project root
  2. yarn to install the website's npm dependencies

Running locally

  1. yarn dev to start the development server (powered by Next.js)
  2. open http://localhost:3000 to open the site in your favorite browser

Contributing

Guidelines

The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the contributing guidelines for the appropriate sections.

Create a branch

  1. git checkout main from any folder in your local react.dev repository
  2. git pull origin main to ensure you have the latest main code
  3. git checkout -b the-name-of-my-branch (replacing the-name-of-my-branch with a suitable name) to create a branch

Make the change

  1. Follow the "Running locally" instructions
  2. Save the files and check in the browser
  3. Changes to React components in src will hot-reload
  4. Changes to markdown files in content will hot-reload
  5. If working with plugins, you may need to remove the .cache directory and restart the server

Test the change

  1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
  2. Run yarn check-all. (This will run Prettier, ESLint and validate types.)

Push it

  1. git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fix header logo on Android) to stage and commit your changes
  2. git push my-fork-name the-name-of-my-branch
  3. Go to the react.dev repo and you should see recently pushed branches.
  4. Follow GitHub's instructions.
  5. If possible, include screenshots of visual changes. A preview build is triggered after your changes are pushed to GitHub.

Translation

If you are interested in translating react.dev, please see the current translation efforts here.

License

Content submitted to react.dev is CC-BY-4.0 licensed, as found in the LICENSE-DOCS.md file.

hu.react.dev's People

Contributors

acdlite avatar alexkrolick avatar balazsorban44 avatar bvaughn avatar chenglou avatar daniel15 avatar danilowoz avatar dependabot[bot] avatar dschau avatar gaearon avatar gergely-nagy avatar jimfb avatar koba04 avatar kohei-takata avatar lex111 avatar marocchino avatar mcsheffrey avatar n3ko avatar petehunt avatar punkah avatar reactjs-translation-bot avatar rickhanlonii avatar robhrt7 avatar sebmarkbage avatar sophiebits avatar tesseralis avatar vjeux avatar yangshun avatar zpao avatar zqran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hu.react.dev's Issues

[OLD] Legacy Hungarian Translation Progress

Maintainer List

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find that you can't commit anymore, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

Optionally use one of these emojis

emoji meaning
👨‍🔧👩‍🔧 Work in Progress
🧐 In review

When PRs are merged, make sure to mark that page as completed!

Core Pages

To do before releasing as an "official" translation. Please translate these pages first.

Basics

API Reference

Navigation

These are the navigation links that appear in the sidebar. Possibly wait until
the corresponding sections are translated to do these.

Next Steps

These are the next most important translations, ordered by importance:

Installation

Hooks

Everyone is hooked on hooks! People are really excited about these and it would be great for them to be translated.

Warnings

These are the pages that you get when you click the links in the console (e.g. https://reactjs.org/warnings/dont-call-proptypes.html). People tend to search these, so please don't translate the error message itself.

  • dont-call-proptypes
  • invalid-aria-prop
  • invalid-hook-call-warning
  • legacy-factories
  • refs-must-have-owner
  • special-props
  • unknown-prop

Advanced Guides

  • Accessibility @punkah (WIP)
  • Code-Splitting
  • Context
  • Error Boundaries
  • Forwarding Refs
  • Fragments @gergely-nagy (#23)
  • Higher-Order Components
  • Integrating with Other Libraries
  • JSX In Depth
  • Optimizing Performance
  • Portals
  • React Without ES6
  • React Without JSX @RichardOtvos (#92)
  • Reconciliation
  • Refs and the DOM
  • Render Props
  • Static Type Checking
  • Strict Mode
  • Typechecking With PropTypes @gergely-nagy (#) 👨‍🔧
  • Uncontrolled Components
  • Web Components

FAQ

  • APIs and AJAX @dzsi1994 (#)
  • Babel, JSX, and Build Steps
  • Passing Functions to Components
  • Component State
  • Styling and CSS
  • File Structure
  • Versioning Policy
  • Virtual DOM and Internals

Contributing

Priority: Low

  • How to Contribute
  • Codebase Overview
  • Implementation Notes
  • Design Principles

Components

Components in src/components that have some text in them.

Additional Translations

These are not the primary translation targets.

  • Blog
  • Community

New Hungarian Translation Progress

Maintainer List

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find that you can't commit anymore, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

When PRs are merged, make sure to mark that page as completed!

Main Content

To do before releasing as an "official" translation. Please translate these pages first.

Note that each section has an index page, which needs to be translated too.

Learn React

  • Quick Start

    • Tutorial: Tic Tac Toe
    • Thinking in React
  • Installation ( @gergely-nagy )

    • Start a New React Project
    • Add React to an Existing Project
    • Editor Setup
    • React Developer Tools
  • Describing the UI

    • Your First Component
    • Importing and Exporting Components
    • Writing Markup with JSX
    • JavaScript in JSX with Curly Braces
    • Passing Props to a Component
    • Conditional Rendering
    • Rendering Lists
    • Keeping Components Pure
  • Adding Interactivity

    • Responding to Events
    • State: A Component's Memory
    • Render and Commit
    • State as a Snapshot
    • Queueing a Series of State Updates
    • Updating Objects in State
    • Updating Arrays in State
  • Managing State

    • Reacting to Input with State
    • Choosing the State Structure
    • Sharing State Between Components
    • Preserving and Resetting State
    • Extracting State Logic into a Reducer
    • Passing Data Deeply with Context
    • Scaling Up with Reducer and Context
  • Escape Hatches

    • Referencing Values with Refs
    • Manipulating the DOM with Refs
    • Synchronizing with Effects
    • You Might Not Need an Effect
    • Lifecycle of Reactive Effects
    • Separating Events from Effects
    • Removing Effect Dependencies
    • Reusing Logic with Custom Hooks

API Reference

  • react: Hooks

    • useCallback
    • useContext
    • useDebugValue
    • useDeferredValue
    • useEffect
    • useId
    • useImperativeHandle
    • useInsertionEffect
    • useLayoutEffect
    • useMemo
    • useReducer
    • useRef
    • useState
    • useSyncExternalStore
    • useTransition
  • react: Components

    • <Fragment> (<>)
    • <Profiler>
    • <StrictMode>
    • <Suspense>
  • react: APIs

    • createContext
    • forwardRef
    • lazy
    • memo
    • startTransition
  • react-dom: Components

    • Common (e.g. <div>)
    • <input>
    • <option>
    • <progress>
    • <select>
    • <textarea>
  • react-dom: APIs

    • createPortal
    • flushSync
    • findDOMNode
    • hydrate
    • render
    • unmountComponentAtNode
  • react-dom/client: Client APIs

    • createRoot
    • hydrateRoot
  • react-dom/server: Server APIs

    • renderToNodeStream
    • renderToPipeableStream
    • renderToReadableStream
    • renderToStaticMarkup
    • renderToStaticNodeStream
    • renderToString

Navigation and UI

We suggest to leave most of the UI translation until the end. We plan to do some invasive changes to the website folder layout and components, so postponing this until your translation is almost complete would make it easier to merge the changes from our side later. It might make sense to translate the homepage above the fold early, but leave the rest for later. As individual pages get translated, you can change the page titles in the corresponding sidebar files. Finally, when you're translating the navigation, make sure to test both desktop and mobile layouts.

  • Homepage (currently in HomeContent.js)
  • Sidebars (currently in src/sidebar*.json)
  • Top-level navigation (currently in TopNav.tsx)

When You're Ready...

After everything above is translated, add your language to deployedLanguages in Seo.tsx of the original reactjs/react.dev repository.

Secondary Content

These API pages should ideally be translated too, but they're less urgent and can be done after the others:

  • Legacy React APIs
    • Children
    • cloneElement
    • Component
    • createElement
    • createFactory
    • createRef
    • isValidElement
    • PureComponent

Optional Content

These aren't the main translation targets, but if you'd like to do them, feel free to expand the list to include their subpages:

  • Community
  • Blog
  • Warnings

Why the translations has stopped? / Miért nincsenek új fordítások

If you end up here, you might be wondering why did the translations have stopped?

I mentioned it here before: #1 (comment), but I copy it here as well:

The React docs is getting a big overhaul as I understood from reactjs/react.dev#3308 and it is said that the content will be completely rewritten (reactjs/react.dev#3308 (comment)). This is the main reason I did not give this project as much attention as before. That said, the current format is hopefully still useful for many, and I still hope that the already translated content can help us in some way when translating the new content as well.

I have the intention to jump on translating again when the new documentation is ready, until then, I am in a low-effort maintenance mode. If you think there is something urgent to fix though, feel free to reach out!


Tehát ha ezt olvasod, akkor valószínűleg azon agyalsz, hogy miért álltak le a fordítások? A valóság az, hogy a React csapata úgy döntött, hogy át szeretnék írni az egész dokumentációt az alapoktól. A legvalószínűbb ok az lehet, hogy a Horgok (hooks) még mindig "újdonságként" vannak emlegetve, de ez már nem igaz. Az igazság az, hogy a Horgok sokkal fontosabbá váltak mint az Osztály komponensek (class components). Emiatt úgy döntöttem, hogy egy időre szüneteltetem az új fordításokat, és egy alapszintű karbantartó üzemmódba állok a repo-n. Ha viszont bárkinek bármilyen észrevétele van amit sürgős lenne kijavítani, nyugodtan vegye fel a kapcsolatot velem!

Glossary 📚

🚨THIS IS WORK IN PROGRESS. HELP IS APPRECIATED 🚨
If you have any suggestions what should be included in the glossary, please leave a comment.

Common technical and React-specific terms

English Hungarian
Declarative Deklaratív
Component Komponens
Stateful Component Állapot-teljes komponens
controlled components kontrollált komponens
uncontrolled components kontrollálatlan komponens
render renderelés
data adat
Application Alkalmazás
External Plugins Külső bővítmények
Third Plugins Harmadik féltől származó bővítmények
syntax szintaxis
Embedding Expressions Kifejezések beágyazása
Attributes Attributumok
Elements Elemek
Functional Components Függvény Komponensek
function component fügvény komponens
Class Components Oszály Komponensek
Composition Kompozíció
Inheritance Öröklődés
Lifecycle Életciklus
Handling Events Esemény kezelés
Conditional Rendering Feltételes renderelés
Operator Operátor
reuse újrafelhasználás
reusable újrafelhasználható
mock
Callback Visszahívás
shallow rendering sekély renderelés
deprecated elavult
Legacy Örökség / Korábbi
Cross-Cutting Concerns
HOC FRK
higher-order-component felsőbb rendű komponens
Reconciliation
state állapot
local state helyi állapot
derived state elvált állapot
asserts (logikai kijelentés) állít
Vendor Prefix
fallback
breaking change
function signature
props / prop propok / prop
context kontextus
fragments töredék
portal portál
class osztály
Tick Ketyegés
bundle köteg
package csomag
Consumer
Provider
PropTypes PropTípusok
Good/Bad Jó/Rossz
Hook
Promise
Mixins Mixinek
Web Components Web Komponensek
wrapper
Mutation Mutáció
codemod kódmódosító

General purpose

Original Translation
Tutorial Tutoriál
Tip Tipp
Note Megjegyzés
example példa
Reference Referencia
For example Például
Importing
opt-in opcionális
section szekció
Overview Áttekintés
Try it on CodePen Próbáld ki a CodePen-en
No translation required
DOM
UI
ref
Web (use uppercase)
Create React App
polyfill
React
Fiber

Useful sources:

  1. Angol-magyar informatikai szótár
  2. IT-Szótár

Rating under each docs page is not translated

Az "Is this page useful?" és az utána megjelenő "Thanks for letting us know!" szövegek nincsenek lefordítva.

Egy local branch-ben javítottam, viszont nincs jogosultságom felpusholni a change-eket.

Tudnátok adni contributor jogot?

A Hacktoberfest programba ez a repo beleszámít?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.