Title: python-format flag incorrectly forced on all extractors · Issue #35 · python-babel/babel · GitHub
Open Graph Title: python-format flag incorrectly forced on all extractors · Issue #35 · python-babel/babel
X Title: python-format flag incorrectly forced on all extractors · Issue #35 · python-babel/babel
Description: This is a copy of old ticket 318. During extraction the results from an extractor plugin are used to create a message which is then added to the catalog. When the Message instance is created it can set the python-format flag if the text ...
Open Graph Description: This is a copy of old ticket 318. During extraction the results from an extractor plugin are used to create a message which is then added to the catalog. When the Message instance is created it can...
X Description: This is a copy of old ticket 318. During extraction the results from an extractor plugin are used to create a message which is then added to the catalog. When the Message instance is created it can...
Opengraph URL: https://github.com/python-babel/babel/issues/35
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python-format flag incorrectly forced on all extractors","articleBody":"This is a copy of [old ticket 318](http://babel.edgewall.org/ticket/318).\n\nDuring extraction the results from an extractor plugin are used to create a message which is then added to the catalog. When the Message instance is created it can set the `python-format` flag if the text matches a specific regular expression. That means that a text like this:\n\n```\nThis is a text about 50% of all users.\n```\n\nwill be flagged as a python-format string even it does not originate from python code, or from a piece of python code that will never use formatting. This is breaking our translations in a pretty bad way currently.\n\nAs far as I can see the extractor is the only thing that should decide the flags for a message. The Message class itself should never try to guess flags or force them upon plugins, especially since extractors have no way to override this behaviour.\n","author":{"url":"https://github.com/wichert","@type":"Person","name":"wichert"},"datePublished":"2013-07-27T19:51:34Z","url":"https://github.com/python-babel/babel/issues/35"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2b86aa1d-9fa9-7325-0da9-6546ea167642 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98C0:BCAF9:3A813A:5183E1:6B008E86 |
| html-safe-nonce | 731ff93e991d2a4e74d726e217583ef7141edcbac66e66d0adaa3191c48f2065 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEMwOkJDQUY5OjNBODEzQTo1MTgzRTE6NkIwMDhFODYiLCJ2aXNpdG9yX2lkIjoiNDE4NTkxNDcwMTI4MjM4MjE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b742b02ddc8cbc3d53b1cdbbbe5e7684da69ae9916e9f23410a88b5c26e44ac7 |
| hovercard-subject-tag | issue:17302632 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-babel/babel/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0707872c28e133ba46e8cc1ec5f431ff9ddd80c5b414f181509f2a31cf1831d/python-babel/babel/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0707872c28e133ba46e8cc1ec5f431ff9ddd80c5b414f181509f2a31cf1831d/python-babel/babel/issues/35 |
| og:image:alt | This is a copy of old ticket 318. During extraction the results from an extractor plugin are used to create a message which is then added to the catalog. When the Message instance is created it can... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wichert |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-babel/babel git https://github.com/python-babel/babel.git |
| octolytics-dimension-user_id | 14215782 |
| octolytics-dimension-user_login | python-babel |
| octolytics-dimension-repository_id | 11150301 |
| octolytics-dimension-repository_nwo | python-babel/babel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11150301 |
| octolytics-dimension-repository_network_root_nwo | python-babel/babel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width