[openstreetmap/openstreetmap-website] Shared pagination: label instead of i18n key as parameter (PR #5174)

mmd notifications at github.com
Sun Sep 8 18:11:46 UTC 2024


Pass translated label to shared pagination instead of i18n key. 

This reduces the number of reported issues when running `bundle exec i18n-tasks unused`
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5174

-- Commit Summary --

  * Shared pagination: label instead of i18n key as parameter

-- File Changes --

    M app/views/diary_comments/_page.html.erb (4)
    M app/views/diary_entries/_page.html.erb (4)
    M app/views/issues/_page.html.erb (4)
    M app/views/shared/_pagination.html.erb (4)
    M app/views/traces/_page.html.erb (8)
    M app/views/user_blocks/_blocks.html.erb (4)
    M app/views/users/_page.html.erb (8)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5174.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5174.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5174
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5174 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240908/56a17041/attachment.htm>


More information about the rails-dev mailing list