X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/817434a2e6f1510bf805e35f0c879b005ebe11dd..f77a3c75bee528caaa6fc8e237ee6eaef704efe0:/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 975442426..d0fd36148 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,5 +1,4 @@
-

<%= t "site.key.table.heading", :zoom_level => params[:zoom] %>

<% YAML.load_file("#{RAILS_ROOT}/config/key.yml").each do |name,data| %> <% if params[:layer] == name %> @@ -10,7 +9,7 @@ <%= image_tag "key/#{name}/#{entry['image']}" %> <% end %>
- <%= t "site.key.table.entry.#{entry['name']}" %> + <%= [*t("site.key.table.entry.#{entry['name']}")].to_sentence %>