FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Translation space by invincible627 · Pull Request #26 · python/python-docs-fa · GitHub

Repository navigation

Translation space - #26

Merged
sepehr-rs merged 20 commits into
python:3.14from
invincible627:translation_space
Aug 9, 2026
Merged

sepehr-rs merged 20 commits into
python:3.14from
invincible627:translation_space

Conversation

Copy link
Copy Markdown
Contributor

translating allocation file
Translation of apiabiversion file
Translation of the bool file in the c-api folder
Correcting some translations and punctuation
Completing the translation of the classes file

Translation of a part of the classes file up to line 374 of the Scopes and Namespaces Example
Translation to the part "When a class defines an :meth:`~object.__init__` method, class instantiation "
"automatically invokes :meth:`!__init__` for the newly created class "
"instance.  So in this example, a new, initialized instance can be obtained "
"by::"
translated to  #: ../../tutorial/classes.rst:549
#: ../../tutorial/classes.rst:630
#: ../../tutorial/classes.rst:738

Copy link
Copy Markdown
Collaborator

Hi @invincible627, thanks for your contribution!
It looks like there is a merge conflict. Could you please resolve them so we can proceed with the review? Let me know if you need any help.
Thanks again!

Copy link
Copy Markdown
Contributor Author

hi @sepehr-rs
thanks for your attention,
I solved this conflict.

invincible627 marked this pull request as draft August 5, 2026 11:22
invincible627 marked this pull request as ready for review August 5, 2026 11:31

invincible627 commented Aug 5, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

"hi @sepehr-rs
I tried to fix the file — I made changes to the appendix file, but I'm still getting a whitespace error in the appendix at line 106. I checked that line, but I can't see any extra space. I'd appreciate it if you could guide me."

sepehr-rs commented Aug 8, 2026 •
edited
Loading

Copy link
Copy Markdown
Collaborator

The merge conflict seems resolved; the remaining failures are from the PO file linter.

There are two separate issues:

  1. tutorial/appendix.po:106
    This is a hidden trailing whitespace issue. Please check the line with:
sed -n '100,110l' tutorial/appendix.po

and remove any spaces/tabs at the end of the line.

  1. tutorial/classes.po:771
    This is a PO syntax error caused by an unescaped double quote. Please check around that line:
sed -n '765,775p' tutorial/classes.po

Any quote inside a translated string needs to be escaped, for example:

msgstr "Use the \"class\" keyword"

After fixing, you can verify with:

msgfmt -c -o /dev/null tutorial/classes.po

Then commit and push the fixes. The CI lint check should pass after that. Thanks again for the contribution!

invincible627 marked this pull request as draft August 8, 2026 09:35
invincible627 marked this pull request as ready for review August 8, 2026 10:21
invincible627 marked this pull request as draft August 8, 2026 11:25
invincible627 marked this pull request as ready for review August 8, 2026 12:20

Copy link
Copy Markdown
Contributor Author

Hi @sepehr-rs, thank you for your guidance and patience, I solved the errors completely and the pull request is ready☺

sepehr-rs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks a lot for your contribution and the effort you put into this!

sepehr-rs merged commit e07e8d7 into python:3.14 Aug 9, 2026
1 check passed
sepehr-rs added a commit to sepehr-rs/python-docs-farsi that referenced this pull request Sep 5, 2026
Translate ‎c-api/allocation.po, c-api/apiabiversion.po, ‎c-api/bool.po, ‎tutorial/appendix.po, ‎tutorial/classes.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL