X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0814b4096c443e2ab3c09baa058aa81a00d205d1..da07b633c22f3a49d2bea98c956009f6a196221f:/app/views/site/key.html.erb diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index 039c9a51c..317266b1f 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,13 +1,13 @@
- <% YAML.load_file(Rails.root.join("config", "key.yml")).each do |name,data| %> + <% YAML.load_file(Rails.root.join("config/key.yml")).each do |name,data| %> <% data.each do |entry| %> - + " data-zoom-max="<%= entry["max_zoom"] %>"> <% end %>
<%= image_tag "key/#{name}/#{entry['image']}" %> - <%= [*t("site.key.table.entry.#{entry['name']}")].to_sentence %> + <%= [*t(".table.entry.#{entry['name']}")].to_sentence %>