[openstreetmap/openstreetmap-website] Only use language part of locale for Wikidata link (#1196)

Edward Betts notifications at github.com
Sat Apr 2 15:29:08 UTC 2016

The tests fail because I18n.locale isn't a string. The code should look like this instead: `I18n.locale.to_s.split("-")[0]`

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160402/43076bbb/attachment-0001.html>

More information about the rails-dev mailing list