X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e47c11c644c3e73e8dcc95d3ee9c133e050360f0..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 %>