[openstreetmap/openstreetmap-website] Avoid raw html in translations (PR #3999)
Andy Allan
notifications at github.com
Sun Apr 2 13:51:02 UTC 2023
This PR is the final in the sequence of removing raw html from our translations.
Follow-up work will include a validator to ensure that `_html` translations don't include any `<` characters.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3999
-- Commit Summary --
* Avoid raw html in translations for the note icon
* Rework the help text to avoid raw html in translations
* Rework the map attribution to avoid raw html in translations.
* Rework geocoder titles to avoid raw html in translations
* Rework note events to avoid raw html in translations
-- File Changes --
M app/assets/javascripts/leaflet.map.js (56)
M app/helpers/note_helper.rb (12)
M app/views/geocoder/search.html.erb (5)
M app/views/site/fixthemap.html.erb (2)
M app/views/users/new.html.erb (6)
M config/locales/en.yml (57)
M test/helpers/note_helper_test.rb (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3999.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3999.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3999
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3999 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230402/f858fee0/attachment.htm>
More information about the rails-dev
mailing list