Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Japanese translation problem: highlighted lines mismatch with English ver. #2966

@ftnext

Description

@ftnext

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answer.
  • I already checked if it is not related to FastAPI but to Pydantic.
  • I already checked if it is not related to FastAPI but to Swagger UI.
  • I already checked if it is not related to FastAPI but to ReDoc.
  • After submitting this, I commit to one of:
    • Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
    • I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
    • Implement a Pull Request for a confirmed bug.

Thanks a lot to Japanese translation.
I found bugged highlighted lines in https://fastapi.tiangolo.com/ja/tutorial/query-params/ .

Example

Highlighted empty line

Description

It seems to me that the translated file needs to be synced with English version.

  • translated: fastapi/docs/en/docs/tutorial/query-params.md
  • English version: fastapi/docs/ja/docs/tutorial/query-params.md

About docs_src/query_params/tutorial002.py

  • As is: hl_lines="7" (ref: fastapi/docs/en/docs/tutorial/query-params.md line 67)
  • To be: hl_lines="9" (ref: fastapi/docs/ja/docs/tutorial/query-params.md line 66)

About docs_src/query_params/tutorial003.py

  • As is: hl_lines="7"
  • To be: hl_lines="9"

About docs_src/query_params/tutorial004.py

  • As is: hl_lines="6 8"
  • To be: hl_lines=hl_lines="8 10"

Additional context

I checked only "Query parameters" in Japanese translation.
Sorry, I don't know if we need to fix the highlighted lines for other pages in the Japanese translation or for translations in other languages right now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions