Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .babel.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[jinja2: **.html]

[javascript: **.js]
4 changes: 2 additions & 2 deletions python_docs_theme/static/copybutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading