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

Add missing i18n for copy button titles#225

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 3 commits intopython:mainfromtomasr8:i18n-copybtn
Apr 4, 2025
Merged
Show file tree
Hide file tree
Changes fromall 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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
[#"d108365e488bf091068dbe926fd0cedea471ba510d6bf8e129809dc567d870de">
[jinja2: **.html]
4 changes: 2 additions & 2 deletionspython_docs_theme/static/copybutton.js
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp