Skip to content

Commit 9803f03

Browse files
committed
Add missing i18n
1 parent f5d080f commit 9803f03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_docs_theme/static/copybutton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const loadCopyButton = () => {
3333
/* Add a [>>>] button in the top-right corner of code samples to hide
3434
* the >>> and ... prompts and the output and thus make the code
3535
* copyable. */
36-
const hide_text = "Hide the prompts and output"
37-
const show_text = "Show the prompts and output"
36+
const hide_text = _("Hide the prompts and output")
37+
const show_text = _("Show the prompts and output")
3838

3939
const button = document.createElement("span")
4040
button.classList.add("copybutton")

0 commit comments

Comments
 (0)