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

[ru] fix typo in Learn/Server-side/Django/Models #17203

Merged
merged 2 commits into from
Nov 30, 2023
Merged

Conversation

arahmaninov
Copy link
Contributor

Description

Fixed typo in the str func. Field name was

field_name

while field name in the class is

my_field_name

Motivation

I believe this type can mislead the readers

Additional details

Related issues and pull requests

@arahmaninov arahmaninov requested a review from a team as a code owner November 30, 2023 12:02
@arahmaninov arahmaninov requested review from leon-win and removed request for a team November 30, 2023 12:02
@github-actions github-actions bot added the l10n-ru Issues related to Russian content. label Nov 30, 2023
Copy link
Contributor

Preview URLs

Flaws (87)

URL: /ru/docs/Learn/Server-side/Django/Models
Title: Django учебник Часть 3: Использование моделей
Flaw count: 87

  • macros:
    • /ru/docs/Learn/CSS/Building_blocks/Cascade_layers does not exist but fell back to /en-US/docs/Learn/CSS/Building_blocks/Cascade_layers
    • /ru/docs/Learn/CSS/Building_blocks/Organizing does not exist but fell back to /en-US/docs/Learn/CSS/Building_blocks/Organizing
    • /ru/docs/Learn/CSS/Building_blocks/Creating_fancy_letterheaded_paper does not exist but fell back to /en-US/docs/Learn/CSS/Building_blocks/Creating_fancy_letterheaded_paper
    • /ru/docs/Learn/CSS/Building_blocks/A_cool_looking_box does not exist but fell back to /en-US/docs/Learn/CSS/Building_blocks/A_cool_looking_box
    • /ru/docs/Learn/CSS/CSS_layout/Media_queries does not exist but fell back to /en-US/docs/Learn/CSS/CSS_layout/Media_queries
    • and 82 more flaws omitted

Copy link
Member

@leon-win leon-win left a comment

Choose a reason for hiding this comment

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

I turned on Python syntax highlighting and russified the example.
Also added the missing import)

@leon-win leon-win merged commit 87b5ff8 into mdn:main Nov 30, 2023
7 checks passed
@leon-win
Copy link
Member

Merged!
@arahmaninov thank you!

@leon-win leon-win changed the title fix-typo [ru] fix typo in Learn/Server-side/Django/Models Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ru Issues related to Russian content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants