Title: Make copybutton messages translatable by ccwang002 · Pull Request #27 · python/python-docs-theme · GitHub
Open Graph Title: Make copybutton messages translatable by ccwang002 · Pull Request #27 · python/python-docs-theme
X Title: Make copybutton messages translatable by ccwang002 · Pull Request #27 · python/python-docs-theme
Description: This PR implements #23 which make the messages of copybutton (>>>) translatable. When I tested my change using the master branch of Python (branch 3.7 doesn't seem to use python-docs-theme), I couldn't get it read my modified layout.html. However, if I manually introduced the change, the pot files would include the new strings and the translation worked. I think it is better to have someone more familiar with the project structure of PEP 545 to test my implementation before it is merged.
Open Graph Description: This PR implements #23 which make the messages of copybutton (>>>) translatable. When I tested my change using the master branch of Python (branch 3.7 doesn't seem to use python-docs-t...
X Description: This PR implements #23 which make the messages of copybutton (>>>) translatable. When I tested my change using the master branch of Python (branch 3.7 doesn't seem to u...
Opengraph URL: https://github.com/python/python-docs-theme/pull/27
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8a2053d1-5a3e-fd20-d825-a3482b71c5a7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA96:17D5BB:36E877D:4CA7D52:697126BC |
| html-safe-nonce | 4eafc105257dad5d1b40c4709677390409c98268a72e8d8ebf77c66f3235bc0a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTk2OjE3RDVCQjozNkU4NzdEOjRDQTdENTI6Njk3MTI2QkMiLCJ2aXNpdG9yX2lkIjoiMzc5MTc4NTY0NTM4MjM3OTE5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bda4f12bc80f6f63912f82e7effbbb52b8eda85a5d2ef3721b02b20a40563645 |
| hovercard-subject-tag | pull_request:253744332 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/python-docs-theme/pull/27/files |
| twitter:image | https://avatars.githubusercontent.com/u/1544283?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1544283?s=400&v=4 |
| og:image:alt | This PR implements #23 which make the messages of copybutton (>>>) translatable. When I tested my change using the master branch of Python (branch 3.7 doesn't seem to use python-docs-t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d8bf5373bf714a973a48ff6e39919055ffeb8fb275ee80b009c0532d6e0f0c68 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4fbcc41ab94dbb05f665e4608286c36baa99ad43 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width