From: Ævar Arnfjörð Bjarmason Date: Fri, 2 Oct 2009 20:19:28 +0000 (+0000) Subject: Some of our JavaScript files have UI messages but we don't want to X-Git-Tag: live~7709 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b0e15608750417351c2ac3d9ffa6d13fcf6c8ccb?ds=inline;hp=b0e15608750417351c2ac3d9ffa6d13fcf6c8ccb Some of our JavaScript files have UI messages but we don't want to make them dynamic. So I'm creating a globally scoped JavaScript array called rails_i18n which holds some of these messages. It's loaded in before any of the JavaScript files so it should always be available. ---