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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d3493f53-79d2-52d6-b2e7-aee3053cf47a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9002:31BD28:4543E24:6068E49:697143B4 |
| html-safe-nonce | c3be873558b553de9c2a3968a8ab76a9596a0592fe39cfeeafbf67bebeead3a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDAyOjMxQkQyODo0NTQzRTI0OjYwNjhFNDk6Njk3MTQzQjQiLCJ2aXNpdG9yX2lkIjoiMjU3NzU5NTc4Mzc1ODAzNzk0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d2e7b34141147cb79240b1f27885ddf38acb00d84e7a216083b54f654e3d62b3 |
| hovercard-subject-tag | pull_request:253744332 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 9bd14a55b65b030988a89787ed340c0f040258c3240af6941d85f740f21629a0 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 24a7109a3a584a05e29240fcc1ba60220deccdb8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width