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

Traducción includes/wasm-notavail #2312

Merged
merged 1 commit into from Feb 13, 2023
Merged

Traducción includes/wasm-notavail #2312

merged 1 commit into from Feb 13, 2023

Conversation

cmaureir
Copy link
Collaborator

Closes #1908

@cmaureir cmaureir requested a review from rtobar February 13, 2023 15:24
rtobar
rtobar approved these changes Feb 13, 2023
Copy link
Collaborator

@rtobar rtobar left a comment

Choose a reason for hiding this comment

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

¿Cómo funciona esto? Nunca me he metido en detalle a ver cómo funciona el build de la traducción, pero da la impresión de que este archivito podría ser re-utilizable a través de vaaaarios .po, ¿es esa la idea al estar dentro del directorio include/?

@rtobar rtobar merged commit 875b2f6 into 3.11 Feb 13, 2023
2 checks passed
@cmaureir
Copy link
Collaborator Author

Parece que sí, eso fue lo que cambió en 3.11 que ahora existe ese archivo en la Doc de cpython y lo incluyen relativamente, eso fue lo que rompió nuestros build y tuvimos que arreglar con los sed.

Si miras el multiprocessing.rst por ejemplo en
https://raw.githubusercontent.com/python/cpython/main/Doc/library/multiprocessing.rst
verás que usaron la clausula .. include:: pero con un path relativo, entonces por eso tuvimos que hacer cambios de la forma:
sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
ya que como construimos la documentación desde otro directorio :/

@cmaureir
Copy link
Collaborator Author

Estaba mirando los problemas que tuvieron las personas de francia: https://git.afpy.org/AFPy/python-docs-fr/issues/28
pero no está relacionado al problema que tenemos actualmente.

@cmaureir cmaureir deleted the traduccion_wasm_notavail branch March 3, 2023 11:38
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.

Translate 'includes/wasm-notavail.po'
2 participants