X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/055a9760511f270e17ab200b6caa0a6301866328..8a6c34fa78cf4fa52332d90448dae50087f2b510:/app/views/site/key.html.erb?ds=inline diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index e43d2c29a..949121d96 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,5 +1,5 @@
- +
<% YAML.load_file(Rails.root.join("config/key.yml")).each do |name,data| %> <% data.each do |entry| %> " data-zoom-max="<%= entry["max_zoom"] %>"> @@ -7,7 +7,7 @@ <%= image_tag "key/#{name}/#{entry['image']}" %> <% end %>
- <%= [*t(".table.entry.#{entry['name']}")].to_sentence %> + <%= Array(t(".table.entry.#{entry['name']}")).to_sentence %>