[openstreetmap/openstreetmap-website] Shared pagination: label instead of i18n key as parameter (PR #5174)
Anton Khorev
notifications at github.com
Mon Sep 9 07:32:51 UTC 2024
In #4734 etc I need four different labels, so instead I pass the scope and append `.newest` / `.newer` / `.older` / `.oldest`. And what if I need even more strings, for example, a different tooltip string for each button? Do you propose to pass all of them separately?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5174#issuecomment-2337345717
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5174/c2337345717 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240909/4aa597a1/attachment.htm>
More information about the rails-dev
mailing list