[openstreetmap/openstreetmap-website] Removed unused translations in changesets namespace (PR #5223)
Nenad Vujicic
notifications at github.com
Wed Sep 18 21:50:04 UTC 2024
PR makes following changes:
1. Updates i18n-tasks.yml to ignore unused translations for keys from changesets.paging_nav.* (because they are used in pagination mechanism using string interpolation),
2. Pulls out ?: operator from t() in changesets/show.html.erb so changesets.show.{comment_by_html, hidden_comment_by_html} translation keys are no longer reported as unused and
3. Removes unused translation keys changesets.{changeset.anonymous, no_such_entry.title} from en.yml because .anonymous was added in fddda4e and was stopped being used in 3e305fb and .title was added in f0764d3 but never used.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5223
-- Commit Summary --
* Ignored unused keys from changesets.paging_nav
* Pulled out ?: operator from t() in changesets/show
* Removed unused translation keys from changesets.*
-- File Changes --
M app/views/changesets/show.html.erb (5)
M config/i18n-tasks.yml (1)
M config/locales/en.yml (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5223.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5223.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5223
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5223 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240918/c3aced9c/attachment-0001.htm>
More information about the rails-dev
mailing list