[openstreetmap/openstreetmap-website] Quote translations to stop them looking like numbers (52f0ba7)

Niklas Laxström notifications at github.com
Tue May 15 14:33:11 UTC 2018


Unfortunately I did not manage to get the callback option to do anything useful. In the end I am proposing a [hack](https://gerrit.wikimedia.org/r/c/432987/) that inserts magic tokens to problematic values which are converted to quotes by a simple string replacement. I think it is safe enough to not break anything else with a small performance impact.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/commit/52f0ba78ea149e7028e68ad793b05369fa61ff2e#commitcomment-28984431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180515/44dcb8c6/attachment.html>


More information about the rails-dev mailing list