[openstreetmap/openstreetmap-website] Move ?: operator outside of t() for "Only ... can edit" block messages (PR #5173)

Anton Khorev notifications at github.com
Sun Sep 8 10:43:19 UTC 2024


This helps `i18n-tasks` to see that these strings are used and stops `i18n-tasks unused` from reporting them.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move ?: operator outside of t() for "Only ... can edit" block messages

-- File Changes --

    M app/controllers/user_blocks_controller.rb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list