The implementation uses a customised linter, to add `·` to the list of punctuation that doesn't need translating.
We can remove our customised linter when this list becomes a config option, see https://github.com/Shopify/erb_lint/pull/397 This follows on from #6569 and #6583 (see also #6627) and will prevent these types of problems from recurring. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6686 -- Commit Summary -- * Enable erb_lint hard coded string linter -- File Changes -- M .erb_lint.yml (9) A .erb_linters/custom_hard_coded_string.rb (50) M app/views/share_panes/show.html.erb (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6686.patch https://github.com/openstreetmap/openstreetmap-website/pull/6686.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6686 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
