Skip to content

Translation space - #26

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

Translation space#26
sepehr-rs merged 20 commits into
Revisto:3.14from
invincible627:translation_space

Conversation

@invincible627

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
@sepehr-rs

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!

@invincible627

Copy link
Copy Markdown
Contributor Author

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

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

invincible627 commented Aug 5, 2026

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

sepehr-rs commented Aug 8, 2026

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
invincible627 marked this pull request as draft August 8, 2026 09:35
@invincible627
invincible627 marked this pull request as ready for review August 8, 2026 10:21
@invincible627
invincible627 marked this pull request as draft August 8, 2026 11:25
@invincible627
invincible627 marked this pull request as ready for review August 8, 2026 12:20
@invincible627

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

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

@sepehr-rs
sepehr-rs merged commit e07e8d7 into Revisto:3.14 Aug 9, 2026
1 check passed
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