diff --git a/.babel.cfg b/.babel.cfg index 692580d..cc4c9de 100644 --- a/.babel.cfg +++ b/.babel.cfg @@ -1 +1,3 @@ +[javascript: **.js] + [jinja2: **.html] diff --git a/python_docs_theme/static/copybutton.js b/python_docs_theme/static/copybutton.js index 7367c4a..f176ff6 100644 --- a/python_docs_theme/static/copybutton.js +++ b/python_docs_theme/static/copybutton.js @@ -33,8 +33,8 @@ const loadCopyButton = () => { /* Add a [>>>] button in the top-right corner of code samples to hide * the >>> and ... prompts and the output and thus make the code * copyable. */ - const hide_text = "Hide the prompts and output" - const show_text = "Show the prompts and output" + const hide_text = _("Hide the prompts and output") + const show_text = _("Show the prompts and output") const button = document.createElement("span") button.classList.add("copybutton") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy