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

🌐 Add Polish translation for docs/pl/docs/tutorial/index.md #4516

Merged
merged 5 commits into from May 10, 2022

Conversation

MKaczkow
Copy link
Contributor

@MKaczkow MKaczkow commented Feb 6, 2022

docs/pl/tutorial/index.md to polish translation

Copy link

@rafsaf rafsaf left a comment

Choose a reason for hiding this comment

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

Hi @MKaczkow

Thanks for providing this PR 👍
First of all, I've pulled your forked project so it's not only review by looking at changes.

This is kind of "important", because we will decide what translation of topics names Advanced User Guide and Tutorial - User Guide will be, this can be hardly changed ever in the future.

I would definitely opt for my last review comment and change in mkdocs.yml, I've searched through other languages like PT, they seem to follow mkdocs.yml syntax just like I did. Rest of comments are just to consider. Have a good day ;)


Jako pierwszy krok zainstaluj FastAPI.

Na potrzeby samouczka lepiej zainstaluj ze wszystkimi opcjonalnymi zależnościami i funkcjami:
Copy link

Choose a reason for hiding this comment

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

Na potrzeby samouczka lepiej zainstaluj ze wszystkimi opcjonalnymi zależnościami i funkcjami:

Better:

Na potrzeby samouczka możesz zainstalować również wszystkie opcjonalne biblioteki:


**BARDZO zalecamy** pisanie bądź kopiowanie kodu, edycję, a następnie wykonywanie go lokalnie.

Użycie w Twoim edytorze jest tym, co pokazuje prawdziwe korzyści z FastAPI, pozwala zobaczyć jak mało kodu musisz napisać, wszystkie funkcje, takie jak kontrola typów, <abbr title="auto-complete, autocompletion, IntelliSense">automatyczne uzupełnianie</abbr>, itd.
Copy link

Choose a reason for hiding this comment

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

<abbr title="auto-complete, autocompletion, IntelliSense"></abbr> tag is a nice addon I liked it, indeed I found very few browser search engine results for "automatyczne uzupełnianie", and hardly any is related with "autocompletion".

Anyway I would go for
Użycie w Twoim edytorze jest tym, co pokazuje prawdziwe korzyści z FastAPI, pozwala zobaczyć jak mało kodu musisz napisać oraz wszystkie jego funkcje, takie jak kontrola typów, <abbr title="auto-complete, autocompletion, IntelliSense">automatyczne uzupełnianie</abbr>, itd.


## Wykonywanie kodu

Wszystkie fragmenty kodu mogą być skopiowane bezpośrednio i użyte (są poprawnymi i przetestowanymi plikami)
Copy link

Choose a reason for hiding this comment

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

Missing dot:
Wszystkie fragmenty kodu mogą być skopiowane bezpośrednio i użyte (są poprawnymi i przetestowanymi plikami).

@@ -0,0 +1,81 @@
# Samouczek - Instrukcja - Wprowadzenie
Copy link

Choose a reason for hiding this comment

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

I would change to simpler # Samouczek - Wprowadzenie, see my comment in mkdocs.yml

Comment on lines 55 to 70
!!! note
You can also install it part by part.

This is what you would probably do once you want to deploy your application to production:

```
pip install fastapi
```

Also install `uvicorn` to work as the server:

```
pip install "uvicorn[standard]"
```

And the same for each of the optional dependencies that you want to use.
Copy link

Choose a reason for hiding this comment

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

Shoudn't it be in English :trollface:
Or maybe it's some convention to leave notes alone?

Comment on lines 72 to 81
## Instrukcja dla zaawansowanych

Jest też **Instrukcja dla zaawansowanych**, którą możesz przeczytać po lekturze tego **Samouczka - Instrukcji**.

**Instrukcja dla zaawansowanych**, opiera się na tym samouczku, używa tych samych pojęć, żeby pokazać Ci kilka dodatkowych funkcji.

Najpierw przeczytaj **Samouczek - Instrukcja** (czytasz to teraz).

Samouczek jest zaprojektowany tak, że możesz stworzyć kompletną aplikację używając tylko **Samouczka - Instrukcji**, a następnie rozszerzać ją na różne sposoby, w zależności od potrzeb, używając kilku dodatkowych pomysłów z **Instrukcji dla zaawansowanych**

Copy link

Choose a reason for hiding this comment

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

Personally, I would change Instrukcja dla zaawansowanych na Zaawansowany poradnik, it's shorter and sounds better.
Also, as noted in first lines, Samouczek alone is better than Samouczek - Instrukcja (and it's not really correct in Polish grammar as far as I know, we don't use upper case letters in middle of titles in Polish, we adopted that from English). There are also few mistypes over here

So at the end of day, the fixed part may look like:

## Zaawansowany poradnik

Jest też **Zaawansowany poradnik**, który możesz przeczytać po lekturze tego **Samouczka**.

**Zaawansowany poradnik** opiera się na tym samouczku, używa tych samych pojęć, żeby pokazać Ci kilka dodatkowych funkcji.

Najpierw jednak  powinieneś przeczytać **Samouczek** (czytasz go teraz).

Ten rozdział jest zaprojektowany tak, że możesz stworzyć kompletną aplikację używając tylko informacji tutaj zawartych, a następnie rozszerzać ją na różne sposoby, w zależności od potrzeb, używając kilku dodatkowych pomysłów z **Zaawansowanego poradnika**.

Comment on lines 55 to 56
- Tutorial - User Guide:
- tutorial/index.md
Copy link

Choose a reason for hiding this comment

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

And this is something I would Definitely change to

- Samouczek:
  - tutorial/index.md

We should avoid naming this topic in English, its much better to use Polish here. FastAPI docs are smart enough to fill docs we don't cover in English even if we use Polish name (screenshot), this is probably detected by tutorial/index.md.

See current screenshot (I pulled your forked repo and changed code like above).

image

@MKaczkow
Copy link
Contributor Author

MKaczkow commented Feb 10, 2022

Hi @rafsaf,
I've applied changes you suggested, hope everything is fine this time.

Thank you for reviewing this PR 😃

Copy link

@rafsaf rafsaf left a comment

Choose a reason for hiding this comment

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

LGTM :P

Thanks again, now I belive we should wait for one more person (Polish native speaker) to approve it and this can be merged.

Copy link

@kiwimic kiwimic left a comment

Choose a reason for hiding this comment

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

As polish native speaker I can approve that this polish translation is correct

@tiangolo tiangolo changed the title Add Polish translation for docs/pl/docs/tutorial/index.md 🌐 Add Polish translation for docs/pl/docs/tutorial/index.md May 10, 2022
@tiangolo tiangolo added lang-all Translations approved-2 lang-pl Polish translations labels May 10, 2022
@tiangolo
Copy link
Owner

Awesome, thanks @MKaczkow ! 🍰

And thanks for the reviews @kiwimic and and @rafsaf ! 🙇

@tiangolo tiangolo enabled auto-merge (squash) May 10, 2022 04:10
@codecov
Copy link

codecov bot commented May 10, 2022

Codecov Report

Merging #4516 (5d1c229) into master (d0e4015) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4516   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          531       531           
  Lines        13629     13629           
=========================================
  Hits         13629     13629           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0e4015...5d1c229. Read the comment docs.

@tiangolo tiangolo merged commit 350745c into tiangolo:master May 10, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
…lo#4516)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-2 lang-all Translations lang-pl Polish translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants