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

Commit729fcc1

Browse files
tomasr8hugovk
andauthored
Add missing i18n for copy button titles (#225)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parentf5d080f commit729fcc1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.babel.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
[#"true">
2+
13
[jinja2: **.html]

‎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-
consthide_text="Hide the prompts and output"
37-
constshow_text="Show the prompts and output"
36+
consthide_text=_("Hide the prompts and output")
37+
constshow_text=_("Show the prompts and output")
3838

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp