[openstreetmap/openstreetmap-website] Reduce size of application.js by removing translations? (#1949)

mmd notifications at github.com
Fri Aug 17 09:21:06 UTC 2018


 `I18n.t('javascripts.embed.report_problem')` seems to be the only string in use, and for some reason, it always shows the English text, as the `window.onload` function seems to get called a bit too late, after the OSMReportAProblem has already been created.

-- 
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/issues/1949#issuecomment-413808872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180817/5e1a4855/attachment-0001.html>


More information about the rails-dev mailing list