X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..91a4fd6b5ab7a077211a7608248b3878f226d405:/app/views/site/key.html.erb?ds=sidebyside 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 %>