[openstreetmap/openstreetmap-website] Remove some unused translations (PR #3960)
Andy Allan
notifications at github.com
Wed Mar 8 15:28:00 UTC 2023
This PR removes some translations that are no longer in use. These were identified by the [i18n-tasks gem](https://github.com/glebm/i18n-tasks), and then individually verified. In most cases I've linked to the commit that made them become unused.
I first stumbled across the problem when trying to figure out why there was raw html in a translation key that didn't end in `_html`, and figured out that key must have been unused since the rails 4.x era.
There are still further keys that I suspect are unused, but these will require further confirmation since the static analysis throws up many false-positives.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3960
-- Commit Summary --
* Remove translations no longer used on the login page
* Remove unused metro extract translations
* Remove unused tooltip translations
* Remove unused translations
* Remove used translations for new messages
* Remove translations that are no longer used when showing messages
* Remove old model name
* Remove duplicate translation key
* Remove several unused translations from the user#show page
* Remove set_home translation
* Remove used translations on the registration page
* Remove used issues#update translations
* Remove unused user_blocks translations
-- File Changes --
M config/locales/en.yml (37)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3960.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3960.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3960
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3960 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230308/1183a76b/attachment.htm>
More information about the rails-dev
mailing list