-
Notifications
You must be signed in to change notification settings - Fork 54
Translate 'Introducing Hooks' page #28
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
Conversation
Deploy preview for pl-reactjs ready! Built with commit 58d85cb |
Nadal jest "WIP"? Jeśli nie, to zmień też tytuł PR-a :) |
@@ -25,86 +25,86 @@ function Example() { | |||
} | |||
``` | |||
|
|||
This new function `useState` is the first "Hook" we'll learn about, but this example is just a teaser. Don't worry if it doesn't make sense yet! | |||
Funkcja `useState` jest pierwszym "Hookiem", o którym będziemy się uczyć. Przykład ten jest jednak zaledwie zwiastunem. Nie przejmuj się, jeżeli nie ma to jeszcze większego sensu! |
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.
Funkcja `useState` jest pierwszym "Hookiem", o którym będziemy się uczyć. Przykład ten jest jednak zaledwie zwiastunem. Nie przejmuj się, jeżeli nie ma to jeszcze większego sensu! | |
Funkcja `useState` jest pierwszym "hookiem", o którym będziemy się uczyć. Przykład ten jest jednak zaledwie zwiastunem. Nie przejmuj się, jeżeli nie ma to jeszcze większego sensu! |
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.
Moim zdaniem lepiej zaczynać "hooki" małą literą.
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.
Chciałem być wierny oryginałowi w tej kwestii - z jakiegoś powodu wszędzie użyli wielkiej litery.
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.
Może podeszli do tego jak do hasła reklamowego, nazwy własnej ;-) W języku polskim nadal, imho, lepiej pasuje pisać małą literą. Nie ma w tej dokumentacji zbyt wiele tego typu nazw własnych, a sporo jest nazw przeróżnych mechanizmów.
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.
Sprawdziłem Hiszpański, też jest wielką literą:
https://es.reactjs.org/docs/hooks-intro.html
Może skonsultować się z twórcami?
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.
Skonsultowałem się z "twórcami" :P i padła odpowiedź, że możemy pisać jak chcemy. Oni piszą wielką literą, bo chcieli nadać tej nazwie pewien stopień "specjalności".
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.
Dla mnie dlatego pisanie od małej litery jest lepsze, bo to nie jest do końca ich wymyślona, własna nazwa. Hooki istnieją w programowaniu od lat i nie są niczym wyjątkowym - ot, kolejny mechanizm. Gdyby iść za ich schematem, to trzeba by pisać wielką literą "Props", "Lifecycle", "Components" - a tego tak nie piszemy :-)
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.
Ok, masz rację - zmienię na małą. Jak ktoś jest przeciwko, teraz jest dobry czas na sprzeciw ;).
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.
Wciąż nie mogę się zdecydować. @cvqprs @iamarek @TeoTN @bartlomiejzuber @marcinostrouch @jakubdrozdek - może głosowanie? 🚀 - wielką, 👀 - małą
Bardzo dobre tłumaczenie 🎉 , przyjemnie się czyta :-) Dodałem "parę" drobnych sugestii (jak zwykle ;-) ). |
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.
2 kosmetyczne zmiany - reszta +100
@cvqprs @jakubdrozdek - dodałem wszystkie poprawki. Na Slacku urządzę ankietę na temat pisowni Hooków (jest szansa, że wypowie się więcej osób). I jeżeli zapadnie taki wyrok, to poprawię to w osobnym PR. Tymczasem proszę o +1 (i zapraszam innych do review) |
See preview: https://deploy-preview-28--pl-reactjs.netlify.com/docs/hooks-intro.html