The title of `/issues/:id` pages is constructed by substituting the status into 
the locale string, making it difficult to translate.

![image](https://github.com/user-attachments/assets/6bd5764d-4e05-405a-8990-054dd101b341)

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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to