Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Scriptrst2po.py to migrate tutorial.python.org.ar to this new version#27

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gilgamezh merged 30 commits into3.7fromrst2po
May 2, 2020

Conversation

humitos
Copy link
Collaborator

@humitoshumitos commentedMay 2, 2020
edited
Loading

We created a scriptrst2po.py that creates a tuple of(english_paragraph, spanish_paragraph) and look for theenglish_paragraph in the.po file. If there is a match, it adds thespanish_paragraph as the translation in the.po file.

english_ andspanish_ paragraphs come from the work we already have done on RST files inhttps://github.com/PyAr/tutorial so we can re-use that work.

There is going to be some un-translated paragraphs because that repositories has 3.6.3 translated. However, we only considerexact matches only.

The scriptrst2po.py won't be needed anymore once this PR is merged and the migration work is done completely.

Branched off ofreadthedocs.

humitosand others added24 commitsMay 2, 2020 12:13
All of these were migrated with the script and verified manually.
@humitoshumitos mentioned this pull requestMay 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@humitos@gilgamezh

[8]ページ先頭

©2009-2025 Movatter.jp