[openstreetmap/openstreetmap-website] Don't interpolate type in issue title (PR #5382)
Anton Khorev
notifications at github.com
Fri Dec 6 08:20:32 UTC 2024
The title of `/issues/:id` pages is constructed by substituting the status into the locale string, making it difficult to translate.

This PR makes it closer to what we have for note titles:
https://github.com/openstreetmap/openstreetmap-website/blob/fe81ac334cfef04751a959297dca24e472cb025f/config/locales/en.yml#L2977-L2979
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5382
-- Commit Summary --
* Don't interpolate type in issue title
-- File Changes --
M app/controllers/issues_controller.rb (2)
M app/views/issues/show.html.erb (2)
M config/locales/en.yml (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5382.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5382.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5382
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5382 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241206/5c80bcb6/attachment.htm>
More information about the rails-dev
mailing list