Skip to content

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

Merged
tiangolo merged 5 commits into
fastapi:masterfrom
MKaczkow:master
May 10, 2022
Merged

tiangolo merged 5 commits into
fastapi:masterfrom
MKaczkow:master

Conversation

@MKaczkow

@MKaczkow MKaczkow commented Feb 6, 2022

Copy link
Copy Markdown
Contributor

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

@rafsaf rafsaf left a comment

Copy link
Copy Markdown

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 ;)

Comment thread docs/pl/docs/tutorial/index.md Outdated

Jako pierwszy krok zainstaluj FastAPI.

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

Copy link
Copy Markdown

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
Copy Markdown

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.

Comment thread docs/pl/docs/tutorial/index.md Outdated

## Wykonywanie kodu

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

Copy link
Copy Markdown

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).

Comment thread docs/pl/docs/tutorial/index.md Outdated
@@ -0,0 +1,81 @@
# Samouczek - Instrukcja - Wprowadzenie

Copy link
Copy Markdown

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 thread docs/pl/docs/tutorial/index.md Outdated
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
Copy Markdown

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 thread docs/pl/docs/tutorial/index.md Outdated
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
Copy Markdown

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 thread docs/pl/mkdocs.yml Outdated
Comment on lines +55 to +56
- Tutorial - User Guide:
- tutorial/index.md

Copy link
Copy Markdown

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

MKaczkow commented Feb 10, 2022 •

Copy link
Copy Markdown
Contributor Author

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

Thank you for reviewing this PR 😃

@rafsaf rafsaf left a comment

Copy link
Copy Markdown

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.

@kiwimic kiwimic left a comment

Copy link
Copy Markdown

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
Copy Markdown
Member

Awesome, thanks @MKaczkow ! 🍰

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

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

codecov Bot commented May 10, 2022 •

Copy link
Copy Markdown

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 fastapi:master May 10, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
…i#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.

4 participants